1 2005-11-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
5 2005-11-17 Michael Gerz <michael.gerz@teststep.org>
7 * exporter.C: fix typo in text message
9 2005-11-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
11 * text2.C (setLayout): move recUndo call to other setLayout method
12 * tabular.C (toggleFixedWidth): new, handle cell width changes
13 * tabular.C (setColumnPWidth): move some code from insettabular.C here
14 and use toggleFixedWidth
15 * tabular.C (setMColumnPWidth): ditto
17 2005-11-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
19 * paragraph.C (asString): use new inset->textString method (fix bug 2089)
21 2005-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
23 * CutAndPaste.C (numberOfSelections): new helper function.
25 * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
27 * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
28 LyXFunc::getStatus; implement LFUN_PASTE.
30 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
32 * dociterator.[Ch]: new member realInset() that returns the cell
33 for tabulars and the inset for the rest (bug 1952).
34 * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
37 2005-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
39 * text.C (leftMargin): honor the NextNoIndent tag in layouts.
41 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
45 * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
48 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
50 * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
51 line after typing ctrl-enter
53 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
55 * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
56 math insets do not return a proper editable() state yet (bug 2124).
58 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
60 * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for
61 docs containing very large paragraphs.
63 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
65 * cursor.C (selectionBegin, selectionEnd):
66 * text.C (drawSelection): Fix bug 2115: assertion when anchor and
67 cursor at different depths.
69 2005-11-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
71 * bufferview_funcs.C (coordOffset): do not call cursorPos
72 for collapsed collapsables (fix bug 2094).
74 2005-11-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
76 * paragraph.C (fontSpan): make sure that the FontSpan does not
77 span across beginOfBody (bug 1947).
79 2005-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
81 * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
83 2005-11-03 Michael Gerz <michael.gerz@teststep.org>
85 * messages.C: fix crash and localization on MinGW/Windows platform
87 2005-11-02 Angus Leeming <leeming@lyx.org>
90 * lyxtextclass.C: trivial fixes to some MSVS warnings.
92 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
94 * text3.C (getStatus): re-enable disabled code. (bug 2081)
96 * BranchList.h (empty): constify.
98 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
100 * text3.C (getStatus):
101 * MenuBackend.C (expandBranches): take the branch list from the
102 master document (bug 2092).
104 * MenuBackend.C (expandBranches):
105 * bufferparams.C (writeFile): use BranchList type.
107 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
109 * text3.C (dispatch, getStatus):
110 * LyXAction.C (init):
111 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
113 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
115 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
117 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
119 * text.C (insertChar): do not reset boundary (bug 2061)
121 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
123 * dociterator.C (updateInsets): new method. Updates the inset_
124 cache of all the slices of the iterator.
126 * text2.C (deleteEmptyParagraphMechanism): compare also containing
127 insets when comparing pit/pos; pass the right cursor to
128 recordUndo; when a paragraph has been deleted, compare `old.top()' to
129 the right cursor slice of `cur'; use updateInsets on cur to make
130 sure that the inset caches are correct; general cleanup.
132 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
134 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
135 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
136 containg inset. If this does not work, the same command will be
137 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
139 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
142 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
144 * lyxtextclass.C (Read): convert layout file if the format is wrong
145 * lyxtextclass.C (layout2layout): new, needed for the above
147 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
149 * messages.C: do not forget to include <cerrno>.
151 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
153 * dociterator.h (StableDocIterator): add access to pos().
154 * undo.C (samePar): new method to check if two
155 iterators are in the same paragraph
156 * undo.C (recordUndo): check for samePar instead of cell identity
157 (which includes pos() and is too strict) (fixes bug 2097)
159 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
161 * text.C (setCursorFromCoordinates): return a bool telling whether
164 * text3.C (cursorPrevious): update if needed after
165 setCursorFromCoordinates (when dEPM triggered).
167 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
168 (otherwise the anchor may be completely wrong and make dEPM assert).
170 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
172 * buffer.C: version upgrade to 245.
173 * bufferparams.C: remove \quotes_times (bug 2090).
174 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
175 quotation marks as default.
177 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
179 * CutAndPaste.C (nrOfParagraphs): remove (unused)
180 * CutAndPaste.C (cutSelection): Remove debug message
181 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
182 undo information and only copy if this is a real cut
183 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
185 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
187 * CutAndPaste.C (eraseSelection): prevent cursor corruption
188 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
189 superflous cur.selection() setting
190 * CutAndPaste.[Ch] (grabSelection): take a const cursor
191 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
193 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
195 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
198 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
200 * BufferView_pimpl.C: comment layout change
202 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
206 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
207 by bibliography managers (bug 2071).
209 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
211 * BufferView_pimpl.C (update): choose arguments to update call so
212 that single-par update works most times
213 * text3.C (dispatch): carefully tune updating separately for
214 whole-screen and current-paragraph
215 * rowpainter.C (paintText): 1) replace painting by caching for
216 the two extra paragraphs, because we can;
217 2) suppress greying out of areas below/above drawn area in case of
219 * lyxfunc.C (dispatch): remove superfluous update
220 * LyXAction.[Ch]: introduce SingleParUpdate
222 2005-10-05 Angus Leeming <leeming@lyx.org>
224 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
225 always initialised before use.
227 * text.C (setHeightOfRow): squash warning about comparison
228 of signed and unsigned types.
230 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
232 * text.C (cursorX): two fixes involving RtL text drawing
234 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
236 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
237 items, not only large ones (part of bug 2057)
239 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
241 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
242 argument, use "newcommand".
244 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
246 * cursor.C (setSelection): do not open collapsable insets;
247 the insets do by themselves now (autoopen).
249 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
251 * buffer.C: format is up to 244.
253 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
255 * text.C (redoParagraph): fix calcultation of inset width wrt
256 leftMargin (bug 1957).
258 * text3.C (dispatch): leave inset to the right when hitting ESC
261 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
266 * messages.C: include <boost/current_function.hpp>
268 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
270 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
271 when command is internal. (bug 1941)
273 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
275 * text2.C (cursorRight): do not honor boundary when at the end of
276 a paragraph. (bug 2010 again)
278 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
280 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
282 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
284 * rowpainter.C (paintText): fix RtL space width display bug (2029)
286 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
288 * text2.C (setCursor): remove the unused 'boundary' parameter for
289 the CursorSlice version; adapt the LCursor version.
292 * paragraph_pimpl.C (markErased):
293 * cursor.C (bruteFind2, bruteFond3): fix warnings.
295 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
297 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
298 as is already done for "chapter".
300 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
302 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
303 textclass; do not record undo if nothing is changed.
305 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
307 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
309 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
311 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
313 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
315 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
316 combox, it is necessary to search for the topmost paragraph in the
317 cursor stack (bug 1926)
319 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
321 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
322 end of paragraph. (bug 2010)
324 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
326 * text.C (leftMargin): check for inInset == 0
328 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
330 * text.C (leftMargin): test for insetbase's new neverIndent()
331 bool instead of listing each and every inset that does not
332 wish par indendation.
334 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
336 * buffer_funcs.C (setCounter): put the code to compute enum label
337 here (where it belongs).
339 * counters.C (enumLabel): move code to buffer_funcs.C.
341 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
343 * outputparams.[Ch]: store local_font instead of local_language
344 * paragraph.C (simpleTeXOnePar): adapt to the change above
346 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
349 * counters.[Ch]: clean up special code for Hebrew.
351 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
353 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
356 2005-09-08 Angus Leeming <leeming@lyx.org>
359 * lyxrc.C: correct grammar describing invocation of the
362 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
364 * text.C (read): remove unused variable.
365 (readParToken): remove static Change variable (never good in
366 recursive settings...); add it as a parameter instead.
368 * paragraph_pimpl.C (acceptChange): make debug info conditional.
370 * metricsinfo.C (PainterInfo): add new member erased_.
372 * rowpainter.C (RowPainter): add erased_ member, initialized from
374 (paintInset): pass erased_ to Inset::draw.
376 * lyxfunc.C (lookupChange): new function. Tells whether change
377 tracking is disabled at a given postion.
378 (getStatus): disable some actions when in deleted text with change
381 2005-08-03 John Levon <levon@movementarian.org>
383 * tabular.C (appendColumn, setMultiColumn): adapt to change to
386 * paragraph_pimpl.C (markErased): add bool argument and handle it.
387 Also make sure to mark insets recursively.
388 (rejectChange, erase): be recursive
390 * paragraph.C (markErased): add bool argument.
391 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
393 * lyxfind.C (findNextChange): tiny cleanup.
395 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
396 change tracking with the cursor in an inset; make sure the first
397 change is not skipped.
399 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
401 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
402 tabularStackDirty to work around bug 1919 (tabular needs
403 to know whether its own cell paste buffer or the one of
405 * CutAndPaste.C: mark tabular_stack_ clean after copy.
407 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
409 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
411 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
413 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
414 use old deleteion algorithm when changetracking is on.
416 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
418 * messages.C (get): add debug output.
420 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
422 * text.C (cursorX): fix bug 1965: cursor movement at
423 line end broken in RtL.
424 (drawSelection): fix bug 1970: drawing of single-line
425 selection broken for RtL.
427 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
431 * dociterator.h (clear, push_back, pop_back): change from
434 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
435 and changed to just return the value of the item depth; take a
436 ParIterator as argument; take the itemdepth at outer nesting level
437 in account if necessary; cleanup and comment the code.
438 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
439 and changed to just return true if reset is needed; take a
440 ParIterator as argument; cleanup and comment the code.
441 (setCounter): adapt to above changes.
443 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
445 * text3.C (dispatch): make debug message optional
447 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
449 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
452 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
454 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
456 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
458 * text.C (insertChar):
459 * text2.C (deleteEmptyParagraphMechanism): take care whether
460 a blank has been deleted (in change tracking mode) (bug 1254).
462 2005-07-20 John Levon <levon@movementarian.org>
464 * text2.C (insertStringAsLines): remove old dubious code,
467 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
469 * MenuBackend.C (expandToc): use Floating::listName() as title of
472 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
474 * toc.[Ch]: Do not use translatable strings (bug 1870).
476 2005-07-20 John Levon <levon@movementarian.org>
478 * tabular.C: fix 1748 - setting multicolumn adds
479 left line to the first cell
481 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
484 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
487 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
489 * messages.C: supress some lyxerr messages
491 2005-07-18 Juergen Vigna <jug@lyx.org>
493 * text.C (drawSelection): honor boundary when asking for cursorX.
495 2005-07-17 José Matos <jamatos@fc.up.pt>
497 * tabular.C (recalculateMulticolumns): fix handling of one column
500 2005-07-17 Juergen Vigna <jug@lyx.org>
502 * text.C (Delete, backspace): fixed so that paragraph with the
503 same layout can be merged by Delete/Backspace.
505 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
507 * text.C (readParToken): fix spelling.
509 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
511 * text2.C: fix counter update for DEPM problem reported by
514 2005-07-17 Juergen Vigna <jug@lyx.org>
516 * BufferView_pimpl.C (setBuffer): save/restore the
517 cursor/selection when switching buffers
520 * buffer.C (saveCursor): add saveDocumentIterators to save the
521 cursor when switching buffer.
523 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
526 * buffer.C: clarify message
528 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
530 * dociterator.C (DocIterator): fix initialization order
532 2005-07-17 Juergen Vigna <jug@lyx.org>
534 * text2.C (cursorHome):
535 * text.C (drawSelection, cursorX):
536 * dociterator.C (textRow): add boundary to getRow() call
538 * paragraph.C (getRow): implementation of below
540 * paragraph.h: add parameter boundary for getRow() function
542 2005-07-17 José Matos <jamatos@fc.up.pt>
546 * tex-strings.[Ch]: new file format, remove support for a4.sty,
547 a4wide.sty and a4widemargins.
549 2005-07-17 Juergen Vigna <jug@lyx.org>
551 * text2.C (cursorLeft): fix one of error
553 2005-07-17 Juergen Vigna <jug@lyx.org>
555 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
557 more fixes for boundary handling
559 * text3.C (dispatch): don't reset cursor if boundary has changed
562 2005-07-16 Juergen Vigna <jug@lyx.org>
564 * text2.C (getColumnNearX): hopefully got it right now,
565 check if we are on column 0 for special case.
567 2005-07-16 Juergen Vigna <jug@lyx.org>
569 * text2.C (getColumnNearX): handle special case Newline Inset
571 * text.C (singleWidth): Just remove bogus check
573 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
575 * funcrequest.C (split): avoid reading uninitialized char c
577 2005-07-16 José Matos <jamatos@fc.up.pt>
583 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
584 single papersize variable.
586 2005-07-16 Juergen Vigna <jug@lyx.org>
588 * text3.C (dispatch): honor boundary when checking if a cursor
589 movement has been done
591 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
592 (setCursor, setCursorIntern): fix cursor movement with boundary
594 2005-07-16 Juergen Vigna <jug@lyx.org>
596 * text.C (currentState): output the actual Boundary
598 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
600 * factory.C (createInset): fix bad logic for tabular creation
602 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
604 * lyx_main.C (init): change some reLyX reference to tex2lyx
606 2005-07-16 Juergen Vigna <jug@lyx.org>
608 * dociterator.C (DocIterator): initialize boundary
610 2005-07-16 Juergen Vigna <jug@lyx.org>
612 * text2.C (getColumnNearX): Consider rows without trailing blank.
614 2005-07-16 André Pönitz <poenitz@gmx.net>
616 * lyxfont.h: Change order of declarations to give the compiler
617 a better chance to inline things
619 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
620 questions on unsaved docs for better scritability
622 2005-07-16 André Pönitz <poenitz@gmx.net>
624 * paragraph.h (getChar): remove asserts as the same kind of security
625 can be achieved by using a suitable standard library implementation
626 and the function was in the critical path (25.9% in profiler)
628 2005-07-16 Juergen Vigna <jug@lyx.org>
630 * cursor.C (bruteFind2):
631 * bufferview_funcs.C (coordOffset):
632 * text.C (cursorX,cursorY): Handle cursor position after last char
633 in row before a inset which uses a whole row.
635 2005-07-15 José Matos <jamatos@lyx.org>
637 * output_plaintext.[Ch] (writeFileAscii): control reference title
639 (asciiParagraph): noparbreak was already deal and was incorrectly
642 2005-07-15 Juergen Vigna <jug@lyx.org>
644 * lyxfunc.C (dispatch): save and restore the cursor after a
647 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
649 * text.C (backspace): bug 806 for empty keepempty paragraphs we
650 change the layout to default before letting DEPM do its thing.
652 * paragraph_funcs.C (breakParagraph): dont reset the layout on
655 * text.C (setCursorFromCoordinates): add a debug statement
657 * text2.C (getColumnNearX): bug 1825 make sure that we don't
658 return a pos that is not on the row
660 * output_latex.C (TeXDeeper): get rid of potential dereferencing
661 of past the end iterator
663 2005-07-14 André Pönitz <poenitz@gmx.net>
665 * undo.C (recordUndoFullBuffer): implement undo for
668 2005-07-14 André Pönitz <poenitz@gmx.net>
670 * cursor.C (setSelection): open insets when selection is set there
671 to avoid crashs with cold coord cache
673 2005-07-14 André Pönitz <poenitz@gmx.net>
675 * trans_mgr.C (insert): move cursor to the right after inserting
678 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
680 * BufferView_pimpl.C (update): dampen some of the debug blabbering
681 * factory.C (readInset): ditto
682 * text.C, text2.C: ditto
684 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
686 * buffer.C: format incremented to 242. There is no file format per
687 se, but the "frenchb" language has been removed from lib/language
688 and has to be translated to "french" by lyx2lyx.
690 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
692 * cursor_slice.h, dociterator.h: add some documentation
693 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
695 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
697 * text.C (leftMargin): do not add identation to display() style
698 insets, because they are always centered (bug 1293).
700 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
702 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
703 formatted_time methods in support/lyxtime.
705 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
707 * toc.[Ch]: new method getGuiName, which is used by the frontends
708 to set the toc combo (fixes bug 1870). Make TOC string translatable.
710 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
712 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
713 StableDocIterator const &)
714 * undo.C (recordUndo): use the above instead of cell.size() comparison
715 (fixes bug 1808; instructed by Andr�.
717 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
720 * dociterator.h: Fix the assert when copying rows/cols in math
722 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
724 * BufferView_pimpl.C:
726 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
728 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
729 (findInset): new functions, refactored from goto Inset that return
730 the position of a certain inset without setting the buffer's cursor
732 (gotoInset): rewrite to call findInset and then set the cursor
735 2005-06-16 Angus Leeming <leeming@lyx.org>
737 * lyxrc.C (output, read): wrap all input and output of paths with
738 calls to os::internal_path and os::external_path, respectively.
739 (output): wrap bind_file inside quotes.
741 * format.C (view): enable the viewer to use the '$$s' placeholder.
743 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
745 * LColor.[Ch] (getFromLaTeXName): new
747 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
749 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
751 2005-06-14 Angus Leeming <leeming@lyx.org>
753 * lyx_main.C (init): ensure that the LyX binary dir is the first
754 element in the PATH on non-POSIX builds.
756 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
758 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
760 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
762 * rowpainter.C (paintInset, paintHebrewComposeChar)
763 (paintArabicComposeChar, paintChars): add a LyXFont argument.
764 (paintChars): use getFontSpan to reduce calls to getFont to a
765 minimum; use Paragraph::lookupChange instead of isXXXText.
766 (paintForeignMark): rename LyXFont argument.
767 (paintFromPos): pass a LyXFont object to the various paintXXX
770 * FontIterator.C (FontIterator, operator++): use
771 Paragraph::getFontSpan
773 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
774 version that returns the font span as a pair.
776 2005-06-09 Angus Leeming <leeming@lyx.org>
778 * converter.C (convert): Don't forget "outfile = real_outfile" as
779 the final step in a conversion where the input and output file names
780 are the same. Otherwise, future conversion steps won't work...
782 2005-06-09 Angus Leeming <leeming@lyx.org>
784 * lyxsocket.C: remove stub code as it isn't needed by
785 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
787 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
789 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
790 effectively disabled -x
792 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
794 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
795 when it actually makes sense.
797 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
799 * BufferView_pimpl.C: revert to showCursor in connection with
800 Lars's front-end stack
802 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
804 * text.C (redoParagraph): move cursor right after a bibitem
807 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
809 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
811 * buffer_funcs.C (bufferErrors): fix computation of the end of an
814 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
816 * BufferView.[Ch] (update):
817 * BufferView_pimpl.[Ch] (update, metrics):
818 * dimension.h (operator==):
819 * lyxfunc.C (dispatch):
820 * metricsinfo.h (ViewMetricsInfo):
821 * rowpainter.C (paintText):
823 * text.C (redoParagraph):
824 * text3.C (dispatch): Make LyX only repaint current paragraph in
825 case of character insert --> speedup. Also fix cursor draw
828 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
830 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
831 avoid a crash (bug 1891)
833 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
837 * text2.C (getStringToIndex): constify cur argument.
839 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
840 argument has been given
841 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
842 try to invoke LFUN_INSET_APPLY).
844 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
845 if no inset was created by doInsertInset
846 (doInsertInset): return true if an inset has been inserted.
848 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
850 * vspace.C (asGUIName): new method. A version of the space
851 suitable for showing on screen.
853 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
856 * lyxrc.C: rename "ASCII" to "Plain Text"
858 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
860 * buffer_funcs.C (expandLabel): take a Buffer as argument;
861 translate the labelstring.
862 (setCounter): translate labelstring as needed.
864 * output_docbook.C (makeCommand): fix expandLabel invokation
866 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
868 * BufferView.C: fix dialog title
870 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
872 * lyx_main.C (priv_exec): fix logic error with help from Angus
873 * lyx_main.C (parse_execute): set is_gui = false and remove now
874 obsolete comment about a segfault
876 2005-05-18 Angus Leeming <leeming@lyx.org>
878 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
880 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
882 * tabular.[hC]: added setCellInset to fix tabular paste.
884 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
886 * buffer.C (save): check if destination is writable before trying
889 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
891 * BufferView_pimpl.C (update): fix processEvents -caused update
894 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
896 * buffer_funcs.C (setCounter): fix test for numbering of
899 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
900 depth correctly; use optional argument when it exists
902 * lyxtextclass.C: remove unused MaxCounterTags enum
903 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
904 (max_toclevel, min_toclevel): new methods.
906 * MenuBackend.C (expandToc2): fix case where depth is smaller than
907 the smallest depth in toc.
909 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
910 layouts that should not appear in a table of contents.
912 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
914 * cursor.h (undispatched, noUpdate): add comments from Andr�
915 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
919 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
921 2005-05-07 André Pönitz <poenitz@gmx.net>
923 * cursor.[Ch] (leaveInset): new function
925 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
927 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
929 2005-05-04 Angus Leeming <leeming@lyx.org>
931 * lyxfunc.C (getStatus): disable the spell checker dialog if
932 none of USE_[AIP]SPELL are defined.
934 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
936 * tabular.C (setWidthOfCell): remove obsolete comment
938 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
940 * paragraph.C (bibitem):
941 * buffer_funcs.C (setCounter):
942 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
944 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
946 * text3.C (getStatus): immediately return after setOnOff
948 * rowpainter.C: fix drawing of appendix start
950 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
952 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
953 SwitchBetweenClasses and remove the unused return value.
954 Handle character styles, too
956 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
958 * factory.C (createInset): handle undefined character styles
960 2005-05-02 Angus Leeming <leeming@lyx.org>
962 * buffer.C: protect the #include of utime.h with a preprocessor
965 2005-05-02 Angus Leeming <leeming@lyx.org>
967 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
968 function so that auto-saving works, albeit in a blocking manner.
970 * Makefile.am: make compilation of the client sub directory, of
971 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
972 on conditionals set at configure time.
974 * SpellBase.[Ch]: no longer an abstract base class. Instead,
975 it can be compiled in its own right but has no-op functionality.
977 * aspell.C, pspell.C: remove preprocessor guards. The files should
978 be compiled only if the necessary functionality exists.
980 * lyxserver.C, lyxsocket.C: disable on Windows.
982 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
984 * text.C (leftMargin): Fix the parindent use bug (1764)
987 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
989 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
992 2005-04-25 Angus Leeming <leeming@lyx.org>
1000 include <config.h> in .C files, not .h ones.
1002 protect headers inside preprocessor guards.
1004 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1006 * FuncStatus.h (StatusCodes): document
1008 2005-04-21 André Pönitz <poenitz@gmx.net>
1010 * FuncStatus.h (enabled, onoff): document
1012 2005-04-19 Angus Leeming <leeming@lyx.org>
1014 * BufferView_pimpl.C (cursorToggle): no longer test whether
1015 any child processes have been reaped before calling
1016 handleCompletedProcesses().
1018 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
1020 * text3.C (dispatch): fix, finally fix, the language problem in
1021 new lyxtexts, without disabling on-the-fly font changes (Helge's
1024 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1026 * text3.C (dispatch): set cursor on double/triple click events
1029 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1031 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1032 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1034 * rowpainter.C (paintFirst): simplify the code a little bit. In
1035 particular, remove the test for secnumdepth.
1036 * text.C (setHeightOfRow): only allocate space for chapter number
1037 when updateCounters provided an actual label, instead of looking
1038 at secnumdepth directly.
1040 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1042 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1043 paragraphs when secnumdepth is large enough or, for environments,
1044 when they are not the first in a sequence.
1046 2005-04-17 Angus Leeming <leeming@lyx.org>
1048 * buffer.C (makeLaTeXFile): replace code to manipulate a path
1049 containing space and '~' characters with a call to latex_path().
1051 2005-04-17 Angus Leeming <leeming@lyx.org>
1053 * converter.C (convert): protect all args of convertDefault.sh
1056 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1058 * text3.C (dispatch): change the layout to "Caption" after inserting
1061 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1063 * text3.C (dispatch): fix language problem in newly created
1064 textinsets (and main text) in non-english docs
1066 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1068 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1069 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1070 * text3.C (getStatus): disable LFUN_INSET_MODIFY
1072 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1076 * text2.C (getFont):
1077 * rowpainter.C (getFont): Fix metrics bug introduced by inset
1080 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1082 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1083 output of \item arguments without trailing text.
1085 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1087 * FontIterator.C (operator*): avoid a copy of the font.
1089 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1091 * rowpainter.C (getFont): fix language bug from previous fix
1093 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1095 * rowpainter.C (RowPainter, getFont): fix font inside inset
1098 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1100 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1101 preventing inserted font, deco, delim insets jumping to start of
1104 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1106 * lyxfunc.C (dispatch): translate message before sending it to the
1109 2005-03-29 Angus Leeming <leeming@lyx.org>
1111 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1112 to LyX on the command line.
1114 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1116 * vc-backend.C: use QuoteName to protect file names wherever
1119 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1122 * BranchList.h: fix bugs 1844,1845: document settings don't
1125 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1127 * lyxrc.C (setDefaults, read, output, getDescription): add support
1128 for tex_allows_spaces.
1130 * exporter.C (Export): allows files in directory containing spaces
1131 if tex_allows_spaces is true.
1133 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1134 output it in double quotes.
1136 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1138 * rowpainter.C: use default text height for drawing change tracker
1141 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1143 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1145 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1147 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1148 directory is missing.
1150 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1152 * text2.C: fixed the fix, extended to other case.
1154 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1156 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1158 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1160 * text2.C (cursorUp): get rid of a crash
1161 * text.C (x2pos): add an assert
1163 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1165 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1169 * dociterator.C: include <boost/current_function.hpp>, which is
1170 needed when assertions are disabled.
1172 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1174 * text2.C: fix for stuck cursor when traversing two
1175 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1177 2005-02-25 Andreas Vox <avox@arcor.de>
1179 * output_docbook.C (makeParagraph): suppress trailing newline
1180 after a run of paragraphs
1182 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1184 * paragraph.C: fix for confused change tracker when pasting
1185 text that begins with a lineseparator. [bug 1827]
1186 (setChange(0, Change::INSERTED);)
1188 * paragraph_funcs.C: fix for lost changes on triple-paste
1189 in change tracking mode [bug 1827] (par.setChange()).
1191 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1193 * text2.C (updateCounters, setCounter, expandLabel): move to
1196 * buffer_funcs.C (updateCounters): turn into a free standing
1197 function and add a buffer parameter. Remove dead code for tracking
1199 (setCounter): change into a free-standing function which gets a
1200 dociterator as argument. Use this iterator to fix captions in a
1201 simple way. When no float is found above the caption, use the
1202 labelstring of the caption layout as default.
1204 * text.C (breakParagraph, backspace):
1205 * text2.C (init, setLayout, changeDepth):
1206 * text3.C (dispatch):
1207 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1210 * dociterator.C (forwardPar): make it much faster by calling
1211 forwardPos() only when really necessary.
1213 * output_docbook.C (makeCommand): adapt to expandLabel move.
1215 * cursor.C: remove unused variable
1217 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1219 * paragraph_funcs.C: fix crash when pasting insets in change
1220 tracking mode [bug 1277] (honour change type in moveItem).
1222 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1224 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1226 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1228 * BufferView.C (setCursor): change to use a DocIterator.
1229 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1230 (putSelectionAt): adapt to BufferView::setCursor change.
1232 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1233 moved here from LyXText and rewritten to use proper cursor
1234 methods. Fixes bug 1787, 616 and 835.
1236 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1237 when inside an inset (part of bug 781).
1238 (dispatch): adapt to change of BufferView::setCursor.
1239 (getStatus, dispatch): handle LFUN_GOTOERROR,
1240 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1242 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1243 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1244 * text3.C (gotoNextInset, gotoInset): removed.
1246 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1248 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1250 2005-02-15 Angus Leeming <leeming@lyx.org>
1252 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1253 can be used meaningfully in a comparison.
1255 2005-02-13 André Pönitz <poenitz@gmx.net>
1257 * bufferview_funcs.C (coordOffset): improve cursor drawing
1259 2005-02-13 André Pönitz <poenitz@gmx.net>
1261 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1262 * Cursor.C (dispatch): use fixIfBroken
1263 * lyxfunc.C (getStatus): use fixIfBroken
1265 2005-02-15 Angus Leeming <leeming@lyx.org>
1267 * lyx_main.C (error_handler):
1269 * lyxrc.C (setDefaults):
1271 #include "environment.h".
1273 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1275 2005-02-15 Angus Leeming <leeming@lyx.org>
1277 * lyxserver.C (startPipe): squash MSVC warning "local variable
1278 'fd' used without having been initialized".
1280 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1282 * BufferView_pimpl.C: revert accidental commit.
1284 2005-02-14 André Pönitz <poenitz@gmx.net>
1286 * dociterator.[Ch]: new member forwardPosNoDescent(),
1287 which doesn't enter nested insets.
1288 * text2.C (setFont): use forwardPosNoDescent() instead
1289 of ForwardPos() (fixes crash on font change).
1291 2005-02-13 Angus Leeming <leeming@lyx.org>
1293 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1294 only if lyxrc.path_prefix is not empty.
1296 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1298 * bufferparams.C (readGraphicsDriver): prevent crash
1300 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1302 * text2.C (setCounter): check for inInset() == 0
1304 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1306 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1307 but use update() to get correct screen display; use convert
1308 instead of istringstream.
1309 (getStatus): handle LFUN_GOTO_PARAGRAPH
1311 * lyxfunc.C (dispatch, getStatus): do not handle
1312 LFUN_GOTO_PARAGRAPH here.
1314 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1316 * text3.C (dispatch): size() -> depth()
1318 * text2.C: remove some debug output
1320 * paragraph.C: ws changes only
1322 * lyxfunc.C (getStatus): size() -> depth()
1324 * dociterator.h (clear, push_back, pop_back, internalData,
1325 operator[], resize, empty): new functions
1326 Make StableDocIterator and operator== be friends. Don't inherit
1327 from std::vector use a privat class variable slices_ instead.
1330 * dociterator.C: update because of not inheriting from std::vector
1331 anymore. Call explictly to slices_ instead. Use depth() instead of
1332 size() and top() instead of back()
1334 * cursor.C: chagne size() -> depth and back() -> top(). Also
1335 remove some direct operator[](i) calls in favour of foo[i]
1336 (getFont): remove some dead code
1338 * bufferview_funcs.C (coordOffset): size() -> depth()
1340 * buffer.C: ws changes only
1342 * CutAndPaste.C (eraseSelection): back() -> top()
1344 * BufferView_pimpl.C (selectionRequested): back() -> top()
1346 * BufferView.C (setCursor): size() -> depth()
1348 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1350 * text3.C (cursorPrevious): return true if depm changed something
1352 (dispatch): rename sl to oldTopSlice, remove moving use the new
1353 NoUpdate func attrib instead. Make sure that needsUpdate is set
1354 for function that have NoUpdate, but where depm might have changed
1357 * text2.C (cursorLeft): make us return true if depm changed
1359 (cursorRight): ditto
1360 (cursorUpParagraph): ditto
1361 (curosrDownParagraph): ditto
1362 (cursorUp, cursorDown): ditto, make sure to read comments in code
1363 (deleteEmptyParagraphMechanism): remove an assert, also return
1364 true if just a single char was deleted.
1366 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1367 cursor that we modify, to avoid modifying an active cursor before
1368 we call setCursor. This allows depm to run. Also return true if
1369 depm deleted something.
1371 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1372 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1373 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1374 something was changed in the buffer because of them (ie. depm run)
1376 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1377 debug messages. Make update by default be false. Make sure that
1378 the result of update is retained throught several calls down to
1381 * LyXAction.h: add a new func_attrib: NoUpdate
1383 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1384 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1385 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1387 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1389 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1391 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1392 bv_->owner(), bv_->buffer() by direct references to the private
1394 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1395 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1396 (fitCursor): center() is in BufferView::Pimpl.
1397 (getStatus, trackChanges, dispatch): no need for a temporary buf
1399 (fitCursor, workAreaDispatch): use workarea().workheight()
1401 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1403 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1405 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1407 * buffer.C: format up to 241.
1408 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1409 break if pasting into ERT
1410 * lyxfunc.C (getStatus): suppress mathpanel and
1411 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1413 2005-02-01 Angus Leeming <leeming@lyx.org>
1415 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1417 2005-02-01 Angus Leeming <leeming@lyx.org>
1419 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1420 calling fs::is_directory().
1422 2005-01-31 Angus Leeming <leeming@lyx.org>
1424 * lyx_main.C (priv_exec): specify explicitly the relative location
1425 of the top level build directory when run in-place.
1427 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1429 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1430 LyXText containing the cursor, not the top-level one.
1432 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1434 (insertStringAsLines): rename par to pit; use temporary variable
1435 par to hold a Paragraph; do not store par.layout() in a variable,
1436 since the pointer may die when breaking paragraphs; pass pars to
1437 breakParagraph() instead of Buffer::paragraphs().
1439 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1441 * lyxlex_pimpl.h: #include <fstream>.
1443 * BufferView.[Ch] (getLyXText): add a const version.
1445 * BufferView_pimpl.C: add debug aids.
1450 * paragraph_funcs.h: add commentary explaining what the class does.
1453 * coordcache.[Ch]: add lots of commentary.
1454 (startUpdating, doneUpdating): debug aids.
1455 (arrays, insets, parPos, getParPos): accessors to private data.
1457 * cursor_slice.[Ch] (text): add a const version.
1458 * dociterator.[Ch] (text, innerText): add const versions.
1460 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1463 * paragraph.C (getRow, pos2ros): add asserts.
1465 * paragraph.h: add commentary. Lots of.
1467 * paragraph.[Ch] (metrucs, draw): removed.
1470 * rowpainter.[Ch]: const-correct changes.
1472 * text.C: various obvious clean-ups. Removal of ancient cruft.
1475 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1477 * vc-backend.C (find_file): rewrite to use boost.filesystem
1480 * main.C (main): set default name check for boost.filesystem to
1483 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1486 (actOnUpdatedPrefs): ditto
1488 * lyx_main.C (init): rewrite to use boost.filesystem
1489 (queryUserLyXDir): ditto
1491 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1492 (getContentsOfAsciiFile): ditto
1494 * lastfiles.C (readFile): rewrite to use boost.filesystem
1496 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1498 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1499 (loadLyXFile): ditto
1501 * buffer.C (Buffer): adjust for destroydir
1502 (getLogName): rewrite to use boost.filesystem
1503 (setFileName): ditto
1504 (save): use fs::copy_file (from fs_extras)
1506 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1508 * LaTeX.C (run): rewrite to use boost.filesystem
1509 (scanAuxFiles): ditto
1510 (handleFoundFile): ditto
1512 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1514 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1516 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1518 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1520 * lyxlayout.[Ch]: change some vars from float to double
1522 * buffer.C (readFile): make a local var const
1524 * Several files: use convert<> instead of atoi,strToXXX and friends
1526 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1528 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1529 holds the contents of packages.lst. New functions getAvailable
1530 and isAvailable to parse and check that list, resp.
1534 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1536 * bufferparams.[Ch]: new param output_changes.
1538 * Buffer.C: increase file format to 240.
1539 Use output_changes and isVailable.
1543 * paragraph_pimpl.C: Use output_changes and isVailable.
1545 2005-01-23 Angus Leeming <leeming@lyx.org>
1547 * output_latex.C: #include "insetbibitem.h", rather than
1548 forward declare function bibitemWidest.
1550 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1552 * lyx_main.C (init): make it compile on the Mac.
1554 2005-01-20 Angus Leeming <leeming@lyx.org>
1556 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1557 (setLyXMisc): (char string literal) != (char string literal) is
1558 performing a comparison on the addresses. Convert one operand
1559 explicitly to string to guarantee expected behaviour.
1562 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1565 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1567 * output_plaintext.C: remove unneeded #include gzstream.h.
1569 2005-01-20 Angus Leeming <leeming@lyx.org>
1571 * SpellBase.h: rename some of the elements of the Result enum.
1578 * pspell.C (check): ditto
1580 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1582 * buffer.C: add #include <fstream>.
1584 * lyx_main.C (init): Compile fix.
1586 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1588 2005-01-20 Angus Leeming <leeming@lyx.org>
1590 * mover.h: change commentary to reflect the changed meaning of
1591 the $$s placeholder.
1593 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1595 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1597 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1599 2005-01-20 Angus Leeming <leeming@lyx.org>
1601 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1602 printing diagnostic data by not dereferecing an iterator past the
1605 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1607 * buffer.C (readHeader): use "&&" rather than "and".
1609 * lyxserver.h (inPipeName, outPipeName): make these const.
1611 2005-01-19 Angus Leeming <leeming@lyx.org>
1613 * lyx_main.C (error_handler, init): protect SIGHUP with
1614 #ifdef SIGHUP guards.
1616 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1618 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1620 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1622 * text.C (setHeightOfRow): add a margin at the top and bottom of
1623 the document (bug 1761)
1625 2005-01-17 Angus Leeming <leeming@lyx.org>
1627 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1628 with "python ". Workaround for a brain-dead Windows.
1630 2005-01-16 Angus Leeming <leeming@lyx.org>
1632 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1633 for MacOSX and Windows to use prependEnvPath.
1634 Strip out the hard-coded block to add elements to the PATH for
1635 MacOSX and replace it with a call to prependEnvPath using the
1636 contents of LyXRC::path_prefix.
1637 (queryUserLyXDir): strip out the code to run reconfigure, instead
1638 returning a boolean indicating the necessity to do so.
1639 (reconfigureUserLyXDir): contains the code to reconfigure the
1640 user support directory. Is now called after the various LyXRC data
1641 files have been read.
1643 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1645 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1647 * converter.[Ch] (convert): take a new parameter try_default. Use
1648 a default converter (imagemagick) if try_default is true.
1650 2005-01-13 Angus Leeming <leeming@lyx.org>
1652 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1653 os::cygwin_path_fix.
1654 (write): output LyXRC::cygwin_path_fix as necessary.
1656 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1659 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1661 2005-01-12 Angus Leeming <leeming@lyx.org>
1663 * lyx_main.C (init): set the PATH variable to include the
1664 directory containing the LyX binary when running on Mac or Windows.
1666 2005-01-12 Angus Leeming <leeming@lyx.org>
1668 * lyx_main.C (init): remove cruft that purports to set the locale
1669 dir. It doesn't and is not needed anyway.
1671 2005-01-10 Angus Leeming <leeming@lyx.org>
1673 * Makefile.am: remove the lyx_main.C special casing.
1675 * BufferView_pimpl.C:
1681 * messages.C: use support/package.h to provide the paths to the
1682 various directories used by LyX.
1684 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1686 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1687 layout if pasting into an empty paragraph)
1689 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1691 * tex-accent.C: add <string>
1693 2005-01-06 José Matos <jamatos@lyx.org>
1695 * ParagraphParameters.C (write): put every parameter in its own line.
1696 * paragraph.C (write): reduce number of consecutive empty lines exported.
1697 * buffer.C (LYX_FORMAT): increase file format to 239.
1699 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1701 * everywhere: change support/tostr.h -> support/convert.h
1703 * tabular.C: make all write_attributes templates, tostr -> convert
1705 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1706 (emptyTag): and -> &&, and fix type for ret from getChar
1707 (getFirstWord): fix type for ret from getChar
1708 (onlyText): and -> &&
1709 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1712 * toc.C (goTo, action):
1713 * text3.C (dispatch):
1714 * text.C (currentState):
1715 * tex-accent.C (DoAccent):
1718 * lyxfunc.C (menuNew):
1719 * lyxfinc.C (replace):
1720 * counters.C (laberItem):
1721 * bufferview_funcs.C (font2string):
1722 * bufferparams.C (writeFile):
1723 * buffer.C (readFile):
1725 * MenuBackend.C: tostr -> convert
1727 * LaTeX.C (runMessage): fix format
1728 (scanAuxFiles): tostr -> convert
1730 * BufferView_pimpl.C (savePosition): fix format
1731 (restorePosition): ditto
1734 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1736 * Spacing.[Ch]: New method getValueAsString().
1740 * ParagraphParameters.C:
1743 * text3.C: store/read spacing value as string.
1745 * rowpainter.C: change float value (spacing_val) to double.
1747 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1748 broken custom document spacing).
1750 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1752 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1753 namespace, also more use of temp references and const
1755 * cursor.[Ch] (getStatus): move to lyxfunc.C
1757 * bufferparams.C: reformat slightly
1759 * bufferview_funcs.C (font2string): constify arg
1765 * buffer_funcs.C: (many funcs): constify arg on function
1766 definitions, also make more local vars const, also add ASSERTS on
1769 * buffer.C (LYX_FORMAT): put const in correct place
1770 (many funcs): constify arg on function definitions, also make
1771 more local vars const
1773 * aspell_local.h: remove "struct" from typdef setup
1775 * aspell.C (check): make word_ok const
1776 (nextMiss): simplify slightly
1779 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1781 * lyxrc.[Ch]: store all float values as strings.
1782 use int (not float) for lyxrc.dpi.
1784 2005-01-04 Angus Leeming <leeming@lyx.org>
1786 * lyx_cb.C (Reconfigure):
1787 * lyx_main.C (queryUserLyXDir):
1788 to run the <system_lyxdir>/configure correctly on Windows, prefix
1789 the path to the script with "sh " when generating the string that
1790 is passed to system().
1792 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1794 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1796 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1798 * lyxlength.C (asLatexString): get rid of setprecision
1800 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1802 * text2.C (setLayout): remove unused variable endpit.
1803 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1805 * paragraph.C (onlyText): remove unused variable style.
1807 * cursor.C (bruteFind): remove unused variables beg and end.
1809 * Makefile.am (dist_noinset_DATA): not needed anymore
1811 * cheaders/*: remove.
1813 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1815 * text3.C: fix LFUN_MATH_MODE.
1817 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1819 * buffer_funcs.C (countWords): new function. Counts words between
1822 * BufferView_pimpl.C (getStatus, dispatch): handle
1825 * LyXAction.C (init):
1826 * lfuns.h: add LFUN_WORDS_COUNT.
1828 2004-12-19 Angus Leeming <leeming@lyx.org>
1830 * buffer.C (save): s/slashify_path/internal_path/.
1832 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1834 * lyxfind.C (findChange): do not search for end of pars, because
1835 the change tracker cannot handle this (fixes bug 1719).
1837 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1839 * paragraph.[Ch] (autoBreakRows): remove
1841 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1843 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1844 avoid using the paragraph one
1846 * text2.C (LyXText, insertStringAsLines): adjust
1848 2004-12-16 Angus Leeming <leeming@lyx.org>
1852 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1854 2004-12-14 Angus Leeming <leeming@lyx.org>
1856 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1858 * bufferlist.C (emergencyWrite):
1859 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1862 2004-12-14 Angus Leeming <leeming@lyx.org>
1864 * main.C: (main): no longer pass pointers to os::init.
1866 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1868 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1869 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1871 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1874 * text3.C: remove selection_possible global flag
1876 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1878 * text2.C (getSelectionSpan): remove
1879 (changeDepth, changeDepthAllowed): adjust
1881 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1883 * Makefile.am (BOOST_LIBS): use boost variables
1885 2004-12-03 José Matos <jamatos@lyx.org>
1887 * buffer.C: format up to 238.
1889 2004-12-03 José Matos <jamatos@lyx.org>
1891 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1893 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1895 * cursor.C (goUpDown): remove call to idxUpDown2
1897 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1899 * tabular.[Ch]: use size_t-like types for cell, row and column
1902 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1904 * lyxfunc.C (getStatus): do not lose previous information when
1905 calling BufferView::getStatus; do not set a default "Command
1906 disabled" message at the beginning, but just before returning.
1908 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1910 * cursor.h (getStatus): add better comment from src/cursor.C
1912 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1914 * text3.C (getStatus): return false when the lfun is not handled
1916 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1918 * broken_headers.h: remove
1920 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1922 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1924 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1925 offset_ref accessors
1927 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1928 top_y_, merge fitcursor with update
1929 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1931 (metrics): introduce
1932 (workAreaDispatch): adapt to new coord scheme
1933 (redoCurrentBuffer): remove
1935 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1937 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1940 * coordcache.[Ch]: add paragraph cache and helpers
1942 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1945 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1946 (targetX, setTargetX): introduce
1948 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1949 baseline -> ascent, as the rest of lyx
1951 * lyxtext.h: remove redoParagraphs, updateParPositions,
1952 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1953 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1954 have ascent/descent (ascent is ascent of first par)
1956 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1959 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1961 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1963 * pariterator.C: fix infinite loop introduced in par->pit renaming
1965 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1966 in insets and LyXText, draw two off-screen paragraphs using
1967 NullPainter, and adapt to new coord scheme
1971 * text3.C: adapt lfun handlers to the new coord scheme, which
1972 means: there's only guaranteed coord information for onscreen pars
1973 plus one above and one below. This implies that one can do search
1974 from y coordinates in the range [-1,workHeight]
1976 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1978 * rename a lot of InsetOld to InsetBase
1980 2004-11-25 Angus Leeming <leeming@lyx.org>
1982 * BufferView_pimpl.C:
1984 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1986 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1988 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1989 call BufferView::getStatus if LCursor::getStatus did nothing
1990 (setStatusMessage, getStatusMessage): removed.
1992 * FuncStatus.C (message): new methods. Used to provide an error
1993 message indicating why a command is disabled.
1994 (clear, |=, FuncStatus): update for message.
1996 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1998 * lyxfunc.C (dispatch): always call sendDispatchMessage
2000 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2003 * BufferView_pimpl.C:
2008 * cursor_slice.[Ch]:
2011 * paragraph_funcs.C:
2017 * undo.C: par->pit renaming
2019 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2021 * tabular.C (cellstruct): use initialization, store a shared_ptr
2022 to insettext instead of the insettext directly, adjust to fit.
2023 (operator=): new function
2024 (swap): new function
2025 (rowstruct): use initialization
2026 (columnstruct): use initialization
2027 (ltType): use initialization
2030 * lyxlength.h (swap): new function
2032 * LColor.[Ch] (operator=): use the common semantics
2034 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2036 * lyxfind.C (findNextChange): update the bufferview after setting
2039 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2041 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2042 number of InsetOptArgs has already been inserted.
2044 * output_latex.C (latexOptArgInsets): new method. This outputs all
2045 the optarg insets, up to the limit defined in the layout file.
2046 (optArgInset): removed
2047 (TeXOnePar): call latexOptArgInsets; correctly update texrow
2049 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2051 * paragraph.C (isLetter): remove special spellchecker-related
2052 code; return true also for digits
2053 (isWord, isKomma): remove
2055 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2056 * lyxfind.C (MatchString()): use isLetter instead of isWord
2058 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2060 * pariterator.h (operatir=): comment out un-implemented member
2063 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2066 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2068 * lyxfont.h: include LColor.h to satisfy concept checks.
2070 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2072 * pariterator.h: add typdefs for value_type, difference_type,
2073 pointer and reference to satisfy concept checks. Also add default
2074 constructor for same reason.
2076 * pariterator.C (operator++): add post-increment operator to
2077 satisfy concept checks.
2079 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2082 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2084 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2085 checks. Also rename base_type to BaseType to follow naming
2088 * FloatList.h: include Floating.h to satisfy concept checks.
2090 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2092 * lyxfunc.C (getStatus): when the origin of the request is menu or
2093 toolbar, and the LyXView does not have focus, do as if there was
2094 no buffer (bug 1720)
2096 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2097 FuncRequest to individual entries of LFUN_SEQUENCE
2099 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2101 * output_latex.C (TeXOnePar): override runparams.moving_arg
2102 according to the needprotect value of the current paragraph (bug
2105 * paragraph.C (simpleTeXOnePar): no need to override
2106 runparams.moving_args here
2108 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2110 * vspace.C: fix off-by-one-error, related to fix #1682
2112 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2114 * lengthcommon.C: a more general fix for bug 1682
2116 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2118 * text.C (backspace): fix crash
2120 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2122 * format.[Ch] (getFormatFromFile): new method
2123 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2125 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2127 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2129 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2131 * lyxfunc.C (dispatch): remove the verbose argument
2132 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2135 * kbmap.C (defkey): set the origin of func to KEYBOARD
2137 * MenuBackend.C (MenuItem):
2138 * ToolbarBackend.C (add): set the origin of func to UI
2140 * funcrequest.[Ch]: add origin member, which indicates which part
2141 of LyX requests an action
2143 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2145 * converter.C (move): don't lie in the error message
2146 * converter.h (isReachable, move): document
2148 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2150 * buffer.C: remove unused using lyx::support::atoi
2151 * paragraph_funcs.C: ditto
2153 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2155 * bufferlist.C (exists): use bind and equal_to instead of
2158 * lyxtextclasslist.C (NumberOfClass): ditto
2160 * cursor.C (insert): use for_each instead of explicit for loop
2162 * bufferlist.C (getFileNames): use std::transform and
2163 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2165 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2168 * buffer.C (changeLanguage): use for_each instead of explicit for
2170 (hasParWithID): implement using getParFromID
2172 * LaTeXFeatures.C: ws change only
2174 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2177 * BufferView_pimpl.C (trackChanges): use for_each instead of
2180 2004-11-04 André Pönitz <poenitz@gmx.net>
2183 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2185 * dociterator.C (asDocIterator): use hard assert again.
2187 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2189 * lyxlength.C (asLatexString): rewrite so that it does not use
2192 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2194 * text3.C (specialChar, dispatch): make sure cursor moves to the
2195 right after inserting an inset
2197 2004-11-02 José Matos <jamatos@lyx.org>
2199 * output_docbook.C (docbook):
2200 * paragraph.C (getID):
2201 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2202 garantee that the output is always legal.
2204 * tabular.C (docbook):
2205 * outputprams.[Ch]: remove mixed contents.
2207 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2209 * text2.C (setCounter): prevent endless loop
2211 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2213 * exporter.C (copyFile): use the mover instead of support::copy()
2214 * exporter.C (Export): pass format and latex name to copyFile()
2215 * exporter.h (addExternalFile): document
2216 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2218 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2220 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2222 2004-10-30 José Matos <jamatos@lyx.org>
2224 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2225 text and no inset or font change. This allows to use CDATA
2226 sections just for the whole paragraph.
2228 2004-10-30 José Matos <jamatos@lyx.org>
2230 * paragraph.C (getFirstWord): remove unused variable.
2232 2004-10-30 José Matos <jamatos@lyx.org>
2234 * paragraph.C (getFirstWord): the content should always be escaped
2236 (simpleDocBookOnePar):
2237 * output_docbook.C (makeEnvironment): replace reference to CDATA
2240 2004-10-30 José Matos <jamatos@lyx.org>
2242 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2244 2004-10-30 José Matos <jamatos@lyx.org>
2246 * output_docbook.C (makeParagraphs):
2247 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2248 standard paragraph has only a given type of content drop the wrapper.
2250 2004-10-29 José Matos <jamatos@lyx.org>
2252 * output_docbook.C (makeEnvironment):
2254 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2256 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2258 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2259 (cleanID): sanitize any id.
2261 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2263 * buffer.C, lyxlex_pimpl.C:
2264 * lyxlex_pimpl.C (setFile):
2265 s/getExtFromContents/getFormatFromContents/
2267 2004-10-28 José Matos <jamatos@lyx.org>
2269 * output_docbook.C (makeEnvironment): move id to broadest possible
2272 * sgml.C (openTag): apply substitution of <> for all attributes.
2274 2004-10-28 José Matos <jamatos@lyx.org>
2276 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2277 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2278 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2280 * sgml.[Ch]: new version for open and closeTag for paragraph and
2281 for strings. Now they handle the ids of paragraphs.
2283 2004-10-26 Angus Leeming <leeming@lyx.org>
2285 * Makefile.am: add mover.[Ch].
2287 * converter.C (convert, move): use the new Movers to move external
2288 files to the temp directory.
2290 * lyx_main.C (init): ensure that the global system_movers data
2293 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2296 * mover.[Ch]: new files, defining a Mover as a utility to move an
2297 external file between directories and, if necessary, manipulate this
2298 file using a helper script.
2300 2004-10-25 José Matos <jamatos@lyx.org>
2302 * output_docbook.C (makeCommand): merge two if's that tested the
2305 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2307 * sgml.C (escapeString): fix warning in a better way
2309 2004-10-25 José Matos <jamatos@lyx.org>
2311 * sgml.C (escapeString): import the require boosts header file for
2312 tie, and avoid a signed unsigned comparison.
2314 2004-10-25 José Matos <jamatos@lyx.org>
2316 * sgml.h: add #include <string>
2318 2004-10-25 José Matos <jamatos@lyx.org>
2320 * sgml.[Ch] (escapeString): new function to escape all the string.
2322 2004-10-24 José Matos <jamatos@lyx.org>
2324 * paragraph.[Ch] (getFirstWord): new function to get the first
2325 word. Useful for description.
2326 (simpleDocBookOnePar): remove depth argument, add another that
2327 says where to start the paragraph.
2329 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2330 use the new functions to fix cleanly the support for descriptions.
2332 2004-10-24 José Matos <jamatos@lyx.org>
2334 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2335 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2336 * output_linuxdoc.C (linuxdocParagraphs):
2337 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2338 add buffer as argument.
2340 2004-10-24 José Matos <jamatos@lyx.org>
2342 * output_docbook.C (makeEnvironment, searchEnvironment): place
2343 CDATA inside paragraphs and fix scope for listitems.
2345 2004-10-24 José Matos <jamatos@lyx.org>
2347 * output_docbook.C: remove using statement for stack.
2349 2004-10-23 José Matos <jamatos@lyx.org>
2351 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2352 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2353 docbook. The new scheme is recursive and makes use of iterators, the
2354 same as latex export works.
2355 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2356 directly with the paragraph contents. This code was moved up to
2357 output_docbook.C (docbookParagraphs).
2358 * sgml.C (openTag, closeTag): removed unneeded newlines.
2359 (closeEnvTags) removed.
2361 2004-10-23 André Pönitz <poenitz@gmx.net>
2363 * undo.C (textUndoOrRedo):
2364 * dociterator.C (asDocIterator): work around crash
2366 * cursor.C (getStatus): replace ASSERT by more verbose error message
2367 and manual correction of the problem. Should increase stability
2368 while providing more sensible information.
2370 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2372 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2374 * bufferlist.C (previous, next): new methods
2377 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2379 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2381 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2382 entities to preamble.
2384 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2386 * messages.C (Pimpl): strip off translation context information
2388 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2390 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2391 the cursor is correct (bug 1694)
2393 2004-10-13 José Matos <jamatos@lyx.org>
2395 * output_docbook.C (docbookParagraphs): fix closing tags in the
2396 end of the document.
2398 2004-10-09 José Matos <jamatos@lyx.org>
2400 * buffer.C: format up to 237.
2401 * bufferparams.C (write): use tostr to convert booleans to strings.
2403 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2405 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2407 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2409 * LaTeX.C: implement use of babel language in xindy.
2411 2004-10-05 José Matos <jamatos@lyx.org>
2413 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2414 Add new translators to help reading and writing the lyx file.
2416 2004-10-05 José Matos <jamatos@lyx.org>
2418 * ParagraphParameters.C (read):
2419 * text.C (readParToken): replace nexToken by more appropriate lex
2422 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2424 * LaTeX.C (runMakeIndex):
2425 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2426 (usually 'makeindex') configurable.
2428 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2429 with a variable rather than with a number.
2431 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2433 * output_latex.C (TeXOnePar): make sure font setting is the first
2434 thing that gets output (and the last at the end). Should fix bug
2437 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2439 * pch.h: use proper signal include
2441 * LaTeX.h: Use preferred calling of Boost.Signal
2444 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2446 * pch.h: dont include <boost/function/function0.hpp>
2448 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2450 * paragraph_pimpl.h: remove usage of ShareContainer
2452 * paragraph_pimpl.C: remove initialization of ShareContainer.
2454 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2458 * BufferView.C (putSelectionAt): change the semantics when
2459 backwards == true: now, this just swaps cursor and anchor wrt the
2462 * BufferView.h (putSelectionAt): add some documentation
2464 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2465 make sure backwardChar is done at least once (to avoid getting
2467 (findNextChange): use putSelectionAt in the forward direction
2468 (operator()): use Paragraph::isWord
2470 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2472 * Spacing.C (set): c_str fix
2474 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2476 * lyx_cb.C (Reconfigure): quote the name of configure script in
2477 case it contains spaces
2479 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2483 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2484 (BOOST_LIBS): use top_buildir when looking for the file
2486 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2488 * pch.h: do not use include boost/format.hpp, multiple symbols
2489 will result (gcc bug)
2492 2004-08-23 José Matos <jamatos@lyx.org>
2494 * bufferparams.C (readToken): fix reading of the author field.
2496 2004-08-20 José Matos <jamatos@lyx.org>
2498 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2500 2004-08-20 José Matos <jamatos@lyx.org>
2502 * lyxlex.[Ch] (findToken): remove function.
2504 * ParagraphParameters.C (findToken):
2505 * bufferparams.C (findToken): replace call for previous function
2506 with local copy. This local function has one more argument, the
2507 read string argument.
2509 2004-08-16 José Matos <jamatos@lyx.org>
2511 * ParagraphParameters.C (write):
2512 * Spacing.C (writeFile):
2513 * bufferparams.C (writeLaTeX):
2514 * lyx_cb.C (Reconfigure):
2515 * paragraph.C (write):
2516 * tabular.C (write): remove unnecessary space at end of line.
2519 2004-08-16 José Matos <jamatos@lyx.org>
2521 * text.C (readParagraph): remove debug message.
2523 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2525 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2528 * output_plaintext.C (asciiParagraph): set depth correctly
2530 * outputparams.h: add member depth
2532 * paragraph_funcs.C (ownerPar): remove.
2534 * text2.C (setCounter): remove first_pit; comment out some
2535 non-working code that uses ownerPar
2537 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2540 2004-08-16 José Matos <jamatos@lyx.org>
2542 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2543 For the same level of importance use the same chanel to report problems.
2544 (read): add code to deal with \begin_body and \end_body.
2547 2004-08-15 José Matos <jamatos@lyx.org>
2549 * lyxlex.C (getString): fix comment, buffer::readBody is now
2550 buffer:readDocument.
2552 * tex-strings.C (string_papersize): Default -> default,
2553 Custom -> custom, for consistency with other options.
2555 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2559 * Makefile.am: support pch
2561 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2563 * text.C (readParToken): remove the static LyXFont variable and
2564 pass it as a parameter instead. This fixes a nasty bug where an
2565 inset will be inserted with a bad font in some situations
2566 (readParagraph): adapt
2568 * text2.C (setCounter): reduce number of calls to pars_[pit]
2570 * text.C (singleWidth): add an assert, fix a test
2572 * rowpainter.C (paintText): reduce number of calls to singleWidth
2574 * paragraph.C (isHfill):
2575 (isNewline): ws only
2577 2004-08-14 André Pönitz <poenitz@gmx.net>
2582 * lyxtext.h (several functions): use a Paragraph & argument
2585 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2587 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2589 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2591 * text.C (singleWidth): remove useless test
2593 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2595 * tabular.h: remove bogus comments
2597 * tabular.C (getDescentOfRow):
2598 (isPartOfMultiColumn): add assertions
2600 * lyxlength.C (inPixels): remove #warning
2602 2004-08-14 André Pönitz <poenitz@gmx.net>
2604 * paragraph.h: inline getChar()
2606 * BufferView.h: remove unused declarations
2608 2004-08-14 José Matos <jamatos@lyx.org>
2610 * Buffer.[Ch] (readDocument): new name for old readBody.
2611 * Buffer.C: new file format, new keywords: \begin_document,
2612 \begin_header, \begin_body, \end_body.
2614 * bufferparams.C (readToken): replace all calls to lex.nextToken
2615 by lex.next(). Do the same to eatLine except where really needed.
2617 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2618 line when writing to the lyx file.
2620 * output_plaintext.C (asciiParagraph): fix Bibliography style
2623 * text.C (read): fix end of file handling.
2625 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2627 * MenuBackend.C (Menu::operator[]): new method to access
2628 individual menu items
2629 (Menu::hasFunc): new method. search for an item that corresponds
2631 (MenuBackend::specialMenu): new method
2632 (MenuBackend::expand): if a special menu has been set, skip
2633 entries whose func() appears in this menu
2635 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2637 * text3.C: use Debug::DEBUG a bit more
2639 * text.C (leftMargin): try to simplify a tiny bit change var x to
2640 l_margin. Dont output the wide margins always.
2641 (rightMargin): no margin in inner texts
2643 * rowpainter.h (nestMargin): new func
2644 (changebarMargin): new func
2645 (rightMargin): new func
2647 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2651 * factory.C (createInset): modify setDrawFrame
2653 * cursor.C: use Debug::DEBUG a bit more
2655 2004-08-14 André Pönitz <poenitz@gmx.net>
2658 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2659 cache for all insets in (at least partially) visible (top-level)
2662 * BufferView_pimpl.C: reset external coord cache before every update.
2663 This means the coord cache only contains valid entries.
2665 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2668 * BufferView_pimpl.C (getInsetByCode): move function out of class
2669 and change in to a template in anon namespace. Also fix to do what
2672 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2675 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2677 (breakParagraph): rename par to par_offset and use a local
2678 reference. Add code to keep the language over a rebreak.
2679 (breakParagraphConservative): rename par to par_offset, use a
2681 (mergeParagraph): ditto
2683 (isFirstInSequence): ditto
2684 (outerFont): rename pit to par_offset
2686 * paragraph.C: ws change
2687 * paragraph.h: ditto
2691 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2693 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2696 * paragraph.C (simpleTeXOnePar): when we have a \item with
2697 optional argument, enclose the argument with curly brackets (in
2698 case it contains a closing square bracket)
2702 * text3.C (checkInsetHit): constify
2704 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2706 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2707 documents (bug 1629)
2709 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2711 Fix toggling of collapsable insets with the mouse (bug 1558)
2713 * lyxfunc.C (dispatch): adapt to LCursor changes
2715 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2716 make sure that dispatch is not invoked twice
2718 * cursor.C (needsUpdate): new method
2719 (dispatch): return void
2720 (result): new method, to access the DispatchResult of the cursor.
2722 2004-08-13 José Matos <jamatos@lyx.org>
2724 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2726 2004-08-13 André Pönitz <poenitz@gmx.net>
2728 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2730 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2733 2004-08-12 André Pönitz <poenitz@gmx.net>
2735 * text3.C: take out the 'cursor right' form insertInset and only
2736 do it in those places when it is really needed. Fixes crash on
2739 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2741 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2743 * BufferView_pimpl.C (setBuffer): initialize the current font of
2744 the underlying LyXText
2746 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2748 * kbsequence.C (print): use UI native formatting for menu
2751 * text.C (insertChar): call Paragraph::insertChar with a font
2754 * paragraph.C (insertInset, insertChar): the version that takes a
2755 LyXFont argument is now a wrapper around the other one (the
2756 opposite used to be true).
2758 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2759 argument. Font setting is done in Paragraph now.
2761 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2763 * outputparams.h: add new members intitle and lang.
2765 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2766 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2768 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2770 * text3.C (dispatch): remove special handling of button 4 and 5,
2771 it is now taken care of in the frontend code.
2773 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2775 * Spacing.h: add <string> (STLPort compile fix)
2777 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2779 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2781 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2783 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2786 * converter.C (showMessage): inherit from unary_function, make
2789 * buffer.C (writeFile): initialize retval
2791 * InsetList.h: rename private variable list to list_
2792 * InsetList.[Ch]: adjust accordingly.
2794 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2796 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2797 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2798 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2799 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2800 * ParagraphParameters.C, LaTeXFeatures.C: replace
2801 "support/std_sstream.h" with <sstream>
2803 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2805 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2806 * lyxsocket.C (LyXServerSocket): ditto
2807 (serverCallback): ditto
2809 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2811 * LaTeXFeatures.C: check release date when loading jurabib.
2813 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2815 * lyxserver.C (startPipe): call register_socket_callback
2816 (endPipe): call unregister_socket_callback
2818 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2820 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2821 (LyXServerSocket): register the callback
2822 (LyXServerSocket): unregister the callback
2823 (fd): delete function
2824 (serverCallback): improve error checking and setup the callbacks.
2825 (dataCallback): change arg to fd.
2826 (writeln): new func (copied fro the client socket) used for server
2828 (LyXDataSocket): simplify
2829 (~LyXDataSocket): close ann unregiser callback
2830 (server): delete function
2831 (fd): delete function
2832 (readln): small changes, improve some std::string usage
2833 (writeln): constify a bit
2835 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2837 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2840 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2842 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2843 after it has been populated
2845 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2847 * text2.C (insertInset): move cursor when inserting inset.
2849 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2851 * kbmap.C (findbindings): a couple of new methods. returns a
2852 container of kb_sequence objects. The real work is done by the
2853 private recursive version
2854 (printbindings): uses findbindings to print out a bracketed list
2855 of bindings (renamed from findbinding).
2857 * MenuBackend.C (binding): use kb_keymap::findbindings
2859 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2861 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2863 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2865 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2867 * paragraph.C (isWord): return true on insets that report
2870 * text.C (getWord): use Paragraph::isWord to decide what is in a
2871 word and what is not; fix bug 1609.
2873 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2875 * tex-strings.C: add "none" to string_paperpackages[], fixes
2876 off-by-one-error in the paperpackage selection.
2879 * tex-strings.[Ch]: char const * string[n]
2880 -> char const * const string[]
2882 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2884 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2885 command, return early.
2887 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2889 * debug.h: add DEBUG to enum and fix size of ANY.
2891 * debug.C: add support for Debug::DEBUG
2892 (showTags): cast errorTags.level to unsigned int
2894 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2895 (redoCurrentBuffer): ditto
2896 (updateScrollbar): ditto
2897 * cursor.C (dispatch): ditto
2898 * text2.C (setLayout): ditto
2900 (updateCounters): ditto
2902 (deleteEmptyParagraphMechanism): ditto
2904 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2906 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2907 annotations to cleanup the Makefile slightly.
2909 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2911 * lyxrc.C: do not set user_email to a default value but use empty
2912 instead. The entry used to be translated, which does not work
2913 since at the point where lyxrc is constructed there is no
2914 translation service available
2916 * messages.C (getLocaleDir): remove and use directly
2917 lyx_localedir() instead
2919 2004-06-02 Angus Leeming <leeming@lyx.org>
2921 Fix crash caused by dereferencing null pointer 'exportdata' in
2922 OutputParams by creating a new ExportData variable on the heap,
2923 storing it in a boost::shared_ptr.
2924 The crash was triggered when generating an Instant Preview
2925 of an external inset.
2927 * Makefile.am: add outputparams.C
2929 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2930 (c-tor): allocate memory to it.
2932 * exporter.C (c-tor): associated changes.
2934 2004-06-01 Angus Leeming <leeming@lyx.org>
2936 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2937 contains data before calling isInset(0). (Bug 1513.)
2939 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2941 * exporter.C (checkOverwrite): new method
2942 * exporter.C (copyFile): new method
2943 * exporter.C (Export): copy referenced files to the document dir
2944 * exporter.[Ch]: new class ExportedFile
2945 * exporter.[Ch]: new class ExportData. Contains currently the
2946 names of referenced external files
2947 * outputparams.h: add exportdata member.
2949 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2951 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2954 2004-05-19 Angus Leeming <leeming@lyx.org>
2959 * lyxfunc.C: small changes due to the introduction of namespace
2960 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2962 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2964 * text3.C (dispatch): supress update when only moving the cursor
2965 * cursor.C (selHandle): remove commented code
2967 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2969 * paragraph.C (startTeXParParams): correct column count
2970 * CutAndPaste.C (pasteSelection): remove const_cast
2971 * output_docbook.C (docbookParagraphs): remove const_cast
2972 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2973 const_cast and return ParagraphList::const_iterator
2974 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2975 * output_plaintext.C (writeFileAscii): remove const_cast
2976 * paragraph.[Ch] (simpleTeXOnePar): make const
2977 * paragraph_funcs.C (outerPar): use const iterators
2978 * paragraph_pimpl.C (validate): use const iterators
2979 * text.C (setHeightOfRow): use const iterators
2981 2004-05-17 Angus Leeming <leeming@lyx.org>
2984 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2986 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2987 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2988 if the citation engine has changed.
2990 2004-05-14 José Matos <jamatos@lyx.org>
2992 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2993 if the textclass does not provide it. Have it different for sgml and
2995 support the language of document.
2996 * output_docbook.C (docbookParagraphs):
2997 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2998 first anchor as the id of the paragraph, remove special case code.
2999 * sgml.C (escapeChar): escape only < & >.
3001 2004-05-14 Angus Leeming <leeming@lyx.org>
3003 * bufferparams.h: move biblio::CiteEngine enum here to minimize
3004 dependencies on src/frontends/controllers/biblio.h. Define a
3005 CiteEngine_enum wrapper class to enable the enum to be forward
3008 2004-05-12 Angus Leeming <leeming@lyx.org>
3010 * buffer.C: up LYX_FORMAT to 234.
3011 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3012 use_numerical_citations with a single biblio::CiteEngine cite_engine
3014 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3016 2004-05-13 José Matos <jamatos@lyx.org>
3019 * converter.C (Converter, readFlags): add xml member.
3020 * outputparams.h: add XML flavor.
3021 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3023 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3025 * lyxfunc.C (dispatch):
3026 (getStatus): fix handling of LFUN_SEQUENCE
3028 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3030 * debug.C (showLevel): do not forget the end-of-line marker
3032 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3034 * kbmap.C (read): do not stop parsing a bind file when an error
3037 2004-04-29 Angus Leeming <leeming@lyx.org>
3042 * text2.C: wrap a bunch of #warning statements
3043 inside #ifdef WITH_WARNINGS blocks.
3045 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3047 * buffer.C: increment format to 233.
3049 2004-04-28 Angus Leeming <leeming@lyx.org>
3051 * BufferView_pimpl.C:
3054 s/updateToolbar()/updateToolbars()/
3055 s/Toolbar.h/Toolbars.h/
3057 2004-04-28 Angus Leeming <leeming@lyx.org>
3059 * BufferView.[Ch] (c-tor):
3060 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3061 No longer passes these data to the WorkArea generator.
3063 2004-04-28 Angus Leeming <leeming@lyx.org>
3065 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3067 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3069 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3071 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3073 * output_latex.C (TeXEnvironment): make sure that there is a line
3074 break before \end{foo} for the last paragraph of a document
3075 (TeXOnePar): if the paragraph is at the end of the document (or
3076 inset) and the language has to be reset, then make sure that the
3077 line break is _before_ the language command, not after (fixes bug
3078 1225); also make sure that the language reset command is the first
3079 thing after the paragraph (to ensure proper nesting of
3080 environments and thus fix bug 1404)
3082 2004-04-21 John Levon <levon@movementarian.org>
3085 * ToolbarBackend.C: make "name" be a programmatic name
3086 and a gui_name field.
3088 * lyxfunc.C: display the minibuffer on M-x
3090 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3092 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3095 2004-04-19 Angus Leeming <leeming@lyx.org>
3097 * BufferView_pimpl.C (setBuffer): changed preview interface.
3099 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3102 2004-04-19 John Levon <levon@movementarian.org>
3104 * BufferView_pimpl.C:
3105 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3107 2004-04-05 Angus Leeming <leeming@lyx.org>
3109 * text.C (redoParagraphs): add call to updateCounters(), thereby
3110 fixing the missing "Figure #:" label from the caption of a
3113 2004-04-13 Angus Leeming <leeming@lyx.org>
3115 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3116 cursor is clicked out of an inset.
3118 2004-04-13 Angus Leeming <leeming@lyx.org>
3120 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3121 than an InsetOld one.
3123 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3125 * format.[Ch]: add editor to Format
3126 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3127 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3129 2004-04-08 André Pönitz <poenitz@gmx.net>
3131 * metricsinfo.h: remove PainterInfo::width member
3133 2004-04-08 Angus Leeming <leeming@lyx.org>
3135 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3136 "\providecommand" rather than "\newcommand", thereby preventing
3137 clashes with packages that define "\boldsymbol" themselves.
3140 2004-04-08 Angus Leeming <leeming@lyx.org>
3142 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3143 thereby squashing an unnecessary warning.
3145 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3147 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3150 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3152 * BufferView.C (setCursor): call redoParagraph (some insets could
3154 (putSelectionAt): remove the 'double update' trick
3156 * BufferView_pimpl.C (fitCursor): call refreshPar
3157 (workAreaDispatch): remove an uneeded update call
3158 (dispatch): remove some manual update calls
3160 * cursor.[Ch]: remove cached_y_, updatePos
3161 (selHandle): set noUpdate when appropriate
3163 * lyxfunc.C (dispatch): track if we need an update
3165 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3167 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3168 (paintSelection): cheap optimization, do not call cursorX when not
3170 (paintPars): change signature
3173 (paintTextInset): adjust
3177 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3179 * lengthcommon.C: compilation fix: remove explicit array size from
3180 unit_name[] and friends
3182 2004-04-05 Angus Leeming <leeming@lyx.org>
3184 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3186 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3187 present only for the preferences dialog.
3188 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3190 2004-04-05 Angus Leeming <leeming@lyx.org>
3192 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3193 to enable the frontends to export changes to lyxrc correctly.
3195 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3197 2004-04-07 André Pönitz <poenitz@gmx.net>
3199 * cursor.[Ch] (selClear, adjust): remove math
3201 * cursor_slice.C: more agressive assert
3204 * BufferView_pimpl.C: rework mouse event dispatch
3211 2004-04-05 André Pönitz <poenitz@gmx.net>
3213 * cursor.[Ch] (valign, halign...): remove unneeded functions
3215 2004-04-05 Angus Leeming <leeming@lyx.org>
3217 * lyxlength.[Ch] (unit_name et al.): const-correct.
3219 2004-04-05 Angus Leeming <leeming@lyx.org>
3221 * BufferView_pimpl.C:
3230 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3232 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3234 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3236 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3238 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3239 * BufferView_pimpl.[Ch] (getStatus)
3240 * BufferView.[Ch] (getStatus): add
3241 * lyxfunc.C (getStatus): move lfuns handled in
3242 BufferView::dispatch to te function above
3243 * Cursor.C (setSelection): set selection() = true
3245 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3247 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3249 2004-03-31 Angus Leeming <leeming@lyx.org>
3251 * lyxfunc.C (dispatch): Fall through to the generic
3252 Dialogs::show("preamble").
3254 2004-03-31 Angus Leeming <leeming@lyx.org>
3256 * lyxfunc.C (dispatch): Fall through to the generic
3257 Dialogs::show("spellchecker").
3259 2004-03-31 Angus Leeming <leeming@lyx.org>
3261 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3264 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3269 * insetiterator.[Ch]:
3274 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3276 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3278 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3279 insets where we are putting the cursor.
3281 2004-03-31 Angus Leeming <leeming@lyx.org>
3284 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3286 * lyxrc.[Ch] (read, write): overloaded member functions taking
3287 a std::[io]stream arguments.
3289 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3291 2004-03-31 Angus Leeming <leeming@lyx.org>
3293 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3294 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3296 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3297 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3299 2004-03-31 Angus Leeming <leeming@lyx.org>
3301 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3302 the LFUN_ALL_INSETS_TOGGLE code.
3304 2004-03-30 Angus Leeming <leeming@lyx.org>
3306 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3307 has died. Fall through to the generic Dialogs::show("document").
3309 2004-03-30 Angus Leeming <leeming@lyx.org>
3312 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3313 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3315 * lyxfunc.C (getStatus, dispatch): define the actions for these
3316 lfuns. Little more than a cut and pste job from ControlDocument.C
3318 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3320 2004-03-30 Angus Leeming <leeming@lyx.org>
3323 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3324 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3326 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3327 open/closed state of ollapsable insets. Usage:
3329 all-inset-toggle <state> <name>, where
3330 <state> == "open" || "closed" || "toggle" and
3331 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3333 * lyxtext.h, text2.C (toggleInset): removed.
3335 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3336 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3337 now passes LFUN_INSET_TOGGLE to the found inset.
3339 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3340 is now invoked as "all-insets-toggle toggle branch".
3342 2004-03-30 Angus Leeming <leeming@lyx.org>
3346 * pariterator.[Ch]: added/corrected header blurb.
3348 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3350 * dociterator.[Ch]: add an inset_ member
3351 (backwardPos): implemented
3352 (backwardPos, forwardPos): use inset_ when the stack is empty.
3353 (doc_iterator_begin, doc_iterator_end): implemented
3354 * pariterator.[Ch]: adjust, add begin, end
3355 * insetiterator.[Ch]: adjust, add begin, end
3359 * BufferView_pimpl.C:
3360 * CutAndPaste.C: adjust
3362 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3364 * buffer.C: increment file format to 232.
3365 * LaTeXFeatures.C: add bibtopic package.
3366 * bufferparams.[Ch]: param \use_bibtopic.
3368 * lyxrc.[Ch]: add lyxrc bibtex_command
3369 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3371 * buffer.C: increment file format to 231.
3373 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3375 * dociterator.C: implement forwardPar
3376 * iterators.[Ch]: remove, replaced by
3377 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3379 * BufferView_pimpl.C:
3382 * bufferview_funcs.C:
3388 * Makefile.am: adjust
3390 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3392 * CutAndPaste.C (pasteSelection): fix 2 crashes
3393 (eraseSelection): fix a crash
3394 * paragraph_funcs.C: remove a warning
3396 2004-03-28 Angus Leeming <leeming@lyx.org>
3399 * LyXAction.C (init): new LFUN_PRINT.
3401 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3403 2004-03-27 Angus Leeming <leeming@lyx.org>
3406 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3408 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3410 2004-03-27 Angus Leeming <leeming@lyx.org>
3412 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3413 insetlist always contains non-null pointers to insets.
3415 2004-03-26 Angus Leeming <leeming@lyx.org>
3417 * src/BufferView_pimpl.C:
3418 * src/CutAndPaste.C:
3421 * src/output_plaintext.C:
3422 * src/outputparams.h:
3423 * src/paragraph_funcs.C:
3427 * src/frontends/controllers/ControlErrorList.C:
3428 * src/frontends/gtk/FileDialogPrivate.C:
3429 * src/frontends/gtk/GPainter.C:
3430 * src/frontends/gtk/GToolbar.C:
3431 * src/frontends/qt2/QRef.C:
3432 * src/mathed/math_scriptinset.C: squash compiler warnings.
3434 2004-03-26 Angus Leeming <leeming@lyx.org>
3436 * ispell.C (LaunchIspell::start):
3437 * lyx_cb.C (AutoSaveBuffer::start):
3438 invoke run(DontWait) rather than runNonBlocking().
3440 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3442 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3444 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3446 * kbsequence.C (print): adjust
3448 * kbmap.C (printKeySym): rename and change signature
3449 (printKey): use LyXKeySym::print()
3451 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3453 * undo.C: add using std::advance to compile for stlport
3455 2004-03-24 Angus Leeming <leeming@lyx.org>
3457 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3458 it leads to a crash when no buffer is present.
3460 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3461 Martin Vermeer <martin.vermeer@hut.fi>
3463 * lyxfunc.C (dispatch):
3464 * bufferparams.C (readToken): use the new LColor::setColor
3466 * LColor.[Ch] (setColor): new version that takes two strings as
3467 argument and creates a new color entry if necessary
3469 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3471 * buffer.C (makeLaTeXFile): if the main latex file that is
3472 processed is usually a subdocument of some master, then pretend
3473 for a while that it is actually the master
3475 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3477 * buffer.C (getLabelList):
3478 (getBibkeyList): use getMasterBuffer()
3479 (getMasterBuffer): new method. Returns the main document in the
3480 case where one is using included documents.
3482 2004-03-25 André Pönitz <poenitz@gmx.net>
3486 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3488 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3490 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3491 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3493 * ParameterStruct.h: merge with ParagraphParameters
3495 * lyxtext.h: remove LyXText::parOffset() and getPar()
3497 * text3.C: Remove all 'manual' update calls. We do now one per user
3498 interaction which is completely sufficient.
3502 * BufferView_pimpl.C:
3503 * FontIterator.[Ch]:
3505 * ParagraphParameters.[Ch]:
3510 * cursor_slice.[Ch]:
3517 * output_docbook.[Ch]:
3518 * output_latex.[Ch]:
3519 * output_linuxdoc.[Ch]:
3520 * output_plaintext.[Ch]:
3522 * paragraph_funcs.[Ch]:
3523 * paragraph_pimpl.[Ch]:
3531 * frontends/controllers/ControlDocument.C:
3532 * frontends/controllers/ControlErrorList.C:
3533 * frontends/controllers/ControlSpellchecker.C:
3536 * insets/insetbase.h:
3537 * insets/insetbibitem.C:
3538 * insets/insetbox.C:
3539 * insets/insetbranch.C:
3540 * insets/insetcaption.C:
3541 * insets/insetcharstyle.C:
3542 * insets/insetcharstyle.h:
3543 * insets/insetcollapsable.C:
3544 * insets/insetcollapsable.h:
3545 * insets/insetert.C:
3546 * insets/insetfloat.C:
3547 * insets/insetfoot.C:
3548 * insets/insetmarginal.C:
3549 * insets/insetnote.C:
3550 * insets/insetoptarg.C:
3551 * insets/insettabular.C:
3552 * insets/insettext.C:
3553 * insets/insettext.h:
3554 * insets/insetwrap.C:
3555 * mathed/math_mboxinset.C:
3556 * mathed/math_nestinset.C:
3557 * mathed/math_scriptinset.C:
3558 * mathed/math_scriptinset.h:
3561 2004-03-24 Angus Leeming <leeming@lyx.org>
3563 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3564 deal with any child processes that have finished but are waiting to
3565 communicate this fact to the rest of LyX.
3567 2004-03-24 Angus Leeming <leeming@lyx.org>
3569 64-bit compile fixes.
3571 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3572 (c-tor): pass lyx::pos_types rather than ints.
3574 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3577 * text.C (Delete): compile fix.
3578 (getPar): ensure that function declaration is the same as that in
3581 2004-03-23 Angus Leeming <leeming@lyx.org>
3583 * ispell.C (LaunchIspell):
3584 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3585 a boost::shred_ptr rather than a std::auto_ptr.
3587 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3589 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3590 handle LFUN_FILE_INSERT_*
3592 * lyxrc.C (setDefaults, getDescription, output, read):
3593 * lyxrc.h: remove ps_command
3595 2004-03-22 Angus Leeming <leeming@lyx.org>
3597 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3598 Ensure that error_handler is processed once only and that all data
3599 is saved before attempting to output any warning messages.
3601 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3603 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3605 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3607 2004-03-19 André Pönitz <poenitz@gmx.net>
3609 * cursor.[Ch] (reset): take main text inset as argument
3611 * BufferView: adjust
3612 * BufferView_pimpl.C: adjust
3614 * paragraph.[Ch]: fix completely broken operator=()
3616 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3618 * LColor.C (getFromLyXName): make sure that the color name is used
3621 2004-03-17 Angus Leeming <leeming@lyx.org>
3624 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3626 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3627 dialog and to kill a forked process.
3629 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3631 * text2.C (setCursorFromCoordinates): fix font problem
3633 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3635 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3636 bogus "rebuild cursor" code
3638 2004-03-11 André Pönitz <poenitz@gmx.net>
3640 * buffer.[Ch]: use InsetText instead of LyXText as container for
3643 * dociterator.[Ch]: drop the BufferView * member which is not needed
3644 anymore after the change to buffer.C
3646 * paragraph_funcs.C:
3650 * BufferView_pimpl.[Ch]:
3652 * cursor_slice.[Ch]: adjust
3654 * text3.C: fix bug in mathDispatch
3656 2004-03-08 André Pönitz <poenitz@gmx.net>
3658 * undo.[Ch]: use 'StableDocumentIterator' as base for
3661 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3664 * bufferparams.[Ch]: add jurabib support and param.
3666 * LaTeX.C: add FIXME/comment.
3668 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3670 * buffer.C: increment file format to 230.
3672 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3674 * cursor.C (dispatch): avoid infinite loops
3676 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3678 * rowpainter.C (paintSelection): fix x coordinates
3680 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3682 * text.C (rowBreakPoint): fix breaking before displayed insets
3684 2004-03-01 André Pönitz <poenitz@gmx.net>
3686 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3688 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3692 * BufferView_pimpl.C:
3700 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3706 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3707 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3709 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3711 * Bidi.[Ch] (computeTables): const correctness
3712 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3713 fill_hfill, fill_label_hfill and x from Row
3714 * lyxtext.h: prepareToPrint returns a RowMetrics
3715 * rowPainter.C: adjust
3716 * text.C (prepareToPrint): use width, not textWidth. adjust
3717 (redoParagraphInternal, cursorX): adjust
3718 * text2.C (getColumnNearX): adjust
3719 (init): put a default value to the top LyXText::width
3721 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3723 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3725 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3727 * lyxtext.h: add FontIterator class
3729 * text.C (FontIterator, operator*, operator->, operator++): add
3730 (rowBreakPoint, setRowWidth): adjust (fixing a
3733 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3735 * BufferView_pimpl.C (workAreaDispatch): allow also
3736 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3738 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3740 * text.C (rowBreakPoint): fix a bug showing with very large insets
3742 2004-02-25 André Pönitz <poenitz@gmx.net>
3745 * cursor.[Ch]: move some mathed specific code to mathed
3747 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3749 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3750 use_tempdir in preferences
3751 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3753 * lyx_main.C: ensure that tempdir is valid
3754 * lyxlex.h: correct typo
3755 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3756 * paragraph.[Ch] (isMultiLingual): make const
3757 * cursor.[Ch] (openable): make const
3759 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3761 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3763 2004-02-20 André Pönitz <poenitz@gmx.net>
3765 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3767 * cursor.[Ch]: prepare for localized getStatus()
3773 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3775 2004-02-20 André Pönitz <poenitz@gmx.net>
3777 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3779 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3781 * text2.C (setCursorFromCoordinates): switch to absolute coords
3783 (cursorDown): adjust
3784 * text3.C (dispatch): adjust
3786 2004-02-16 André Pönitz <poenitz@gmx.net>
3788 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3791 * cursor_slice.[Ch]: remove unneeded acessor function
3793 * lyxtext.h: rename rtl() to isRTL()
3801 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3803 * rowpainter.C (paintSelection): coord fix
3805 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3807 * Spacing.C: compile fix
3809 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3811 * cursor.C (dispatch): restore current_ before returning
3813 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3815 * text2.C (cursorUp, cursorDown): fix coords
3818 2004-02-12 André Pönitz <poenitz@gmx.net>
3823 * text3.C: add LCursor & parameter to most cursor movement functions
3824 remove usage of LyXText::cursorRow() and cursorPar()
3826 * cursor.[Ch]: add textRow() needed members
3829 * BufferView_pimpl.C:
3832 * BufferView_pimpl.C: adjust
3834 2004-02-11 André Pönitz <poenitz@gmx.net>
3838 * BufferView_pimpl.C: shift undo/redo handling
3840 * cursor.[Ch]: fix mathed crash
3843 * lyxtext.h: move selectionAsText to LCursor
3851 * rowpainter.C: fix excessive drawing
3853 2004-02-06 André Pönitz <poenitz@gmx.net>
3856 * BufferView_pimpl.[Ch]:
3857 * text3.C: move some text specific LFUN handling
3859 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3861 * text3.C (checkInsetHit): adjust coords
3862 * text2.C (getColumnNearX): adjust coords
3863 (edit): adjust coords
3864 * text.C (getRowNearY): add two asserts
3866 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3869 * format.C: add using std::distance to compile on gcc 2.95/stlport
3871 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3873 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3875 2004-02-04 André Pönitz <poenitz@gmx.net>
3877 * BufferView.[Ch] (insertInset):
3878 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3883 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3885 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3886 on the default clause of the switch
3887 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3888 wasn't catched by LCursor::dispatch
3890 2004-02-03 André Pönitz <poenitz@gmx.net>
3893 * cursor.[Ch]: some additional asserts
3895 * undo.[Ch]: remove LyXText dependency in interface
3899 * lyxtext.h (firstPar, lastPar): remove dead functions
3904 * paragraph.[Ch]: adjust
3906 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3908 * lyxfind.C (find): fix argument order in call to ::find
3910 2004-02-02 André Pönitz <poenitz@gmx.net>
3912 * cursor.[Ch]: remove direct access to anchor
3914 * text.C: remove findText() hack
3916 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3918 * iterators.[Ch] (lockPath): remove in favour of...
3919 * BufferView.[Ch] (setCursor): this addition
3920 * BufferView.C (putSelectionAt): adjust
3921 * undo.C (performUndoOrRedo): adjust
3922 * lyxfunc.C (dispatch): adjust
3924 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3926 * iterators.C (lockPath): add a missing slice
3927 * undo.C (performUndoOrRedo): remove redundant positioning code
3929 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3931 * vc-backend.C (scanMaster): ";" -> ';'
3933 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3935 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3936 std::binary_function
3938 * lyxtextclass.C (compare_name): rename to...
3939 (LayoutNamesEqual): ...this
3941 * lyxlex_pimpl.C (compare_tags): inherit from
3942 std::binary_function, put back into anon namespace
3944 * lyxfind.C (MatchString): inherig from std::binary_function
3945 (findChange): use empty() istead of !size()
3947 * format.C (FormatNamesEqual): new functor
3954 * converter.C (compare_Converter): rename to...
3955 (ConverterEqual): ...this, and fixup a bit.
3956 (getConverter): use it, and make function const
3957 (getNumber): use it, and make function const
3961 * bufferlist.C: add using boost::bind
3963 * MenuBackend.C (MenuNamesEqual): new functor
3964 (hasMenu): use it, and make function const
3965 (hasSubmenu): use nested bind to get rid of compare_memfun.
3967 2004-01-30 André Pönitz <poenitz@gmx.net>
3969 * BufferView_pimpl.C:
3972 * cursor_slice.[Ch]:
3975 * paragraph_funcs.C:
3976 * paragraph_funcs.h:
3980 * text3.C: move some of the edit(x,y) handling to the insets
3981 some coordinate changes.
3983 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3985 * text.C: add using statements for std::advance and std::distance
3987 * paragraph.C: add using statement for std::distance
3989 * lyxfind.C: add using statement for std::advance
3991 * cursor.C (region): remove std:: from swap
3992 (openable): use nucleus in stead of operator->
3994 * BufferView.C: add using statements for std::distance and std::swap
3996 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3998 * iterators.C: Remove the pimple, move the needed structures to
3999 the header file. Create accessor for the positions stack.
4000 (asPosIterator): remove function
4002 * PosIterator.C (PosIterator): move constructors to top of file
4003 (PosIterator): reimplement the constructor taking a ParIterator in
4005 (setFrom): new function
4006 (operator!=): inline it
4008 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4010 * lyxfind.C (replaceAll): use std::advance
4012 * iterators.h: inherit from std::iterator.
4014 * PosIterator.C (advance, distance): remove
4015 * PosIterator.h: interit from std::iterator.
4017 2004-01-26 André Pönitz <poenitz@gmx.net>
4020 * BufferView_pimpl.[Ch]:
4024 * bufferview_funcs.C:
4034 * output_linuxdoc.C:
4035 * output_plaintext.C:
4037 * paragraph_funcs.[Ch]:
4038 * paragraph_pimpl.[Ch]:
4044 * text3.C: more IU: dumps most of the rest of the mathcursor
4045 implementation into cursor.[Ch]; "globalize" a bit of it.
4047 2004-01-25 Angus Leeming <leeming@lyx.org>
4049 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4051 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4053 * LaTeXFeatures.h: add nice_ and nice() const
4054 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4056 2004-01-20 André Pönitz <poenitz@gmx.net>
4059 * BufferView_pimpl.C:
4061 * bufferview_funcs.C:
4063 * cursor_slice.[Ch]:
4074 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4075 LCursor and mathcursor parts to LCursor and InsetBase.
4077 2004-01-15 André Pönitz <poenitz@gmx.net>
4079 * cursor_slice.[Ch]: add a few covienience functions
4081 * funcrequest.[Ch]: remove BufferView * member
4083 * BufferView_pimpl.C:
4090 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4092 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4094 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4095 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4097 2004-01-13 André Pönitz <poenitz@gmx.net>
4100 * lyxtext.h: hide cursor and selection anchor behind accessor function
4103 * BufferView_pimpl.[Ch]:
4105 * bufferview_funcs.C:
4115 * cursor_slice.[Ch]: some integer type changes for inset unification
4117 * lyxcursor.[hC]: remove, it's CursorSlice now.
4120 * BufferView_pimpl.[Ch]:
4121 * bufferview_funcs.C:
4127 * textcursor.[Ch]: adjust
4129 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4131 * text2.C (undoSpan): add and use
4132 * text.C (breakParagraph): use undoSpan (fix bug 578)
4135 2004-01-08 Angus Leeming <leeming@lyx.org>
4137 * BufferView_pimpl.C (MenuInsertLyXFile):
4138 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4139 * lyxfunc.C (menuNew, open, doImport):
4140 FileFilterList change to the FileDialog open and save functions.
4142 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4144 * ShareContainer.h: make isEqual and isUnique adaptable
4146 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4148 2004-01-07 Angus Leeming <leeming@lyx.org>
4151 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4153 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4155 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4156 functions replacing find, replace and replaceAll.
4158 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4159 LFUN_WORDFIND(FORWARD|BACKWARD).
4161 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4163 * text.C (breakParagraph): remove an outdated #warning
4165 2004-01-07 André Pönitz <poenitz@gmx.net>
4167 * lyxfind.C: somewhat clearer logic
4169 * text.C: prevent crash in cursorX on unitialized row cache
4171 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4173 * lyxcursor.[Ch] (operator>): add
4174 * textcursor.C (selStart, selEnd): use std::min and std::max
4176 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4178 * Chktex.C: include boost/format.hpp
4180 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4182 * InsetList.C: replace functor MathcIt with adaptable functor
4184 (insetIterator): modify accordingly
4186 * BranchList.h: move the BranchNamesEqual functor here from...
4187 * BranchList.C: ... to here
4189 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4191 (add): replace a finding loop with std::find_if.
4193 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4195 * output_docbook.C: moving LatexParam functionality into
4198 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4200 * buffer.C: increment format to 229.
4202 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4205 * lyx_sty.[Ch]: remove minipageindent_def
4211 * text3.C: remove LFUN_INSET_MINIPAGE
4213 2003-12-28 Angus Leeming <leeming@lyx.org>
4215 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4217 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4219 * text2.C (setParagraph): fix off-by-one crash
4221 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4223 * output_docbook.C: header stuff for AGU
4225 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4227 * text2.C (redoCursor): remove
4230 * BufferView_pimpl.C: remove calls to redoCursor and
4231 setCursor(cursor.par(), cursor.pos()) all around
4233 2003-12-15 Angus Leeming <leeming@lyx.org>
4235 * buffer.C: up the format to 228.
4237 2003-12-15 André Pönitz <poenitz@gmx.net>
4239 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4244 * BufferView_pimpl.C:
4253 2003-12-15 Angus Leeming <leeming@lyx.org>
4255 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4256 than getFromGUIName to manipulate the color.
4258 2003-12-14 Angus Leeming <leeming@lyx.org>
4260 * BranchList.[Ch]: minimize the API.
4261 (Branch::getBranch, getColor): now return a 'const &'.
4262 (Branch::setSelected) now returns a bool set to true if the
4263 selection status changes.
4264 (BranchList::clear, size, getColor, setColor, setSelected,
4265 allBranches, allSelected, separator): removed.
4266 (BranchList::find): new functions, returning the Branch with
4268 (BranchList::add, remove): return a bool indicating that
4269 the operation was successful.
4271 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4272 new InsetBranch::isBranchSlected member function.
4274 * LColor.[Ch]: mimimize the API.
4275 (fill): renamed as addColor and made private.
4276 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4277 versions of these functions taking a string arg have been removed.
4279 * bufferparams.C (readToken):
4280 * lyxfunc.C (dispatch):
4281 * lyxrc.C (read): changes due to the altered BranchList and
4284 * factory.C (createInset, readInset): changes due to altered
4287 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4290 * lyxfunc.C: remove insetminipage. "minipage-insert"
4291 now produces a frameless minipage box inset.
4293 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4295 * textcursor.[Ch] (selStart,selEnd): add new methods
4296 remove selection::start, end, use LyXCursor::operator<
4297 * lyxcursor.[Ch] (operator<): add
4298 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4299 * BufferView.[Ch] (unsetXSel): add
4300 * text2.C (clearSelection): use unsetXSel,adjust
4303 * rowpainter.C: adjust
4304 * bufferview_funcs.C (put_selection_at): adjust
4306 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4308 * BufferView_pimpl.C: small coord. correction
4310 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4312 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4313 dragging over the splash screen.
4315 2003-12-11 Angus Leeming <leeming@lyx.org>
4317 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4318 as it is now handled in LyXText::dispatch.
4320 * text3.C (doInsertInset): remove a level of nesting.
4322 2003-12-11 Angus Leeming <leeming@lyx.org>
4324 * factory.C (createInset): changes due to the changed interface to
4325 InsetCommandMailer::string2params.
4327 2003-12-10 Angus Leeming <leeming@lyx.org>
4329 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4330 'dialog-show-new-inset <inset name>'
4332 2003-12-10 Angus Leeming <leeming@lyx.org>
4334 * buffer.C: up the format to 227.
4336 * factory.C: the box inset is now identified simply by 'Box'.
4338 2003-12-10 Angus Leeming <leeming@lyx.org>
4340 * buffer.C: up the format to 226.
4342 * factory.C: the note inset is now identified simply by 'Note'.
4344 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4346 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4347 when a pit is enough. Standarize a couple of loops.
4349 2003-12-05 Angus Leeming <leeming@lyx.org>
4351 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4352 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4353 data to the re-worked "log" dialog.
4355 2003-12-03 André Pönitz <poenitz@gmx.net>
4361 * paragraph_funcs.C:
4363 * text2.C: use Inset::getText instead of Inset::getParagraph
4365 2003-12-03 André Pönitz <poenitz@gmx.net>
4369 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4370 InsetText::read() as LyXText::read()
4372 2003-12-02 Angus Leeming <leeming@lyx.org>
4374 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4375 type. Add a comment in the implementation that the function uses
4376 the stream's bad() function rather than fail() as the std::streams
4379 2003-12-02 André Pönitz <poenitz@gmx.net>
4381 * lyxlex.[Ch]: make interface more similar to std::stream
4383 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4385 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4387 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4389 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4391 * vspace.[Ch]: remove VSpace::NONE
4393 2003-12-01 André Pönitz <poenitz@gmx.net>
4396 * lyxtext.h: move ParagraphList member to LyXText
4397 rename LyXText::ownerParagraphs to LyXText::paragraph
4400 * bufferview_funcs.C:
4410 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4412 * undo.C: fix cursor positioning
4414 2003-12-01 John Levon <levon@movementarian.org>
4416 * BufferView_pimpl.C: fix a crash on exit with
4419 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4421 * BranchList.C: fix setSelected() method.
4423 2003-11-28 André Pönitz <poenitz@gmx.net>
4425 * ParagraphParameters.[Ch]:
4426 * ParameterStruct.h: remove space above/below from Paragraph to
4429 * BufferView_pimpl.C:
4435 * paragraph_funcs.C:
4441 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4443 * factory.C: Syntax change for CharStyles
4445 2003-11-28 André Pönitz <poenitz@gmx.net>
4450 * buffer.[Ch]: move LyXText member
4452 2003-11-28 André Pönitz <poenitz@gmx.net>
4454 * BufferView.[Ch]: make LyXText * text a private member
4456 * BufferView_pimpl.C:
4467 * output_plaintext.C: cleanup
4469 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4472 * lyxtextclass.[Ch]: parametrize SGML document header
4474 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4477 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4480 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4482 * text2.C (setFont): rework using PosIterator (no more recursive)
4483 (setCharFont): no more needed
4484 (setLayout): no more selection cursors fiddling (done by redoCursor)
4485 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4486 destroy remaining ones)
4488 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4490 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4492 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4495 * text3.C: adjust + re-allow multi par depth changes
4496 * textcursor.C: simplify a bit
4498 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4504 * src/output_docbook.C:
4505 * src/output_latex.C:
4510 * src/text2.C: Introducing a number of tags parametrizing various
4511 XML formats that we may want to support
4513 2003-11-25 André Pönitz <poenitz@gmx.net>
4515 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4517 * lyxtext.h (leftMargin/rightMargin): simplify interface
4524 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4526 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4527 master file to any child files. Fixes bug 546.
4529 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4531 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4533 2003-11-24 André Pönitz <poenitz@gmx.net>
4535 * rowpainter.C: simplification
4537 * text2.C (updateCounters): remove call to redoParagraph on
4538 changed labels as this is far too expensive.
4540 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4542 * converter.C (convert): fix a crash: this function gets
4543 called with buffer == 0 from importer code.
4545 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4547 * text3.C (cursorPrevious): make sure that we do not compare
4548 iterators form different containers.
4551 * rowpainter.C (paintSelection): make sure that we do not compare
4552 iterators from different containers.
4554 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4555 iterators from different ParagraphList containers.
4558 * text2.C (LyXText): change order of initialization slightly
4559 (operator=): new function. copy all variables except cache_par_
4560 (moveUp): make sure that we do not compare iterators from
4561 different ParagraphList constainers.
4564 * text.C (firstPar): new function
4565 (lastPar): new function
4566 (endPar): new function
4568 * lyxtext.h: move things around and group public functions, public
4569 variables, private functions, private variables
4571 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4573 * factory.C: change call to InsetERT constructor to avoid
4574 additional invocation of method status
4575 * text2.C (toggleInset): remove redundant update() call
4576 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4577 instead of a Bufferview pointer
4579 2003-11-21 André Pönitz <poenitz@gmx.net>
4581 * rowpainter.C: simplification
4583 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4585 * text3.C (dispatch): make possible to extend a word/row selection
4588 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4590 * lyxtext.h: x0_,y0_ -> xo_,yo_
4591 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4592 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4593 * rowpainter.C (paintRows): paint full paragraphs
4595 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4597 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4600 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4602 * lyxtext.h: add x0_, y0_
4603 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4604 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4606 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4608 * text2.C (setCursorIntern): move the x_target update here *
4609 * text3.C: change some bv() to true/false in calls to
4610 cursorUp/Down/Right/Left
4611 * cursor.C: use helper function.
4613 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4615 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4616 * paragraph_funcs.[Ch]: correct comment
4617 * rowpainter.C: do not paint selections away from bv->cursor()
4618 Fix a long standing selection painting bug.
4619 * text3.C: generalize mouse-selection code to LyXTexts other that
4621 * textcursor.C: do not use y coords if we can use par offsets
4623 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4625 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4626 cursor position after e.g. inset insert)
4628 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4630 * lyxfind.C (replace): adjust to locking removal + some
4633 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4635 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4638 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4641 * output_docbook.C: XML sanitation: new layout
4642 parameters InnerTag and CommandDepth
4644 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4646 * BufferView_pimpl.C:
4648 * text3.C: Fix the insertion and modification of button-style
4651 2003-11-13 André Pönitz <poenitz@gmx.net>
4653 * InsetList.[Ch]: remove deleteLyXText
4655 * paragraph.[Ch]: cache beginOfBody position
4660 * text3.C: remove superfluous update() calls
4664 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4666 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4667 * BufferView.C (fitLockedInsetCursor): remove
4668 * cursor.[Ch] (getDim): add
4669 * text.C (getRowNearY): add faster version
4670 * text3.C: remove some update calls
4672 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4684 * text3.C: The Character Style /XML short element patch.
4686 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4689 * factory.C: Small step to solving 'unable to insert some insets'
4692 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4694 * cursor.[Ch] (updatePos): new function for updating the y
4695 position of the tip inset
4696 * bufferview_funcs.C (put_selection_at):
4697 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4699 2003-11-11 André Pönitz <poenitz@gmx.net>
4701 * text.C: remove big comment on invalid Paragraph pointers as it is
4704 2003-11-11 André Pönitz <poenitz@gmx.net>
4706 * text_funcs.[Ch]: merge with ...
4714 * Makefile.am: remove text_funcs.[Ch]
4716 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4718 * cursor.C (getPos): return absolute cached y coord
4720 * BufferView_pimpl.C (fitCursor): new simplistic code
4721 (workAreaDispatch): add a fitCursor call
4723 2003-11-10 André Pönitz <poenitz@gmx.net>
4726 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4728 2003-11-10 André Pönitz <poenitz@gmx.net>
4730 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4731 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4732 indicate that the cursor needs to leave an inset
4734 * lyxtext.h: remove inset locking
4736 * cursor.[Ch]: re-implement functionality provided by inset locking
4739 * BufferView_pimpl.[Ch]:
4741 * bufferview_funcs.[Ch]:
4753 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4755 * PosIterator.[Ch]: replace the stack with a vector, add inset
4757 * iterators.[C]: adjust
4759 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4761 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4763 * paragraph_funcs.C (readParToken): put the correct id in the
4764 error item, not the id of the top paragraph
4766 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4768 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4769 * bufferview_funcs.C (put_selection_at): use the above
4771 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4773 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4775 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4777 * output_linuxdoc.h:
4778 * output_plaintext.h:
4780 * output_docbook.h: add #include statements
4782 2003-11-05 José Matos <jamatos@lyx.org>
4784 * output_docbook.[Ch]:
4785 * output_latex.[Ch]:
4786 * output_linuxdoc.[Ch]:
4787 * output_plaintext.[Ch]: New files for output formats.
4788 * output.[Ch]: New file for helper functions.
4791 * paragraph_funcs.[Ch]: output functions moved to new files.
4793 * outputparams.h: rename of latexrunparams.h
4801 * paragraph_funcs.[Ch]:
4802 * paragraph_pimpl.[Ch]:
4803 * tabular.[Ch]: rename ascii to plaintext
4804 and LatexRunParams to OutputParams.
4806 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4808 * iterators.[Ch] (text): require bv argument
4809 * undo.C (recordUndo):
4810 * lyxfunc.C (dispatch):
4811 * bufferview_funcs.C (put_selection_at): adjust
4813 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4815 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4817 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4819 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4822 2003-11-04 André Pönitz <poenitz@gmx.net>
4824 * cursor.[Ch]: restructure
4827 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4829 * iterators.[Ch] (asCursor): remove
4831 * lfuns.h: remove LFUN_INSET_EDIT
4837 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4839 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4841 * lyxfind.[Ch]: complete overhaul
4842 * BufferView_pimpl.C:
4844 * paragraph.[Ch] (insert): add
4846 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4850 * text.C: remove dead spellcheck code
4852 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4854 * dispatchresult.h: add a val setter
4856 * cursor.C (dispatch): use a tempvar for data_[i]
4858 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4860 * PosIterator.[Ch]: compile fix
4862 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4864 * text.C (cursorPar): deactivate the cursor cache
4866 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4868 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4870 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4872 * text3.C (dispatch): adjust for new DisptchResult semantics.
4874 * lyxfunc.C (dispatch): handle update when return from
4875 Cursor::dispatch, adjust for new DispatchResult semantics.
4877 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4878 DispatchResult(true) mean to not update. Add class functions for
4879 setting dispatched and update, as well as reading.
4881 * cursor.C (dispatch): don't handle update here
4883 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4885 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4886 * trans_mgr.C: adjust
4888 * paragraph_funcs.C (readParToken): exception safety
4890 * lyxvc.h: store the vcs pointer in a scoped_ptr
4893 * lyxsocket.C (serverCallback): exception safety
4895 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4897 * ispell.C (clone): make it return a auto_ptr
4899 * factory.C (createInset): exception safety
4900 (readInset): exception safety
4902 * bufferlist.C (newBuffer): exception safety
4904 * Thesaurus.C (Thesaurus): use initialization for aik_
4906 * MenuBackend.C (expandToc): exception safety.
4908 2003-11-03 André Pönitz <poenitz@gmx.net>
4912 * bufferview_funcs.C: remove getInsetFromId()
4915 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4921 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4923 * PosIterator.C (distance, advance): new
4924 * bufferview_funcs.[Ch] (put_selection_at): new
4925 * iterators.[Ch] (lockPath): new
4927 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4929 * iterators.[Ch] (asPosIterator): added
4930 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4931 * PosIterator.[Ch]: added
4933 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4937 * cursor.C (dispatch):
4938 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4940 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4941 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4942 contructor, add a class function dispatched. Remove operator>=
4944 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4946 * debug.C: only use the default constructor for debugstream
4949 * main.C (main): include debug.h and setup the lyxerr streambuf
4952 2003-10-31 José Matos <jamatos@lyx.org>
4954 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4956 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4957 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4958 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4959 * paragraph_pimpl.C (simpleTeXSpecialC):
4960 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4961 add LatexRunParams argument.
4963 * exporter.C (Export): change call accordingly.
4965 * latexrunparams.h: add new member to take care of the other backends.
4966 2003-10-30 José Matos <jamatos@lyx.org>
4968 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4969 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4970 factorise code for paragraph output.
4972 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4975 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4977 * text3.C (dispatch):
4978 * lyxfunc.C (dispatch):
4979 * cursor.C (dispatch):
4980 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4982 * dispatchresult.h: make the dispatch_result_t ctor explicit
4984 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4987 * buffer.C: small refactoring of docbook stuff
4989 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4991 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4994 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4996 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4997 operator dispatch_result_t, and operators for == != and >=
4999 * cursor.C (dispatch): adjust for operator dispatch_result_t
5000 removal. comment out call to update
5002 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5004 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5012 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5015 * dispatchresult.h: new file, DispatchResult broken out of
5018 * Makefile.am (lyx_SOURCES): add dispatchresult.h
5020 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5022 * text.C (rowBreakPoint): put a hack inside #if 0
5024 2003-10-28 André Pönitz <poenitz@gmx.net>
5028 * paragraph_funcs.C:
5031 * text2.C: general cleanup (lots of small stuff)
5033 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5035 * text2.C (cursorEnd): simple fix to the "end key goes to one
5036 before the end on last row" bug
5038 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5040 * text.C (backspace): fix the "zombie characters"
5042 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5044 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5046 2003-10-27 André Pönitz <poenitz@gmx.net>
5048 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5050 * factory.C: handle new InsetPagebreak, InsetLine
5052 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5053 and move handling into new InsetPagebreak, InsetLine
5055 * BufferView_pimpl.C:
5057 * ParagraphParameters.C:
5058 * ParameterStruct.h:
5063 * paragraph_funcs.C:
5064 * paragraph_pimpl.C:
5070 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5073 * lyxrow_funcs.[Ch]:
5079 * text3.C: remove lastPos uses in favour of Row::endpos
5081 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5083 * undo.C (performUndoOrRedo): fix two crashes by setting a
5084 cursor by hand and reordering some calls. Use bv->lockInset instead
5085 of inset->edit because the latter loses cursor information
5087 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5089 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5091 (rowBreakPoint): fix width. change point to point + 1.
5092 Add a missing check.
5094 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5097 * lyxfunc.C: fix (at least partly) the problems
5098 with the Nav menu and headers inside branch insets
5101 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5103 * paragraph.C (getChar): add strong asserts
5105 * lyxrow_funcs.C (lastPos): remove hideous hack
5107 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5108 (fill): adjust to that (avoid an infinite loop)
5110 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5112 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5114 2003-10-23 André Pönitz <poenitz@gmx.net>
5116 * RowList_fwd.h: change list<> to vector<> to gain speed
5117 after suggestion from Alfredo
5119 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5121 * lyxtext.h: move the bidi stuff from here...
5124 * Bidi.[Ch]: ... to here
5126 2003-10-23 André Pönitz <poenitz@gmx.net>
5129 * text.C (isLastRow, isFirstRow): new functions
5131 * paragraph.h: new width cache member
5133 * rowpainter.C: replace RowList::iterator with Row & where possible
5135 * lyxfunc.C: replace several view()->text with a single call
5137 * toc.C: fix 'unused' warning
5139 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5141 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5142 when woring with stream::pos_type
5143 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5145 2003-10-22 André Pönitz <poenitz@gmx.net>
5148 * text.C: use Row & instead of RowList::iterator
5150 * lyxrow.h: rename end() to endpos()
5156 2003-10-22 Angus Leeming <leeming@lyx.org>
5158 * buffer.[Ch] (fully_loaded): new member function, returning true
5159 only when the file has been loaded fully.
5160 Used to prevent the premature generation of previews and by the
5161 citation inset to prevent computation of the natbib-style label.
5163 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5164 templates are all set up.
5166 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5168 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5170 * text.C: fixed an "oops" in the "is a bit silly"
5173 2003-10-21 André Pönitz <poenitz@gmx.net>
5175 * FuncStatus.[Ch]: small stuff, whitespace
5177 * lyxfont.[Ch]: operator<<() for debug reasons
5181 * lyxtext.h: whitespace, spelling
5183 * paragraph.C: naming of variables
5186 * text2.C: small stuff
5189 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5191 * text.C: (1) finish off the inset display() work;
5192 (2) fix the "is a bit silly" bug (accessing char
5195 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5197 * text.C: re-introduce display() for insets, fixing the
5198 various bugs (stretch of line above, math inset
5201 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5203 * text.C (rightMargin): remove spurious semicolon
5205 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5208 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5210 * text3.C: fix one crash due to wrong cursor def
5212 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5214 * vc-backend.C (scanMaster): make the regex static
5216 * LaTeX.C (scanAuxFile): make the regexs static
5218 * text3.C (doInsertInset, dispatch, dispatch):
5219 * text2.C (cursorUp, cursorDown):
5220 * text.C (selectNextWordToSpellcheck):
5221 * BufferView_pimpl.C (dispatch):
5222 * lyxfunc.C (dispatch): localDispatch -> dispatch
5224 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5226 * lyxsocket.C: include <cerrno>
5228 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5230 * lyxfunc.C (dispatch): remove textcache stuff
5232 * bufferlist.C (release): remove textcache stuff
5235 * TextCache.C: delete file
5236 * TextCache.h: delete file
5238 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5240 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5241 delete of the bv_->text.
5242 (resizeCurrentBuffer): remove texcache stuff
5243 (workAreaResize): ditto
5245 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5247 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5250 2003-10-16 André Pönitz <poenitz@gmx.net>
5257 * text3.C: speed up by storing y positions per paragraph plus per-row
5258 offset instead of having a 'full' y position in the row.
5260 2003-10-15 André Pönitz <poenitz@gmx.net>
5264 * undo.[Ch]: make undo aware of inner insets
5266 2003-10-14 Angus Leeming <leeming@lyx.org>
5268 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5269 static member functions LyX::ref() and LyX::cref.
5270 (lastfiles): new accessor functions for the new lastfiles_ member var.
5271 (addLyXView, views_): add a new LyXView to the list of views_.
5272 (updateInset): loop over all LyXViews to call their own updateInset
5273 member function, returning a pointer to the Buffer owning the inset.
5275 * BufferView_pimpl.C (loadLyXFile):
5276 * MenuBackend.C (expandLastfiles):
5277 * bufferlist.C (MenuWrite, QuitLyX):
5278 lastfiles is no longer a global variable.
5279 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5281 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5282 static function. Access through LyX::cref().emergencyCleanup().
5284 2003-10-14 André Pönitz <poenitz@gmx.net>
5286 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5288 * undo.[Ch]: restoring part of 'undo in insets'
5291 * undo_funcs.[Ch]: merge with undo.[Ch]
5293 * tabular.C: small cleansing stuff
5295 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5297 * paragraph_funcs.C (readParToken): report unknown insets as error
5298 boxes. Use the outer paragraph as location (also for unknown
5301 * factory.C (readInset): do not abort on reading an unknown inset.
5302 Eat it and return 0.
5304 2003-10-13 Angus Leeming <leeming@lyx.org>
5306 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5308 * lyxrc.C: displayTranslator is now a function,
5309 declared in GraphicsTypes.h.
5311 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5313 * format.C: new placeholder $$a to pass the socket address.
5315 * bufferlist.[Ch]: new function getBufferFromTmp.
5317 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5318 files in the temporary dir.
5320 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5322 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5324 * Makefile.am: add lyxsocket.[Ch].
5326 * lyx_main.C (error_handler): handle SIGPIPE.
5328 2003-10-13 André Pönitz <poenitz@gmx.net>
5330 * BufferView_pimpl.C:
5335 * undo_funcs.[Ch]: use paroffset_type instead of
5336 ParagraphList::iterators to prevent multiple conversion
5337 (and get a more robust interface)
5339 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5341 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5343 * text3.C (dispatch): ditto
5345 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5347 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5348 move the onlyfile, use onlyfile instead of foundfile in a couple
5351 * DepTable.C (update): flush the error stream a bit more
5353 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5355 * lyxserver.C (callback): adjust
5357 * lyxfunc.C (getStatus): add a missing brace in commented code
5358 (ensureBufferClean): reindent
5359 (dispatch): delete version taking a string
5361 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5363 * LaTeX.C (deplog): move found file handlig from here...
5364 (handleFoundFile): .. to new function here.
5365 (deplog): make sure to discover several files mentioned on the
5368 2003-10-10 André Pönitz <poenitz@gmx.net>
5375 * text3.C: fix some of the tabular crashes
5377 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5379 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5381 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5383 2003-10-09 André Pönitz <poenitz@gmx.net>
5385 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5388 * BufferView_pimpl.C:
5389 * bufferview_funcs.C:
5400 * undo_funcs.C: adjust
5402 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5404 * text2.C (incrementItemDepth): new function, use a backtracking
5405 algorithm to discover the correct item depth.
5406 (resetEnumCounterIfNeeded): new function, use a backtracking
5407 algorithm to discover if counter reset is needed.
5408 (setCounter): use them. Simplify a bit. Add different labels for
5409 different item depths for itemize.
5411 * paragraph.C (Paragraph): remove initialization of enumdepth
5414 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5415 enumerate and itemize. Change the type of itemdepth to signed char.
5417 2003-10-08 André Pönitz <poenitz@gmx.net>
5419 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5424 * tabular.[Ch]: fix crash after 'row-insert'
5426 2003-10-08 Angus Leeming <leeming@lyx.org>
5428 Fix doxygen warnings.
5430 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5431 Remove CutAndPaste:: prefix from header file declaration.
5433 * LColor.h (fill): remove LColor:: prefix from declaration.
5435 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5436 use lyx::depth_type rather than Paragraph::depth_type so that
5437 header file and .C file match.
5439 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5441 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5442 * aspell.C: \file aspell_local.C -> \file aspell.C
5443 * gettext.C: \file gettext.C -> \file src/gettext.C
5444 * gettext.h: \file gettext.h -> \file src/gettext.h
5445 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5446 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5447 * text.C: \file text.C -> \file src/text.C
5449 * toc.C: move comment so that doxygen is not confused.
5451 2003-10-07 Angus Leeming <leeming@lyx.org>
5453 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5455 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5458 * aspell_local.h: add forgotten std::string's.
5460 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5467 * text3.C: The Box patch. Fancybox support, minipage, parbox
5469 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5475 * ParagraphParameters.h:
5485 * lyxtextclasslist.h:
5488 * paragraph_pimpl.C:
5489 * textcursor.h: add <string> and other small fixes to make Lars'
5490 std::string patch compile with STLport.
5492 2003-10-06 Angus Leeming <leeming@lyx.org>
5494 * LColor.h: Add missing #include <string>.
5496 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5498 * All most all file in all subdirs: Make <string> be the prefered
5499 way of getting to std::string, add using declarations.
5501 2003-10-06 André Pönitz <poenitz@gmx.net>
5503 * metricsinfo.C: initialize LyXFont before changing attribute.
5504 (fixes the 'math in \emph is upright' bug)
5506 2003-10-06 André Pönitz <poenitz@gmx.net>
5508 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5510 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5513 * paragraph_pimpl.C: Small fixes to build using STLport
5515 2003-10-02 André Pönitz <poenitz@gmx.net>
5518 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5520 2003-10-01 André Pönitz <poenitz@gmx.net>
5522 * factory.C: assert early
5524 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5526 * lyx_main.C: remove the global debug object
5528 * debug.h: adjust for new debugstream
5530 * debug.C: adjust for new debugstream and keep the global debug
5533 2003-09-22 Angus Leeming <leeming@lyx.org>
5535 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5536 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5537 an incomplete class LyXFont.
5539 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5541 * factory.C: bug fix in branches
5543 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5545 * lyxfunc.C (processKeySym): adjust
5547 (dispatch): change arg name from ev to func, adjust
5548 (sendDispatchMessage): ditto
5550 * lyx_main.C (defaultKeyBindings): adjust keybindings
5551 (deadKeyBindings): ditto
5553 * kbsequence.C (addkey): return a FuncRequest
5555 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5557 * kbmap.C (bind): take a FuncRequest as arg, adjust
5560 (defkey): change to take a FuncRequest as arg, adjust
5561 (findbinding): take a FuncRequest as arg, adjust.
5563 * funcrequest.h (operator=): added
5565 * funcrequest.C (FuncRequest): default kb_action changed from
5566 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5568 * buffer.C (dispatch): simplify
5569 (dispatch): adjust to take a FuncRequest as arg, adjust
5571 * boost.C (assertion_failed): change assertion message slightly
5573 * ToolbarBackend.C (read): simplify
5575 * MenuBackend.C (binding): adjust call to findbinding, add a
5576 message if no binding is found.
5578 (expandToc): correct by adding a empty FuncRequest
5580 * LyXAction.C: include <boost/assert.hpp>
5581 (isPseudoAction): delete function
5582 (LookupFunc): change name to...
5583 (lookupFunc): this. change return type to FuncRequest.
5584 (getActionName): take kb_action as arg, simplify
5585 (funcHasFlag): add an assert, simplify.
5587 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5589 * toc.C (action): return a FuncRequest, simplify
5591 * lyxfunc.C (processKeySym): adjust
5592 (getStatus): delete version that takes an int.
5594 (dispatch): delete version that takes action as int
5596 (sendDispatchMessage): simplify and adjust
5598 * funcrequest.C (getArg): take unsigned int as arg
5600 * ToolbarBackend.C (read): adjust
5601 (add): delete version that takes func as a string.
5602 (getIton): take a FuncRequest as arg
5604 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5607 * MenuBackend.C (MenuItem): add a new construct that only takes a
5608 Kind, simplify the constructor use for submenus.
5610 (expandLastfiles): adjust
5611 (expandDocuments): adjust
5612 (expandFormats): adjust
5613 (expandFloatListInsert): adjust
5614 (expandFloatInsert): adjust
5615 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5617 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5618 Remove class variables lyx_pseudo_map and lyx_arg_map
5620 * LyXAction.C (searchActionArg): delete function
5621 (getPseudoAction): delete function
5622 (retrieveActionArg): delete function
5623 (LookupFunc): make it return kb_action, simplify.
5624 (getActionName): simplify
5626 * factory.C (createInset): fix new bug
5628 2003-09-19 Angus Leeming <leeming@lyx.org>
5630 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5631 masterFilename_ parameter in the include inset.
5633 * factory.C (createInset): changes due to the changes to InsetInclude.
5635 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5637 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5639 2003-09-18 Angus Leeming <leeming@lyx.org>
5642 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5643 Inset::fillWithBibKeys.
5644 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5646 2003-09-18 Angus Leeming <leeming@lyx.org>
5648 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5650 (ctor): pass and store a 'Buffer const &'
5651 (buffer): new member function.
5653 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5654 '*this' to the LaTeXFeatures ctor.
5656 2003-09-18 Angus Leeming <leeming@lyx.org>
5662 * text.C: rename EnumLColor as LColor_color.
5664 2003-09-18 Angus Leeming <leeming@lyx.org>
5666 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5667 remove #include "insets/insetbase.h" from cursor.h.
5669 2003-09-18 Angus Leeming <leeming@lyx.org>
5671 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5672 InsetOld_code to remove #include "inset.h".
5674 * iterators.C: add #include "insets/inset.h"
5676 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5678 * BufferView.C: remove more locking stuff that apparently doesn't
5679 do anything sensible.
5681 2003-09-16 André Pönitz <poenitz@gmx.net>
5684 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5687 2003-09-16 Angus Leeming <leeming@lyx.org>
5689 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5691 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5694 * paragraph.h: remove #include "lyxfont.h". Forward declare
5697 2003-09-16 Angus Leeming <leeming@lyx.org>
5699 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5700 of support/textutils.h.
5701 (isWord): move the contents of support/textutils.h's IsWordChar here.
5707 * text2.C: add #include "paragraph.h".
5710 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5712 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5718 * LaTeX.C: use namespace alias for lyx::support::os
5720 2003-09-16 Angus Leeming <leeming@lyx.org>
5723 * bufferview_funcs.C:
5726 * paragraph_pimpl.C:
5728 * text.C: add #include "LColor.h".
5730 2003-09-16 Angus Leeming <leeming@lyx.org>
5732 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5733 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5735 Store the FontBits::color variable as an int rather than as an
5736 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5739 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5740 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5741 string calls together.
5743 * lyxrc.C: add #include "LColor.h".
5745 2003-09-15 Angus Leeming <leeming@lyx.org>
5747 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5750 2003-09-15 Angus Leeming <leeming@lyx.org>
5752 * LColor.h: add an EnumLColor wrapper for LColor::color.
5754 * lyxfont.[Ch] (color, setColor, realColor):
5755 * lyxtext.h, text.C (backgroundColor):
5756 pass EnumLColor args to/from the functions, rather than LColor::color
5760 * lyxtext.h: forward declare EnumLColor.
5762 * lyx_main.C: add #include "LColor.h".
5764 2003-09-15 Angus Leeming <leeming@lyx.org>
5766 * .cvsignore: add lyx-gtk.
5768 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5773 * ParagraphParameters.C
5777 * bufferview_funcs.C
5787 * vc-backend.C: remove usage of STRCONV
5789 2003-09-15 Angus Leeming <leeming@lyx.org>
5791 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5792 explicitly define the color passed to the painter.
5794 2003-09-15 Angus Leeming <leeming@lyx.org>
5796 * bufferparams.C (BufferParams): reorder member initializers to avoid
5799 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5801 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5802 * text.C (updateRowPositions): remove an unusual nop
5804 2003-09-12 André Pönitz <poenitz@gmx.net>
5806 * BufferView_pimpl.C:
5815 * Counters.[Ch]: finish the 'automatic counters' job
5817 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5819 * aspell.C: include <boost/assert.cpp> (compile fix)
5821 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5823 * boost.C (assertion_failed): use lyx::support::abort instead of
5826 2003-09-10 Angus Leeming <leeming@lyx.org>
5828 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5829 with their _fwd progeny.
5831 2003-09-09 Angus Leeming <leeming@lyx.org>
5833 134 files throughtout the source tree: replace 'using namespace abc;'
5834 directives with the appropriate 'using abc::xyz;' declarations.
5836 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5838 * boost.C (emergencyCleanup): moved here from LAssert.c
5839 (assertion_failed): new function, called by BOOST_ASSERT
5841 * several files: change Assert to BOOST_ASSERT
5843 2003-09-09 Angus Leeming <leeming@lyx.org>
5845 * buffer.[Ch]: Add an Impl class and move Buffer's member
5846 variables into it. As a result move several header files out of
5849 Add header files to lots of .C files all over the tree as a result.
5851 2003-09-09 Angus Leeming <leeming@lyx.org>
5853 * buffer.[Ch]: make Buffer's member variables private. Add
5856 Lots of changes all over the tree as a result.
5858 2003-09-08 Angus Leeming <leeming@lyx.org>
5860 * graph.C: #include <config.h>.
5862 2003-09-08 Angus Leeming <leeming@lyx.org>
5866 * BufferView_pimpl.C:
5895 * toc.C: remove redundant using directives.
5897 2003-09-07 Angus Leeming <leeming@lyx.org>
5899 * LaTeXFeatures.h: remove #include "support/types.h".
5900 * ToolbarBackend.h: remove #include <algorithm>.
5901 * changes.h: remove #include <ctime>.
5902 * debug.h: remove #include <iosfwd>.
5903 * graph.h: remove #include "support/std_string.h".
5904 * lyx_main.h: remove #include <csignal>.
5905 * lyxlex_pimpl.h: remove #include <fstream>.
5906 * sgml.h: remove #include <algorithm>, <utility>.
5907 * toc.h: remove #include "support/std_ostream.h".
5908 Add #include <iosfwd>.
5910 2003-09-07 Angus Leeming <leeming@lyx.org>
5912 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5914 * converter.h: forward declare LatexRunParams.
5915 * encoding.h: remove #include "lyxrc.h".
5916 * lyxtext.h: remove #include "LColor.h".
5917 * lyxtextclass.h: remove #include "support/types.h".
5918 * trans.h: remove #include "tex-accent.h".
5919 * trans_mgr.h: remove #include "tex-accent.h".
5920 * insets/inset.h: remove #include "support/types.h", <vector>.
5921 * insets/insetcollapsable.h: remove #include "LColor.h".
5922 * insets/insetinclude.h: remove #include "dimension.h".
5923 * insets/insetlatexaccent.h: remove #include "dimension.h".
5924 * insets/insetoptarg.h:: remove #include "insettext.h".
5925 * insets/insettext.h: remove #include "dimension.h",
5926 <boost/shared_ptr.hpp>
5928 * insets/renderers.h: add #include "dimension.h".
5929 * insets/updatableinset.h: add #include "support/types.h".
5931 * many .C files: Associated changes.
5933 2003-09-06 Angus Leeming <leeming@lyx.org>
5935 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5936 one, inside testInvariant.
5938 * PrinterParams.C: new file.
5939 * PrinterParams.[Ch]: move the function bodies out of line.
5941 2003-09-06 Angus Leeming <leeming@lyx.org>
5943 * ParagraphParameters.h: forward declare ParameterStruct rather than
5944 including its header file.
5945 (depth): moved out-of-line.
5947 2003-09-06 Angus Leeming <leeming@lyx.org>
5949 * BufferView_pimpl.h:
5952 * lyxfunc.h: forward declare LyXKeySym rather than
5953 #include "frontends/LyXKeySym.h".
5955 * BufferView_pimpl.C:
5958 * lyxfunc.C: associated changes.
5960 2003-09-06 Angus Leeming <leeming@lyx.org>
5962 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5963 As a result, can remove the #include "insets/inset.h" from BufferView.h
5965 2003-09-06 Angus Leeming <leeming@lyx.org>
5967 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5968 As a result, can remove the #include "insets/inset.h" from BufferView.h
5970 2003-09-06 Angus Leeming <leeming@lyx.org>
5976 * bufferview_funcs.C:
5977 * BufferView_pimpl.C:
5982 * ParagraphParameters.C:
5987 * frontends/controllers/ControlDocument.C:
5988 * insets/insetcaption.C: rearrange the #includes into some sort of
5991 * buffer.h: remove #includes ErrorList.h, undo.h
5993 2003-09-06 Angus Leeming <leeming@lyx.org>
5995 * support/types.h: add a 'depth_type' typedef, used to store the
5996 nesting depth of a paragraph.
5999 * ParameterStruct.h: use this lyx::depth_type typedef rather than
6000 defining explicitly.
6003 * paragraph_funcs.h:
6004 * ParagraphParameters.h:
6005 * sgml.h: use lyx::depth_type rather than Paragraph or
6006 ParameterStruct's depth_type.
6009 * paragraph_funcs.h: no need to #include paragraph.h anymore.
6012 * BufferView_pimpl.C:
6014 * ParagraphParameters.C:
6017 * bufferview_funcs.C:
6024 * frontends/LyXView.C:
6025 * frontends/controllers/ControlDocument.C:
6026 * frontends/controllers/ControlErrorList.C:
6027 * insets/insetbibitem.C:
6028 * insets/insetbranch.C:
6029 * insets/insetcaption.C:
6030 * insets/insetcollapsable.C:
6031 * insets/insetenv.C:
6032 * insets/insetert.C:
6033 * insets/insetfloat.C:
6034 * insets/insetfoot.C:
6035 * insets/insetfootlike.C:
6036 * insets/insetnewline.C:
6037 * insets/insetquotes.C:
6038 * insets/insettabular.C:
6039 * insets/insettext.C:
6040 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6042 * frontends/controllers/ControlChanges.C: #include "changes.h".
6044 2003-09-06 Angus Leeming <leeming@lyx.org>
6046 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6047 than #including paragraph.h.
6050 * RowList.h: deleted. Superfluous.
6060 * insets/insettext.h: use ParagraphList_fwd.h rather than
6063 * paragraph.h: don't forward declare ParagraphList.
6066 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6067 rather than ParagraphList.h. paragraph.h is still needed for the
6068 Paragraph::depth_type parameters.
6070 * textcursor.h: enable it to compile stand-alone in light of the
6073 * bufferview_funcs.C:
6085 * frontends/controllers/ControlParagraph.C:
6086 * frontends/controllers/ControlTabular.C:
6087 * insets/insetmarginal.C:
6088 * insets/insetminipage.C:
6089 * insets/insetnote.C:
6090 * insets/insetoptarg.C: add header files needed to compile again.
6092 2003-09-06 Angus Leeming <leeming@lyx.org>
6094 * RowList_fwd.h: new file, forward-declaring Row rather than
6095 #including lyxrow.h.
6100 * insets/insettext.h: use it instead of RowList.h
6102 * bufferview_funcs.C:
6109 * text3.C: #include "RowList.h".
6111 2003-09-05 Angus Leeming <leeming@lyx.org>
6113 * factory.C (createInset):
6114 * vspace.C (c-tor): replace sscanf call with an istringstream.
6115 * ispell.C: re-add missing HP/UX headers.
6116 * lyxserver.C: re-add missing os2 headers.
6118 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6127 * text3.C: re-add missing system headers, needed for 2.95.2.
6129 2003-09-05 Angus Leeming <leeming@lyx.org>
6131 Changes most place everywhere due to the removal of using directives
6132 from support/std_sstream.h.
6134 2003-09-05 Angus Leeming <leeming@lyx.org>
6136 Replace LString.h with support/std_string.h,
6137 Lsstream.h with support/std_sstream.h,
6138 support/LIstream.h with support/std_istream.h,
6139 support/LOstream.h with support/std_ostream.h.
6141 Changes resulting throughout the tree.
6143 2003-09-05 Angus Leeming <leeming@lyx.org>
6145 * sgml.h: ensure that the header file can be compiled stand-alone.
6146 * *.C: strip out redundant #includes. (320 in total.)
6148 2003-09-04 Angus Leeming <leeming@lyx.org>
6150 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6151 here (from getPackages).
6153 * debug.[Ch]: add a new EXTERNAL tag.
6155 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6157 * text2.C (cursorEnd): simplify
6159 (getColumnNearX): adjust
6161 * text.C (computeBidiTables): adjust
6164 * rowpainter.C (paintChars): adjust
6165 (paintSelection): adjust
6166 (paintChangeBar): adjust
6169 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6171 (numberOfSeparators): adjust
6173 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6179 * text3.C: Restricts the mouse click functionality
6180 of insets like bibtex, include, toc and floatlist to the visible
6181 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6182 up the dialogs. Cursor has to be in front of the inset (i.e.
6183 start of row) for this to function.
6185 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6187 * bufferview_funcs.C (currentState): output row information
6189 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6191 * bufferview_funcs.C (currentState): output paragraph position
6193 2003-09-04 Angus Leeming <leeming@lyx.org>
6195 * FloatList.h: move out #include "Floating.h".
6196 * LaTeX.h: move out #include "DepTable.h".
6197 * LyXAction.h: move out #include "funcrequest.h".
6198 * buffer.h: move out #include "author.h", "iterators.h".
6199 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6200 * lyx_main.h: move out #include "errorlist.h".
6201 * lyxfunc.h: move out #include "FuncStatus.h".
6202 * lyxtext: move out #include "lyxcursor.h".
6203 * paragraph_pimpl.h: move out #include "counters.h".
6205 2003-09-03 Angus Leeming <leeming@lyx.org>
6207 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6208 preamble_snippets list, enabling us to add snippets to the preamble
6209 only if the snippet was not there already.
6211 2003-09-04 Angus Leeming <leeming@lyx.org>
6213 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6215 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6217 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6220 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6222 * BranchList.C: point fix, earlier forgotten
6224 2003-09-02 Angus Leeming <leeming@lyx.org>
6226 * box.C (contains): renamed from 'contained' after a fantastic
6229 2003-09-02 John Levon <levon@movementarian.org>
6235 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6237 2003-09-02 John Levon <levon@movementarian.org>
6239 * text2.C: simplification of cursorEnd(), including partial
6242 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6244 * buffer.C (readFile): add a space
6246 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6248 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6250 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6252 * buffer.C (readFile): new function, take a filename and a
6253 ParagraphList::iterator
6255 (readFile): adjust, make it private. don't use setStream, make
6256 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6257 always contain the filename.
6259 * BufferView.C (insertLyXFile): simplify and make it work for
6262 2003-08-30 John Levon <levon@movementarian.org>
6264 * Makefile.am: fix dist (from Kayvan)
6266 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6268 * most files: change to use const Buffer refs
6270 2003-08-27 André Pönitz <poenitz@gmx.net>
6272 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6273 on top of ownerPar().
6275 2003-08-27 John Levon <levon@movementarian.org>
6277 * funcrequest.C: properly initialise POD members
6279 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6281 * lyxtext.h (top_y): move top_y from here
6286 * BufferView_pimpl.[Ch]: to here
6287 * frontends/screen.C:
6288 * insets/insettabular.C:
6289 * insets/insettext.C: adjust
6290 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6292 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6295 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6297 2003-08-26 André Pönitz <poenitz@gmx.net>
6299 * paragraph_func.[Ch] (outerPar): new function
6302 * paragraph_funcs.C:
6303 * paragraph_funcs.h:
6304 * paragraph_pimpl.C:
6305 * text2.C: remove Inset::par_owner
6307 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6312 * text2.C: eliminates the needFullRow/display() stuff
6313 altogether, putting the logic in metrics/draw in the insets.
6315 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6317 * text2.C (redoParagraphInternal, redoParagraphs):
6318 * text.C (redoParagraph): add a call to updateRowPositions at the
6319 end of each 'metrics-like' call. Remove all others.
6320 (getRow): remove the 'y-computing' version.
6321 (getRowNearY): do not compute nor return the real y. Solve the
6322 'y < 0' problem and simplify.
6324 2003-08-22 Angus Leeming <leeming@lyx.org>
6326 * *.[Ch]: clean-up of licence and author blurbs.
6327 Also move config.h out of a few .h files and into a few .C files.
6329 2003-08-22 André Pönitz <poenitz@gmx.net>
6331 * lyxrow.[Ch]: add x_ and *fill_ members
6336 * text2.C: adjust/remove prepareToPrint() calls
6338 2003-08-22 André Pönitz <poenitz@gmx.net>
6340 * lyxrow.[Ch]: add end_ member
6342 * lyxrow_funcs.C: use LyXRow::end_
6344 * lyxtext.h (singleWidth): add LyXFont parameter
6347 * text2.C: adjust LyXText::singleWidth() calls
6349 * text.C (redoParagraph): simplify row breaking logic
6352 2003-08-19 André Pönitz <poenitz@gmx.net>
6354 * funcrequest.C: initialize button_ member
6357 * rowpainter.[Ch]: interface consolidation
6359 2003-08-18 André Pönitz <poenitz@gmx.net>
6362 * BufferView_pimpl.C:
6364 * paragraph_funcs.C:
6366 * text3.C: remove LyXScreen::draw() and fitCursor calls
6368 * BranchList.h: remove spurious semicolons
6370 * MenuBackend.C: fix branchlist related crash
6372 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6380 * bufferparams.[Ch]:
6384 * text3.C: implements the 'branch inset'
6385 idea. This allows the output of various versions of a document
6386 from a single source version, selectively outputing or suppressing
6387 output of parts of the text.
6388 This implementation contains a 'branch list editor' in a separate
6389 tab of the document settings dialog. Branches are user definable
6390 and have a "display colour" to distinguish them on-screen.
6392 ColorHandler was somewhat cleaned up.
6393 (1) make possible a dynamically growing LColor list by allowing
6394 the graphic context cache to grow along (vector);
6395 (2) eliminate an IMHO unnecessary step in colour allocation.
6397 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6399 * BufferView_pimpl.C: compile fix
6401 2003-08-15 André Pönitz <poenitz@gmx.net>
6403 * rowpainter.C: remove extra metrics calls
6405 * lyxtext.h: merge the two constructors into a single one,
6406 pass reference to owner's par list
6408 * BufferView_pimpl.C:
6412 2003-08-15 André Pönitz <poenitz@gmx.net>
6414 * lyxrow_funcs.[Ch]:
6417 * paragraph_funcs.C:
6422 * text_funcs.C: split LyXText::rowlist_ into individual
6423 Paragraph::rows_ chunks
6426 * BufferView_pimpl.[Ch]:
6429 * text3.C: remove toggleSelection()
6431 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6433 * bufferlist.C: beautify two alerts (shorter text of buttons)
6434 * buffer.C: Remove redundant ' ' from message
6436 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6437 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6438 rename VALIGN_CENTER to VALIGN_MIDDLE
6440 2003-08-11 André Pönitz <poenitz@gmx.net>
6442 * lyxtext.h (getPar):
6443 * text.C: new function
6445 2003-08-11 André Pönitz <poenitz@gmx.net>
6448 * tracer.[Ch]: remove unneeded files
6450 * InsetList.[Ch]: remove resizeInsetsLyXText()
6455 * text3.C: merge insertParagraphs() and appendParagraph()
6456 remove breakAgain(), update()
6458 * BufferView_pimpl.[Ch]:
6459 * bufferview_funcs.[Ch]:
6463 * tabular.C: adjust after text & InsetList changes.
6465 2003-08-08 André Pönitz <poenitz@gmx.net>
6467 * text.C (insertChar, backspace): replace rowlist fiddling
6468 with rebreak of full par
6471 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6472 checkParagraph, updateInset): removed
6474 2003-08-07 André Pönitz <poenitz@gmx.net>
6477 * text3.C: merge some LFUN handlers, remove dead code
6479 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6481 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6483 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6485 * text2.C (DEPM): fix part of bug 1255 and 1256
6487 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6489 * BufferView_pimpl.C (workAreaDispatch): change to use
6490 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6491 that are no mouse related.
6493 2003-08-05 André Pönitz <poenitz@gmx.net>
6496 * BufferView_pimpl.[Ch]:
6497 * bufferview_funcs.C:
6499 * text3.C: rip out "deep update"
6501 * textcursor.[Ch] (last_sel_cursor): remove unused member
6503 2003-08-04 André Pönitz <poenitz@gmx.net>
6506 * BufferView_pimpl.[Ch]:
6507 * ParagraphParameters.C:
6508 * bufferview_funcs.C:
6514 * text3.C: replace "complicated" BufferView::update(...) calls with
6517 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6519 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6521 * Makefile.am (lyx_SOURCES): add paper.h
6523 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6525 * Makefile.am: move things around so that both lyx-qt and
6526 lyx-xforms can be built (according to --with-frontend). Then lyx
6527 is a symbolic link to lyx-[firstfrontend]
6529 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6531 * Always use std::endl with lyxerr
6533 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6535 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6537 2003-08-01 André Pönitz <poenitz@gmx.net>
6540 * BufferView_pimpl.[Ch]:
6542 * text3.C: merge BufferView::repaint() and BufferView::update()
6544 2003-08-01 José Matos <jamatos@lyx.org>
6546 * buffer.[Ch]: file_format is no longer a buffer data element.
6548 2003-08-01 André Pönitz <poenitz@gmx.net>
6553 * text2.C: make redoParagraph more independent of current cursor
6555 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6557 * text2.C: remove unneeded members
6559 2003-07-30 André Pönitz <poenitz@gmx.net>
6561 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6563 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6564 create a single function...
6566 * paragraph_funcs.C (moveItem): ... here.
6569 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6571 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6573 * LColor.[Ch]: Add comment and greyedout logical colors.
6575 2003-07-30 André Pönitz <poenitz@gmx.net>
6577 * tabular.C: don't use Assert too heavily. This crashes where it
6580 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6582 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6583 is disabled (bug 1232)
6585 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6587 * factory.C: limited 'arg' scope
6589 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6591 * factory.C: fixed Note submenu issues
6593 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6595 * factory.C: submenu for Note/Comment/Greyedout
6597 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6600 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6602 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6605 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6606 greyedout. Patch provided by Jürgen Spitzmüller.
6608 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6610 * kbmap.C (read): fix error message when reading bind files
6612 2003-07-29 Angus Leeming <leeming@lyx.org>
6614 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6615 certainly does not do what it purports to do. I am doing it, and
6616 us, a favour by killing it.
6618 2003-07-28 José Matos <jamatos@lyx.org>
6620 * buffer.C (readBody, do_writeFile):
6621 * paragraph.C(readParagraph): \end_document replaces \the_end.
6623 2003-07-29 André Pönitz <poenitz@gmx.net>
6626 * BufferView_pimpl.[Ch]:
6630 * textcursor.[Ch]: remove toggleToggle & Co
6632 2003-07-28 José Matos <jamatos@fep.up.pt>
6634 * buffer.C (readParagraph):
6635 * params_func (readParToken, readParagraph):
6636 * paragraph.C (write): \layout -> \begin_layout.
6638 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6640 * lyxlex_pimpl.C (setFile): clean up slightly.
6642 * bufferparams.h: add compressed var
6644 * buffer_funcs.C (readFile): adjust for LyXLex change
6645 (newFile): ditto + simplify
6647 * buffer.C (writeFile): handle writing of compressed files
6649 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6650 Check if the file is compressed and set a bufferparm if so.
6652 * Makefile.am (lyx_LDADD): remove explicit -lz
6654 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6656 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6657 makeDocBookFile): put the real LyX version in the first line of
6661 * version.C.in: remove lyx_docversion
6663 * tabular.C (write_attribute): add a template-based version to
6664 write enums properly
6666 2003-07-28 André Pönitz <poenitz@gmx.net>
6671 * text3.C: use doubles again for x-coordinates. They are needed.
6673 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6675 * messages.C (getLocaleDir): use lyx_localedir()
6677 * lyxlex_pimpl.C (setFile): compress stuff
6679 * buffer.C (writeFile): add some compression stuff
6680 (do_writeFile): new func, dont call expliti close... will this
6683 * Makefile.am (lyx_LDADD): add -lz
6685 2003-07-28 José Matos <jamatos@fep.up.pt>
6687 * buffer.C: increment file format.
6688 * paragraph_funcs (readParagraph, readParToken):
6689 * paragraph.C (readParagraph): add \end_layout.
6691 2003-07-27 Angus Leeming <leeming@lyx.org>
6693 * Makefile.am: remove special casing for configure-time setting of
6694 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6696 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6697 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6699 2003-07-26 André Pönitz <poenitz@gmx.net>
6701 * paragraph_func.[Ch]:
6702 * paragraph.C (realizeFont): inline it whereever it is used
6707 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6710 2003-07-26 André Pönitz <poenitz@gmx.net>
6714 * text2.C: get rid of LyXText::need_break_row
6716 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6718 * toc.[Ch]: put namespace toc inside namespace lyx
6720 * MenuBackend.C (expandToc2): adjust for lyx::toc
6723 * lyxfunc.C (dispatch): adjust for lyx::find
6725 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6726 lyx::find instead. Reorganize a bit.
6727 (LyXReplace): rename to replace
6728 (LyXFind): rename to find
6730 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6733 2003-07-26 André Pönitz <poenitz@gmx.net>
6735 * text.C (setHeightOfRow): restrict scope of temporary variable
6737 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6738 code (never has been used?)
6740 2003-07-27 Asger Alstrup <alstrup@local>
6742 * text.C (fill): Optimise algorithm to exploit that we can reuse
6743 the LyXFont for many characters.
6744 (setHeightOfRow): Same thing.
6745 (rowBreakPoint): Same thing.
6747 2003-07-26 Asger Alstrup <alstrup@local>
6749 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6751 * text.C (singleWidth): Spurious font copying in hot-spot
6752 singleWidth avoided. Reorder tests for arabic for efficiency.
6754 * text.C (fill): handle empty paragraphs better.
6756 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6759 * encoding.h: add includes
6761 * lyxrc.C: remove reading of bind files
6763 * lyx_main.C (init): setup bindings and menus only if we have a
6766 * kbmap.C (read): new method. Do the actual reading of bind
6769 * converter.C (dvipdfm_options):
6772 (output): adapt PAPER_* enums.
6774 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6776 * bufferparams.h: remove paper-related enums from there
6778 * paper.h: New file. A trivial header file to hold paper-related
6779 enums. It should later expand to contain many paper-related
6782 * lyxrc.C: declare extern displayTranslator
6784 2003-07-27 José Matos <jamatos@fep.up.pt>
6786 * tabular.[Ch] (linuxdoc): add support for tables and figures
6789 2003-07-27 José Matos <jamatos@fep.up.pt>
6791 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6792 consistency in both functions.
6793 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6795 2003-07-26 Asger Alstrup <alstrup@local>
6797 * rowpainter.C (paintRows): Change algorithm to work directly on
6798 the insets rather than asking every character in the document
6799 whether its an inset.
6801 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6803 * buffer.C (openFileWrite): factorize some code
6805 2003-07-26 Angus Leeming <leeming@lyx.org>
6808 * lyx_main.[Ch]: replace occurances of system_tempdir with
6811 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6813 * rename Inset to InsetOld
6815 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6817 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6818 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6819 which I think is a bit clearer. EDIT is gone, since it was
6820 premature optimisation, and broken for mathed anyway.
6821 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6822 with cursor positioning in insets as well (math insets still do not
6823 work, but that's a different story anyway.) It mysteriously
6824 crashes sometimes with undo in the first paragraph, but I'm fairly
6825 confident that this is a compiler bug.
6827 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6829 * paragraph.C (Paragraph): adjust for new clone return type
6831 (copyIntoMinibuffer): ditto
6833 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6835 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6836 by not having a special case, and always doing a full rebreak of
6837 the document after undo.
6839 2003-07-23 Angus Leeming <leeming@lyx.org>
6841 * factory.C (createInset): InsetExternal::setParams now takes a
6844 2003-07-23 Angus Leeming <leeming@lyx.org>
6846 * factory.C (createInset): changed interface to the external and
6847 graphics mailers' string2params functions.
6849 2003-07-23 Angus Leeming <leeming@lyx.org>
6851 * factory.C (createInset): pass a
6852 Buffer const * parameter to InsetExternalMailer's string2params.
6854 2003-07-22 John Levon <levon@movementarian.org>
6856 * Thesaurus.h: include the right aiksaurus header
6858 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6860 * MenuBackend.C (expand): check menu shortcuts unconditionally
6862 2003-07-21 Angus Leeming <leeming@lyx.org>
6864 * factory.C (createInset): pass a
6865 buffer_path parameter to InsetGraphicsMailer's string2params.
6867 2003-07-21 Angus Leeming <leeming@lyx.org>
6869 * BufferView_pimpl.C (buffer):
6872 * lyxfunc.C (dispatch):
6873 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6874 rather than the grfx shortcut.
6876 2003-07-21 André Pönitz <poenitz@gmx.net>
6878 * rowpainter.C: remove unused variables
6881 * tabular_funcs.h: move to tabular.C
6882 * Makefile.am: adjust
6884 * tabular.[Ch]: basic optical cleaning
6886 * author.h: pass references, not values
6888 2003-07-18 André Pönitz <poenitz@gmx.net>
6896 * text3.C: two-phase drawing for InsetText and InsetTabular
6897 some float -> int changes.
6899 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6901 * lyx_main.C: fix the fix
6903 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6905 * lyx_main.C: fix a crash in batch mode if no files specified
6908 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6910 * format.[Ch] (papersize): moved to BufferParams
6911 * converter.[Ch] (dvips_options): moved to BufferParams
6912 (dvipdfm_options): moved to anon namespace
6913 * bufferparams.[Ch]: added above functions.
6915 2003-07-17 André Pönitz <poenitz@gmx.net>
6919 * text2.C: don't call inset->update() anymore
6921 * metricsinfo.[Ch]: add convenience constructor
6923 2003-07-16 André Pönitz <poenitz@gmx.net>
6928 * text2.C: replace the LyXCursor::irow_ member with
6929 on-demand computation of the value
6931 2003-07-16 John Levon <levon@movementarian.org>
6933 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6935 2003-07-15 André Pönitz <poenitz@gmx.net>
6938 * text2.C: remove no more needed refresh_row
6940 2003-07-15 André Pönitz <poenitz@gmx.net>
6945 * text3.C: refresh_status tristate -> need_update bool
6947 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6949 * lyxtext.h (init): remove reinit argument (act as if always true)
6950 * text2.C: adjust to that
6952 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6954 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6955 * text3.C: use it to delete selections in some cases
6956 (bugs 441, 673, 702, 954).
6958 2003-07-14 André Pönitz <poenitz@gmx.net>
6960 * rowpainter.[Ch]: reduce interface
6962 2003-07-14 André Pönitz <poenitz@gmx.net>
6964 * BufferView_pimpl.C:
6965 * text2.C: adjust after removing unused BufferView * argument
6967 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6969 * text2.C (init): fix a crash fired on resize
6971 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6973 * buffer.[Ch]: added new closing signal
6974 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6975 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6976 BufferView::Pimpl via the closing the signal
6978 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6980 * buffer.[Ch]: take out all bv-related from buffer
6982 * BufferView_pimpl.[Ch]: connect to new signals
6983 * CutAndPaste.C: removed useless asserts
6984 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6987 * lyxfunc.C: moved view-related funciontality from vc here
6988 * paragraph.C: removed outdated comments
6991 2003-07-10 André Pönitz <poenitz@gmx.net>
6993 * BufferView_pimpl.C:
6997 * text2.C: remove InsetText::InnerCache, clean up consequences
6999 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7001 * ispell.C: fix two typos in error messages
7003 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
7005 * Extend Note inset to other forms of annotation like Comment
7006 and Greyedout. Right button click gives dialog.
7008 Files modified or added (+):
7012 * ControlNote.[Ch] +
7014 * Makefile.am in frontends/xforms, frontends/xforms/forms,
7015 frontends/controllers
7019 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7021 * aspell.C: add missing namespace lyx::support
7023 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
7025 * BufferView.[Ch] (newFile): Add
7026 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7027 * LaTeX.[Ch] (message): added this signal and use it
7028 * buffer.[Ch] (busy, message): added these signals and use them
7029 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7033 * importer.C: use buffer signals instead of direct bv calling
7034 * lyx_cb.[Ch] (ShowMessage): removed
7037 * paragraph_funcs.C:
7038 * text2.C: use buffer signals
7040 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7042 * introduce namespace lyx::graphics
7044 2003-07-02 André Pönitz <poenitz@gmx.net>
7046 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7048 2003-07-01 André Pönitz <poenitz@gmx.net>
7055 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7056 text*.C to text_func.C
7058 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7060 * introduce namespace lyx::support
7062 2003-06-30 André Pönitz <poenitz@gmx.net>
7067 * text.C: re-enable --with-included-string
7069 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7071 * textcursor.C: add <config.h>
7073 * text.C (getWord): remove const from word_location arg
7075 * lyxvc.C (getLogFile): fix const type order
7077 * lyxtext.h: remove const from word_location arg, add arg name
7079 * lyxlayout.h: currect type on labeltype.
7081 * importer.C: correct \file
7083 * converter.C (intToFormat): use std:: on ret val, ws changes
7085 * bufferlist.h: correct \file
7087 * buffer.C (makeLinuxDocFile): fix const type order
7088 (makeDocBookFile): ditto
7089 (fillWithBibKeys): use std:: on stdlib args.
7091 * CutAndPaste.C: fix authors.
7092 (availableSelections): use std:: on return vector
7094 2003-06-27 André Pönitz <poenitz@gmx.net>
7096 * BufferView_pimpl.C:
7097 * bufferview_funcs.C:
7105 * text3.C: remove LyXCursor::row_ member
7108 * text.C: rename fullRebreak() to partialRebreak() and implement
7109 a fullRebreak() that really bereks fully
7111 * textcursor.h: new struct for cursor-related data
7113 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7115 * lyx_main.C (LyX): get full path of document loaded on the
7118 2003-06-26 André Pönitz <poenitz@gmx.net>
7120 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7121 remove unused/broken operator>,<,>=.
7123 * text.C: remove only use of broken operator<= in an Assert().
7125 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7127 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7128 moved errorlist_.clear to showErrorList
7130 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7132 * converter.C (scanLog, runLaTeX):
7133 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7134 move the bv->showErrorList call to the callers
7135 * lyxfunc.C: i.e. here...
7137 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7138 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7139 namespace, the second to...
7140 * buffer_funcs (BufferFormat, parseErrors): added
7141 * errorlist.C (ErrorList(TeXErrors const &)): removed
7143 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7145 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7147 2003-06-24 "Garst R. Reese" <reese@isn.net>
7151 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7153 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7155 * version.C.in: change docversion to 1.4
7157 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7159 * buffer.C: fix a bug just introduced
7161 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7163 * buffer.[Ch]: added the parseError signal and use it, removed
7165 * BufferView.[Ch] (addError): moved to ...
7166 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7167 to the Buffer::parseError signal to catch (guess what) parse errors
7168 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7170 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7172 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7173 ability to create a buffer and to return an existing one from
7174 the list. Moved these functions to...
7175 * buffer_funcs.[Ch]: added
7176 * BufferView.[Ch] (loadLyXFile): added
7177 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7178 job removed from bufferlist::loadLyXFile.
7179 * buffer.C (setReadOnly): make it work without view
7180 (i.e added an if (users))
7182 2003-06-19 Angus Leeming <leeming@lyx.org>
7185 * LyXAction.C (init):
7186 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7187 with LFUN_DIALOG_SHOW <name> <data>.
7189 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7191 * CutAndPaste.C (availableSelections): small compilation fix for
7192 ancient (gcc 2.9x) compilers
7194 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7196 * text3.C (cursorNext): add tmp var
7198 * text2.C (updateCounters): for function calling out of for clause
7199 (replaceSelectionWithString): ditto
7200 (insertStringAsParagraphs): ditto
7201 (getColumnNearX): add tmp var
7202 (setCursorFromCoordinates): add tmp var
7203 (cursorDownParagraph): add tmp var
7204 (deleteEmptyParagraphMechanism): add tmp var
7206 * text.C (insertChar): add tmp var
7208 * rowpainter.C (paintDepthBar): add tmp var
7210 * CutAndPaste.C (availableSelections): potentially check all
7211 paragraphs in a cut to fill the shown strings.
7213 2003-06-18 André Pönitz <poenitz@gmx.net>
7215 * kbmap.[Ch]: use vector<> instead of list<>
7217 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7219 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7220 pasteSelection with index
7222 * text2.C (pasteSelection): modify, call pasteSelection with index
7224 * paragraph.C (asString): reimplement version with no interval to
7225 call the one with interval.
7227 * lyxtext.h: add index arg to pasteSelection
7229 * MenuBackend.C (MenuItem): handle PasteRecent
7230 (Menu::read::Menutags): add md_pasterecent
7232 (expandPasteRecent): new function
7235 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7237 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7239 (availableSelections): new function
7241 2003-06-17 Angus Leeming <leeming@lyx.org>
7243 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7245 2003-06-17 Angus Leeming <leeming@lyx.org>
7248 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7250 * lyxfunc.C (dispatch): invoke it.
7252 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7254 * iterators.C (operator++, ParPosition): reintroduce some
7255 const_cast for the benefit of older compilers.
7257 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7259 * text3.C (dispatch): do not modify clipboard when doing
7260 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7261 LFUN_DELETE_SKIP on a selection selection
7263 2003-06-16 André Pönitz <poenitz@gmx.net>
7269 * tabular.[Ch]: IU of clone() and getLabelList();
7271 2003-06-13 André Pönitz <poenitz@gmx.net>
7273 * tabular.h: compactification
7275 2003-06-12 André Pönitz <poenitz@gmx.net>
7279 * tabular_funcs.h: some renaming plus whitespace
7281 2003-06-12 André Pönitz <poenitz@gmx.net>
7284 * BufferView_pimpl.C:
7290 * toc.C: Return a Paragraph & for ParIterator::operator*()
7292 2003-06-11 John Levon <levon@movementarian.org>
7296 * ToolbarBackend.C: add "Toolbars" section and
7299 2003-06-10 Angus Leeming <leeming@lyx.org>
7302 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7304 * lyxfunc.C (dispatch): invoke it.
7306 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7308 * main.C: protect <ios> with HAVE_IOS
7309 (main): protect sync_with_stdio with HAVE_IOS
7311 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7313 * text2.C (cutSelection): adjust
7314 (pasteSelection): adjust
7316 * messages.C: handle get of empty string
7318 * main.C (main): use sync_with_stdio(false)
7320 * lyxfunc.C (dispatch): adjust
7322 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7323 (WriteAs): remove unneeded BufferView arg.
7325 * bufferparams.h: use correct types on papersize, papersize2 and
7328 * bufferparams.C (readToken): adjust for type
7329 (writeLaTeX): add missing cases to switch.
7331 * bufferlist.C (quitWriteBuffer): adjust
7334 * buffer.C (asciiParagraph): remove some commented code.
7336 * CutAndPaste.C: remove current_view extern variable.
7337 (cutSelection): add BufferParams arg.
7338 (eraseSelection): add BufferParams arg.
7339 (pasteSelection): add Buffer const & arg
7341 2003-06-07 John Levon <levon@movementarian.org>
7344 * paragraph_funcs.C:
7345 * paragraph_pimpl.C:
7349 * paragraph.C: allow InsetERT to freely space lines,
7350 and some consolidation of code
7352 2003-06-06 José Matos <jamatos@fep.up.pt>
7354 * buffer.C (makeDocBookFile): fix bug #821
7356 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7358 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7360 2003-06-04 Angus Leeming <leeming@lyx.org>
7362 * buffer.C: bump format to 224.
7364 2003-06-05 André Pönitz <poenitz@gmx.net>
7366 * text2.C (redoParagraphs): remove two const_cast<>
7368 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7370 * ParagraphList.h: remove last remnants of NO_STD_LIST
7372 2003-06-03 Angus Leeming <leeming@lyx.org>
7374 * factory.C (createInset): small change to the way InsetExternal's params
7377 2003-06-04 André Pönitz <poenitz@gmx.net>
7379 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7381 * paragraph_pimpl.h:
7382 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7384 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7386 * undo_funcs.C: make some simple cases of undo work again
7388 2003-06-03 John Levon <levon@movementarian.org>
7390 * ispell.C: HPUX doesn't have sys/select.h
7393 2003-06-03 John Levon <levon@movementarian.org>
7395 * CutAndPaste.C: update tabular and include inset
7400 * paragraph.C: remove owningBuffer(), don't pass Buffer
7403 * factory.C: insetGraphicsParams changed
7405 2003-06-02 John Levon <levon@movementarian.org>
7411 * text3.C: remove insetparent
7413 2003-06-02 John Levon <levon@movementarian.org>
7416 * buffer.C: fix inset_iterator.end(), move out of line
7419 2003-06-01 John Levon <levon@movementarian.org>
7421 * text3.C: use a proper cut/paste when doing inset
7422 insert (from Jürgen Spitzmüller)
7424 2003-06-01 John Levon <levon@movementarian.org>
7426 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7428 2003-05-30 André Pönitz <poenitz@gmx.net>
7430 * rowpainter.C: unify second drawing phase
7432 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7434 * trans_mgr.C: remove one case of current_view
7436 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7438 * paragraph_funcs.h: remove paragraph.h include
7440 * paragraph.h: delete NO_STD_LIST stuff
7442 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7444 * buffer.h: remove paragraph.h include
7446 * ParagraphList.C: delete file
7448 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7450 * toc.C (getTocList): adjust
7452 * paragraph_pimpl.C (validate): adjust
7454 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7456 * paragraph.C (Paragraph): adjust
7457 (getPositionOfInset): use const_iterator, adjust
7458 (bibitem): use const_iterator, adjust
7459 (setInsetOwner): adjust
7461 * iterators.C (operator++): adjust
7463 * InsetList.[Ch]: Replace selfmade iterator with standard
7464 vector::iterator also introduce const_iterator. Remove getPos,
7465 getInset and setInset from InsetTable. Adjust accordingly.
7467 * BufferView.C (lockInset): adjust
7468 (ChangeInsets): adjust
7470 * tabular.[Ch]: delete commented same_id functions
7472 2003-05-28 John Levon <levon@movementarian.org>
7474 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7476 2003-05-28 André Pönitz <poenitz@gmx.net>
7478 * metricsinfo.[Ch]: remove 'fullredraw' member
7480 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7482 * lyxtextclass.C (operator): remove caching.
7484 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7488 * text2.C (cursorBottom): adjust
7489 (setCounter): use ParagraphList::find, adjust
7491 * text.C (workWidth): use ParagraphList::find, adjust
7493 * lyxcursor.C (LyXCursor): adjust
7495 * buffer.C (inset_iterator): adjust
7497 * ParagraphList.h: make iterator(value_type) private, make
7498 ParagraphList a friend of iterator.
7500 * ParagraphList.C (find): new function
7502 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7504 2003-05-27 André Pönitz <poenitz@gmx.net>
7506 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7508 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7510 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7512 2003-05-26 John Levon <levon@movementarian.org>
7514 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7516 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7518 * remove same_id from function signatures, adjust.
7520 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7522 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7524 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7526 * paragraph.C (Paragraph): get rid of same_ids parameter
7528 * ParagraphList.C (insert): adjust
7531 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7533 * paragraph_funcs.C (breakParagraph): adjust
7534 (breakParagraphConservative): adjust
7536 * buffer.C (readParagraph): adjust
7538 * ParagraphList.C (insert): take a reference instead of a pointer
7541 * paragraph.[Ch] (id): new function
7543 * bufferlist.C (newFile): adjust
7545 * ParagraphList.C (ParagraphList): adjust
7547 (push_back): take a reference instead of a pointer.
7549 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7551 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7554 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7555 set else use old code.
7557 * ParagraphList.C: remove all NO_NEXT code and only compile this
7558 code of NO_STD_LIST is set.
7560 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7562 * BufferView_pimpl.C:
7572 * graphics/GraphicsConverter.C:
7573 * graphics/PreviewLoader.C: header adjustment
7575 2003-05-23 Angus Leeming <leeming@lyx.org>
7577 * LaTeXFeatures.[Ch] (useBabel): new method.
7578 * bufferparams.C (writeLaTeX): use it.
7580 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7582 * ParagraphList.h (set): remove unused function.
7584 2003-05-23 André Pönitz <poenitz@gmx.net>
7587 * BufferView_pimpl.C:
7591 * undo_funcs.C: setUndo reworked
7593 * iterators.[Ch]: add access to topmost ParagraphList
7595 * lyxtext.[Ch] (workWidth): add a const
7597 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7599 * texrow.[Ch] (increasePos): remove function
7600 * exporter.C (export): removed unused var and outdated comment
7602 2003-05-23 Angus Leeming <leeming@lyx.org>
7604 * latexrunparams.h: rename fragile as moving_arg.
7605 * paragraph.C (simpleTeXOnePar): ditto.
7606 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7608 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7610 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7612 (textUndoOrRedo): comment out a currently unused var.
7614 * paragraph.h (NO_NEXT): enable NO_NEXT
7616 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7618 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7620 * exporter.C (Export): adjust for removeAutoInsets removal.
7622 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7624 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7626 * BufferView.[Ch] (removeAutoInsets): delete function
7628 2003-05-22 Angus Leeming <leeming@lyx.org>
7630 * latexrunparams.h: add a free_spacing variable.
7632 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7633 to pass moving_arg, as the data is stored in runparams.fragile.
7635 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7636 to Inset::latexOptional or to simpleTeXOnePar.
7638 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7639 free_spacing arg to Inset::latexOptional.
7641 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7644 2003-05-22 Angus Leeming <leeming@lyx.org>
7646 * latexrunparams.h: add fragile and use_babel variables.
7648 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7649 * buffer.C (makeLaTeXFile): store this returned value in
7650 runparams.use_babel, thus passing it to the inset::latex methods.
7652 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7653 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7655 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7656 longer has a fragile arg, as it is stored in runparams.fragile.
7658 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7659 moving_arg parameter as the data is stored in runparams.fragile.
7661 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7662 a fragile parameter as the data is stored in runparams.fragile.
7664 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7666 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7668 2003-05-22 Angus Leeming <leeming@lyx.org>
7670 * latexrunparams.h: add a 'bool nice' which defaults to false.
7672 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7673 now encapsulated within runparams.
7675 * bufferlist.C (updateIncludedTeXfiles):
7676 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7678 2003-05-22 Angus Leeming <leeming@lyx.org>
7680 * latexrunparams.h: new file containing struct LatexRunParams.
7681 * Makefile.am: add new file.
7683 * LaTeX.[Ch] (c-tor, run):
7684 * buffer.[Ch] (makeLaTeXFile):
7685 * bufferlist.[Ch] (updateIncludedTeXfiles):
7686 * converter.C (convert, scanLog):
7687 * converter.[Ch] (runLaTeX):
7688 * exporter.C (Export):
7689 * paragraph.[Ch] (simpleTeXOnePar):
7690 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7691 * paragraph_funcs.[Ch] (latexParagraphs):
7692 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7693 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7694 pass around a LatexRunParams parameter.
7696 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7698 * paragraph.[Ch]: remove unused constructor
7700 * ParagraphList.C (erase): new function, taking two iterators
7702 2003-05-22 André Pönitz <poenitz@gmx.net>
7704 * undo_funcs.C: remove duplicated code
7706 * iterator.[Ch]: operator=
7708 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7710 * tabular.C (SetMultiColumn): ws changes
7712 * rowpainter.C (paintFirst): get rid of a ->previous
7714 * lyx_cb.C (getPossibleLabel): parlist simplification
7716 * BufferView.C (ChangeInsets): simplify slightly.
7718 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7720 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7721 * lfuns.h: new LFUN_SPACE
7722 * lyxfunc.C: protected space has a new lfun
7723 * paragraph_funcs.C: read new space insets
7725 * factory.C: handle new space insets
7727 2003-05-22 André Pönitz <poenitz@gmx.net>
7730 * BufferView_pimpl.C:
7733 * undo_funcs.C: return a ParIterator from getParFromID.
7735 * iterators.[Ch]: add two const's
7737 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7739 * toc.C (getTocList): adjust
7741 * iterators.[Ch]: rework for parlist
7743 * buffer.C (par_iterator_begin): adjust
7744 (par_iterator_end): adjust
7746 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7748 * BufferView.C (removeAutoInsets): adjust
7749 (ChangeInsets): adjust
7751 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7753 * text.C (top_y): fix bug 1110
7755 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7757 * errorlist.[Ch]: added
7760 * BufferView_pimpl.C:
7761 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7764 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7766 * Makefile.am: ensure that lyx is relinked upon changes to the
7767 various "convenience" libs.
7769 2003-05-20 Angus Leeming <leeming@lyx.org>
7771 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7772 files are compiled in alphabetical order again.
7774 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7776 2003-05-19 Angus Leeming <leeming@lyx.org>
7778 * gettext.[Ch]: remove "char const * _(char const *)".
7780 2003-05-19 André Pönitz <poenitz@gmx.net>
7782 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7791 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7793 2003-05-19 André Pönitz <poenitz@gmx.net>
7797 * lyxtextclass.[Ch]:
7799 * paragraph_funcs.[Ch]:
7801 * text3.C: more insetenv work
7803 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7805 * ParagraphParameters.C (params2string): small bug fixed
7807 2003-05-16 André Pönitz <poenitz@gmx.net>
7810 * bufferview_funcs.C: patch from Kornel Benko to prevent
7811 crash when _(...) is called twice in a statement
7813 2003-05-16 André Pönitz <poenitz@gmx.net>
7820 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7822 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7824 * lyx_main.C (init): remove spurious static_cast
7826 2003-05-14 André Pönitz <poenitz@gmx.net>
7828 * BufferView.C: fix format string
7830 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7832 * BufferView.[Ch] (insertErrors): removed
7833 * BufferView.[Ch] (showErrorList): added
7834 * buffer.C (runChkTeX):
7835 * converter.C (scanLog): call showErrorList instead of inserterrors
7837 2003-05-13 André Pönitz <poenitz@gmx.net>
7839 * BufferView_pimpl.C:
7841 * bufferview_func.C:
7848 * tabular_funcs.h: tostr() from its own header
7850 * ParagraphParameters.C:
7855 * text3.C: STRCONV()
7857 2003-05-12 André Pönitz <poenitz@gmx.net>
7860 * BufferView_pimpl.C:
7864 * ParagraphParameters.C:
7868 * bufferview_funcs.C:
7881 * paragraph_funcs.C:
7885 * text3.C: boost::format -> bformat all over the place
7888 2003-05-09 André Pönitz <poenitz@gmx.net>
7890 * LColor.[Ch]: Pimpl the #include <map> away
7892 2003-05-09 John Levon <levon@movementarian.org>
7894 * bufferlist.C: never remove emergency saves
7896 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7898 * Makefile.am: better lib building
7900 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7902 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7904 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7905 (simpleTeXSpecialChars): adjust
7906 (simpleTeXSpecialChars): adjust
7907 * paragraph.C (simpleTeXOnePar): adjust
7908 * buffer.C (makeLaTeXFile): adjust
7910 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7912 * text2.C (changeDepth): parlist cleanup
7913 (getColumnNearX): ditto
7915 * rowpainter.C (getLabelFont): parlist cleanup
7917 * bufferlist.C (newFile): parlist cleanup
7919 * CutAndPaste.C (eraseSelection): parlist cleanup
7921 * BufferView_pimpl.C (trackChanges): parlist cleanup
7924 * BufferView.C (lockInset): parlist cleanup.
7925 (ChangeInsets): ditto
7927 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7929 * CutAndPaste.h: Update file header.
7931 * CutAndPaste.C: Update file header.
7932 Store the parts cut out of the Document in a limited_stack.
7933 (copySelection): adjust
7934 (pasteSelection): new function, takes the index in the limited stack.
7935 (nrOfParagraphs): adjust
7936 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7937 simplify error inset insertion.
7938 (checkPastePossible): adjust
7940 2003-05-06 John Levon <levon@movementarian.org>
7942 * text2.C: don't cast wrap inset to float
7944 2003-05-05 André Pönitz <poenitz@gmx.net>
7947 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7949 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7950 few naked Paragraph *.
7952 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7954 * bufferparams.C: Output warning if a document with missing
7955 TeX document class is loaded
7956 * exporter.C: Disable TeX exports if the document class is missing
7959 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7960 isTeXClassAvailable()
7962 2003-05-03 John Levon <levon@movementarian.org>
7965 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7966 explicit cursor show/hide
7968 * BufferView_pimpl.h:
7969 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7970 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7972 * lyxfunc.C: hide cursor before dispatching.
7977 * text3.C: remove explicit cursor hides
7979 2003-05-02 André Pönitz <poenitz@gmx.net>
7981 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7984 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7987 * text2.C: tiny whitespace
7989 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7991 * undo_funcs.C: almost only ws changes.
7993 * ParagraphList.C (splice): just return if pl is empty.
7995 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7997 * ParagraphList.C (splice): new function.
7999 * CutAndPaste.C (pasteSelection): use it
8001 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8003 * CutAndPaste.C (pasteSelection): remove the last next and
8004 previous from this file.
8006 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8008 * CutAndPaste.C (pasteSelection): more clean up, user proper
8009 ParagraphList functions for pasteing.
8011 * ParagraphList.C (insert): new function, three arg insert
8013 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8015 * ParagraphList.C (insert): new function, three arg insert
8017 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8020 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8022 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8024 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8026 * CutAndPaste.C (pasteSelection): remove some unneeded code.
8028 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8030 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8031 (copySelection): clean up a bit.
8032 (pasteSelection): use make_pair
8034 * ParagraphList.C (ParagraphList): implement copy constructor
8035 (operator=): implement, base on copy constructor.
8038 * paragraph.C (erase): return a bool
8040 * paragraph_pimpl.C (erasePos): remove function, move contents...
8041 (erase): ... here. Return a bool.
8042 (erase): call erase instead of erasePos.
8044 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
8046 * ParagraphList.h: define PitPosPair
8047 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8048 ParagraphList, fix a bug on pasting multiple pars
8049 * text2.C: change interface to C&P
8051 2003-04-30 André Pönitz <poenitz@gmx.net>
8053 * undo_func.C: revert part of yesterday's patch 2
8055 2003-04-30 John Levon <levon@movementarian.org>
8057 * LColor.C: s/tabular/table/
8059 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8061 * text3.C (dispatch): do not convert iterator -> pointer
8062 * undo_funcs.C (setCursorParUndo): ditto
8063 * text_funcs.C (transposeChars): ditto
8065 * text2.C (setLayout): ws changes only
8067 * text.C (breakParagraph): do not convert iterator -> pointer
8069 (acceptChange): ditto
8070 (rejectChange): ditto
8075 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8078 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8080 * text3.C (gotoInset): YABG (yet another bad getChar)
8082 2003-04-29 André Pönitz <poenitz@gmx.net>
8084 * paragraph.h: make operator= private unimplemented as long as
8087 * ParagraphList.C: whitespace
8090 * paragraph_pimpl.[Ch]:
8091 * paragraph_funcs.C:
8093 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8096 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8098 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8100 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8101 * paragraph.[Ch] (erase):
8102 * paragraph_pimpl.[Ch] (erase): change return type and value
8103 * text2.C (cutSelection): some rework
8105 2003-04-28 John Levon <levon@movementarian.org>
8107 * bufferlist.C: changes for unsaved changes dialog
8109 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8111 * bufferlist.C (newFile): set language (messages_) for new
8114 * buffer.C (readFile): ws changes only.
8116 2003-04-28 André Pönitz <poenitz@gmx.net>
8121 * BufferView_pimpl.C:
8122 * BufferView.C: getParFromID related ParagraphList::iterator changes
8124 2003-04-28 André Pönitz <poenitz@gmx.net>
8126 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8129 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8131 * messages.C: remove one more localedir class variable.
8133 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8135 * messages.C (getLocaleDir): singleton generation function
8137 (Messages): add a default constructor.
8139 * main.C (main): do not setup localedir here, do not call
8142 * gettext.C (_): use it.
8143 (gettext_init): delete funciton
8145 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8147 * gettext.C (getLyXMessages): new singleton generating function.
8149 * buffer.C (updateDocLang): adjust
8151 * Makefile.am (messages.o): add target
8152 (main.o): remove target
8154 2003-04-27 John Levon <levon@movementarian.org>
8159 * lyxvc.C: specify cancel button in Alert::prompt
8161 2003-04-26 John Levon <levon@movementarian.org>
8166 * LyXAction.C: add LFUN_INSET_SETTINGS
8168 * lyxfunc.C: don't enable tabular-feature when there's
8169 just any locking inset
8171 2003-04-26 John Levon <levon@movementarian.org>
8173 * bufferlist.C: re-add Cancel to buffer close question
8175 * lyxfunc.C: fix import UI a bit
8177 2003-04-25 John Levon <levon@movementarian.org>
8179 * gettext.C: remove the broken asserts for now
8181 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8183 * messages.C: make case where setlocale cannot comply work better.
8185 * buffer.C (updateDocLang): new function
8186 (changeLanguage): use it
8189 * text2.C (setCounter): use B_ a bit.
8191 * lyxlayout.C (Read): be sure to trim the label strings.
8193 * messages.C (Messages): fix typo in comment
8195 * buffer.C (readFile): set message_ after file is loaded.
8196 (makeDocBookFile): remove double return
8197 (changeLanguage): reset message_ upon language change.
8198 (B_): new func, use this to get translated buffer strings.
8200 * main.C: add myself and Jean Marc as authors.
8202 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8204 * messages.[hC]: pimplify Messages, and three different pimpls to be
8205 used in different circumstances.
8207 * gettext.[Ch]: change for use with new message code.
8209 2003-04-24 André Pönitz <poenitz@gmx.net>
8211 * factory.C: support for eqref
8213 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8215 * messages.[Ch]: add missing char
8217 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8219 * messages.[Ch]: New files
8221 2003-04-18 John Levon <levon@movementarian.org>
8225 * BufferView_pimpl.C:
8229 * text2.C: remove layout-copy/paste (bug 778)
8231 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8233 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8235 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8237 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8238 if they succeed. Act accordingly.
8240 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8242 * text2.C (setCharFont): adjust
8243 (setCounter): adjust
8244 (insertStringAsLines): adjust
8246 * text.C (leftMargin): adjust
8247 (setHeightOfRow): adjust
8249 * rowpainter.C (paintFirst): adjust
8252 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8254 (isFirstInSequence): ditto
8255 (getEndLabel): ditto
8258 * paragraph.C (getParLanguage): comment out some hard stuff.
8260 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8262 (simpleDocBookOnePar): ditto
8263 (makeDocBookFile): use ParagraphList::iterator
8265 * CutAndPaste.C (pasteSelection): adjust
8267 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8269 * text2.C (getFont): adjust
8270 (getLayoutFont): adjust
8271 (getLabelFont): adjust
8273 * paragraph_funcs.C (TeXOnePar): adjust
8275 * buffer.C (simpleLinuxDocOnePar): adjust
8276 (simpleDocBookOnePar): adjust
8278 * CutAndPaste.C (pasteSelection): adjust
8280 * BufferView.C (getEncoding): adjust
8282 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8284 2003-04-16 John Levon <levon@movementarian.org>
8286 * lyxfind.C: use parlist stuff for search/changes
8288 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8290 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8292 * text2.C (deleteEmptyParagraphMechanism): adjust
8294 * text2.[Ch] (ownerParagraph): delete func (both of them
8296 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8298 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8300 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8302 * ParagraphList.C: prepare for NO_NEXT
8304 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8306 * text2.C (getFont): adjust
8307 (getLayoutFont): adjust
8308 (getLabelFont): adjust
8310 * paragraph.C (getFont): adjust
8311 (getLabelFont): adjust
8312 (getLayoutFont): adjust
8314 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8316 2003-04-15 John Levon <levon@movementarian.org>
8320 * lyx_main.C: handle Include in .ui files
8322 2003-04-15 John Levon <levon@movementarian.org>
8324 * MenuBackend.C: make the doc files length shorter
8327 * ToolbarBackend.C: handle toolbar placement flags,
8330 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8332 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8335 * paragraph_funcs.C (TeXOnePar): adjust
8337 * paragraph.C (getLabelFont): add outerfont arg, adjust
8338 (getLayoutFont): ditto
8339 (simpleTeXOnePar): adjust
8341 * paragraph_pimpl.C (realizeFont): delete func
8343 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8345 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8346 row argument, constify cur argument.
8348 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8350 * text2.C (getFont): adjust
8351 (getLayoutFont): adjust
8352 (getLabelFont): adjust
8354 * paragraph_funcs.C (TeXOnePar): adjust
8355 (outerFont): new func...
8356 (realizeFont): ...moved out from here, changed this to facilitate
8359 * paragraph.C (getFont): take outerfont as arg, adjust
8360 (simpleTeXOnePar): add outerfont arg, adjust
8362 * buffer.C (simpleLinuxDocOnePar): adjust
8363 (simpleDocBookOnePar): adjust
8365 * CutAndPaste.C (pasteSelection): adjust
8367 * BufferView.C (getEncoding): adjust
8369 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8371 * text2.C (setCharFont): adjust
8372 (setCounter): adjust
8374 * text.C (leftMargin): adjust
8375 (setHeightOfRow): adjust
8377 * rowpainter.C (paintFirst): adjust
8380 * paragraph_pimpl.C (realizeFont): adjust
8382 * paragraph.C (isFirstInSequence): move from here...
8383 * paragraph_funcs.C (isFirstInSequence): ...to here
8385 * paragraph.C (outerHook): move from here...
8386 * paragraph_funcs.C (outerHook): ...to here
8388 * paragraph.C (depthHook): move from here...
8389 * paragraph_funcs.C (depthHook): ...to here
8391 * paragraph.C (getEndLabel): move from here...
8392 * paragraph_funcs.C (getEndLabel): ...to here
8394 * text2.C (realizeFont): move from here...
8395 * paragraph_funcs.C (realizeFont): ...to here
8397 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8399 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8401 2003-04-14 Angus Leeming <leeming@lyx.org>
8403 * LColor.[Ch]: scrap LColor mathcursor.
8405 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8407 * lyxlex.[Ch] (text): delete function
8408 * trans.C (Load): adjust
8409 * paragraph_funcs.C (readParToken): adjust
8411 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8413 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8414 vector<char> instead of a char[].
8416 * lyxlex_pimpl.C (getString): adjust
8418 (lex): use getString
8422 * lyxlex.C (text): use pimpl_->getString()
8426 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8428 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8429 (makeFontEntriesLayoutSpecific): temp var for par.size()
8430 (setLayout): temp var for ownerParagraphs().end()
8431 (fullRebreak): temp var for rows().end()
8432 (selectionAsString): temp var for boost::next(startpit), realize
8433 that the while really is a regular for loop.
8434 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8435 setCursor in one place.
8436 (setParagraph): temp vr for ownerParagraphs().end()
8437 (updateCounters): make the while loop a for loop
8438 (cutSelection): temp var for ownerParagraphs().end()
8439 (updateInset): make the do {} while() a regular for loop
8440 (getCursorX): use temp vars
8441 (setCurrentFont): use temp vars
8442 (getColumnNearX): use temp vars
8444 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8446 * text.C (transformChar): use temp var for getChar
8447 (computeBidiTables): use temp var for row->par()
8448 (fill): move temp vars for row->par() and pit->layout() earlier in
8450 (labelFill): use temp var for row->par()
8451 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8452 asc and desc, realize that pit never changes and that firstpit is
8453 just a duplicate and not needed. Exchange rit->par() with pit in a
8455 (breakAgain): use a temp var for boost::next(rit)
8456 (breakAgainOneRow): ditto
8457 (breakParagraph): use a temp var for rows().begin()
8458 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8459 (cursorRightOneWord): use temp var for cursor.par() and
8460 cursor.pos(), remove usage of tmpcursor.
8461 (cursorLeftOneWord): use temp var for cursor.par() and
8462 cursor.pos() only set cur at end of function.
8464 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8466 * text.C, text2.C: exchange all usage of Paragraph::next with
8467 boost::next(ParagraphList::iterator)
8469 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8471 * text2.C (cursorTop): simplify implementation
8472 (cursorBottom): ditto
8473 (setParagraph): use ParagraphList::iterator
8474 (setCurrentFont): adjust
8475 (getColumnNearX): adjust
8476 (cursorRight): adjust
8477 (cursorLeft): remove usage of Paragraph::previous
8478 (cursorUpParagraph): ditto
8479 (deleteEmptyParagraphMechanism): slight cleanup
8481 * text.C (isBoundary): take a Paragraph const & instead of a
8483 (addressBreakPoint): ditto
8484 (leftMargin): remove usage of Paragraph::previous.
8485 (setHeightOfRow): ditto
8486 (cursorLeftOneWord): ditto
8487 (selectNextWordToSpellcheck): ditto
8490 (breakParagraph): remove one usage of Paragraph::next
8491 (redoParagraph): ditto
8492 (acceptChange): ditto
8493 (insertChar): adjust
8494 (rowBreakPoint): adjust
8496 * bufferview_funcs.C (toggleAndShow): adjust
8498 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8500 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8501 methods to access it.
8503 * text.C: Added updateRowPositions to compute all row positions.
8504 Make top_y and getRowNearY() to use the cached y position
8506 2003-04-11 John Levon <levon@movementarian.org>
8508 * text.C (rowBreakPoint): reintroduce the labelEnd
8509 checks, code copied from the row fill stuff. Deep voodoo.
8511 * text.C (fill): add a comment and debugging for the
8514 2003-04-11 John Levon <levon@movementarian.org>
8516 * text.C: make sure fullrow insets get wrapped to the next line,
8517 even when they're in a manual label
8519 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8521 * text2.C (insertParagraph): make it take ParagraphList::iterator
8523 (setLayout): make it return ParagraphList::iterator
8524 (redoParagraphs): ditto
8526 (checkParagraph): ditto
8528 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8530 * text2.C: adjust several funcs.
8531 (realizeFont): take a ParagraphList::iterator as arg.
8532 (getLayoutFont): ditto
8533 (getLabelFont): ditto
8534 (setCharFont): ditto
8536 * text.C: adjust several funcs.
8538 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8540 * text.C (selectNextWordToSpellcheck): don't accidentally
8543 2003-04-10 John Levon <levon@movementarian.org>
8545 * ToolbarBackend.C (getIcon): special handling for
8548 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8550 * text2.C (cursorRight): a getChar assert fixed
8552 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8554 * text2.C (getFont): change to take a ParagraphList::iterator
8555 instead of Paragraph*
8556 Adjust several functions.
8558 * text.C (transformChar): change to take a ParagraphList::iterator
8559 instead of Paragraph*
8560 (singleWidth): ditto
8561 Adjust several functions.
8563 * rowpainter.C: adjust several functions
8564 * rowpainter.h:store a ParagraphList::iterator and not a
8568 2003-04-09 John Levon <levon@movementarian.org>
8573 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8574 and the "help" bits as well
8576 2003-04-09 John Levon <levon@movementarian.org>
8579 * ToolbarBackend.C: allow multiple toolbars
8581 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8583 * undo_funcs.C (setCursorParUndo): adjust
8585 * text_funcs.C (transposeChars): adjust
8587 * text3.C (gotoNextInset): adjust
8590 * text2.C (setLayout): adjust
8591 (changeDepth): adjust
8593 (redoParagraphs): adjust
8594 (selectionAsString): adjust
8595 (setParagraph): adjust
8596 (insertInset): adjust
8597 (cutSelection): adjust
8598 (copySelection): adjust
8599 (pasteSelection): adjust
8600 (insertStringAsLines): adjust
8601 (updateInset): adjust
8602 (setCursor): change to take a ParagraphList::iterator parameter
8603 (setCursorIntern): change to take a ParagraphList::iterator parameter
8604 (setCurrentFont): adjust
8605 (cursorLeft): adjust
8606 (cursorRight): adjust
8607 (deleteEmptyParagraphMechanism): adjust
8609 * text.C (breakParagraph): adjust
8610 (insertChar): adjust
8611 (acceptChange): adjust
8612 (rejectChange): adjust
8613 (selectNextWordToSpellcheck): adjust
8614 (changeCase): adjust
8618 * lyxfind.C (SearchForward): adjust
8619 (SearchBackward): adjust
8620 (nextChange): adjust
8622 * lyxcursor.C (par): adjust
8624 * lyxcursor.h: store a ParagraphList::iterator instead of a
8627 * lyx_cb.C (getPossibleLabel): adjust
8629 * bufferview_funcs.C (toggleAndShow): adjust
8631 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8634 * BufferView.C (removeAutoInsets): adjust
8635 (lockedInsetStoreUndo): adjust
8637 2003-04-09 John Levon <levon@movementarian.org>
8639 * ToolbarBackend.C: try icon without argument
8640 if with argument fails
8642 2003-04-08 John Levon <levon@movementarian.org>
8645 * ToolbarBackend.C: add getIcon(), handle tooltip,
8646 and change from "Icon" to "Item".
8648 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8650 * BufferView.C (lockInset): another bad getchar crunched
8652 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8654 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8657 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8659 * lyxfind.C (searchForward, searchBackwards): bug 782
8661 2003-04-07 John Levon <levon@movementarian.org>
8663 * paragraph.C: remove dead comment
8665 * text.C: remove troublesome depth-fiddling code
8666 in leftMargin() and rightMargin() (bug 1017)
8668 * text.C: fix breaking of rows in nested lists
8671 * text2.C (updateCounters): fix up depth values
8674 2003-04-07 John Levon <levon@movementarian.org>
8676 * BufferView_pimpl.C: clear message when doc finishes resizing,
8677 and after a mouse event
8679 * lyxfunc.C: clear message after exiting inset
8681 2003-04-07 John Levon <levon@movementarian.org>
8683 * bufferview_funcs.C: show math status not outside
8684 status in the statusbar
8686 2003-04-07 John Levon <levon@movementarian.org>
8688 * lyxfunc.C: note status changed after a depth change
8690 2003-04-04 Angus Leeming <leeming@lyx.org>
8692 * LaTeX.h: move AuxInfo operator==, != out of line.
8693 Remove LaTeX virtual destructor; nothing derives from it.
8694 Move operator()() out of public area and rename it startscript().
8695 Change protected for private.
8697 2003-04-04 Angus Leeming <leeming@lyx.org>
8700 * text2.C: remove unneeded #includes.
8702 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8704 * text2.C (dEPM): fix the heigth of the next row
8706 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8708 * text.C: squashed an invalid getChar requester + some ws changes
8710 2003-04-03 John Levon <levon@movementarian.org>
8712 * bufferview_funcs.h:
8713 * bufferview_funcs.C:
8716 * text2.C: make getStatus work for the env depth lfuns
8718 2003-04-03 John Levon <levon@movementarian.org>
8720 * bufferview_funcs.h:
8721 * bufferview_funcs.C:
8724 * text2.C: parlistize decDepth(), by merging it with incDepth()
8726 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8728 * lyxrow.h: store a ParagraphList::iterator instead of a
8729 Paragraph* and adjust other class functions to suit.
8731 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8734 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8736 * text2.C (setCursor): do not anchor to cursor row for the time being
8738 2003-04-02 John Levon <levon@movementarian.org>
8745 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8747 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8749 * paragraph.h: make ParagraphList and ParagraphList::iterator
8750 friends of Paragraph.
8752 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8754 * ParagraphList.C: Use the private next_ and previous_ from
8757 2003-04-01 John Levon <levon@movementarian.org>
8761 * Makefile.am: rename, remove defaults gunk
8764 * MenuBackend.C: remove defaults gunk
8767 * Languages.C: remove defaults gunk
8770 * lyx_main.C: error out if files couldn't be found.
8772 2003-04-02 John Levon <levon@movementarian.org>
8774 * text2.C: make incDepth() use parlist
8776 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8778 * undo_funcs.C (firstUndoParagraph): adjust
8780 * text3.C (gotoInset): adjust
8781 (dispatch): adjust, and rewrite loop.
8783 * text2.C (init): adjust, and rewrite loop.
8784 (redoParagraphs): adjust
8785 (updateInset): adjust, and rewrite loop.
8786 (deleteEmptyParagraphMechanism): adjust
8788 * tabular.C (LyXTabular): adjust
8789 (SetMultiColumn): adjust
8792 * lyxtext.[Ch] (ownerParagraph): delete function
8793 (ownerParagraphs): new function returns a ParagraphList.
8795 * BufferView.C (removeAutoInsets): adjust
8796 (insertErrors): adjust
8797 (setCursorFromRow): adjust
8799 2003-04-01 Angus Leeming <leeming@lyx.org>
8801 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8804 2003-04-02 John Levon <levon@movementarian.org>
8810 * text_funcs.C: make transposeChars a free function
8812 * lyxrow_funcs.C: remove wrong comment
8814 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8817 * rowpainter.C: adjust
8822 * lyxrow_funcs. [Ch]: new files
8824 * lyxrow.[Ch]: remove next and previous pointers
8825 (next,previous): remove accessor functions
8826 (isParEnd): move to lyxrow_funcs
8827 (lastPos): move to lyxrow_funcs
8828 (nextRowIsAllInset): move to lyxrow_funcs
8829 (lastPrintablePos): move to lyxrow_funcs
8830 (numberOfSeparators): move to lyxrow_funcs
8831 (numberOfHfills): move to lyxrow_funcs
8832 (numberOfLabelHfills): move to lyxrow_funcs
8833 (hfillExpansion): move to lyxrow_funcs
8837 * bufferview_funcs.C (toggleAndShow): adjust
8839 * RowList.h: Remove class RowList from file leave just a
8842 * RowList.C: delete file
8844 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8847 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8849 * text3.C (cursorPrevious): adjust
8850 (cursorNext): adjust
8853 * text2.C (redoHeightOfParagraph): adjust
8854 (redoDrawingOfParagraph): adjust
8857 * text.C (breakParagraph): adjust
8858 (insertChar): adjust
8861 * rowpainter.C (RowPainter): adjust
8862 (leftMargin): simplify and adjust
8863 (most rowpainter functions): adjust.
8865 * rowpainter.h: store the row as RowList::iterator not as Row*
8867 * lyxcursor.C (row): taka RowList::iterator as arg
8870 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8873 2003-04-01 Angus Leeming <leeming@lyx.org>
8875 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8876 stuff like bool Bool.
8878 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8880 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8883 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8885 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8888 * lyxtext.h (rows): drop one version and leve a const variant that
8889 returns a RowList::iterator.
8891 2003-03-31 Angus Leeming <leeming@lyx.org>
8893 * text.C (fill): ensure that the signature is the same as that in the
8896 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8898 * text2.C (redoParagraphs): adjust
8899 (updateCounters): adjust
8900 (checkParagraph): adjust
8901 (getColumnNearX): adjust and reformat a bit.
8903 * text.C (top_y): adjust
8905 (leftMargin): adjust
8906 (prepareToPrint): adjust
8908 (getRowNearY): adjust
8910 * lyxtext.h: make rowlist_ mutable.
8912 * RowList.h: add const_iterator
8913 * RowList.C: adjust for RowList::const_iterator.
8915 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8918 2003-03-31 John Levon <levon@movementarian.org>
8921 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8923 * lyx_main.C: set default fonts from using lyx_gui funcs
8925 * exporter.C: pdf_mode moved from lyxrc
8928 * lyxfunc.C: changes from above
8930 2003-03-31 John Levon <levon@movementarian.org>
8932 * lyx_main.C: fix to the last fix
8934 2003-03-31 John Levon <levon@movementarian.org>
8936 * bufferlist.C: "Load original" -> "Load Original"
8942 * format.C: more Alert cleanups
8944 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8946 * text2.C (removeParagraph): make it take a RowList::iterator as
8948 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8949 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8951 * text.C (anchor_row): make it take a RowList::iterator as arg,
8953 (computeBidiTables): make it take a const reference to Row instead
8954 of Row pointer, adjust.
8955 (leftMargin): make it take a RowList::iterator as arg, adjust.
8956 (rowBreakPoint): adjust
8957 (breakAgainOneRow): make it take a RowList::iterator as arg,
8959 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8961 * bufferview_funcs.C (toggleAndShow): adjust
8963 2003-03-30 John Levon <levon@movementarian.org>
8967 * boost-inst.C: moved to support
8969 * several files: changes as a result
8971 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8973 * text2.C (LyXText): adjust.
8975 (removeRow): make it take a RowList::iterator as arg, adjust.
8976 (fullRebreak): adjust
8977 (deleteEmptyParagraphMechanism): adjust
8978 (clearPaint): adjust
8981 * text.C (top_y): adjust
8982 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8983 (breakAgain): make it take a RowList::iterator as arg, adjust.
8984 (breakParagraph): adjust
8985 (insertChar): adjust
8988 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8989 need_break_row, and refresh_row.
8991 * text3.C (dispatch): adjust
8993 * text2.C (checkParagraph): adjust
8995 (setCursorFromCoordinates): adjust
8997 * text.C (top_y): adjust
8999 (getRow): make it return a RowList::iterator, adjust
9000 (getRowNearY): make it return a RowList::iterator, adjust
9002 * text2.C (init): adjust
9003 (insertRow): remove function
9004 (insertParagraph): adjust
9005 (redoParagraphs): adjust
9006 (fullRebreak): adjust
9007 (updateCounters): adjust
9009 * text.C (top_y): rewrite to use RowList iterators.
9011 (setHeightOfRow): rewrite to sue RowList iterators.
9012 (appendParagraph): adjust
9013 (breakAgain): adjust
9014 (breakAgainOneRow): adjust
9015 (breakParagraph): adjust
9017 (getRowNearY): adjust, and remove commented code.
9019 * lyxtext.h (firstRow): delete function
9020 (lastRow): delete function
9021 (rows): new function (const and non-const versions.)
9022 (insertRow): delete function
9024 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9026 2003-03-29 John Levon <levon@movementarian.org>
9028 * BufferView_pimpl.C: always update scrollbar top
9029 because pasting text when we're anchored could mean we
9030 miss an update altogether
9032 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9034 * text2.C (init): use rowlist_.end() and not 0.
9035 (insertRow): change to take a RowList::iterator as arg, adjust
9037 (insertParagraph): change to take a RowList::iterator as arg,
9039 (redoParagraphs): remove some debug msgs.
9041 * text.C (appendParagraph): change to take a RowList::iterator
9042 arg, adjust for this.
9043 (breakAgain): add an assert
9044 (breakAgainOneRow): ditto
9046 2003-03-29 John Levon <levon@movementarian.org>
9048 * text2.C: do not clear selection after inc/decDepth
9051 2003-03-29 John Levon <levon@movementarian.org>
9054 * buffer.C: fix broken strerrors according to Lars
9056 2003-03-29 John Levon <levon@movementarian.org>
9058 * converters.C: more Alert cleanups
9060 2003-03-29 John Levon <levon@movementarian.org>
9062 * bufferview_funcs.C: remove pointless Alert
9064 * buffer.C: fix confusing error message when
9065 a template is chmoded 000
9067 2003-03-29 John Levon <levon@movementarian.org>
9071 * BufferView_pimpl.C: Alert fixes
9075 * tabular-old.C: remove unused table compat reading
9077 2003-03-29 John Levon <levon@movementarian.org>
9082 * lyx_cb.C: more Alert cleanups
9084 * lyxfunc.C: don't allow chktex if not latex document
9086 2003-03-29 John Levon <levon@movementarian.org>
9090 * buffer.C: warnings pushed down from support/,
9093 2003-03-29 John Levon <levon@movementarian.org>
9095 * lyxfunc.C: safety check for C-r (revert)
9097 2003-03-29 John Levon <levon@movementarian.org>
9100 * bufferlist.C: several UI fixes using Alert::prompt.
9101 Fix the pointless looping quit code. Fix stupid revert
9106 * lyx_cb.C: use Alert::prompt
9108 * lyx_main.C: remove a silly question
9110 * lyxfunc.C: remove a couple of silly questions,
9113 2003-03-28 John Levon <levon@movementarian.org>
9115 * text2.C: fix bug 974 (End on empty par)
9117 2003-03-28 John Levon <levon@movementarian.org>
9119 * BufferView_pimpl.C:
9121 * lfuns.h: remove do-nothing math greek lfuns
9123 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9125 * lyxgluelength.h (isValidGlueLength): add default arg on
9126 parameter 2. Remove default arg from friend in class.
9128 * lyxlength.h (isValidLength): add default arg on parameter 2.
9129 Remove default arg from friend in class.
9131 * text2.C (LyXText): adjust, initialize refresh_row.
9135 (insertParagraph): adjst
9136 (redoParagraphs): adjust
9137 (fullRebreak): adjust
9138 (updateCounters): adjust
9139 (deleteEmptyParagraphMechanism): first attempt at fixing a
9142 * text.C (top_y): adjust
9143 (setHeightOfRow): adjust
9145 (getRowNearY): adjust
9147 * lyxtext.h: include RowList.h
9148 (~LyXText): not needed anymore, deleted.
9149 (firstRow): modify for RowList
9150 (lastRow): new function
9151 Delete firstrow and lastrow class variables, add a Rowlist
9152 rowlist_ class variable.
9154 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9157 * RowList.C (insert): fix case where it == begin().
9159 2003-03-26 Angus Leeming <leeming@lyx.org>
9161 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9162 the thesaurus dialog.
9164 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9166 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9168 * RowList.[Ch]: new files
9170 * ParagraphList.C (erase): handle the case where it == begin
9173 2003-03-25 John Levon <levon@movementarian.org>
9177 * aspell.C: add new aspell support
9180 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9183 2003-03-25 Angus Leeming <leeming@lyx.org>
9186 * LyXAction.C (init): new LFUN_INSET_INSERT.
9188 * BufferView_pimpl.C (dispatch): split out part of the
9189 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9191 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9194 2003-03-25 Angus Leeming <leeming@lyx.org>
9196 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9198 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9201 * text3.C: remove useless row->height(0)
9203 2003-03-25 John Levon <levon@movementarian.org>
9207 * text3.C: rename the refreshing stuff to better names
9209 2003-03-24 John Levon <levon@movementarian.org>
9211 * BufferView_pimpl.h:
9212 * BufferView_pimpl.C: update layout choice on a mouse
9215 2003-03-23 John Levon <levon@movementarian.org>
9217 * Makefile.am: fix commandtags.h reference
9219 2003-03-22 John Levon <levon@movementarian.org>
9221 * BufferView_pimpl.C:
9226 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9228 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9231 * text.C: take the rtl methods out of line
9233 2003-03-21 André Pönitz <poenitz@gmx.net>
9235 * metricsinfo.[Ch]: new files containing structures to be passed around
9236 during the two-phase-drawing...
9238 2003-03-21 André Pönitz <poenitz@gmx.net>
9240 * lyxtextclass.C: read 'environment' tag.
9242 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9244 * text2.C (removeRow): fix bug 964
9246 2003-03-20 John Levon <levon@movementarian.org>
9250 * text2.C: paint cleanups. Inset::update() dropped font
9253 2003-03-19 John Levon <levon@movementarian.org>
9255 * lyxfunc.C: only fitcursor/markDirty if available()
9257 2003-03-19 John Levon <levon@movementarian.org>
9259 * commandtags.h: rename to ...
9261 * lfuns.h: ... this, and renumber / cleanup
9263 2003-03-19 John Levon <levon@movementarian.org>
9265 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9266 fit the cursor after an lfun
9270 * BufferView_pimpl.h:
9271 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9273 * LyXAction.C: layout-character should have ReadOnly
9275 * ParagraphParameters.C:
9277 * bufferview_funcs.C:
9284 * undo_funcs.C: changes from above
9286 2003-03-18 John Levon <levon@movementarian.org>
9288 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9289 remove it from update()
9291 * lyxfunc.C: update layout choice after an lfun
9293 * text3.C: remove extra updateLayoutChoice()s
9295 2003-03-18 John Levon <levon@movementarian.org>
9297 * text.C: top_y change means full repaint, fix
9298 a drawing bug with cursor movement
9300 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9304 * text2.C: anchor row on setCursor
9306 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9308 * lyxtext.h: remove almost all mutable keywords
9311 * text3.C: remove const keywords accordingly
9313 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9315 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9317 (TeXEnvironment): ditto
9320 2003-03-17 John Levon <levon@movementarian.org>
9322 * text.C (rowBreakPoint): remove attempt to fix displayed
9323 math insets inside a manual label
9325 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9327 * lyxtext.h: remove BufferView* as first arg from almost all class
9329 * other files: adjust.
9331 2003-03-17 John Levon <levon@movementarian.org>
9335 * text2.C: more paint cleanups
9337 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9340 * rowpainter.C: remove "smart" background painting code
9342 2003-03-16 John Levon <levon@movementarian.org>
9347 * text3.C: add helper functions for setting refresh_row/y
9349 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9351 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9352 newline inset which *can* get inserted in the pass_thru layouts.
9353 This is primarily for literate documents.
9355 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9357 * buffer.C: increment LYX_FORMAT to 223
9359 2003-03-14 André Pönitz <poenitz@gmx.net>
9361 * textclass.h: prepare for environment handling, ws changes
9362 * lyxlayout.C: read latexheader and latexfooter tags
9364 2003-03-14 John Levon <levon@movementarian.org>
9366 * text2.C: rewrite ::status() a bit
9368 2003-03-13 John Levon <levon@movementarian.org>
9370 * lyxtext.h: add some docs
9372 2003-03-13 John Levon <levon@movementarian.org>
9377 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9379 2003-03-13 John Levon <levon@movementarian.org>
9381 * text3.C: fix appendix redrawing
9383 2003-03-13 John Levon <levon@movementarian.org>
9385 * text.C (setHeightOfRow):
9387 * rowpainter.C: make appendix mark have the text
9388 "Appendix" so the user knows what it is
9391 * LColor.C: s/appendixline/appendix/ from above
9393 2003-03-13 John Levon <levon@movementarian.org>
9395 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9397 * text.C: fix a getChar(pos) bug properly
9399 2003-03-13 Angus Leeming <leeming@lyx.org>
9402 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9403 Probably only temporary. Let's see how things pan out.
9405 * BufferView.C (unlockInset):
9406 * BufferView_pimpl.C (fitCursor):
9407 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9409 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9410 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9412 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9413 new functions that convert ParagraphParameters to and from a string.
9415 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9416 BufferView::Pimpl's dispatch.
9417 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9419 2003-03-13 André Pönitz <poenitz@gmx.net>
9423 * factory.C: make it aware of InsetEnv
9425 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9427 * text2.C (setCursor): never ask for one past last
9428 (setCursor): add some debugging messages.
9430 * text.C (singleWidth): never ask for one past last
9431 (singleWidth): ditto
9433 (rightMargin): ditto
9434 (rowBreakPoint): ditto
9435 (setHeightOfRow): ditto
9436 (prepareToPrint): ditto
9438 * rowpainter.C (paintBackground): never ask for one past last
9439 (paintText): never ask for one past last
9441 * paragraph_pimpl.C (getChar): make the assert stricter, never
9442 allow the one past last pos to be taken
9444 * paragraph.C (getChar): ws changes only
9446 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9447 (numberOfSeparators): ditto
9448 (numberOfHfills): ditto
9450 2003-03-12 John Levon <levon@movementarian.org>
9456 * paragraph_funcs.C: fix per-buffer authorlists
9458 2003-03-12 John Levon <levon@movementarian.org>
9460 * text.C: fix newline in right address
9462 2003-03-12 Angus Leeming <leeming@lyx.org>
9464 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9465 duplicate those in LyXFunc::dispatch.
9469 * ToolbarDefaults.C:
9470 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9471 Add LFUN_FONTFREE_UPDATE.
9473 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9474 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9476 * bufferview_func.[Ch]: several new functions to facilliate
9477 transfer of data to and from the character dialog.
9479 2003-03-12 John Levon <levon@movementarian.org>
9484 * paragraph_funcs.C:
9485 * paragraph_pimpl.C:
9489 * text3.C: remove META_NEWLINE in favour of an inset
9492 * rowpainter.C: remove paintNewline (done by inset)
9494 2003-03-12 John Levon <levon@movementarian.org>
9496 * paragraph_pimpl.C: complain about bad getChar()s
9497 for a while at least
9499 2003-03-12 John Levon <levon@movementarian.org>
9502 * buffer.C: move paragraph read into a separate function,
9503 a little renaming to reflect that.
9506 * bufferparams.C: remove the author_ids map, not necessary now
9509 * factory.C: moved Buffer::readInset to here
9511 * paragraph_funcs.h:
9512 * paragraph_funcs.C: readParagraph free function moved from
9515 * tabular.C: name change
9517 2003-03-12 John Levon <levon@movementarian.org>
9520 * ParagraphParameters.C: move par params input to
9523 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9524 behave like a normal read from the stream wrt reading
9525 a line vs. a \\token
9527 2003-03-12 John Levon <levon@movementarian.org>
9530 * ParagraphParameters.h:
9531 * ParagraphParameters.C: move output code to a
9534 2003-03-12 John Levon <levon@movementarian.org>
9536 * BufferView.C (insertLyXFile):
9539 * tabular.C: use a parlist iterator for creating the
9542 2003-03-12 John Levon <levon@movementarian.org>
9544 * buffer.C: make current_change static local not
9547 2003-03-12 John Levon <levon@movementarian.org>
9549 * buffer.C: fix insertStringAsLines for change tracking
9551 2003-03-12 John Levon <levon@movementarian.org>
9558 * bufferparams.C: move author list into params. Rename some
9559 functions. Move the header reading into a separate token
9560 loop. Move the header token reading into BufferParams.
9562 2003-03-12 John Levon <levon@movementarian.org>
9564 * changes.C: put debug inside lyxerr.debugging() checks
9566 2003-03-11 André Pönitz <poenitz@gmx.net>
9568 * factory.C: make it aware of InsetHFill
9570 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9572 * buffer.C (latexParagraphs): move function from here...
9573 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9576 2003-03-10 Angus Leeming <leeming@lyx.org>
9578 * LyXAction.C (init): fix bug in poplating array with multiple entries
9579 with the same LFUN (spotted by JMarc).
9581 2003-03-10 John Levon <levon@movementarian.org>
9584 * text2.C: move getColumnNearX() near its
9587 2003-03-10 John Levon <levon@movementarian.org>
9589 * text.C: fix break before a minipage
9591 2003-03-10 John Levon <levon@movementarian.org>
9593 * text.C: fix the last commit
9595 2003-03-09 John Levon <levon@movementarian.org>
9599 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9600 bug 365 (don't break before insets unless needed). Don't
9601 return a value > last under any circumstances.
9603 2003-03-09 Angus Leeming <leeming@lyx.org>
9605 * BufferView_pimpl.C (trackChanges, dispatch): call
9606 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9608 2003-03-09 Angus Leeming <leeming@lyx.org>
9610 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9611 than Dialogs::showAboutlyx().
9613 2003-03-09 Angus Leeming <leeming@lyx.org>
9615 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9616 than Dialogs::showTabularCreate().
9618 2003-03-09 John Levon <levon@movementarian.org>
9622 * text2.C: 3rd arg to nextBreakPoint was always the same.
9625 2003-03-08 John Levon <levon@movementarian.org>
9632 * text2.C: Remove the "main" bit from the "main body"
9635 2003-03-08 John Levon <levon@movementarian.org>
9637 * text.C (leftMargin): The left margin of an empty
9638 manual label paragraph should not include the label width
9641 * text.C (prepareToPrint): don't attempt to measure hfills
9642 for empty manual label paragraphs - the answer should be 0
9644 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9646 * CutAndPaste.C: remove commented code and reindent.
9648 2003-03-08 John Levon <levon@movementarian.org>
9651 * lyxfunc.C: move reloadBuffer()
9654 * BufferView.C: to here
9656 * lyxvc.C: add comment
9659 * vc-backend.C: call bv->reload() to avoid
9660 getStatus() check on MENURELOAD
9662 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9664 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9665 to an old format .dep file.
9667 2003-03-07 Angus Leeming <leeming@lyx.org>
9669 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9670 when the LFUN_MOUSE_RELEASE should have been handled by
9671 inset->localDispatch.
9673 2003-03-07 Angus Leeming <leeming@lyx.org>
9675 * BufferView_pimpl.C (dispatch):
9676 * LyXAction.C (init):
9677 * ToolbarDefaults.C (init):
9679 * lyxfunc.C (getStatus):
9680 remove LFUN_INSET_GRAPHICS.
9682 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9684 2003-03-07 Angus Leeming <leeming@lyx.org>
9687 * LyXAction.C (init):
9688 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9690 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9693 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9695 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9696 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9698 2003-03-07 Angus Leeming <leeming@lyx.org>
9700 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9703 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9705 * ParagraphList.C (front): new function
9708 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9710 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9711 and top_row_offset_. removed var first_y.
9713 * text2.C (LyXText, removeRow):
9715 * BufferView_pimpl.C:
9716 use these methods instead of using first_y
9718 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9720 * text2.C (pasteSelection): adjust for checkPastePossible
9722 * CutAndPaste.C: remove Paragraph * buf and replace with
9723 ParagraphList paragraphs.
9724 (DeleteBuffer): delete
9725 (cutSelection): change the tc type to textclass_type
9726 (copySelection): change the tc type to textclass_type
9727 (copySelection): adjust for ParagraphList
9728 (pasteSelection): change the tc type to textclass_type
9729 (pasteSelection): adjust for Paragraphlist
9730 (nrOfParagraphs): simplify for ParagraphList
9731 (checkPastePossible): simplify for ParagraphList
9732 (checkPastePossible): remove unused arg
9734 * ParagraphList.C (insert): handle the case where there are no
9737 * CutAndPaste.h: make CutAndPaste a namespace.
9739 * text3.C (dispatch): adjust
9741 * text.C (breakParagraph): add a ParagraphList as arg
9743 * paragraph_funcs.C (breakParagraph): change to take a
9744 BufferParams and a ParagraphList as args.
9745 (breakParagraphConservative): ditto
9746 (mergeParagraph): ditto
9747 (TeXDeeper): add a ParagraphList arg
9748 (TeXEnvironment): ditto
9751 * buffer.C (readLyXformat2): adjust
9752 (insertStringAsLines): adjust
9753 (latexParagraphs): adjust
9755 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9756 (cutSelection): adjust
9757 (pasteSelection): adjust
9759 * BufferView_pimpl.C (insertInset): adjust
9761 2003-03-05 Angus Leeming <leeming@lyx.org>
9764 * LyXAction.C (init):
9765 * BufferView_pimpl.C (dispatch):
9766 * lyxfunc.C (getStatus):
9767 remove LFUN_CHILD_INSERT.
9769 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9771 2003-03-05 Angus Leeming <leeming@lyx.org>
9774 * LyXAction.C (init):
9775 * src/factory.C (createInset):
9776 * lyxfunc.C (getStatus):
9777 * text3.C (dispatch):
9778 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9780 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9782 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9784 * ParagraphList.C (insert): handle insert right before end()
9785 (erase): fix cases where it can be first or last paragraph.
9787 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9789 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9790 Paragraph::next and Paragraph::previous
9793 * text.C (breakParagraph): adjust
9795 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9796 BufferParams& as arg.
9797 (breakParagraph): use ParagraphList::insert
9798 (breakParagraphConservative): take a Buffer* instead of a
9799 BufferParams& as arg.
9800 (breakParagraphConservative): use ParagraphList::insert.
9802 * buffer.C (insertStringAsLines): un-const it
9803 (insertStringAsLines): adjust
9805 * ParagraphList.C (insert): new function
9807 * CutAndPaste.C (pasteSelection): adjust
9809 * text.C (backspace): adjust
9811 * tabular.C (SetMultiColumn): adjust
9813 * CutAndPaste.C (cutSelection): adjust
9814 (pasteSelection): adjust
9816 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9817 Buffer const * as arg
9819 * ParagraphList.C (erase): new function
9820 * paragraph_funcs.C (mergeParagraph): use it
9821 (mergeParagraph): make it take a Buffer* instead of a
9822 BufferParams* as arg
9824 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9826 (breakParagraphConservative): ditto
9828 * paragraph.h: remove the breakParagraph friend
9830 * paragraph.C (eraseIntern): new function
9831 (setChange): new function
9833 * paragraph_funcs.C (mergeParagraph): make it take a
9834 ParagraphList::iterator instead of a Paragraph *, adjust
9837 * paragraph.h: move an #endif so that the change tracking stuff
9838 also works in the NO_NEXT case.
9840 2003-03-04 Angus Leeming <leeming@lyx.org>
9843 * LyXAction.C: new LFUN_INSET_MODIFY.
9845 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9846 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9848 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9850 * several files: ws changes only
9852 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9853 (TeXEnvironment): ditto
9856 * buffer.C (makeLaTeXFile): adjust
9857 (latexParagraphs): make it take ParagraphList::iterator as args
9859 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9861 * buffer.C (latexParagraphs): adjust
9863 * paragraph.C (TeXOnePar): move function...
9864 (optArgInset): move function...
9865 (TeXEnvironment): move function...
9866 * paragraph_pimpl.C (TeXDeeper): move function...
9867 * paragraph_funcs.C: ...here
9869 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9871 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9873 * buffer.C (readInset): remove compability code for old Figure and
9876 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9878 * buffer.C: ws changes
9881 * BufferView_pimpl.C: ditto
9884 * bufferlist.h: ditto
9888 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9890 * converter.[Ch]: split into itself +
9893 * Makefile.am: += graph.[Ch] + format.[Ch]
9900 * lyxrc.C: added #include "format.h"
9902 2003-02-27 Angus Leeming <leeming@lyx.org>
9904 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9907 * factory.C (createInset): add "label" to the factory.
9909 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9910 string and do no more.
9912 2003-02-27 Angus Leeming <leeming@lyx.org>
9915 * LyXAction.C (init):
9916 * factory.C (createInset):
9917 * BufferView_pimpl.C (dispatch):
9918 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9920 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9922 * lyxfunc.C (dispatch):
9923 * text3.C (dispatch): pass name to params2string.
9925 2003-02-26 Angus Leeming <leeming@lyx.org>
9927 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9929 Rearrange the ~includes. Strip out the unnecessary ones.
9931 * factory.C (createInset): reformat.
9932 create new insets for the various LFUN_XYZ_APPLY lfuns.
9934 2003-02-26 John Levon <levon@movementarian.org>
9937 * lyxrow.C: add isParStart,isParEnd helpers
9939 * paragraph.h: make isInserted/DeletedText take refs
9941 * paragraph_funcs.h:
9942 * paragraph_funcs.C: remove #if 0'd code
9947 * text.C: use lyxrow helpers above.
9948 Move draw and paint routines to RowPainter.
9949 Make several methods use refs not pointers.
9950 Make backgroundColor() const.
9951 Add markChangeInDraw(), isInInset().
9952 Merge changeRegionCase into changeCase.
9953 Make workWidth() shouldn't-happen code into an Assert.
9956 * rowpainter.C: new class for painting a row.
9959 * vspace.C: make inPixels take a ref
9961 2003-02-26 Angus Leeming <leeming@lyx.org>
9963 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9966 2003-02-25 John Levon <levon@movementarian.org>
9968 * ispell.C: give the forked command a more accurate name
9970 2003-02-22 John Levon <levon@movementarian.org>
9973 * toc.C: make TocItem store an id not a Paragraph *
9976 2003-02-21 Angus Leeming <leeming@lyx.org>
9978 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9979 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9980 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9981 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9982 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9983 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9985 * BufferView_pimpl.C (dispatch):
9986 * LyXAction.C (init):
9987 * factory.C (createInset):
9988 * lyxfunc.C (getStatus, dispatch):
9989 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9991 2003-02-21 Angus Leeming <leeming@lyx.org>
9993 * BufferView_pimpl.C (MenuInsertLyXFile):
9994 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9995 * lyxfunc.C (menuNew, open, doImport):
9996 no longer pass a LyXView & to fileDlg.
9998 2003-02-21 Angus Leeming <leeming@lyx.org>
10000 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10001 * LyXAction.C: change, BIBKEY to BIBITEM.
10002 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10003 Change InsetBibKey to InsetBibitem.
10004 Change BIBKEY_CODE to BIBITEM_CODE.
10005 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10006 * factory.C: replace insetbib.h with insetbibitem.h.
10007 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10008 * paragraph.C: replace insetbib.h with insetbibitem.h.
10009 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10010 Change bibkey() to bibitem().
10011 * text.C: remove insetbib.h.
10012 * text2.C: replace insetbib.h with insetbibitem.h.
10013 change bibkey() to bibitem().
10014 * text3.C: remove insetbib.h.
10015 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10017 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10019 * lyxrc.C (output): enclose user email in quotes (in case there are
10022 2003-02-18 John Levon <levon@movementarian.org>
10024 * buffer.h: add std::
10026 2003-02-17 John Levon <levon@movementarian.org>
10032 * pspell.C: reworking. Especially in ispell, a large
10033 number of clean ups and bug fixes.
10035 * lyxfunc.C: fix revert to behave sensibly
10037 2003-02-17 André Pönitz <poenitz@gmx.net>
10040 * commandtags.h: new LFUN_INSERT_BIBKEY
10050 * paragraph_func.C: remove special bibkey handling
10052 2003-02-17 John Levon <levon@movementarian.org>
10054 * text.C (Delete): fix case where delete at the end of
10055 the very first paragraph would not merge the pars
10057 2003-02-17 John Levon <levon@movementarian.org>
10059 * lyxrow.C: fix lastPrintablePos()
10061 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10063 * bufferparams.C (writeLaTeX): add a std:here
10065 * buffer.C: and remove a using directive there
10067 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10069 * buffer.C (makeLaTeXFile): move the code that generates the
10072 * bufferparams.C (writeLaTeX): ... in this new method
10074 * LaTeXFeatures.C (getEncodingSet): make const
10075 (getLanguages): make const
10077 * MenuBackend.C (binding): returns the binding associated to this
10079 (add): sets the status of each item by calling getStatus. Adds
10081 (read): add support for OptSubMenu
10082 (expand): remove extra separator at the end of expanded menu
10084 2003-02-15 John Levon <levon@movementarian.org>
10087 * BufferView_pimpl.C:
10089 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10090 inset code that had no actual effect. Remove unneeded status
10093 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10095 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10098 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10100 * text.C (drawLengthMarker): also draw an arrow marker for
10101 symbolic lengths (medskip...)
10103 2003-02-14 John Levon <levon@movementarian.org>
10106 * tabular.C: better method names
10108 2003-02-14 John Levon <levon@movementarian.org>
10110 * BufferView_pimpl.C:
10115 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10116 it's a more accurate name. Remove some pointless uses.
10118 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10120 * text2.C (LyXText): change order of initilizers to shut off
10123 2003-02-14 John Levon <levon@movementarian.org>
10125 * buffer.C: use ParIterator for getParFromID()
10129 * paragraph_pimpl.h:
10130 * paragraph_pimpl.C: remove unused getParFromID()
10132 2003-02-14 John Levon <levon@movementarian.org>
10134 * buffer.C: remove some very old #if 0'd parse code
10136 2003-02-13 John Levon <levon@movementarian.org>
10140 * text2.C: move hfillExpansion(), numberOfSeparators(),
10141 rowLast(), rowLastPrintable(), numberofHfills(),
10142 numberOfLabelHfills() ...
10145 * lyxrow.C: ... to member functions here.
10150 * text.C: remove LyXText::beginningOfMainBody(), and call
10151 p->beginningOfMainBody() directly. Move the check for
10152 LABEL_MANUAL into the latter.
10159 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10165 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10166 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10168 2003-02-13 John Levon <levon@movementarian.org>
10170 * CutAndPaste.C: remove debug
10172 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10174 * paragraph.C (asString): remove two unused variables
10176 * lyxtextclass.C (readTitleType):
10178 (LyXTextClass): handle new members titletype_ and titlename_
10180 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10182 2003-02-09 John Levon <levon@movementarian.org>
10185 * buffer.C: replace hand-coded list with a map for the dep clean
10187 2003-02-08 John Levon <levon@movementarian.org>
10189 * LaTeX.C: consolidate code into showRunMessage() helper
10191 2003-02-08 John Levon <levon@movementarian.org>
10196 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10197 and pass the size in explicitly
10199 * BufferView_pimpl.h:
10200 * BufferView_pimpl.C:
10202 * BufferView.C: add getCurrentChange()
10204 * BufferView_pimpl.h:
10205 * BufferView_pimpl.C: handle change lfuns
10207 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10208 for changes. Mark pasted paragraphs as new.
10210 * support/lyxtime.h:
10211 * support/lyxtime.C:
10212 * DepTable.C: abstract time_t as lyx::time_type
10215 * LColor.C: add colours for new text, deleted text, changebars
10217 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10218 package use "usenames" option.
10222 * LyXAction.C: add change lfuns
10226 * author.C: author handling
10229 * buffer.C: add a per-buffer author list, with first entry as
10230 current author. Handle new .lyx tokens for change tracking. Output
10231 author list to .lyx file. Output dvipost stuff to .tex preamble.
10232 Bump lyx format to 222.
10235 * bufferlist.C: add setCurrentAuthor() to reset current author details
10239 * bufferparams.C: add param for tracking
10241 * bufferview_funcs.C: output change info in minibuffer
10245 * changes.C: add change-tracking structure
10248 * debug.C: add CHANGES debug flag
10251 * lyxfind.C: add code for finding the next change piece
10254 * lyxrc.C: add user_name and user_email
10257 * lyxrow.C: add a metric for the top of the text line
10260 * text.C: implement accept/rejectChange()
10263 * text.C: paint changebars. Paint new/deleted text in the chosen
10264 colours. Strike through deleted text.
10268 * paragraph_pimpl.h:
10269 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10270 in the current change to the insert functions. Rework erase to
10271 mark text as deleted, adding an eraseIntern() and a range-based
10272 erase(). Implement per-paragraph change lookup and
10275 * paragraph_funcs.C: Fixup paste for change tracking.
10277 * tabular.C: mark added row/columns as new.
10279 * text.C: fix rowLast() to never return -1. Don't allow
10280 spellchecking of deleted text. Track transpose changes. Don't
10281 allow paragraph break or merge where appropriate.
10283 * text2.C: leave cursor at end of selection after a cut.
10285 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10287 * text.C (getLengthMarkerHeight):
10288 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10289 visible on screen too.
10291 2003-02-07 John Levon <levon@movementarian.org>
10293 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10295 2003-02-05 Angus Leeming <leeming@lyx.org>
10297 * lyxserver.C (read_ready): revert my patch of 11 September last year
10298 as it sends PC cpu through the roof. Presumably this means that
10299 the lyxserver will no longer run on an Alpha...
10301 2003-01-30 Angus Leeming <leeming@lyx.org>
10303 * factory.C (createInset): create an InsetCommandParam of type "index"
10304 and use it to 'do the right thing'.
10306 * text2.C (getStringToIndex): ensure that cursor position is always
10307 reset to the reset_cursor position.
10309 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10311 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10314 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10318 * lyxfunc.C: Output messages with identical spelling, punctuation,
10321 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10323 * MenuBackend.C (expandFormats): List only viewable export formats
10326 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10329 * lyxfunc.C (getStatus): Make sure that formats other than
10330 "fax" can also be disabled
10332 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10334 * text3.C (dispatch): put the lfuns that insert insets in 3
10335 groups, and call doInsertInset with appropriate arguments.
10336 (doInsertInset): new function, that creates an inset and inserts
10337 it according to some boolean parameters.
10339 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10341 * buffer.C (readFile): remember to pass on 'par' when calling
10342 readFile recursively.
10344 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10346 * MenuBackend.C (expandFormats): add "..." to import formats.
10348 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10350 * paragraph.C (asString): Remove XForms RTL hacks.
10352 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10353 * buffer.C: fix typo
10355 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10357 * Makefile.am (LIBS): delete var
10358 (lyx_LDADD): add @LIBS@ here instead.
10360 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10362 * Clarify the meaning of "wheel mouse jump"
10364 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10366 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10369 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10371 * importer.C (Loaders): do not preallocate 3 elements in the
10372 vector, since one ends up with 6 elements otherwise
10374 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10376 * DepTable.C (write): write the file name as last element of the
10377 .dep file (because it may contain spaces)
10378 (read): read info in the right order
10380 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10382 * paragraph_pimpl.C (simpleTeXBlanks):
10383 (simpleTeXSpecialChars):
10384 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10386 * tabular.C (latex): add some missing case statements. Reindent.
10388 * MenuBackend.C (expandToc): remove unused variable.
10390 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10399 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10402 2003-01-05 John Levon <levon@movementarian.org>
10405 * BufferView.C: add getEncoding()
10408 * kbsequence.C: do not store last keypress
10411 * lyxfunc.C: store last keypress here instead. Pass encoding
10414 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10416 * lyx_main.C (init): remove annoying error message when following
10417 symbolic links (bug #780)
10419 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10421 * text.C (insertChar):
10422 * lyxrc.C (getDescription): remove extra spaces
10424 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10426 * lyxrc.C (getDescription): remove extra spaces
10428 2002-12-20 John Levon <levon@movementarian.org>
10430 * text3.C: hack fix for page up/down across tall rows
10432 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10434 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10437 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10439 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10440 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10441 thesaurus is not compiled in
10443 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10445 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10447 2002-12-16 Angus Leeming <leeming@lyx.org>
10450 * lyx_main.C (init): remove override_x_deadkeys stuff.
10452 2002-12-12 John Levon <levon@movementarian.org>
10454 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10455 insert. Only remove shift modifier under strict
10458 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10460 * MenuBackend.C (expandToc): fix crash.
10462 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10464 * MenuBackend.C (expandToc): gettext on float names.
10466 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10468 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10469 implement bool empty() [bug 490]
10471 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10473 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10475 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10477 * several files: ws changes
10479 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10481 * text2.C (setCounter): clean up a bit, use boost.format.
10482 (updateCounters): initialize par upon declaration.
10484 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10485 if the layout exists. We do not just store the layout any more.
10486 (SwitchLayoutsBetweenClasses): use boost.format
10488 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10490 * converter.C (convert): if from and to files are the same, use a
10491 temporary files as intermediary
10493 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10496 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10498 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10500 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10502 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10504 * tabular.C (asciiPrintCell): use string(size, char) instead of
10507 * sgml.C (openTag): fix order of arguments to string constructor
10510 * lyxfunc.C (dispatch): use boost.format
10512 * lots of files: change "c" -> 'c'
10514 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10516 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10518 2002-11-25 Angus Leeming <leeming@lyx.org>
10520 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10522 * lyx_main.C (init): compile fix.
10524 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10526 * lyx_cb.C (start): boost.formatify
10527 do not include <iostream>
10529 * lengthcommon.C: ws only
10531 * boost-inst.C,BoostFormat.h: add more explict instantations
10533 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10535 * lots of files: handle USE_BOOST_FORMAT
10537 2002-11-21 John Levon <levon@movementarian.org>
10539 * pspell.C: fix compile
10541 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10543 * lyxfunc.C (dispatch): use boost::format
10547 * lyxfont.C (stateText): use boost::format
10549 * lyx_main.C (LyX): use boost::format
10551 (queryUserLyXDir): ditto
10552 (readRcFile): ditto
10554 (typedef boost::function): use the recommened syntax.
10556 * importer.C (Import): use boost::format
10558 * debug.C (showLevel): use boost::format
10560 * converter.C (view): use boost::format
10565 * bufferview_funcs.C (currentState): use boost::format
10567 * bufferlist.C (emergencyWrite): use boost::format
10569 * buffer.C (readLyXformat2): use boost::format
10570 (parseSingleLyXformat2Token): ditto
10572 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10574 * LaTeX.C (run): use boost::format
10576 * Chktex.C (scanLogFile): use boost::format
10578 * BufferView_pimpl.C (savePosition): use boost::format
10579 (restorePosition): ditto
10580 (MenuInsertLyXFile): ditto
10582 * BoostFormat.h: help file for explicit instation.
10584 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10586 * tabular.C (latex): Support for block alignment in fixed width
10589 2002-11-17 John Levon <levon@movementarian.org>
10591 * BufferView_pimpl.C:
10593 * lyxfunc.C: split filedialog into open/save
10595 2002-11-08 Juergen Vigna <jug@sad.it>
10597 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10598 by my last patch (hopefully).
10600 2002-11-08 John Levon <levon@movementarian.org>
10609 * toc.C: ParConstIterator, and use it (from Lars)
10611 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10613 * lyxtextclass.[Ch]: revise and add doxygen comments
10615 2002-11-07 John Levon <levon@movementarian.org>
10617 * text.C: fix progress value for spellchecker
10619 * toc.C: fix navigate menu for insetwrap inside minipage
10621 * paragraph_funcs.C: added FIXME for suspect code
10623 2002-11-07 John Levon <levon@movementarian.org>
10625 * BufferView_pimpl.C: fix redrawing of insets
10628 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10630 * text2.C (updateCounters): fix bug 668
10632 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10634 * text3.C (dispatch): Do not make the buffer dirty when moving the
10637 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10639 * vc-backend.C: STRCONV
10640 (scanMaster): ditto
10642 * text2.C (setCounter): STRCONV
10644 * paragraph.C (asString): STRCONV
10646 * lyxlength.C (asString): STRCONV
10647 (asLatexString): ditto
10649 * lyxgluelength.C (asString): STRCONV
10650 (asLatexString): ditto
10652 * lyxfunc.C (dispatch): STRCONV
10655 * lyxfont.C (stateText): STRCONV
10657 * importer.C (Import): STRCONV
10659 * counters.C (labelItem): STRCONV
10660 (numberLabel): ditto
10661 (numberLabel): remove unused ostringstream o
10666 * bufferview_funcs.C (currentState): STRCONV
10668 * buffer.C (readFile): STRCONV
10669 (asciiParagraph): ditto
10670 (makeLaTeXFile): ditto
10672 * Spacing.C (writeEnvirBegin): STRCONV
10674 * LaTeXFeatures.C (getLanguages): STRCONV
10675 (getPackages): ditto
10677 (getBabelOptions): ditto
10678 (getTClassPreamble): ditto
10679 (getLyXSGMLEntities): ditto
10680 (getIncludedFiles): ditto
10684 (scanAuxFile): ditto
10687 * LString.h: add the STRCONV macros
10689 * BufferView_pimpl.C (savePosition): STRCONV
10690 (restorePosition): ditto
10691 (MenuInsertLyXFile): ditto
10693 * vc-backend.C (scanMaster): change from submatch[...] to
10696 * funcrequest.C: include config.h
10698 * factory.C: include config.h
10700 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10702 * box.C: include config.h
10704 * LaTeX.C (scanAuxFile): change from submatch[...] to
10708 2002-10-25 Angus Leeming <leeming@lyx.org>
10710 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10712 * ispell.[Ch] (setError): new method.
10713 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10714 Use setError() insetead of goto END.
10716 * lyx_cb.C (AutoSave): move out child process into new class
10719 2002-10-30 John Levon <levon@movementarian.org>
10721 * text3.C: make start appendix undoable
10723 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10725 * lyxlength.C (inPixels): Fix returned value.
10727 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10730 2002-10-24 Angus Leeming <leeming@lyx.org>
10732 * lyxgluelength.h: no need to forward declare BufferParams
10733 or BufferView, so don't.
10735 2002-10-21 John Levon <levon@movementarian.org>
10737 * BufferView.C: menuUndo ->undo, redo
10739 * BufferView.h: document, remove dead, make some methods private
10741 * paragraph_funcs.h:
10742 * paragraph_funcs.C:
10743 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10748 * sgml.C: move sgml open/close tag into sgml.C
10750 * bufferview_funcs.h: unused prototype
10753 * lyxfunc.C: remove unused
10756 * text.C: remove unused
10758 2002-10-21 John Levon <levon@movementarian.org>
10762 * BufferView_pimpl.h:
10763 * BufferView_pimpl.C: fix mouse wheel handling based on
10764 patch from Darren Freeman
10766 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10768 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10770 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10772 * lyxlength.C (inPixels): Fix hanfling of negative length.
10773 Fix LyXLength::MU case.
10775 2002-10-16 John Levon <levon@movementarian.org>
10777 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10779 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10781 * converter.C (view): add support for $$i (file name) and $$p
10782 (file path) for the viewer command. If $$i is not specified, then
10783 it is appended to the command (for compatibility with old syntax)
10785 2002-10-14 Juergen Vigna <jug@sad.it>
10787 * undo_funcs.C (textHandleUndo): alter the order in which the
10788 new undopar is added to the LyXText, as we have to set first
10789 the right prev/next and then add it as otherwise the rebuild of
10790 LyXText is not correct. Also reset the cursor to the right paragraph,
10791 with this IMO we could remove the hack in "redoParagraphs()".
10793 2002-10-09 Angus Leeming <leeming@lyx.org>
10795 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10796 to turn off an optimisation if a new inset is to be inserted.
10798 2002-10-11 André Pönitz <poenitz@gmx.net>
10800 * lyxtext.h: make some functions public to allow access
10801 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10803 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10805 * text3.C (dispatch): when changing layout, avoid an infinite loop
10808 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10810 * lyxrc.C (read): treat a viewer or converter command of "none" as
10813 * MenuBackend.C (expandFormats): for an update, also allow the
10814 formats that are not viewable
10816 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10817 script if it is newer than the lyxrc.defaults in user directory
10819 2002-10-07 André Pönitz <poenitz@gmx.net>
10821 * text.C: Vitaly Lipatov's small i18n fix
10823 2002-09-25 Angus Leeming <leeming@lyx.org>
10825 * ispell.h: doxygen fix.
10827 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10829 * buffer.h (readFile): Add a new argument to the method, to allow
10830 reading of old-format templates.
10832 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10834 * toc.C (getTocList): Get TOC from InsetWrap.
10836 2002-09-16 John Levon <levon@movementarian.org>
10838 * lyxfunc.C: check tabular for cut/copy too
10840 2002-09-12 John Levon <levon@movementarian.org>
10842 * LyXAction.C: tidy
10845 * factory.C: add header
10847 * paragraph_funcs.h:
10848 * paragraph_funcs.C: cleanup
10850 2002-09-11 John Levon <levon@movementarian.org>
10852 * PrinterParams.h: odd/even default to true
10854 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10856 * PrinterParams.h: update printer parameters for new xforms dialog
10858 2002-09-11 Angus Leeming <leeming@lyx.org>
10860 * lyxserver.C (read_ready): re-write to make it more transparent
10861 and to make it work in coherent fashion under Tru64 Unix.
10863 2002-09-11 André Pönitz <poenitz@gmx.net>
10867 * text3.C: implement LFUN_WORDSEL
10869 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10871 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10872 make floatlist_ a boost::shared_ptr<FloatList>
10874 * lyxtextclass.C: include FloatList.h
10875 (LyXTextClass): initialize floatlist_
10876 (TextClassTags): add TC_NOFLOAT
10877 (Read): match "nofloat" to TC_NOFLOAT and use it.
10878 (readFloat): modify call to floatlist_
10882 * FloatList.[Ch] (FloatList): remove commented out float
10884 (erase): new function
10886 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10888 * MenuBackend.C (expandToc): fix crash when there is no document
10891 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10893 * many files: Add insetwrap.
10895 2002-09-09 John Levon <levon@movementarian.org>
10897 * text2.C: remove confusing and awkward depth wraparound
10899 2002-09-09 John Levon <levon@movementarian.org>
10901 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10904 * buffer.C: remove getIncludeonlyList()
10907 * lyxfunc.C: remove headers
10909 2002-09-09 Juergen Vigna <jug@sad.it>
10911 * text.C (getColumnNearX): fix form Michael this is most
10912 probably a cut&paste bug.
10914 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10916 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10918 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10919 references, ws changes.
10921 * text2.C (init): update counters after init
10922 (insertParagraph): no need to set counter on idividual paragraphs.
10923 (setCounter): access the counters object in the textclass object
10924 on in the buffer object.
10925 (updateCounters): ditto
10927 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10928 shared_ptr<Counters> to avoid loading counters.h in all
10930 (LyXTextClass): initialize ctrs_
10931 (TextClassTags): add TC_COUNTER, and ...
10932 (Read): use it here.
10933 (CounterTags): new tags
10934 (readCounter): new function
10935 (counters): new funtion
10936 (defaultLayoutName): return a const reference
10938 * counters.C (Counters): remove contructor
10939 (newCounter): remove a couple of unneeded statements.
10940 (newCounter): simplify a bit.
10941 (numberLabel): some small formatting changes.
10943 * buffer.[Ch]: remove all traces of counters, move the Counters
10944 object to the LyXTextClass.
10946 2002-09-06 Alain Castera <castera@in2p3.fr>
10948 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10949 package to set the horizontal alignment on fixed width columns.
10952 * lyx_sty.h: added tabularnewline macro def.
10954 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10956 2002-09-06 John Levon <levon@movementarian.org>
10958 * LyXAction.C: tooltips for sub/superscript
10960 * MenuBackend.C: a bit more verbose
10962 * lyxfunc.C: tiny clean
10964 * undo_funcs.C: document undo_frozen
10966 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10968 * counters.C (Counters): add missing algorithm counter.
10970 * text2.C (setCounter): lookup the counter with layouts latexname
10971 instead of by section number.
10972 (setCounter): use a hackish way to lookup the correct enum
10974 a float name->type change
10975 reset enum couners with counter name directly instead of depth value.
10977 * counters.C (Counters): remove the push_backs, change to use the
10978 float type not the float name.
10979 (labelItem): remove unused string, float name->type change
10981 * counters.h: don't include vector, loose the enums and sects vectors
10983 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10985 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10986 (Read): add float->TC_FLOAT to textclassTags
10987 (Read): and handle it in the switch
10988 (readFloat): new function
10990 * FloatList.C (FloatList): comment out the hardcoded float
10993 * lyxlayout.h: ws change.
10995 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10997 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10999 2002-09-03 Angus Leeming <leeming@lyx.org>
11001 * BufferView_pimpl.h: qualified name is not allowed in member
11002 declaration: WorkArea & Pimpl::workarea() const;
11004 * factory.C: added using std::endl directive.
11006 * text3.C: added using std::find and std::vector directives.
11008 2002-08-29 André Pönitz <poenitz@gmx.net>
11011 * text2.C: remove unused member number_of_rows
11014 * BufferView2.C: remove file, move contents to...
11015 * BufferView.C: ... here
11017 * BufferView_pimpl.C:
11018 * factory.C: move more inset creation to factory
11020 * vspace.C: avoid direct usage of LyXText, ws changes
11023 don't provide direct access to WorkArea, use two simple
11024 acessors haveSelction() and workHeight() instead
11027 2002-08-29 John Levon <levon@movementarian.org>
11029 * BufferView_pimpl.C (dispatch): do not continue when
11032 2002-08-28 André Pönitz <poenitz@gmx.net>
11034 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11037 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11039 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
11041 * buffer.C: increment LYX_FORMAT to 221
11043 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11044 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11046 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11048 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11050 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11052 * factory.C (createInset): use LyXTextClass::floats
11054 * MenuBackend.C (expandFloatListInsert):
11055 (expandFloatInsert):
11058 * text2.C (setCounter):
11060 * LaTeXFeatures.C (useFloat):
11061 (getFloatDefinitions):
11063 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11065 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11066 floatlist_, with accessor floats().
11068 * FloatList.h: remove global FloatList
11070 2002-08-26 André Pönitz <poenitz@gmx.net>
11072 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11076 * BufferView_pimpl.C:
11077 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11079 2002-08-25 John Levon <levon@movementarian.org>
11081 * LyXAction.C: fix margin note description
11083 2002-08-24 John Levon <levon@movementarian.org>
11087 * bufferview_funcs.C:
11089 * undo_funcs.C: cleanups
11091 * lyxfunc.C: disable CUT/COPY when no selection
11093 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11095 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11096 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11098 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11099 Add backward compatibility to "mono", "gray" and "no".
11101 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11103 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11104 (and file_format >= 200).
11106 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11108 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11110 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11112 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11114 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11116 * BufferView_pimpl.C:
11123 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11124 inset and code to make it work with the paragraph code. The inset
11125 can be anywhere in the paragraph, but will only do the expected
11126 thing in LaTeX if the layout file contains the parameter line
11128 (or more generally, a nonzero value) for that layout.
11130 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11132 * paragraph.h: remove the declaration of undefined counters class
11135 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11137 * text2.C (setCounter): fixed enumeration mis-count as reported by
11138 Dr. Richard Hawkins.
11140 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11142 * paragraph_funcs.h: remove some unneeded includes
11144 * text.C (backspace): pasteParagraph now in global scipe
11146 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11147 (pasteSelection): ditto
11149 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11150 * paragraph_funcs.C (pasteParagraph): ... here
11152 2002-08-20 André Pönitz <poenitz@gmx.net>
11154 * commandtags.h: new LFUNs for swapping/copying table row/colums
11157 * lyxfunc.C: support for new lfuns
11159 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11162 * buffer.[Ch]: remove NO_COMPABILITY stuff
11164 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11166 * boost.C (throw_exception): new file, with helper function for
11167 boost compiled without exceptions.
11172 * ParameterStruct.h:
11173 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11175 * bufferlist.C (emergencyWriteAll): use boost bind
11177 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11179 * text.C: include paragraph_funcs.h
11180 (breakParagraph): breakParagraph is now in global scope
11182 * paragraph_funcs.[Ch]: new files
11184 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11187 * buffer.C: include paragraph_funcs.h
11188 (insertStringAsLines): breakParagraph is now in global scope
11190 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11193 * CutAndPaste.C: include paragraph_funcs.h
11194 (cutSelection): breakParagraphConservative is now in global scope
11195 (pasteSelection): ditto
11197 * buffer.h: declare oprator== and operator!= for
11198 Buffer::inset_iterator
11200 * bufferlist.C (emergencyWrite): don't use fmt(...)
11202 * text3.C: add using std::endl
11204 * BufferView.C (moveCursorUpdate): remove default arg
11206 2002-08-20 André Pönitz <poenitz@gmx.net>
11208 * buffer.[Ch]: move inline functions to .C
11211 * BufferView_pimpl.C:
11213 * buffer.[Ch]: use improved inset_iterator
11216 * paragraph.[Ch]: write one paragraph at a time
11218 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11220 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11221 style if style is not specified.
11223 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11225 * text2.C (setCounter): when searching for right label for a
11226 caption, make sure to recurse to parent insets (so that a caption
11227 in a minipage in a figure float works) (bug #568)
11229 2002-08-20 André Pönitz <poenitz@gmx.net>
11231 * text3.C: new file for LyXText::dispatch() and helpers
11233 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11235 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11237 2002-08-19 André Pönitz <poenitz@gmx.net>
11240 * text.C: new LyXText::dispatch()
11242 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11244 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11246 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11248 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11251 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11253 * Makefile.am: use $(variables) instead of @substitutions@
11255 2002-08-15 André Pönitz <poenitz@gmx.net>
11258 * BufferView_pimpl.C: streamlining mathed <-> outer world
11262 * LyXAction.C: remove unused LFUN_MATH
11264 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11266 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11268 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11270 * paragraph.C (Paragraph): reformat a bit
11271 (cutIntoMinibuffer): use builtin InsetList function instad of
11275 * buffer.C: include boost/bind.hpp, add using std::for_each
11276 (writeFileAscii): use ParagraphList iterators
11277 (validate): use for_each for validate traversal of paragraphs
11278 (getBibkeyList): use ParagraphList iterators
11279 (resizeInsets): use for_each to resizeInsetsLyXText for all
11281 (getParFromID): use ParagraphList iterators
11283 * BufferView2.C (lockInset): use paragraph list and iterators
11285 2002-08-14 John Levon <levon@movementarian.org>
11287 * lyxserver.C: remove spurious xforms include
11289 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11291 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11293 2002-08-13 André Pönitz <poenitz@gmx.net>
11296 * lyxfunc.C: further cleaning
11298 2002-08-13 André Pönitz <poenitz@gmx.net>
11300 * funcrequest.h: new constructor
11302 * funcrequest.C: move stuff here from .h
11305 * BufferView_pimpl.C:
11308 * lyxfunc.C: subsequent changes
11310 * lyxfunc.h: new view() member function
11312 * lyxfunc.C: subsequent changes
11314 2002-08-13 Angus Leeming <leeming@lyx.org>
11317 * BufferView_pimpl.C:
11325 changes due to the changed LyXView interface that now returns references
11326 to member variables not pointers.
11328 2002-08-13 Angus Leeming <leeming@lyx.org>
11330 * WordLangTuple (word, lang_code): return references to strings,
11335 * lyxtext.h: forward-declare WordLangTuple.
11340 * text.C: #include "WordLangTuple.h".
11343 * text.C: (selectNextWordToSpellcheck): constify return type.
11345 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11351 * paragraph_pimpl.h:
11354 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11355 suggested by Angus.
11356 Made updateCounter always count from start of buffer, and removed
11357 second argument (par).
11358 Reverted floats number display to '#'. Perhaps I'll try again when the
11359 code base is sanitized a bit.
11361 2002-08-12 Angus Leeming <leeming@lyx.org>
11363 * buffer.[Ch] (getLabelList): constify.
11365 2002-08-07 André Pönitz <poenitz@gmx.net>
11367 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11369 * funcrequest.h: extension to keep mouse (x,y) position
11371 2002-08-12 Juergen Vigna <jug@sad.it>
11373 * BufferView2.C (insertErrors): forbid undo when inserting error
11376 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11378 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11380 * ParagraphList.[Ch]: new files
11382 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11384 * BufferView2.C (lockInset): ParagraphList changes
11387 * bufferlist.C: ditto
11391 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11393 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11394 unused class variable counter_,
11396 * paragraph.[Ch] (getFirstCounter): delete unused function
11398 * counters.C: include LAssert.h
11399 (reset): add a new function with no arg, change other version to
11400 not have def. arg and to not allow empty arg.
11402 * text2.C (setCounter): remove empty arg from call to Counters::reset
11404 2002-08-11 John Levon <levon@movementarian.org>
11406 * Makefile.am: add WordLangTuple.h
11408 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11410 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11411 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11413 * insets/insettext.C: InsetList changes
11415 * graphics/GraphicsSupport.C (operator()): InsetList changes
11417 * toc.C (getTocList): InsetList changes
11419 * paragraph_pimpl.[Ch]: InsetList changes
11421 * paragraph.[Ch]: InsetList changes
11423 * buffer.C (inset_iterator): InsetList changes
11424 (setParagraph): ditto
11425 * buffer.h (inset_iterator): ditto
11426 * iterators.C (operator++): ditto
11427 * iterators.h: ditto
11429 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11431 * InsetList.[Ch]: new files, most InsetList handling moved out of
11434 * BufferView2.C (removeAutoInsets): InsetList changes
11436 (ChangeInsets): ditto
11438 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11440 * paragraph_pimpl.h (empty): new function
11442 * paragraph.[Ch] (empty): new function
11444 * other files: use the new Paragraph::empty function
11446 2002-08-09 John Levon <levon@movementarian.org>
11448 * lyxtext.h: remove unused refresh_height
11450 2002-08-09 John Levon <levon@movementarian.org>
11457 * paragraph.C: move sgml char escaping out of paragraph
11460 * paragraph.C: remove id setter
11464 * paragraph_pimpl.C: remove dead tex_code_break_column
11466 * bufferview_funcs.C: small cleanup
11468 * lyxfunc.C: remove dead proto
11470 * lyxtext.h: make some stuff private. Remove some dead stuff.
11472 * lyxgluelength.C: make as[LyX]String() readable
11474 2002-08-08 John Levon <levon@movementarian.org>
11479 * ToolbarDefaults.C:
11482 * toc.C: lyxaction cleanup
11484 2002-08-08 John Levon <levon@movementarian.org>
11486 * BufferView2.C: small cleanup
11489 * lyxfind.C: move unnecessary header into the .C
11491 2002-08-08 John Levon <levon@movementarian.org>
11493 * funcrequest.h: just tedious nonsense
11496 * lyx_main.C: cleanups
11499 * vspace.C: remove dead header lyx_main.h
11501 2002-08-07 Angus Leeming <leeming@lyx.org>
11504 * paragraph_pimpl.h:
11505 Forward declare class Counters in paragraph.h by moving the ctrs member
11506 variable into Paragraph::Pimpl.
11507 (counters): new method, returning a reference to pimpl_->ctrs.
11509 * text2.C: ensuing changes.
11511 2002-08-07 John Levon <levon@movementarian.org>
11513 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11515 * BufferView_pimpl.C: announce X selection on double/triple
11518 * lyx_main.C: use correct bool in batch dispatch
11520 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11522 2002-08-07 André Pönitz <poenitz@gmx.net>
11524 * funcrequest.h: new class to wrap a kb_action and its argument
11527 * BufferView_pimpl[Ch]:
11531 * lyxrc.C: subsequent changes
11534 2002-08-07 John Levon <levon@movementarian.org>
11536 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11537 document options change.
11539 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11544 * makefile.am: move counters functionality over from
11545 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11547 2002-08-06 John Levon <levon@movementarian.org>
11549 * WordLangTuple.h: new file for word + language code tuple
11560 * BufferView2.C: use WordLangTuple
11563 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11565 2002-08-06 John Levon <levon@movementarian.org>
11567 * lyx_main.C: fix cmdline batch handling
11569 2002-08-06 André Pönitz <poenitz@gmx.net>
11571 * lyxrc.C: set default for show_banner to true
11573 2002-08-06 John Levon <levon@movementarian.org>
11575 * pspell.C: fix a crash, and allow new aspell to work
11577 2002-08-06 John Levon <levon@movementarian.org>
11580 * kbmap.C: small cleanup
11583 * vspace.C: add const
11585 2002-08-05 John Levon <levon@movementarian.org>
11587 * LyXAction.C: back to tabular-insert
11589 2002-08-04 John Levon <levon@movementarian.org>
11592 * BufferView.C: cosmetic change
11594 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11604 * BufferView2.C: purge all "Lyx" not "LyX" strings
11607 * lyxcursor.C: attempt to add some documentation
11612 * ToolbarDefaults.C:
11613 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11614 merge with LFUN_TABULAR_INSERT
11621 * pspell.C: split up i/pspell implementations into separate
11622 files, many cleanups
11624 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11626 * text2.C: some cleanup
11628 * lyxfunc.C: don't check for isp_command == "none" any more, it
11629 didn't make any sense
11631 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11636 * makefile.am: move counters functionality over
11637 from text2.C/paragraph.[Ch] to counters.[Ch], and
11639 2002-08-02 John Levon <levon@movementarian.org>
11641 * buffer.C: s/lyxconvert/lyx2lyx/
11643 2002-08-02 Angus Leeming <leeming@lyx.org>
11645 * lyxlex.C: revert John's change as it breaks reading of the user
11648 2002-08-02 Angus Leeming <leeming@lyx.org>
11650 * importer.C (Import):
11651 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11652 changes due to LyXView::view() now returning a boost::shared_ptr.
11654 2002-08-02 John Levon <levon@movementarian.org>
11656 * lyxlex.C: small cleanup
11658 2002-08-02 John Levon <levon@movementarian.org>
11660 * text2.C (status): small cleanup, no logic change
11662 2002-08-01 John Levon <levon@movementarian.org>
11665 * buffer.C (writeFile): don't output alerts, caller
11669 * lyx_cb.C: from above
11671 * lyxfunc.C: allow to open non-existent files
11673 2002-07-31 John Levon <levon@movementarian.org>
11675 * lyxserver.C: don't let incidental errors get
11678 2002-07-30 John Levon <levon@movementarian.org>
11680 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11682 2002-07-30 John Levon <levon@movementarian.org>
11685 * lyxserver.C: remove I/O callback too
11687 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11689 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11692 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11694 * many files: strip,frontStrip -> trim,ltrim,rtrim
11696 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11698 * PrinterParams.h: remove extern containsOnly, and include
11699 support/lstrings.h instead.
11701 * LaTeX.C (scanAuxFile): modify because of strip changes
11703 * buffer.C (makeLaTeXFile): ditto
11704 * bufferparams.C (writeFile): ditt
11705 * lyxfont.C (stateText): ditto
11706 * lyxserver.C (read_ready): ditto
11707 * vc-backend.C (scanMaster): ditto
11709 * BufferView_pimpl.h: ws changes
11711 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11713 2002-07-26 André Pönitz <poenitz@gmx.net>
11715 * kb_sequence.C: remove unnedred usings
11717 2002-07-26 Juergen Vigna <jug@sad.it>
11719 * lyxfind.C (LyXReplace): we have to check better if the returned
11720 text is not of theLockingInset()->getLockingInset().
11722 2002-07-25 Juergen Vigna <jug@sad.it>
11724 * lyxfind.C (LyXReplace): don't replace if we don't get the
11727 * undo_funcs.C (createUndo): remove debugging code.
11729 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11731 * buffer.C (parseSingleLyXformat2Token): Use default placement
11732 when reading old floats.
11734 * FloatList.C (FloatList): Change the default placement of figure
11735 and tables to "tbp".
11737 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11739 * MenuBackend.C: using std::max
11741 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11743 * MenuBackend.C (expandToc):
11744 (expandToc2): code moved from xforms menu frontend. It is now
11745 generic and TOCs are transparent to menu frontends.
11747 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11749 * toc.C (getTocList): protect against buf=0
11751 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11752 Menu as first parameter. Now, this calls itself recursively to
11753 expand a whole tree (this will be useful for TOC handling)
11754 (expandFloatInsert): remove 'wide' version of floats
11756 * MenuBackend.h (submenuname): returns the name of the submenu.
11757 (submenu): returns the submenu itself, provided it has been
11758 created by MenuBackend::expand
11760 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11762 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11763 insets which have noFontChange == true. (bug #172)
11765 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11767 * BufferView_pimpl.C: add connection objects and use them...
11770 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11772 * MenuBackend.C (expandLastfiles):
11775 (expandFloatListInsert):
11776 (expandFloatInsert):
11777 (expand): split expand in parts
11779 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11781 * lyx_gui.C: use lyx_gui::exit()
11783 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11785 * LyXAction.C: show the failing pseudo action
11787 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11789 * buffer.C (readFile): Run the lyxconvert script in order to read
11792 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11796 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11798 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11802 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11804 2002-07-22 Herbert Voss <voss@lyx.org>
11807 * lyxlength.[Ch]: add support for the vertical lengths
11809 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11811 * toc.[Ch]: std:: fixes
11813 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11815 * lyxrc.C: do not include lyx_main.h
11817 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11823 * BufferView2.C: include "lyxlex.h"
11826 * bufferparams.h: do not #include "lyxlex.h"
11828 * lyxtextclasslist.C (Add): remove method
11829 (classlist): renamed to classlist_
11831 * paragraph_pimpl.C:
11835 * bufferview_funcs.C:
11840 * toc.C (getTocList): use BufferParams::getLyXTextClass
11842 * toc.C (getTocList): use InsetFloat::addToToc
11844 * toc.[Ch]: new files, containing helper functions to handle table
11847 * lyxfunc.C (dispatch): no need to remove spaces around command
11849 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11850 first command of the sequence; it is not very clever, but I do not
11851 have a better idea, actually
11853 * LyXAction.C (LookupFunc): make sure to remove space at the
11854 beginning and end of the command
11856 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11858 * MenuBackend.C (getMenubar): new method: return the menubar of
11860 (read): treat differently reading of menu and menubar (in
11861 particular, the menubar has no name now)
11862 (Menu::menubar): remove
11864 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11867 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11869 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11870 a bibitem inset in a RTL paragraph.
11872 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11874 * paragraph_pimpl.C: constify
11876 * BufferView_pimpl.C:
11878 * lyxfunc.C: fix dispatch in a nicer way
11880 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11882 * lyxfunc.C (dispatch):
11883 * BufferView_pimpl.C:
11884 * BufferView_pimpl.h:
11886 * BufferView.h: rename Dispatch() to dispatch()
11888 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11890 * lyxlayout.C (Read): honor DependsOn tag
11892 * lyxlayout.[Ch] (depends_on): new method
11894 * version.C.in: update lyx_docversion
11896 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11898 * paragraph.C (validate): remove from here...
11899 * paragraph_pimpl.C (validate): ... and move here
11900 (isTextAt): make it const
11902 * buffer.C (getLists): ws cleanup
11904 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11906 * language.C (read): Use iso8859-1 encoding in latex_lang
11907 (this prevents LyX from crashing when using iso10646-1 encoding).
11909 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11911 * text2.C (toggleInset): if cursor is inside an inset, close the
11912 inset and leave cursor _after_ it
11914 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11916 * lyxfunc.C: move minibuffer completion handling out of here
11918 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11920 * BufferView_pimpl.C:
11921 * LaTeX.C: fix dispatch calls
11923 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11925 * text.C (drawChars): Fix Arabic text rendering.
11927 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11931 * lyxfunc.C: remove message-push/pop
11935 * lyxfunc.C: rationalise some code by removing verboseDispatch
11936 in favour of a bool argument to dispatch()
11938 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11940 * lyx_main.C (init): make sure to read symlinks as absolute paths
11942 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11945 * lyxfunc.C: no need for commandshortcut to be a member
11947 2002-07-15 André Pönitz <poenitz@gmx.net>
11949 * converter.C: add support for $$s (scripts from lib/scripts dir)
11950 * lyx_main.C: white space
11952 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11956 * lyxrc.C: remove second exit confirmation
11958 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11963 * BufferView_pimpl.h:
11964 * BufferView_pimpl.C:
11965 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11967 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11969 * MenuBackend.C (expand): add numeric shortcuts to document menu
11971 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11973 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11975 * lyxfont.C (setLyXFamily):
11982 * buffer.C (asciiParagraph): use ascii_lowercase
11984 2002-07-15 Mike Fabian <mfabian@suse.de>
11986 * lyxlex_pimpl.C (search_kw):
11987 * lyxlex.C (getLongString):
11988 * converter.h (operator<):
11989 * converter.C (operator<):
11990 * buffer.C (parseSingleLyXformat2Token):
11992 * ToolbarDefaults.C (read):
11993 * MenuBackend.C (checkShortcuts):
11995 * LColor.C (getFromGUIName):
11996 (getFromLyXName): use the compare_ascii_no_case instead of
11997 compare_no_case, because in turkish, 'i' is not the lowercase
11998 version of 'I', and thus turkish locale breaks parsing of tags.
12000 2002-07-16 Angus Leeming <leeming@lyx.org>
12002 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12003 now takes a Buffer const & argument.
12005 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
12007 * BufferView.C (resize): check there's a buffer to resize
12009 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
12011 * lyxfunc.C: remove dead code
12014 * lyxserver.C: use lyx_guii::set_read_callback
12016 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
12018 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12019 an inset in a RTL paragraph.
12021 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12023 * lyxfunc.C: repaint after a font size update
12025 2002-07-15 André Pönitz <poenitz@gmx.net>
12027 * lyxlength.C: inBP should be able to return negative values
12029 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12031 * lyxfunc.C: use lyx_gui::update_fonts()
12033 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12035 * lyxfunc.C: use lyx_gui::update_color()
12037 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12043 * lyxrc.C: remove file->new asks for name option, and let
12044 buffer-new take an argument
12046 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12048 * BufferView_pimpl.C: remove unneeded extra repaint()
12050 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
12052 * LyXAction.C: allow command-sequence with NoBuffer
12054 * lyxfunc.C: don't insist on trailing ';' for command-sequence
12056 2002-07-10 Angus Leeming <leeming@lyx.org>
12058 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12060 2002-07-09 Angus Leeming <leeming@lyx.org>
12062 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12064 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12066 * lengthcommon.h: whitespace
12068 * lyxfunc.C: update scrollbar after goto paragraph
12070 * lyxtext.h: factor out page break drawing, and fix it so
12071 page break/added space paints as selected nicely
12073 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12075 * BufferView_pimpl.C: add FIXMEs, clean up a little
12077 2002-07-09 André Pönitz <poenitz@gmx.net>
12079 * lyxfont.[Ch]: support for wasy symbols
12081 2002-07-08 André Pönitz <poenitz@gmx.net>
12083 * BufferView_pimpl.C: apply John's patch for #93.
12085 2002-07-05 Angus Leeming <leeming@lyx.org>
12087 * BufferView_pimpl.C (buffer): generate previews if desired.
12089 * LColor.h: add "preview" to the color enum.
12091 * LColor.C (LColor): add a corresponding entry to the items array.
12093 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12096 2002-07-05 Angus Leeming <leeming@lyx.org>
12098 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12099 The body of the code is now in the method that is passed an ostream &
12100 rather than a file name.
12101 Pass an additional only_preamble parameter, useful for the forthcoming
12104 2002-07-03 André Pönitz <poenitz@gmx.net>
12106 * lyxfunc.C: simplify getStatus() a bit for math stuff
12108 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12110 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12112 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12114 * text.C (changeRegionCase): do not change case of all the
12115 document when region ends at paragraph end (bug #461)
12117 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12119 * paragraph.C (startTeXParParams):
12120 (endTeXParParams): add \protect when necessary
12122 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12124 * BufferView_pimpl.C (workAreaExpose): remove warning
12126 2002-06-27 Angus Leeming <leeming@lyx.org>
12128 * Makefile.am: add lyxlayout_ptr_fwd.h.
12130 2002-06-26 André Pönitz <poenitz@gmx.net>
12132 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12134 2002-06-25 Angus Leeming <leeming@lyx.org>
12136 * lyxfunc.C (dispatch): Comment out the call to
12137 grfx::GCache::changeDisplay. The method no longer exists now that the
12138 pixmap generation part of the graphics loader has been moved into
12141 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12143 * text2.C: layout as layout
12145 * text.C: layout as layout
12147 * tabular.C (OldFormatRead): layout as layout
12149 * paragraph_pimpl.C (TeXDeeper): layout as layout
12150 (realizeFont): layout as layout
12152 * paragraph.C (writeFile): layout as layout
12153 (validate): layout as layout
12154 (getFont): layout as layout
12155 (getLabelFont): layout as layout
12156 (getLayoutFont): layout as layout
12157 (breakParagraph): layout as layout
12158 (stripLeadingSpaces): layout as layout
12159 (getEndLabel): layout as layout
12160 (getMaxDepthAfter): layout as layout
12161 (applyLayout): layout as layout
12162 (TeXOnePar): layout as layout
12163 (simpleTeXOnePar): layout as layout
12164 (TeXEnvironment): layout as layout
12165 (layout): layout as layout
12166 (layout): layout as layout
12168 * lyxtextclass.C (compare_name): new functor to work with
12169 shared_ptr, layout as layout
12170 (Read): layout as layout
12171 (hasLayout): layout as layout
12172 (operator): layout as layout
12173 (delete_layout): layout as layout
12174 (defaultLayout): layout as layout
12176 * lyxlayout_ptr_fwd.h: new file
12178 * lyxlayout.C (Read): layout as layout
12180 * lyx_cb.C (MenuInsertLabel): layout as layout
12182 * bufferlist.C (newFile): layout as layout
12184 * buffer.C (readLyXformat2): layout as layout
12185 (parseSingleLyXformat2Token): layout as layout
12186 (insertStringAsLines): layout as layout
12187 (asciiParagraph): layout as layout
12188 (latexParagraphs): layout as layout
12189 (makeLinuxDocFile): layout as layout
12190 (simpleLinuxDocOnePar): layout as layout
12191 (makeDocBookFile): layout as layout
12192 (simpleDocBookOnePar): layout as layout
12193 (getLists): layout as layout
12195 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12197 * CutAndPaste.C (cutSelection): layout as layout
12198 (pasteSelection): layout as layout
12199 (SwitchLayoutsBetweenClasses): layout as layout
12201 * BufferView_pimpl.C (Dispatch): layout as layout
12202 (smartQuote): layout as layout
12204 * BufferView2.C (unlockInset): layout as layout
12206 2002-06-24 André Pönitz <poenitz@gmx.net>
12208 * lyxfunc.C: fix #487
12210 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12214 * lyxfunc.C: remove display_shortcuts, show_banner
12216 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12218 * Buffer_pimpl.C: oops, update on resize
12220 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12227 * BufferView.C: use repaint()
12229 * BufferView_pimpl.h:
12230 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12231 as it's a clearer description. Remove superfluous
12234 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12236 * text.C: fix bug 488. Not ideal, but getting
12237 getWord() to work properly for the insets that
12238 matter is more difficult ...
12240 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12242 * BufferView_pimpl.C:
12245 * lyxfunc.C: remove the six million index lyxfuncs to just
12246 one, and DTRT (bug 458)
12248 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12252 * BufferView_pimpl.h:
12253 * BufferView_pimpl.C: clean up resize() stuff,
12254 and unnecessary updateScreen()s
12256 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12260 * BufferView_pimpl.h:
12261 * BufferView_pimpl.C:
12264 * minibuffer.C: remove focus management of workarea,
12265 not needed. Use screen's greyOut()
12267 2002-06-17 Herbert Voss <voss@lyx.org>
12269 * converter.C: (convert) do not post a message, when converting
12270 fails, let the calling function decide what to do in this case
12272 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12274 * lyxfunc.C: tidy up a little
12276 2002-06-16 <alstrup@diku.dk>
12278 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12279 Got rid of FORMS_H_LOCATION include. Now we are
12282 2002-06-15 LyX Development team <lyx@rilke>
12284 * buffer.[Ch] (sgmlOpenTag):
12285 (sgmlCloseTag): Added support for avoiding pernicious mixed
12286 content. Return number of lines written.
12288 (makeLinuxDocFile):
12289 (makeDocBookFile): Fixed calls to sgml*Tag.
12290 Simple white space clean.
12292 (simpleDocBookOnePar): Simple white space clean.
12294 * tabular.[Ch] (docBook): Renamed to docbook and got another
12295 argument to related with the pernicious mixed content.
12297 (docbookRow): Fixed calls for docbook inset method.
12299 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12301 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12302 so it's X11 independent.
12306 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12308 2002-06-15 Lyx Development team <lyx@electronia>
12310 * intl.h: Renamed getTrans to getTransManager.
12312 2002-06-14 Angus Leeming <leeming@lyx.org>
12314 * Makefile.am: nuke forgotten stl_string_fwd.h.
12316 2002-06-12 Angus Leeming <leeming@lyx.org>
12318 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12320 2002-06-13 Angus Leeming <leeming@lyx.org>
12323 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12325 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12327 * kbmap.C (getiso): add support for cyrillic and greek
12329 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12333 * BufferView_pimpl.h:
12334 * BufferView_pimpl.C: move bogus scrolling logic
12337 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12340 * BufferView_pimpl.C: view->resize() change
12342 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12344 * BufferView_pimpl.C: topCursorVisible
12347 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12351 * lyx_gui.C: move to frontends/
12355 * lyx_main.C: changes from above
12357 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12364 * lyx_main.C: minor tidy
12366 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12368 * BufferView_pimpl.h:
12369 * BufferView_pimpl.C:
12371 * BufferView.C: make painter() const,
12374 * BufferView2.C: use screen() accessor
12377 * lyx_main.C: some minor cleanup
12379 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12381 * BufferView_pimpl.h:
12382 * BufferView_pimpl.C: remove enter/leaveView,
12385 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12390 * BufferView_pimpl.h:
12391 * BufferView_pimpl.C: only construct screen once,
12394 * lyxrc.C: remove pointless comment
12396 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12399 * BufferView.C: remove active() and belowMouse()
12401 * BufferView_pimpl.h:
12402 * BufferView_pimpl.C: use workarea() not workarea_,
12403 and make it use a scoped_ptr instead
12405 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12407 * lyx_gui.C: add debug message on BadWindow
12409 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12411 * sp_spell.C: fdopen is not part of the C++ standard.
12413 * paragraph.C (InsetIterator): use >= instead of ==
12415 2002-06-07 Angus Leeming <leeming@lyx.org>
12417 Fixes needed to compile with Compaq cxx 6.5.
12418 * BufferView_pimpl.C:
12425 * lyxtextclasslist.C:
12430 all c-library variables have been moved into namespace std. Wrap
12431 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12436 Add a using std::abs declaration.
12438 * kbmap.h (modifier_pair):
12439 * paragraph.h (InsetTable, InsetList):
12440 * lyxfont.h (FontBits):
12441 type definition made public.
12443 * bufferlist.C (emergencyWriteAll): the compiler complains that
12444 there is more than one possible lyx::class_fun template to choose from.
12445 I re-named the void specialisation as lyx::void_class_fun.
12447 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12449 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12450 the compiler is is unable to find tostr in write_attribute.
12452 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12454 * buffer.C (sgmlError): hide #warning
12456 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12458 * xtl/*: get rid of xtl, which is not in use anyway
12460 * LyXAction.C (init):
12461 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12462 were unimplemented xtl experimentation
12464 2002-06-04 André Pönitz <poenitz@gmx.net>
12466 * lyxfunc.C: disable array operation on simple formulae
12468 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12470 * converter.C: constify a bit
12472 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12474 * lyx_gui.C: check xforms version correctly
12476 2002-04-30 Herbert Voss <voss@lyx.org>
12478 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12481 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12483 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12484 attempt to register it with a VCS)
12486 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12488 * lyx_main.C (init): honor variables LYX_DIR_13x and
12491 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12495 * lyx_main.C: fix a crash on bad command line,
12496 and give a useful exit status on error
12498 * lyxfunc.C (doImport): allow -i lyx to work
12500 2002-03-30 André Pönitz <poenitz@gmx.net>
12502 * lyxfunc.C: mathed font changes
12504 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12519 * trans_mgr.h: srcdocs, and some minor cleanups
12521 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12523 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12524 call getFont all the time)
12526 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12528 * switch from SigC signals to boost::signals
12530 2002-05-29 André Pönitz <poenitz@gmx.net>
12532 * paragraph_pimpl.C (getChar): don't call size() too often...
12534 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12536 * paragraph_pimpl.C (insertChar): do not try to update tables when
12537 appending (pos == size())
12539 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12540 in order to reduce drastically the number of comparisons needed to
12541 parse a large document
12543 2002-05-29 André Pönitz <poenitz@gmx.net>
12549 * textclasslist.[Ch]:
12550 * sp_ispell.h: whitespace change
12552 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12554 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12555 lyxaction directly now.
12557 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12561 * lyxvc.C: remove unused headers
12563 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12570 * undo_funcs.C: some cleanups. Use shared_ptr
12571 and a template for the undo stacks.
12573 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12575 * BufferView_pimpl.h:
12576 * BufferView_pimpl.C:
12583 * text2.C: use key_state/mouse_state
12585 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12587 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12590 * chset.C: change include order
12591 (loadFile): use boost regex and get rid of LRegex and LSubstring
12593 * Makefile.am (BOOST_LIBS): new variable
12594 (lyx_LDADD): use it
12596 * LaTeX.C: change include order.
12597 (scanAuxFile): use boost regex and get rid of LRegex and
12601 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12606 * FontInfo.C: moved to frontends/xforms/
12609 * FontLoader.C: moved into frontends for GUIIzation
12614 * lyxfunc.C: changes from above
12616 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12618 * LColor.C: remove spurious X include
12620 * BufferView_pimpl.C:
12625 * text2.C: move font metrics to frontends/
12627 2002-05-24 Juergen Vigna <jug@sad.it>
12629 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12630 setting the undo_cursor.
12632 * ParagraphParameters.h: include local includes first.
12634 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12636 * BufferView_pimpl.C:
12637 * BufferView_pimpl.h:
12641 * screen.C: move WorkArea into frontends/
12647 * BufferView2.C: move LyXScreen into frontends/
12651 * lyx_gui.C: move lyxlookup into frontends/xforms/
12653 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12656 * BufferView_pimpl.C:
12666 * bufferview_funcs.C:
12679 * vc-backend.C: move LyX/XFormsView into frontends/
12681 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12693 * text2.C: move Painter to frontends/
12695 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12697 * buffer.C: comment out some some code that depend upon lyx_format
12700 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12701 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12703 * buffer.h (NO_COMPABILITY): turn off compability
12705 * ColorHandler.C: include scoped_array.hpp
12707 * font.C: Use more specific smart_ptr header.
12710 * ShareContainer.h: ditto
12711 * lyx_main.h: ditto
12713 * FontInfo.h: ditto
12714 * BufferView_pimpl.h: ditto
12715 * ColorHandler.h: ditto
12717 * kbmap.C (defkey): change call to shared_ptr::reset
12719 2002-05-21 Juergen Vigna <jug@sad.it>
12721 * buffer.C (insertErtContents): fix to insert ert asis if it is
12722 non empty. Skip it completely if it contains only whitespaces.
12724 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12726 * BufferView_pimpl.C:
12727 * BufferView2.C: clear selection on paste (bug 393)
12729 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12731 * DepTable.C: include ctime
12733 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12735 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12737 2002-05-14 Juergen Vigna <jug@sad.it>
12739 * text.C (breakParagraph): fixed function to honor the keepempty
12740 layout in the right maner and also to permit the right breaking
12741 algorithm on empty or non empyt keepempty paragraphs.
12743 * paragraph.C (breakParagraph): we have to check also if the par
12744 is really empty (!size()) for isempty otherwise we do the wrong
12747 2002-05-10 Juergen Vigna <jug@sad.it>
12749 * buffer.[Ch] : The following are only changes to the ert
12750 compatibility read reading old LaTeX layout and font stuff and
12751 convert it to ERTInsets.
12753 * buffer.h: added isErtInset().
12755 * buffer.C (struct ErtComp): add a fromlayout bool to check
12756 if we're inside a LaTeX layout.
12757 (isErtInset): new helper function.
12758 (insertErtContents): look for other ert insets before this one
12759 and insert the contents there, so that we don't have subsequent
12760 ERT insets with nothing between them. This way we create only one
12761 inset with multiple paragraphs. Also check if we don't insert only
12762 spaces ' ' as they are ignored anyway afterwards in the .tex file
12763 so if we have only spaces we will ignore this latex part in the
12765 (parseSingleLyXformat2Token \\layout): better compatibility when
12766 reading layout-latex stuff.
12767 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12769 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12770 stuff after reading the inset only get the information back from
12773 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12775 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12777 * LaTeXFeatures.C (getBabelOptions): New method.
12779 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12781 * BufferView_pimpl.C (Dispatch): work around missing argument for
12784 2002-05-08 Juergen Vigna <jug@sad.it>
12786 * text.C (leftMargin): handle paragraph leftindent.
12788 * paragraph.C (writeFile): write the new \\leftindent tag.
12789 (validate): handle leftindent code.
12790 (TeXEnvironment): handle paragraphleftindent code again.
12792 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12794 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12795 for paragrap_extra indent code and new token \\leftindent.
12796 (latexParagraphs): handle the leftindent as environment.
12798 * ParameterStruct.h: added leftindent support.
12800 * ParagraphParameters.C (leftIndent): added support functions for
12801 the paragraph left indent.
12803 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12806 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12808 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12811 * text.C (computeBidiTables): No bidi in insetERT.
12813 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12816 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12818 * version.C.in: pre 5
12820 2002-05-02 José Matos <jamatos@fep.up.pt>
12821 * buffer.C (makeDocBookFile): white space changes, add newline to
12823 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12825 * tabular.C (docBook): fix typo.
12827 2002-05-03 Juergen Vigna <jug@sad.it>
12829 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12830 change in LyXText as we can not be sure it was not freed.
12831 (drawOneRow): remove unused code.
12833 * text.C (drawInset): redo the calculation of the need_break_row as
12834 it could have a row which was already freed.
12835 (draw): look at the return value of drawInset and return false if
12836 it also returned false.
12837 (paintRowText): look at the return value of draw and return false if
12838 it also returned false.
12840 * lyxtext.h: added bool return type to drawInset() and draw() so that
12841 if we have a change in the row so that the rowbreak has to be redone
12842 we abort drawing as it will be called again.
12844 2002-05-02 Juergen Vigna <jug@sad.it>
12846 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12847 a change in the maintext also if we're inside an inset.
12848 (Dispatch): set the cursor again after a break line and after the
12849 screen has been updated as it could be we're in a different row.
12851 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12852 to set the cursor behind the pargraph with > size().
12853 (setCursor): check also for the same paragraph when checking where
12854 to put the cursor if we have a NFR inset.
12856 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12857 parts of layout read further up as it still was in the wrong
12860 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12862 * screen.C (drawFromTo): change sine fullRebreak always return
12865 * buffer.C (parseSingleLyXformat2Token): reindent some
12867 * BufferView_pimpl.C (update): change since fullRebreak always
12869 (Dispatch): git rid of the last hardcoded "Standard"s.
12871 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12873 * text2.[Ch] (fullRebreak): make it return void now that we always
12876 2002-04-30 Juergen Vigna <jug@sad.it>
12878 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12879 ert compatibility check for "latex" layout.
12881 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12883 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12884 minipages: use col% instead of p%, and also use the current font.
12885 (makeLaTeXFile): Fix use babel condition.
12886 (parseSingleLyXformat2Token): Correct font when reading old floats.
12888 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12890 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12891 inserting list of floats.
12893 2002-04-25 Herbert Voss <voss@lyx.org>
12895 * MenuBackend.C (expand): don't add the graphics extensions to the
12898 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12900 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12901 non-existing layout, do not complain if it was the default layout
12902 of the original class (bug #342)
12904 2002-04-24 Juergen Vigna <jug@sad.it>
12906 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12907 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12909 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12911 * buffer.C (getBibkeyList): If using \bibliography, return the
12912 option field with the reference itself. Enables us to provide natbib
12913 support when using \bibliography.
12915 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12917 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12919 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12920 natbib is provided by the LaTeX class.
12922 2002-04-23 Juergen Vigna <jug@sad.it>
12924 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12927 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12929 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12931 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12933 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12934 ensuremath around textordmasculine, textordfeminine and
12937 2002-04-19 Juergen Vigna <jug@sad.it>
12939 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12940 reinitializing the buffer otherwise row-dimensions may be wrong.
12941 (update): reset also the selection cursors if they do exits otherwise
12942 their x/y positions may be wrong.
12944 * text2.C (cursorDown): don't enter the inset if we came from a row
12945 above and are one row over the inset.
12947 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12948 really leaving an inset.
12950 2002-04-18 Juergen Vigna <jug@sad.it>
12952 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12953 of the selected paragraph does not have the selected layout also if
12956 * text2.C (setLayout): fixed bug which did not change last selected
12959 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12960 changed the read and substituted \\end_float with \\end_inset!
12962 * BufferView_pimpl.C (cursorPrevious):
12963 (cursorNext): fixed to make it work with rows heigher than the work
12964 area without moving the cursor only the draw of the row.
12965 (workAreaMotionNotify): fix jumping over high rows.
12967 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12969 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12972 2002-04-16 Juergen Vigna <jug@sad.it>
12974 * text2.C (setCursor): set also the irow().
12975 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12977 (cursorDown): support for locking an inset if the x_fix value goes
12978 inside it. That way I can transverse insets too with cursor up/down.
12980 * lyxrow.h: added irow helper function same as other (i) functions.
12982 * BufferView_pimpl.C (cursorPrevious):
12983 (cursorNext): fixed for insets!
12985 2002-04-15 Juergen Vigna <jug@sad.it>
12987 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12988 position otherwise it is wrong in some cases.
12990 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12991 inside the inset before the call.
12993 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12995 * buffer.[Ch] (getBibkeyList): make it const.
12997 2002-04-12 Juergen Vigna <jug@sad.it>
12999 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13001 * text2.C (getCursorX): new helper function
13002 (setCursor): compute also ix_
13003 (setCursorFromCoordinates): set also ix.
13005 * lyxcursor.h: added ix_ and helper functions.
13007 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13009 * buffer.C (insertStringAsLines): dont break paragraph if the this
13010 paragraph is inside an inset which does not permit it!
13012 * text.C (breakParagraph): honor keepempty flag and break the paragraph
13013 also with no chars on this paragraph.
13014 (paintRowText): only paint stuff if it's inside the workarea!
13016 * paragraph.C (breakParagraph): honor keepempty flag and break the
13017 paragraph always below not above.
13019 * BufferView2.C (unlockInset): update the paragraph layout on inset
13020 unlock as we changed paragraph in such a case.
13022 * lyxfind.C (LyXFind): clear the former selection if not found!
13024 * text2.C (insertInset): freeze Undo after setUndo so that it is not
13025 again called in insertChar().
13027 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13028 an inset which uses the whole row!
13029 (rightMargin): ditto.
13030 (insertChar): force a rebreak if we inserted an inset!
13032 2002-03-28 Herbert Voss <voss@lyx.org>
13034 * lyxlength.[Ch]: add inBP() to get the right PS-point
13035 units (BigPoint). With inPixels we have rounding errors
13037 2002-04-11 Juergen Vigna <jug@sad.it>
13039 * text2.C (setCursorFromCoordinates): set iy to the right value.
13040 (setCursor): add check if row->previous exists!
13042 * buffer.C (parseSingleLyXformat2Token): reset font after read of
13043 an old float_type as this was the case in the old code!
13045 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13047 * BufferView2.C (showLockedInsetCursor): use iy
13048 (fitLockedInsetCursor): ditto
13050 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13051 locked insets as there we have the right value now.
13053 * lyxcursor.C: added iy_ variable and iy functions to set to the
13054 baseline of cursor-y of the locked inset.
13056 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13057 (setCursor): fixed for insets which need a full row.
13059 * text.C (rowLastPrintable): don't ignore the last space when before
13060 an inset which needs a full row.
13061 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13062 as last character of a row when before a inset which needs a full row.
13064 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13066 * version.C.in: update date
13068 * text2.C (fullRebreak): try to always return true and see what
13071 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13073 * MenuBackend.C (expand): use Floating::listName
13075 * FloatList.C (FloatList): add listName argument to the built-in
13078 * Floating.[Ch]: add listName member, which is the 'List of XXX'
13079 text associated with the float.
13081 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13083 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13085 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13087 * ShareContainer.h: add a couple of missing typenames.
13089 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13091 * lyxrc.C (getDescription): use _() correctly rather than N_().
13093 2002-03-28 Herbert Voss <voss@lyx.org>
13095 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13096 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13098 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13100 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13101 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13103 2002-03-29 Juergen Vigna <jug@sad.it>
13105 * lyxfunc.C (dispatch): add a missing fitCursor call.
13107 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13108 it was scrolled by a cursor move, so return the bool status.
13110 * BufferView.C (fitCursor): return the bool flag also to the outside
13111 world as this is needed.
13113 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13115 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13116 call the edit() as it is not needed (and wrong) IMO.
13117 (workAreaButtonPress): set the screen_first variable before evt.
13118 unlock the inset as this may change screen_first and then we have
13119 a wrong y position for the click!
13121 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13123 * MenuBackend.C (expand): another translation that I missed
13125 2002-03-28 Juergen Vigna <jug@sad.it>
13127 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13129 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13131 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13133 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13135 * MenuBackend.C (expand): fix export/view/update when there is no
13138 2002-03-27 Herbert Voss <voss@lyx.org>
13140 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13143 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13145 * bufferview_funcs.C (currentState): only show paragraph number
13146 for is DEVEL_VERSION is set.
13148 * lyxfunc.C (dispatch): put warning in INFO channel
13150 * MenuBackend.C (expand): translate the name of floats
13152 * FloatList.C (FloatList): mark the float names for translation
13154 * converter.C (convert): use LibScriptSearch
13156 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13158 * MenuBackend.C (defaults): fix default menu (we might as well get
13161 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13163 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13166 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13168 * lyxvc.C: reorder includes.
13170 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13172 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13175 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13177 * CutAndPaste.C: change layouts earlier on paste
13178 to avoid crashing when calling getFont()
13180 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13182 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13185 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13187 * WorkArea.C: remove 'Pending' debug message.
13189 * most files: ws cleanup
13191 * buffer.[Ch]: ws changes
13193 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13195 2002-03-21 Juergen Vigna <jug@sad.it>
13197 * tabular.C (SetMultiColumn): collapse also the contents of the
13198 cells and set the last border right. Added a Buffer const * param.
13200 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13202 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13205 2002-03-19 Juergen Vigna <jug@sad.it>
13207 * text2.C (clearSelection): reset also xsel_cache.
13209 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13210 where it needs to be called (John tells us to do so too :)
13211 (selectionLost): reset sel_cache.
13213 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13215 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13217 * text2.C (setCursorIntern): put debuging code in INSETS channel
13219 2002-03-19 André Pönitz <poenitz@gmx.net>
13221 * lyxfunc.C: tiny whitespace change
13223 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13225 * ToolbarDefaults.C (init):
13226 * LyXAction.C (init):
13228 * BufferView_pimpl.C (Dispatch):
13229 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13231 2002-03-19 Allan Rae <rae@lyx.org>
13233 * exporter.C (Export): removeAutoInsets before doing anything else.
13234 While I've just introduced a dependency on BufferView this really is
13235 the best place to clean the buffer otherwise you need to cleanup in
13236 a dozen places before calling export or cleanup in a dozen functions
13239 * converter.C (runLaTeX):
13240 (scanLog): Better handling of removeAutoInsets and screen updates.
13242 * lyxfunc.C (dispatch): small whitespace changes
13244 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13246 * WorkArea.C (C_WorkAreaEvent): return a value.
13247 (event_cb): return 1 if we handled the event, 0 otherwise.
13249 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13251 2002-03-18 Juergen Vigna <jug@sad.it>
13253 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13254 (GetAdditionalWidth): ditto.
13255 (RightLine): ditto.
13258 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13259 inset if we're there actually (probably not used right now but this
13260 is the direction to go for unifying code).
13261 (paste): disable code to clear the selection.
13263 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13264 inside an InsetText and move the check further up as it is in the
13267 * text2.C (pasteSelection): set a selection over the pasted text.
13269 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13271 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13272 and libgraphics to build on Cygwin.
13274 2002-03-15 Juergen Vigna <jug@sad.it>
13276 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13277 inserting an Inset into the paragraph. I know this is not the best
13278 fix but we already use current_view in CutAndPaste so we will remove
13279 all of it's using at the same time.
13281 * buffer.C (sgmlError): deactivated function till it is rewritten in
13282 the right mode, now it can create problems.
13284 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13285 before accessing it.
13287 2002-03-14 Juergen Vigna <jug@sad.it>
13289 * undo_funcs.C (textHandleUndo): do the right thing when updating
13290 the inset after the undo/redo.
13292 * text2.C (setCursor): just some testcode for #44 not ready yet.
13294 * undo_funcs.C (textHandleUndo): set the next() and previous()
13295 pointers of the paragraph to 0 before deleting otherwise we have
13296 problems with the Paragraph::[destructor].
13298 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13299 on a paragraph insertion.
13301 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13303 * buffer.C (asciiParagraph): use += operator for char append to
13306 * paragraph.C (getFontSettings): compare >= not just >
13307 (highestFontInRange): ditto
13310 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13312 * paragraph.C: change several algorithm to be more appripriate for
13313 the problem domain. This is lookip in FontList and in the InsetList.
13315 2002-03-13 André Pönitz <poenitz@gmx.net>
13318 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13320 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13325 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13327 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13329 * Painter.C (display): anon helper function, adjust code for this
13331 (pixmap): remove function.
13333 * Painter.h: remove private display variable.
13335 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13337 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13339 * WorkArea.[Ch]: remove figinset_canvas cruft.
13341 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13343 * lyxtextclass.C (operator): add one item cache optimization.
13345 * bufferlist.h: doxy changes
13347 * bufferlist.C: ws changes
13349 * DepTable.[Ch] (ext_exist): place const in the right spot.
13351 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13353 (workAreaExpose): call resizeInsets when the with BufferView changes.
13354 (Dispatch): adjust for protectedBlank removal
13355 (specialChar): call updateInset if the insert went ok.
13357 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13358 specialChar instead.
13360 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13362 * BufferView.h: doxy change
13364 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13366 * lyxtextclass.C (operator[]): remove non-const version
13367 (defaultLayout): remove non-const version
13369 2002-03-12 Juergen Vigna <jug@sad.it>
13371 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13372 did resize the LyXText too.
13374 * buffer.C (readLyXformat2): set layout information on newly allocated
13377 * tabular.C (OldFormatRead): set layout information on the paragraph.
13379 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13381 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13383 2002-03-11 Juergen Vigna <jug@sad.it>
13385 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13387 (resizeCurrentBuffer): force also the insets to resize themselfes.
13388 (moveCursorUpdate): fixed up for InsetText.
13390 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13393 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13394 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13395 value of Dialogs::tooltipsEnabled().
13396 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13398 2002-03-08 Juergen Vigna <jug@sad.it>
13400 * BufferView_pimpl.C (updateInset): update inset inside inset also
13401 if it isn't inside theLockingInset().
13403 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13405 * buffer.C (asciiParagraph): redo some of the word and line length
13407 (getLists): look for Caption instead of caption.
13409 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13411 * buffer.C (Buffer): initialize niceFile to true
13413 (makeLinuxDocFile):
13414 (makeDocBookFile): make sure niceFile is true on exit
13416 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13418 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13420 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13422 * LyXSendto.C: remove.
13423 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13424 * lyx_gui.C: remove now-redundant comment.
13425 * ColorHandler.h: remove forward declaration of class WorkArea.
13426 * lyxfunc.C: remove #include "WorkArea.h".
13428 2002-03-07 Juergen Vigna <jug@sad.it>
13430 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13431 got moved away with the DEPM and also set the inset_owner always
13432 right which before could have been omitted.
13434 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13436 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13437 wanted layout is not found.
13439 2002-03-07 Juergen Vigna <jug@sad.it>
13441 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13443 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13445 * paragraph.C (breakParagraph): use default layout not layout of
13447 (Paragraph): clear ParagraphParameters.
13449 2002-03-06 Juergen Vigna <jug@sad.it>
13451 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13452 otherwise it would not be a valid lenght. Fixed a special case in
13453 the minipage compatibility read where we end the document with a
13456 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13457 was set as it could be 0 for InsetTexts first entry.
13459 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13461 * paragraph.C (writeFile): if layout is empty write out
13462 defaultLayoutName().
13464 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13465 file without named layout we set layout to defaultLayoutName().
13467 2002-03-06 Juergen Vigna <jug@sad.it>
13469 * CutAndPaste.C (copySelection): set layout for new paragraph.
13471 * text.C (prepareToPrint): leave ERT inset left aligned
13472 (leftMargin): don't indent paragraphs inside ERT insets
13474 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13476 * paragraph.C (breakParagraph): dont call clear do the work manually
13478 * paragraph.[Ch] (clear): remove function
13480 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13482 * paragraph.C (Paragraph): dont call clear, the work has already
13485 * lyxtextclass.C (operator): assert if n is empty
13487 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13488 work manually instead.
13490 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13492 * BufferView_pimpl.C: protect selectionLost against text == 0
13494 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13496 * text.C (breakParagraph): fix a setting layout to '0' problem.
13498 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13500 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13501 final location of file, for the included files, and graphics.
13503 2002-03-05 Juergen Vigna <jug@sad.it>
13505 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13507 2002-03-04 Juergen Vigna <jug@sad.it>
13509 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13511 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13512 last column of multicolumn cells.
13513 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13515 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13517 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13518 file if it doesn't go to a temporary file.
13520 * buffer.C (sgmlOpenTag):
13521 (sgmlCloseTag): remove extra newline insertion.
13523 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13525 * text.C (getRowNearY): comment out debug msg
13527 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13529 * text2.C: first -> first_y
13531 * text.C (getRowNearY): add some attemts at a possible
13532 optimization, not working.
13534 * tabular.[Ch]: add BufferParams to several function so that newly
13535 created paragraph can be initialized to he default layotu for the
13538 * tabular-old.C (ReadOld): add buf->params to call of Init
13540 * screen.C: rename text->first to text->first_y
13542 * paragraph.C (breakParagraph): always set layout in the broken
13545 * lyxtextclass.C (Read): remove lowercase
13548 (delete_layout): ditto
13550 * lyxtext.h: rename first -> first_y
13552 * lyxlayout.C (Read): remove lowercase
13555 (obsoleted_by): ditto
13557 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13559 * buffer.C (insertErtContents): add params are to InsetERT
13560 (parseSingleLyXformat2Token): add code to check if a paragraphs
13561 layout really exist.
13562 (parseSingleLyXformat2Token): add params to several inset
13564 (asciiParagraph): remove lowercase, do the layout comparisons with
13567 * BufferView_pimpl.C (cursorNext): first -> first_y
13568 (resizeCurrentBuffer): first -> first_y
13569 (updateScrollbar): first -> first_y
13570 (scrollCB): first -> first_y
13571 (workAreaMotionNotify): first -> first_y
13572 (workAreaButtonPress): first -> first_y
13573 (checkInsetHit): first -> first_y
13574 (cursorPrevious): first -> first_y
13575 (cursorNext): first -> first_y
13576 (Dispatch): add buffer_->params to severl inset contructors
13578 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13580 * lyxlayout.C (Read): remove some debug info that I forgot.
13582 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13583 clean up the code slightly.
13584 (makeLinuxDocFile): ditto
13585 (makeDocBookFile): ditto
13587 * text2.C: layout as string
13589 * text.C: layout as string
13591 * paragraph_pimpl.C: layout as string
13593 * paragraph.[Ch]: layout as string
13595 * lyxtextclasslist.[Ch]: layout as string
13597 * lyxtextclass.[Ch]: layout as string
13599 * lyxtext.h: layout as string
13601 * lyxlayout.[Ch]: layout as string
13603 * lyx_cb.C: layout as string
13605 * bufferview_funcs.C: layout as string
13607 * bufferparams.C: layout as string
13609 * buffer.C: layout as string
13611 * LyXView.[Ch]: layout as string
13613 * LaTeXFeatures.[Ch]: layout as string
13615 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13617 * BufferView_pimpl.C: change current_layout to string, remove
13622 (workAreaButtonRelease): layout as string
13624 * BufferView2.C (unlockInset): adjust
13626 * vspace.C (asLatexCommand): use an explict temp variable.
13628 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13630 * Makefile.am: use FRONTEND_*
13632 2002-03-01 Juergen Vigna <jug@sad.it>
13634 * tabular.C (SetWidthOfMulticolCell): changed to something better
13635 I hope but still work in progress.
13636 (recalculateMulticolumnsOfColumn): renamed function from
13637 recalculateMulticolCells as it is more appropriate now.
13638 (SetWidthOfCell): calculate multicols better.
13640 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13642 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13644 * lyxfunc.C (processKeySym): print sequence also if it is
13645 `deleted' (complete)
13647 * kbsequence.C (print): print sequence even if it is deleted
13648 (complete would be a better word, actually).
13650 * lyxfunc.C (dispatch): print complete options after a prefix key
13652 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13654 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13656 * text2.C (setCharFont): eliminate setCharFont code duplication.
13658 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13660 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13661 LFUN_TABULAR_FEATURE (bug #177)
13663 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13665 * Makefile.am: remove figure.h
13667 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13669 * Bufferview_pimpl.C:
13681 * text2.C: remove #include "lyx_gui_misc.h".
13683 * LaTeX.C: added #include <cstdio>
13685 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13687 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13688 that the paragraph following this one can have.
13690 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13692 * vspace.C (asLatexCommand): fix bogus gcc warning
13694 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13696 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13698 * text2.C (setLayout): get rid of redundant code
13700 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13702 * text2.C (incDepth): make sure depth cannot be increased beyond
13705 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13707 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13708 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13710 * PainterBase.h (image):
13711 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13712 a LyXImage const *.
13714 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13718 * BufferView_pimpl.C:
13719 * BufferView_pimpl.h:
13739 * sp_spell.C: remove fig inset, and the crap house of
13740 cards that follows it
13742 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13747 * os2_errortable.h:
13748 * nt_defines.h: move .h into support/
13750 * vms_defines.h: remove
13752 * WorkArea.C: add space in debug output
13756 * buffer.C: add WITH_WARNINGS
13760 * bufferlist.C: s/retrive/retrieve/, add docs
13769 * chset.C: add docs
13771 * lyxgui.C: add ID to X error handler
13773 * lyxtestclass.c: fix typo
13775 2002-02-26 Juergen Vigna <jug@sad.it>
13777 * tabular_funcs.C (write_attribute): changed so that some default
13778 attributes are not written at all.
13779 (getTokenValue): set default values before trying to read the
13780 value so we have the return value always set as default if we don't
13781 find the token we search for.
13783 * tabular.C (Write): write bools as bools not as strings!
13785 2002-02-22 Juergen Vigna <jug@sad.it>
13787 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13788 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13790 * text.C (leftMargin): don't add an indent for paragraphs inside
13791 tabular cells (fix #208).
13793 2002-02-21 José Matos <jamatos@fep.up.pt>
13795 * tabular.C (docBook): fixed support for long tables.
13797 2002-02-20 Juergen Vigna <jug@sad.it>
13799 * text2.C (getFont): get the drawing font of the Inset if this
13800 paragraph is inside an inset (only important for InsetERT for now).
13802 * buffer.C (insertErtContents): use new lanugage params in ERT
13805 * CutAndPaste.C: commenting out seemingly uneeded code.
13807 2002-02-19 Allan Rae <rae@lyx.org>
13809 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13810 Iterators might be simple to use but they also get invalidated.
13811 (removeAutoInsets): renamed saved cursor tracking variables and added
13812 some comments to clarify what everything does.
13814 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13821 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13822 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13825 * vc-backend.h: remove #include "support/syscall.h"
13829 * converter.C: rearrange #includes in Lars' approved fashion.
13831 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13832 forward declare class Timeout in the header file.
13834 * XFormsView.C: changes due to the above.
13836 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13837 similar to LyXView.
13839 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13840 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13842 2002-02-18 José Matos <jamatos@fep.up.pt>
13844 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13847 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13849 * a lot of small ws changes
13850 * add a lot of using std::XXX
13851 * use std construcs some places where approp.
13852 * use some exisint stuff from lyxfunctional where approp.
13853 * Make file changes to use partial linking (lets test this now...)
13855 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13859 remove #include "support/syscontr.h" as it's redundant. Always has been.
13867 change Systemcalls::System to Systemcalls::Wait and
13868 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13869 No change of functionality, just reflects the stripped down Systemcalls
13872 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13874 * debug.[Ch]: add a GRAPHICS type to the enum.
13876 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13878 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13880 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13883 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13885 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13886 match the changes below.
13888 * text2.C (toggleInset): if there is not editable inset at cursor
13889 position, try to see if cursor is _inside_ a collapsable inset
13892 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13894 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13895 document menu has a nice checkbox
13897 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13899 * lyxlength.C (asLatexString): change PW to output as percent of
13902 * lengthcommon.C: change '%' to 't%'
13904 * lyxfunc.C (dispatch): a few comments from Martin
13906 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13910 * BufferView_pimpl.h:
13911 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13914 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13916 * vspace.C (inPixels): fix compiler warning
13918 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13920 * lyxfunc.C (getStatus): fix status message for disabled commands.
13922 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13924 * BufferView_pimpl.C: fix crash on close buffer
13925 during selection (#227)
13927 2002-01-27 Herbert Voss <voss@lyx.org>
13929 * buffer.C: link old Figure to new graphic inset
13931 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13933 * FontLoader.C (getFontinfo): Change the latex font names in order
13934 to match the names of type1inst.
13936 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13938 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13940 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13941 (extchanged): ditto
13943 (remove_files_with_extension): ditto
13944 (remove_file): ditto
13947 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13948 document is smaller than the work area height. Do not initialize
13949 static variables to 0.
13951 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13953 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13955 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13956 LFUN_LAYOUT_PARAGRAPHS.
13958 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13959 tabular. It is possible to provide a possible cell, which will
13960 typically be the actcell from the corresponding insettabular
13962 * lyxfunc.C (getStatus): small cleanup; disable
13963 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13966 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13968 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13970 * paragraph.C (startTeXParParams):
13971 (endTeXParParams): new methods. The LaTeX code to
13972 start/end paragraph formatting
13973 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13974 empty (fixes bug #200)
13976 * vspace.C (inPixels): adapt to the change below
13977 (inPixels): [later] more cleanups (remove unused variables)
13979 * lyxlength.C (inPixels): change to use a width and a height as
13982 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13984 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13985 Replaced with \paperwidth
13987 * DepTable.C (insert): add std:: qualifier
13989 2002-01-18 Allan Rae <rae@lyx.org>
13991 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13994 * text.C (drawInset): Turned out I didn't know enough about how
13995 rebreaking worked. This fixes most of the redraw problems. I see
13996 an occasional cursor trail when a line is broken now and the cursor
13997 placement can seem out by a few pixels also after a rebreak.
13999 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14001 * buffer.C (parseSingleLyXformat2Token): update because minipage
14002 width is now a LyXLength
14004 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14006 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14009 2002-01-17 Juergen Vigna <jug@sad.it>
14011 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14013 * BufferView2.C (lockInset): call edit() so that theLockingInset()
14014 is set correctly and the inset is updated correctly.
14016 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14018 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14019 the beginning of the loop.
14021 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
14023 * lyxrc.C: improve help for use_scalable_fonts
14025 2002-01-17 Allan Rae <rae@lyx.org>
14027 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14029 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14031 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14032 make sure to set their inset_owner to the right value (bug #171)
14034 2001-12-12 Ben Stanley <bds02@uow.edu.au>
14037 * DepTable.C: Implement mtime checking to reduce time spent doing
14040 2002-01-16 Juergen Vigna <jug@sad.it>
14042 * tabular.C (GetAdditionalHeight): one of error fixed.
14044 * lyxrc.C (output): small fix in writing use_pspell.
14046 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
14048 * sp_base.h: #include LString.h
14050 2002-01-16 Allan Rae <rae@lyx.org>
14052 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
14053 Can someone check this please?
14055 * text.C (drawInset): It was possible that p.row would be removed by
14056 breakAgainOneRow upsetting a few other settings. There may be another
14057 small tweak possible by setting need_break_row = 0 when p.row has been
14058 removed but I don't know enough about the logic here.
14060 2002-01-15 Allan Rae <rae@lyx.org>
14062 * text.C (insertChar): removed conditional truism.
14064 * BufferView2.C (removeAutoInsets): More tweaks.
14065 cur_par_prev could be a stray pointer. Check for trailing empty line
14066 in case last line was cur_par and only had an error inset on it.
14068 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14070 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14073 * vc-backend.C (most methods):
14074 * exporter.C (Export):
14075 * converter.C (convert):
14077 * LyXSendto.C (SendtoApplyCB):
14078 * lyxfunc.C (dispatch):
14082 * lyx_cb.C (AutoSave):
14084 * BufferView_pimpl.C (MenuInsertLyXFile):
14085 * buffer.C (runChktex): use Buffer::filePath().
14087 * buffer.h: rename filename to filename_; rename filepath to
14088 filepath_ and make it private
14089 (filePath): new method
14091 * buffer.C (writeFile): use fileName()
14094 * lyx_main.C (init): fix starting of LyX when the binary is a
14095 link from so,ewhere else.
14097 * minibuffer.C: include <cctype> for isprint
14099 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14101 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14102 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14103 name clash with InsetCollapsable's width function.
14105 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14107 * lastfiles.C: include <iterator>
14109 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14111 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14114 * buffer.C (makeLaTeXFile): ditto.
14115 Also make loop operation more transparent.
14117 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14119 * ToolbarDefaults.C: remove trailing comma closing namespace.
14121 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14123 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14126 * trans.C (Load): comment out unused variable, allowed.
14128 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14130 * minibuffer.[Ch] (append_char): new method to recieve input from the
14131 drop-down completion browser. If a key was pressed, then recieve this
14132 char and append it to the existing string.
14133 (peek_event): modify the positioning data passed to the completion
14134 browser so that it can be placed above the minibuffer rather than below.
14135 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14137 * LyXAction.C (init): alloe error-next for readonly documents.
14139 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14142 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14144 * bufferlist.C (readFile): create the buffer _after_ checking that
14147 * lyxfunc.C (verboseDispatch): fix handling of arguments
14149 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14151 * lyxrc.C: use string::erase() instead of initializing to "".
14154 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14156 * BufferView_pimpl.h:
14157 * BufferView_pimpl.C:
14160 * text2.C: tell X when we have made a selection for copying
14162 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14164 * BufferView_pimpl.C (MenuInsertLyXFile):
14165 * lyxfunc.C (menuNew):
14167 (doImport): add shortcuts to directory buttons
14169 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14172 * lyxfunc.C (setStatusMessage):
14173 (getStatusMessage): new methods
14174 (getStatus):use setStatusMessage instead of setErrorMessage
14175 (dispatch): when function is disabled, set error message here
14176 [instead of in getStatus previously]
14178 * BufferView_pimpl.C (workAreaButtonRelease): update
14179 toolbar/menubar here too.
14181 2002-01-13 Allan Rae <rae@lyx.org>
14183 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14184 Now seems indestructible. Remaining task is to audit all other
14185 code affected by deleteEmptyParagraphMechanism. One small quirk
14186 left is that an empty document with an error in the preamble can
14187 be made to report an error but no error box appears. I don't know
14189 (removeAutoInsets): Improved comments.
14191 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14194 * Thesaurus.C: update for Aiksaurus 0.14
14196 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14198 * text2.C (firstParagraph): removed member function, all uses
14199 replaces with ownerParagraph
14200 (redoParagraphs): here
14201 (updateInset): here
14202 (toggleAppendix): here
14203 * BufferView2.C (insertErrors): here
14204 (setCursorFromRow): here
14206 2002-01-13 Allan Rae <rae@lyx.org>
14208 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14209 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14210 There is still a way to segfault this although you may have to do this
14211 multiple times: Have an InsetERT with an unknown command in it.
14212 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14213 <down-arrow>, <Enter> again, View->DVI, BANG!
14215 * text2.C (setCursor):
14216 (deleteEmptyParagraphMechanism):
14217 * lyxtext.h (setCursor):
14218 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14219 Making use of the return value may help fix other bugs.
14221 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14223 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14225 * LyXView.C (updateMenubar): call MenuBar::update here
14226 (updateToolbar): but not here
14227 (showState): do not update toolbar/menubar
14229 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14230 should need to care about that.
14232 * lyxfunc.C (verboseDispatch): simplify a bit
14233 (getStatus): have a version which takes a pseudoaction, and
14234 another which requires a (kb_action,string).
14236 * LyXAction.C (retrieveActionArg): make it work also when action
14237 is not a pseudo-action.
14238 (getActionName): simplify a bit
14241 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14243 * lyxfunc.C (verboseDispatch): new families of methods with
14244 several ways to specify a command and a bool to indicate whether
14245 the command name and shortcut should be displayed in minibuffer
14246 (eventually, we could extend that to a finer bitmask like
14247 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14248 (dispatch): the pristine dispatch command which just, well,
14249 dispatchs! Note it still sets its result to minibuffer; I'm not
14252 * lyxfunc.h: remove setHintMessage
14254 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14256 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14258 * BufferView_pimpl.C (specialChar): delete new inset if we have
14259 not been able to insert it.
14261 * kbmap.C: revert to using int instead of kb_action, since all we
14262 are dealing with is pseudo-actions.
14264 * LyXAction.C (searchActionArg): change to return int instead of
14265 kb_action, since the result is a pseudoaction.
14267 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14269 * buffer.C (insertErtContents): Fix (partially) the font bug.
14271 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14273 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14274 as the other one is broken on my machine!
14276 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14279 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14281 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14283 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14284 reflect their actual use. Provide compatibility code for older lyxrc
14287 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14289 change names of popup font variables in line with the changes to lyxrc.C
14291 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14293 * buffer.C (asciiParagraph): avoid outputing a word twice after
14296 * lyxrc.C (getDescription): document that document_path and
14297 template_path can be empty.
14299 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14301 * LaTeXFeatures.C (getMacros):
14302 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14304 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14306 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14308 (getPackages): rename feature "floats" to "float". Use an array to
14309 iterate over 'simple' features (i.e. just a \usepackage). Add
14310 handling of "amsmath" (renamed from "amsstyle").
14312 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14314 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14317 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14319 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14320 FuncStaus::FuncStatus & FuncStaus::some_method().
14322 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14324 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14325 of the func_satus stuff. Edited and massaged in various ways by
14328 * lyxfunc.C (getStatus): use FuncStatus
14330 2002-01-08 Juergen Vigna <jug@sad.it>
14332 * text.C (nextBreakPoint): use function Inset::isChar().
14334 * paragraph.C (TeXOnePar): use function
14335 Inset::forceDefaultParagraphs.
14337 * buffer.C (latexParagraphs): use function
14338 Inset::forceDefaultParagraphs.
14340 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14342 * lyx_gui.C (init): set the style of the menu popups to
14343 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14345 2002-01-07 Juergen Vigna <jug@sad.it>
14347 * text.C (setHeightOfRow): small fix
14348 (prepareToPrint): don't look at alignment if we don't have the place
14351 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14353 * box.C: New file. Move the Box methods and functions out of box.h,
14354 following Lars' suggestion.
14356 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14358 * box.h: #include "support/LOstream.h", needed for inlined function.
14361 * lyxtextclasslist.C: added some using std declarations.
14363 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14365 * box.h: make signed dimensions to allow insets wider than
14366 the screen (bug #162)
14368 * BufferView_pimpl.C: add some insetHit debug
14370 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14372 * vc-backend.C: add FIXME
14374 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14376 * lyxfunc.C (getStatus): enable code for showing math font status
14379 2002-01-07 Juergen Vigna <jug@sad.it>
14381 * text.C (nextBreakPoint): removed debug output not needed anymore.
14383 2002-01-06 Juergen Vigna <jug@sad.it>
14385 * text.C (nextBreakPoint): fixed up this function we had this bug
14386 since ever but now hopefully we break row better.
14387 (insertChar): we have to check if an inset is the next char as it
14388 could now happen that a large inset is causing a break.
14390 2002-01-05 Juergen Vigna <jug@sad.it>
14392 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14393 if it doesn't like to be drawed.
14395 2002-01-04 Juergen Vigna <jug@sad.it>
14397 * BufferView2.C (lockInset): forgot to set a cursor.
14399 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14401 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14403 * FormMathsPanel.C:
14406 * form_maths_panel.C:
14407 * form_maths_panel.h:
14408 * form_maths_panel.fd: implemented sub- and super- buttons in math
14411 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14412 (or ^ space) to be used as in TeX (req'd by Andr�.
14414 * lyxfunc.C: Allow ^ and _ again to be used both as
14415 super/subscript (mathed) and as themselves (in text).
14417 2002-01-03 Allan Rae <rae@lyx.org>
14419 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14420 "LyX" or the filename of the current buffer if it has one. This is a
14421 modified form of John Levon's patch.
14423 * XFormsView.C (setWindowTitle): also set icon title.
14425 * LyXView.h (setWindowTitle): signature changed.
14426 * XFormsView.h (setWindowTitle): ditto.
14428 2002-01-02 Juergen Vigna <jug@sad.it>
14430 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14432 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14434 * screen.C (topCursorVisible): introduce a temp var for
14435 text->cursor.row(), handle the case where this row is null. (kindo
14438 * text2.C (setCursor): add a couple of asserts.
14440 * paragraph.h (inset_iterator): add -> operator
14442 * paragraph.[Ch] (autoDeleteInsets): remove member function
14444 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14445 cursor pos correctly and handle inset deletion by itself.
14446 (insertErrors): move iterator declaration out of for expression
14448 * lyxtextclass.C: add <algorithm>
14450 * Makefile.am: added the new files to sources, removed layout.C
14452 * layout.C: removed file
14454 * layout.h: remove LYX_DUMMY_LAYOUT
14456 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14460 * lyxtextclass.[Ch]:
14461 * lyxtextclasslist.[Ch]: new files
14463 * include order changes to a lot of files, also changes because of
14466 2001-12-27 Juergen Vigna <jug@sad.it>
14468 * buffer.C (asciiParagraph): more fixes.
14470 * tabular.C (ascii): make ascii export support export of only the
14471 data separated by a column-delimiter.
14472 (ascii): better support for ascii export.
14474 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14476 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14478 * tabular_funcs.C: use a "using std::getline" instead of the
14479 previous fix from Angus (necessary for cxx + lyxstring)
14481 2001-12-24 Juergen Vigna <jug@sad.it>
14483 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14485 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14486 problems. First check a minipage also if we have some ert-contents
14487 (not only on par->size(), second set the right depth of the paragraph
14488 on the relink to the root-paragraph-list!
14490 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14491 which then did not anymore update the main paragraphs on undo/redo!
14493 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14495 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14496 code. Support all font-changing funcs (even those which are not in
14497 menu currently). Support for reporting font settings in
14498 mathed (disabled until Andre provides a function on mathed's side).
14500 * func_status.h (toggle): small helper function to set toggle
14503 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14505 * tabular_funcs.C: getline -> std::getline
14507 2001-12-21 Juergen Vigna <jug@sad.it>
14509 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14510 accessed and could be 0 (I couldn't generate this but it seems
14513 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14515 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14516 * tabular_funcs.h: here and include iosfwd
14518 2001-12-20 Juergen Vigna <jug@sad.it>
14520 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14521 inside inset but undo_par was.
14523 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14525 * Thesaurus.C: always include <config.h> in sources.
14529 * box.h: do not include <config.h> in header files
14531 * text.C (paintLastRow): remove unused variable
14533 * text.C (transformChar):
14535 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14537 * Painter.C (text):
14538 * font.C (width): rewrite to use uppercase() instead of
14541 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14543 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14545 * lyxfind.C: clean up of find failure position change
14547 2001-12-20 Juergen Vigna <jug@sad.it>
14549 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14551 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14552 (TeXRow): added to LaTeX a single tabular row.
14553 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14554 (Latex): simplified and finally good LT-h/f support.
14555 (various_functions): just small adaptions for LT-h/f support.
14557 * tabular_funcs.[hC]: added and moved here all not classfunctions
14560 2001-12-19 Juergen Vigna <jug@sad.it>
14562 * tabular.[Ch]: better support for longtabular options (not finished
14565 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14567 * text.C (paintLastRow): use the label font instead of the font of
14568 the last character to compute the size of *_BOX. This makes more
14569 sense and avoids a crash with empty paragraphs.
14570 Use Painter::rectangle to draw EMPTY_BOX.
14572 2001-12-19 Juergen Vigna <jug@sad.it>
14574 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14575 the paragraphs if the replaced paragraph is not the first one!
14576 Tried to delete not used paragraphs but does not work yet so for
14577 now it's inside #ifdef's and by default off!
14579 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14581 * MenuBackend.C: include "lyx_main.h" instead of declaring
14582 lastfiles (actually was declared as LastFiles* instead of a
14585 2001-12-17 Juergen Vigna <jug@sad.it>
14587 * tabular.C (AppendColumn): applied John's fix
14589 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14593 * BufferView_pimpl.h:
14594 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14597 * box.h: new start of class for above
14599 * lyxfunc.C: ignore space-only minibuffer dispatches.
14600 Show the command name when it doesn't exist
14602 * minibuffer.C: don't add empty lines to the history
14604 * minibuffer.C: add a space on dropdown completion
14606 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14608 * text.C: fix line above/below drawing in insets
14610 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14612 * lyxlength.C (LyXLength): Initialize private variables.
14614 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14616 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14617 when inserting error insets.
14619 2001-12-13 Juergen Vigna <jug@sad.it>
14621 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14622 actually sometimes the before-paragraph.
14623 (setUndo): don't clear the redostack if we're not actually undoing!
14625 2001-12-06 Juergen Vigna <jug@sad.it>
14627 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14628 and fixed redoing of main paragraph, so we can use it now ;)
14630 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14632 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14634 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14637 2001-12-13 André Pönitz <poenitz@gmx.net>
14640 * undo_func.C: minor cleanup
14642 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14644 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14645 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14646 font in urw-fonts package which is marked as -urw-fontspecific and
14647 does not work (incidentally, changing the encoding in the
14648 fonts.dir of this package to -adobe-fontspecific fixes the
14651 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14652 is a crash when undoing first paragraph (Juergen, please take a
14653 look). THis does not mean the undo fix is wrong, just that it
14656 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14657 the (Paragraph*) version when needed instead of duplicating the
14660 * text.C (workWidth): use Inset::parOwner to find out where the
14661 inset has been inserted. This is a huge performance gain for large
14662 documents with lots of insets. If Inset::parOwner is not set, fall
14663 back on the brute force method
14665 * paragraph_pimpl.C (insertInset):
14666 * paragraph.C (Paragraph):
14667 (cutIntoMinibuffer): set parOwner of insets when
14668 inserting/removing them
14670 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14672 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14678 * mathed/formulabase.C:
14679 * mathed/math_cursor.[Ch]:
14680 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14683 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14685 * lyxlength.[Ch] (operator!=): new function
14687 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14689 * text.C (workWidth): use Inset::parOwner to find out where the
14690 inset has been inserted. This is a huge performance gain for large
14691 documents with lots of insets. If Inset::parOwner is not set, fall
14692 back on the brute force method
14694 * paragraph_pimpl.C (insertInset):
14695 * paragraph.C (Paragraph):
14696 (cutIntoMinibuffer): set parOwner of insets when
14697 inserting/removing them
14699 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14701 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14703 * tabular-old.C (getTokenValue):
14704 * tabular.C (getTokenValue):
14705 (write_attribute): new versions for LyXLength
14706 (everywhere): adjust the use of widths
14708 * tabular.h: change the type of widths from string to LyXLength
14710 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14712 * paragraph.C: fixed missing line number count when exporting
14713 Environments to LaTeX file
14715 * buffer.C: added informational message for checking line numbers.
14717 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14719 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14720 paragraph, do the 'double space' part, but not the 'empty
14723 * text.C (workWidth): small optimization
14724 (getLengthMarkerHeight): use minimal size for negative lengths.
14726 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14728 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14730 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14732 2001-12-11 André Pönitz <poenitz@gmx.net>
14735 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14737 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14739 * text2.C: keep selection on a setFont()
14741 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14743 * lyx_cb.C: another bv->text misuse, from insert label
14745 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14748 * kbsequence.C: re-instate nmodifier mask
14750 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14752 * lyx_main.h: make lyxGUI private.
14754 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14756 * lyxfind.C: place the cursor correctly on failed search
14758 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14760 * text.C (getLengthMarkerHeight): for small heights, the arrows
14761 are not always on top/bottom of the text
14762 (drawLengthMarker): smaller arrows; take the left margin in
14763 account; draw also vfills.
14765 (paintLastRow): remove special code for vfill and standard spaces,
14766 since everything is handled in drawLengthMarker now.
14768 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14770 * buffer.C (insertErtContents): try to handle font and language
14771 interaction a bit better.g
14773 * ColorHandler.C (updateColor): change the hash to cover the whole
14774 LColor enum, ws cleanup
14775 (getGCLinepars): ditto
14776 (getGCLinepars): only lookup in the linecache once.
14778 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14780 * iterators.C (operator++): Make the iterator more robust
14782 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14784 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14786 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14789 * text.C: better added space drawing
14791 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14794 * BufferView2.C: fix layout combo update on inset unlock
14796 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14798 * Makefile.am: don't compile unused files
14800 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14804 * LyXAction.C: remove old LFUN_LAYOUTNO
14806 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14808 * paragraph_pimpl.h:
14809 * paragraph_pimpl.C: isTextAt() doesn't need font param
14811 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14814 * lyxlex.C: little cleanup
14816 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14818 * BufferView_pimpl.C: fix insertAscii for insets
14820 2001-12-05 Juergen Vigna <jug@sad.it>
14822 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14823 set the right font on the "multi" paragraph paste!
14825 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14831 * lyxlength.C: remove out-commented code.
14833 * BufferView_pimpl:
14847 * vc-backend.C: change "while(" to "while ("
14849 * lyxlength.[Ch]: add zero function to check if length is zero or
14851 * lyxgluelength.C: use it
14853 2001-12-05 Allan Rae <rae@lyx.org>
14855 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14856 Works for 2.95.3, from what I understand of Garst's reports this should
14857 work for other g++ versions. We're screwed if the abs(int) definition
14858 changed between bugfix releases of gcc.
14860 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14862 * text.C: fix chapter label offset !
14864 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14867 * text.C: fix hfill at end of line, clean up
14869 2001-12-04 Juergen Vigna <jug@sad.it>
14871 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14872 that we force an update of the inset and it's owners if neccessary.
14874 2001-12-03 Juergen Vigna <jug@sad.it>
14876 * text.C (rowLast): simplified code
14878 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14880 * lyxfunc.C: fix show options on timeout
14882 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14884 * screen.C (topCursorVisible): scroll half a page when the cursor
14885 reached top of bottom of screen
14887 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14889 * minibuffer.C: deactivate on loss of focus
14891 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14893 * vspace.[Ch] (operator!=): add operator.
14895 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14897 * BufferView_pimpl.C: refuse to open an inset when
14898 there's a selection.
14900 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14902 * BufferView_pimpl.C: allow to click on RHS of full row insets
14904 2001-11-30 Juergen Vigna <jug@sad.it>
14906 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14907 insets for undo reasons.
14909 2001-11-28 André Pönitz <poenitz@gmx.net>
14911 * vspace.[Ch]: cosmetical changes
14913 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14923 * kbsequence.C: part re-write of old kb code
14926 * WorkArea.C: remove Lgb_bug_find_hack
14928 2001-11-30 José Matos <jamatos@fep.up.pt>
14930 * buffer.C (makeDocBookFile): add a comment to point a hack.
14931 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14932 Fixed a double write of labels.
14934 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14937 * LaTeX.h Fixed bug in LaTeX class where it would not
14938 re-run latex if no depfiles were changed, but the .dvi was removed.
14940 2001-11-28 André Pönitz <poenitz@gmx.net>
14942 * all the files from the change on 2001/11/26:
14943 use lyx::layout_type instead of LyXTextClass::size_type
14944 use lyx::textclass_type instead of LyXTextClassList::size_type
14946 2001-11-29 Juergen Vigna <jug@sad.it>
14948 * text.C: added support for paragraph::isFreeSpacing()
14950 * buffer.C: same as above
14952 * paragraph.h: inserted isFreeSpacing() function to enable
14953 FreeSpacing inside InsetERT.
14955 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14956 of the paragraph's in the cut/copy buffer to 0!
14958 * text2.C (removeRow): remove the assert as it can!
14960 * lyxtext.h: added helper function firstRow returning firstrow and
14961 made firstrow private again.
14963 * BufferView2.C (lockInset): don't relock if we're already locked!
14965 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14966 the only paragraph.
14967 (removeRow): added Assert::(firstrow)
14969 * debug.C: forgot to add INSETTEXT here.
14971 2001-11-28 Juergen Vigna <jug@sad.it>
14973 * sp_spell.C (initialize): changed error text to more general
14974 spellchecker command use (not only ispell!)
14976 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14978 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14980 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14982 * vspace.C: initialise lyxgluelength on failure
14984 2001-11-28 Allan Rae <rae@lyx.org>
14986 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14987 declaration & definition that looks like a function declaration.
14989 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14991 * BufferView2.C (copy):
14992 (copyEnvironment): do not clear the selection when doing a copy.
14994 * text.C (paintFirstRow): compilation fix
14996 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14998 * tabular.C (Latex): correct line count when writing latex.
15000 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
15002 * paragraph_pimpl.h:
15003 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15006 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15010 * LColor.C: change vfillline->added_space
15012 * text.C: add markers and text for added space
15014 * vspace.C: fix comment
15016 2001-11-28 André Pönitz <poenitz@gmx.net>
15018 * paragraph.C: whitespace changes
15019 * all the other files from the change on 2001/11/26:
15020 change *::pos_type into lyx::pos_type
15022 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
15024 * buffer.C (parseSingleLyXformat2Token): Set the language to the
15025 language of the document when inserting error insets.
15027 2001-11-26 André Pönitz <poenitz@gmx.net>
15029 * BufferView_pimpl.[Ch]:
15037 * paragraph_pimpl.[Ch]:
15040 * text2.C: reduce header dependencies, introduce type for positions
15042 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15044 * <various>: change to use Alert.h
15046 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
15048 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15049 when encountering an unknown token.
15050 (readLyXformat2): Show an error message if there were unknown tokens.
15052 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
15055 * BufferView_pimpl.C:
15059 * text2.C: use par->isInset()
15061 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15063 * paragraph_pimpl.h:
15064 * paragraph_pimpl.C: cleanup
15066 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15068 * text2.C (removeRow):
15069 * text.C (setHeightOfRow): remove useless (and costly) call to
15072 2001-11-20 Allan Rae <rae@lyx.org>
15074 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15075 Now need Inset*::checkInsertChar() to return true for appropriate
15076 cases so that the characters in the minibuffer will actually be
15079 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
15081 * text.C: change the order of the includes.
15082 (workWidth): initialize it at once.
15083 (workWidth): make maxw unsigned
15084 (setHeightOfRow): remove unused variable (inset)
15085 (selectSelectedWord): remove unused variable (inset)
15086 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15088 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15090 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15091 server is not running.
15093 (closeConnection): add debug info when server is disabled.
15095 * ColorHandler.C (getGCForeground): send debug message to GUI
15098 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15100 * kbmap.C (bind): modify because return conventions of
15101 kb_sequence::parse have changed.
15103 * kbsequence.C (parse): only ignore spaces and not any stupid
15104 control character. This avoids tests like s[i] <= ' ', which are
15105 guaranteed to fail with 8bit characters and signed chars.
15106 Change return code to string::npos when there have been no error
15107 (0 was a bad idea when error is at first character)
15109 2001-11-14 José Matos <jamatos@fep.up.pt>
15112 * buffer.C (simpleDocBookOnePar): removed unused argument.
15114 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15116 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15117 insets which are part of a word. Paragraph::isLetter takes care of
15118 that now. Use Paragraph::isInset to identify insets.
15119 (selectSelectedWord): do not test for hyphenation break.
15121 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15122 that protected spaces are considered as spaces.
15124 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15127 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15130 * lyxserver.C: fix it. and small cleanup.
15132 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15134 * BufferView_pimpl.C: use inline helpers
15137 * LaTeXFeatures.C: fix typos
15140 * Spacing.C: move spacing_string into class
15142 * ToolbarDefaults.C: move stuff into namespace anon
15144 * layout.h: update enum
15146 * lyxfunc.C: use better debug
15148 * minibuffer.h: fix typo
15152 * WorkArea.C: add and use Debug::WORKAREA
15156 * text2.C: code re-organisation, inline helpers
15158 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15160 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15161 std::vector.empty().
15163 2001-11-09 Allan Rae <rae@lyx.org>
15165 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15166 '\n's after tables. Tabular and ERT inset work now makes this no
15169 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15172 * minibuffer.C: fix crash, improve drop-down completion
15174 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15177 * lyxserver.C: invalidate fd's when doing endPipe()
15179 2001-11-08 José Matos <jamatos@fep.up.pt>
15181 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15182 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15185 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15187 2001-11-07 José Matos <jamatos@fep.up.pt>
15190 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15193 * buffer.C (sgmlOpenTag):
15194 * buffer.C (sgmlCloseTag): removed debug info.
15196 * buffer.h (sgmlOpenTag):
15197 * buffer.h (sgmlCloseTag): made public.
15199 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15201 * buffer.C (saveParamsAsDefaults):
15202 * lyx_cb.C (MenuLayoutSave): remove
15204 * LyXAction.C (init):
15206 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15208 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15210 * buffer.C (setPaperStuff): removed from here...
15212 * bufferparams.C (setPaperStuff): ... and moved there.
15214 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15218 * XFormsView.C: add support for drop-down completion
15220 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15222 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15225 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15227 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15230 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15232 * lyx_main.C: change ref to known bugs
15234 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15236 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15237 to work around older babel problems.
15239 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15241 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15243 2001-10-24 Juergen Vigna <jug@sad.it>
15245 * tabular-old.C (ReadOld): below variable changes reflected.
15247 * tabular.[Ch]: added ltType struct for longtable header/footer
15248 defines and changed all instances where they are used. Added
15249 future support for double top/bottom rows.
15251 2001-10-24 José Matos <jamatos@fep.up.pt>
15253 * buffer.h (docbookHandleCaption):
15254 * buffer.C (docbookHandleCaption): removed unused function.
15255 (makeDocBookFile): moved docbook supported version to v4.1.
15257 2001-10-24 José Matos <jamatos@fep.up.pt>
15260 * tabular.C (docbookRow): new function to export docbook code of a row.
15261 (DocBook): now honors the longtable flags.
15263 2001-10-23 José Matos <jamatos@fep.up.pt>
15266 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15267 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15269 * buffer.C (makeLinuxDocFile):
15270 (makeDocBookFile): reworked the preamble, more clean, and with
15271 support for lyx defined entities. Changed the document declaration
15272 to be more XML friendly.
15274 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15275 if we need to output XML that should be done with a filter.
15277 2001-10-22 Juergen Vigna <jug@sad.it>
15279 * sp_pspell.h (class PSpell): add alive function needed in the
15280 controller to see if the spellchecker could be started.
15282 2001-10-22 Juergen Vigna <jug@sad.it>
15284 * buffer.C (insertStringAsLines): modify the font for inserting
15285 chars in certain conditions by calling checkInsertChar(font).
15287 2001-10-19 Juergen Vigna <jug@sad.it>
15289 * text.C (workWidth): use getRow instead of wrong algorithm.
15290 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15292 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15297 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15299 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15301 * text.C (workWidth): do not search for the exact row when
15302 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15303 optimization for big documents.
15305 2001-10-18 Juergen Vigna <jug@sad.it>
15307 * text.C (workWidth): new function with added Inset * parameter.
15309 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15311 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15313 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15314 change return type of getColumnNearX.
15317 * text.C (changeRegionCase): use uppercase/lowercase instead of
15320 (rightMargin): simplify code by factoring out the uses of
15325 (appendParagraph): use Paragraph::size_type
15327 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15329 * vspace.C (asLatexString): add a missing break
15331 2001-10-15 Herbert Voss <voss@perce.de>
15333 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15335 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15337 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15340 2001-10-10 André Pönitz <poenitz@gmx.net>
15342 * lyxfunc.C: removed greek_kb_flag.
15344 2001-10-10 Herbert Voss <voss@perce.de>
15346 * lyx_main.C: delete global string help_lyxdir.
15348 2001-10-09 Herbert Voss <voss@perce.de>
15350 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15352 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15354 * lyx_main.C: added global string help_lyxdir.
15356 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15358 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15360 * lyxrc.C (set_font_norm_type): support iso8859-4
15362 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15364 * LaTeX.C (deplog): add another regex for MikTeX
15366 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15368 * lyxrc.C (set_font_norm_type): support iso8859-3
15370 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15372 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15374 * LaTeXFeatures.C: remove special case of french and index
15376 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15377 before \begin{document}). This solves several incompatibilities.
15379 2001-10-03 Garst Reese <reese@isn.net>
15381 * lyx_cb.C: change CheckTex error msg.
15383 2001-10-03 José Matos <jamatos@fep.up.pt>
15385 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15387 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15389 * .cvsignore: update
15391 * lyx_main.C (commandLineVersionInfo): use new style version info.
15393 * buffer.C (writeFile):
15395 (makeLinuxDocFile):
15396 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15398 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15400 * version.h: update to use stuff in version.C
15402 * version.C.in: new file. Contains version information determined
15403 at compile time. This is a merging of version.h and
15406 2001-10-03 Juergen Vigna <jug@sad.it>
15408 * BufferView_pimpl.C (update): don't change "dirty" status in
15411 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15413 * WorkArea.C (c-tor): re-position version string slightly.
15415 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15417 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15418 revert to previous code.
15420 WorkArea.[Ch]: (show, destroySplash): methods removed.
15422 WorkArea.C: rework code so that it's an amalgam of the codes before and
15423 after the splash screen was moved to WorkArea.
15425 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15428 * vspace.C (inPixels):
15431 * buffer.C (insertStringAsLines):
15432 (asciiParagraph): fix types to be large enough
15434 * lyxlex_pimpl.h: change member status from short to int
15436 * layout.h: fix type of endlabeltype
15439 * kbsequence.C (parse): change return type to string::size_type
15441 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15444 * Bullet.C (bulletSize):
15445 (bulletEntry): do not use short ints as parameters
15447 * BufferView2.C (insertLyXFile): change a char to an int.
15449 * WorkArea.C (WorkArea): remove unneeded floats in computation
15451 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15453 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15455 * paragraph.C (asString): Do not ignore newline/hfill chars when
15456 copying to the clipboard.
15458 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15460 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15461 after a multi-line inset.
15463 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15465 * paragraph.C (validate): Set NeedLyXFootnoteCode
15467 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15469 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15470 and decrease-error to decrease.
15472 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15474 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15475 it more readable (should be equivalent)
15477 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15479 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15481 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15483 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15484 of a cursor (row, etc.) after a character has been deleted
15485 (deleteEmptyParagraphMechanism): call the method above on _all_
15486 cursors held by the LyXText when a double space has been
15489 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15491 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15493 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15495 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15496 background. Use greyOut() and the new show() methods to toggle between
15497 the foreground and background. Add code to remove the splash after
15498 its initial showing.
15500 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15501 (create_forms): no longer call Dialogs::showSplash.
15503 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15505 * .cvsignore: add version_info.h
15507 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15509 * version_info.h.in: new file
15511 * Makefile.am: add version_info.h.in
15513 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15514 version_info.h instead of VERSION_INFO
15516 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15518 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15519 The ERT inset now returns string().
15521 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15523 * lyxtext.h, text.C (selectNextWord): renamed as
15524 selectNextWordToSpellcheck.
15526 * text.C (selectNextWordToSpellcheck): Modified to not select
15527 words inside an ERT inset.
15529 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15531 * lyx_cb.C (MenuLayoutSave): change a bit the question
15533 * sp_base.h: include <sys/types.h>
15535 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15537 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15539 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15541 * several files: fix typos in user-visible strings
15543 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15545 * text2.C (pasteSelection): do not set the selection, since it
15546 will be cleared later. Actually, the intent was to fix the way the
15547 selection was set, but I figured rmoving the code was just as good.
15549 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15551 * FontLoader.C (available): Check if font is available without
15554 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15556 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15558 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15560 * lyxrc.[Ch]: added display_graphics variable and associated code.
15562 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15564 * bufferparams.C (hasClassDefaults): new method. Returns true if
15565 the buffer parameters correspond to known class defaults
15567 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15569 * XFormsView.C (show): set minimum size to the main window.
15571 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15573 * text2.C (copySelection):
15575 * lyxfind.C (LyXReplace):
15576 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15577 LyXText::selectionAsString.
15579 * paragraph.C (asString): add "label" argument to the second form
15581 * text2.C (selectionAsString): add "label" argument and pass it to
15582 Paragraph::asString.
15584 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15586 * lyx_main.C (commandLineHelp): remove version information
15588 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15590 * lyx_main.C: add -version commandline option
15592 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15594 * paragraph.h: make the optional constructor arg required instead.
15595 some modifications to other files because of this.
15597 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15599 * lyxserver.C (C_LyXComm_callback): make it static
15601 * lyx_main.C (error_handler): make it static
15603 * lyx_gui.C (LyX_XErrHandler): make it static
15605 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15607 * WorkArea.C: make the extern "C" methods static.
15609 * Makefile.am (lyx_LDADD): simplify
15611 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15613 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15614 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15616 * LyXAction.C (init):
15617 * lyxfunc.C (dispatch): associated code removal.
15619 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15621 * lyxfont.h (isSymbolFont): shut off warning
15623 * text.C (setHeightOfRow):
15624 (getVisibleRow): fix crash with empty paragraphs which have a
15627 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15629 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15632 2001-09-04 José Matos <jamatos@fep.up.pt>
15635 * tabular.C (docbook): rename docBook method to docbook.
15637 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15639 * Makefile.am: add dependencies to main.o.
15641 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15643 * FontLoader.C (available): Return false if !lyxrc.use_gui
15645 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15647 * FontInfo.C (query):
15648 * converter.C (view):
15649 * importer.C (Import):
15650 * exporter.C (Export): Can not -> cannot.
15652 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15654 * BufferView_pimpl.C: allow to create index inset even if
15657 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15659 * buffer.C (getLists): replace boost::tie code with an explicit pair
15660 as boost::tie can break some compilers.
15662 * iterators.h: Added a std:: declaration to the return type of
15665 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15667 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15670 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15672 * iterators.[Ch]: New files. Provide paragraph iterators.
15674 * buffer.C (changeLanguage): Use paragraph iterators.
15675 (isMultiLingual): ditto
15677 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15679 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15681 * FontLoader.C: Support for cmr font.
15683 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15685 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15686 (available): New method.
15688 * FontInfo.C (getFontname): Use scalable fonts even when
15689 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15692 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15694 * converter.C (Formats::view): reverted! Incorrect fix.
15696 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15698 * converter.C (Formats::view): only output the -paper option
15699 if the dvi viewer is xdvi, thereby fixing bug #233429.
15701 2001-08-23 Herbert Voss <voss@perce>
15703 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15705 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15707 * Spacing.h (Spacing): Set space to Default on in the default
15710 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15712 * vc-backend.h (RCS::versionString): add RCS to version
15713 (CVS::versionString): add CVS to version
15715 * vc-backend.C (scanMaster): do not add CVS to version.
15716 (scanMaster): do not add RCS to version
15718 * lyxvc.C (versionString): new method
15720 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15722 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15724 * Spacing.C (set): initialize fval
15726 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15728 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15731 2001-08-16 Juergen Vigna <jug@sad.it>
15733 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15735 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15737 * BufferView_pimpl.C:
15740 * text2.C: setParagraph takes linespacing now
15742 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15744 * LyxAction.C: add internal LFUN_CITATION_INSERT
15746 * LyXView.C: actually apply fix
15748 * bufferlist.C: fix open non-existent file
15750 * lyxfind.C: fix indentation
15752 * lyxfunc.C: remove unneeded assert, fix typo
15754 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15756 * MenuBackend.C: use "Floatname List"
15758 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15760 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15761 when converting LaTeX layout to insetERT.
15762 Generate a non-collapsed float when reading old float
15764 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15766 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15769 2001-08-13 Juergen Vigna <jug@sad.it>
15771 * text.C (fill): return 0 instead of 20 as this seems to be the more
15774 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15776 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15779 2001-08-13 Juergen Vigna <jug@sad.it>
15781 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15783 (SearchBackward): comment out the unlocking of the inset_owner this
15784 should not be needed!
15786 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15788 * Many files: Remove inherit_language, and add latex_language
15790 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15791 collapsible insets.
15793 2001-08-10 Juergen Vigna <jug@sad.it>
15795 * text.C (prepareToPrint): fixed hfill-width in draw!
15797 * BufferView2.C (selectLastWord): save the selection cursor as this
15798 now is cleared in the function LyXText::clearSelection!
15800 2001-08-08 Juergen Vigna <jug@sad.it>
15802 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15803 BACKSPACE type functions.
15805 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15806 is only cutted from the document but not put in the cut-buffer, where
15807 still the old stuff should be.
15809 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15811 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15813 * tabular.C (SetWidthOfCell): fixed special case where the width
15815 (LeftLine): handle '|' in align_special.
15817 (LeftAlreadyDrawed): ditto
15818 (SetWidthOfCell): ditto
15820 2001-08-07 Juergen Vigna <jug@sad.it>
15822 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15824 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15826 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15827 * lyxlex.[hC]: ditto
15829 2001-08-06 Juergen Vigna <jug@sad.it>
15831 * text.C (getVisibleRow): fix up row clearing a bit.
15833 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15835 * minibuffer.C: make sure the X server sees the changes in the input.
15837 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15839 * paragraph.C (getFont): split into...
15840 (getLabelFont): this
15841 (getLayoutFont): and this
15842 * paragraph_pimpl.C (realizeFont): calling this
15844 * text2.C (getFont): split into...
15845 (getLayoutFont): this
15846 (getLabelFont): and this
15847 (realizeFont): all three calling this
15849 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15852 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15854 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15856 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15858 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15859 layouts from the Quote inset insertion.
15861 2001-08-03 Juergen Vigna <jug@sad.it>
15863 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15865 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15866 only if status not is already CHANGED_IN_DRAW (second level).
15868 * text.C (draw): don't set the need_break_row when inside an
15871 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15873 * buffer.C (parseSingleLyXformat2Token): handle more latex
15876 * bufferview_funcs.[hC]: change function names to
15877 begin with small char, adjust other files.
15879 2001-08-02 André Pönitz <poenitz@gmx.net>
15882 BufferView_pimpl.C: remove broken special code for math-greek
15884 2001-08-02 Juergen Vigna <jug@sad.it>
15886 * BufferView_pimpl.C (update): redone this function so that we
15887 update the text again if there was a CHANGE_IN_DRAW.
15889 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15890 (drawFromTo): added a new internal bool which is used by draw() and
15892 (general): some cursor drawing problems fixed.
15894 2001-08-01 Juergen Vigna <jug@sad.it>
15896 * lyxfind.C (LyXFind): fixed
15897 (SearchForward): ditto
15898 (SearchBackward): ditto
15900 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15901 spurius drawing of the cursor in the main area.
15903 * text2.C (status): small fix which could lead to a segfault!
15904 (clearSelection): remove unneeded BufferView param.
15906 2001-08-01 André Pönitz <poenitz@gmx.net>
15908 * lyxfunc.C: small change due to changed mathed interface
15910 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15912 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15914 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15916 * lyxfunc.c: fail gracefully if file doesn't exist
15921 * BufferView_pimpl.C: IsDirWriteable() proto changed
15923 * LyXView.C: fix updateWindowTitle() to store the last title
15925 2001-07-31 Juergen Vigna <jug@sad.it>
15927 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15928 the font (wrong since using of Paragraph::highestFontInRange).
15930 * paragraph.C (highestFontInRange): added a default_size parameter.
15932 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15933 (setHeightOfRow): reformat
15935 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15937 * converter.[hC] + affected files: move to (inital-char)lowercase
15940 * ParagraphParameters.C (ParagraphParameters): remove commented code
15942 * PainterBase.[Ch]: remove commented code
15944 * LaTeXFeatures.h: add "bool floats" for float.sty
15946 * LaTeXFeatures.C (LaTeXFeatures): init floats
15947 (require): handle float
15948 (getPackages): do it with floats
15950 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15952 * BufferView_pimpl.C (Dispatch): improve handling of
15953 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15955 * commandtags.h: #include lyxfont.h here temporarily to avoid
15958 * bufferlist.h: include LString.h here.
15960 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15962 * text2.C (getStringToIndex): new method.
15964 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15966 * *: Reduced header file dependencies all over.
15968 2001-07-30 Baruch Even <baruch@lyx.org>
15970 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15972 2001-07-29 Baruch Even <baruch@lyx.org>
15974 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15976 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15978 * ParameterStruct.h (endif): add a default constructor to make
15979 sure that all variables is initialized.
15981 * ParagraphParameters.C (ParagraphParameters): adjust
15983 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15985 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15986 index; also, check that there is something to index, and that it
15987 does not span over several paragraphs.
15988 (doubleClick): use WHOLE_WORD_STRICT for double click.
15990 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15992 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15995 2001-07-26 Baruch Even <baruch@lyx.org>
15997 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15998 an InsetFig figure, backwards compatible reading of old figure code.
16000 2001-07-27 Juergen Vigna <jug@sad.it>
16002 * text2.C: font.realize function adaption.
16004 * text.C (draw): add a warnings lyxerr text if needed.
16006 * layout.C: font.realize function adaption.
16008 * language.C: add inherit_language and implement it's handlings
16010 * bufferview_funcs.C (StyleReset): remove language parameter from
16011 font creation (should be language_inherit now).
16013 * bufferparams.C (writeFile): handle ignore_language.
16015 * paragraph.C (getFontSettings): the language has to be resolved
16016 otherwise we have problems in LyXFont!
16018 * lyxfont.C (lyxWriteChanges): added document_language parameter
16019 (update): removed unneeded language parameter
16021 * paragraph.C (validate): fixed wrong output of color-package when
16022 using interface colors for certain fonts in certain environments,
16023 which should not seen as that on the final output.
16025 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
16027 * BufferView_pimpl.C:
16032 * LyXAction.C: add thesaurus support
16035 * lyxfind.C: add "once" parameter, for thesaurus, to not
16036 move to the next match
16038 2001-07-26 Juergen Vigna <jug@sad.it>
16040 * lyxfont.C (realize): honor ignore_language too!
16043 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16045 * text.C (draw): one place more for ignore_language to not draw
16048 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
16050 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16052 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16054 * buffer.C (parseSingleLyXformat2Token): a more general fix for
16055 the minipage conversion problem.
16057 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16059 * buffer.C (parseSingleLyXformat2Token): check minipage if we
16062 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16064 * BufferView.h: don't forward declare WorkArea
16066 * BufferView.C: don't include WorkArea.h
16068 2001-07-25 André Pönitz <poenitz@gmx.net>
16072 * lyxfunc.C: new LFUN 'math-space'
16074 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16076 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16078 * text2.C (toggleInset): call open/close
16080 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16082 * lyxfunc.C (dispatch): add debug for the disabled case
16084 * font.C (buttonText): make similar to rectText
16086 * buffer.C (readInset): comment out parsing of insetlist and
16089 * PainterBase.C (rectText): small correction
16091 * BufferView_pimpl.C: comment out insettheorem and insetlist
16092 * LyXAction.C: ditto
16093 * commandtags.h: ditto
16095 2001-07-24 Juergen Vigna <jug@sad.it>
16097 * text.C (draw): honor the ignore_language.
16099 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16101 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16103 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16106 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16108 * lyxtext.h: remove unused (and unimplemented) methods
16110 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16112 * text.C (getVisibleRow): honor background color
16115 * Painter.h: remove default color argument for fillRectangle
16117 * text.C (backgroundColor): new method
16119 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16121 * text.C (getVisibleRow): adjust
16123 * font.[Ch] (rectText): new method, metrics
16124 (buttonText): new method, metrics
16126 * PainterBase.[hC]: make rectText and buttonText always draw and take
16129 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16131 * ToolbarDefaults.C (read):
16132 * MenuBackend.C (read): allow escaping in all strings
16134 * BufferView_pimpl.C (insertAndEditInset): new method.
16135 (Dispatch): use insertAndEditInset whenever appropriate.
16137 * BufferView_pimpl.C (insertNote): removed
16139 * BufferView_pimpl.C (smartQuote): new method, moved from
16140 BufferView; if an insetquote cannot be inserted, insert a '"'
16143 * BufferView2.C: remove insertCorrectQuote();
16145 * lyxfunc.C (getStatus): Add support for all remaingin
16146 inset-insert lfuns.
16148 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16150 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16151 command (necessary to pass " as parameter of self-insert.
16153 * text.C (selectWordWhenUnderCursor):
16154 (selectWord): add word_location parameter
16155 (selectWordWhenUnderCursor): same + remove special code for word
16157 (selectNextWord): use kind() to guess type of insetspecialchar,
16160 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16161 (insertErtContents): create ert insets as collapsed.
16162 (readInset): better compatibility code for Info inset.
16164 2001-07-20 Juergen Vigna <jug@sad.it>
16166 * lyxfunc.C (dispatch): use always LyXFind now!
16168 * text2.C (init): add a reinit flag so that the LyXText can be
16169 reinited instead of deleted and reallocated (used in InsetText).
16171 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16177 2001-07-18 Juergen Vigna <jug@sad.it>
16179 * text.C (selectNextWord): handle insets inside inset by calling
16180 always the bv->text functions so that we can go up the_locking_inset!
16182 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16183 in strange locations when inside an inset!
16185 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16186 handling to include insets.
16188 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16190 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16192 * LyXAction.C (init):
16194 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16195 LIGATURE_BREAK, since the name is so stupid.
16197 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16199 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16202 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16204 * sp_form.[Ch]: remove.
16206 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16208 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16211 * src/buffer.C (readInset): ditto.
16213 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16215 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16216 menuSeparator(), endOfSentenceDot(), ldots() and
16217 hyphenationPoint(), which are therefore removed.
16218 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16220 * LyXAction.C (init):
16221 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16223 * paragraph.C (getWord): removed.
16225 * BufferView_pimpl.C (Dispatch): use last word or selection for
16226 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16228 * lyx_main.C (queryUserLyXDir): do not ask before creating
16229 user_dir, except if it has been named explicitely.
16231 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16233 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16234 a document of zero size.
16236 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16238 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16239 approriately in the c-tor and in require().
16240 (getPackages): output the appropriate LaTeX for natbib support.
16242 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16243 variables "use_natbib" and "use_numerical_citations" when reading the
16245 (readInset): read the various natbib cite commands.
16246 (validate): white-space change.
16248 * bufferparams.[Ch]: new variables "bool use_natbib" and
16249 "bool use_numerical_citations".
16250 (writeFile): output them in the LyX file.
16252 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16254 * lyxfunc.C (getStatus): add support for all the inset insertion
16257 * text2.C (insertInset):
16258 * paragraph.C (insetAllowed):
16259 * BufferView_pimpl.C (insertInset): update to take in account the
16260 renaming of insertInsetAllowed
16262 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16264 * text2.C (getInset): new method. returns inset at cursor position.
16266 * BufferView_pimpl.C (Dispatch): changes because of this.
16268 * LyXAction.C (init): rename open-stuff to inset-toggle.
16270 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16272 * text2.C (toggleInset): renamed from openStuff; use
16275 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16277 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16279 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16281 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16283 * buffer.C (readLyXformat2): Add filename to the error dialog
16285 2001-07-18 Juergen Vigna <jug@sad.it>
16287 * tabular.C (GetCellNumber): put an assert here instead of the check!
16289 2001-07-17 Juergen Vigna <jug@sad.it>
16291 * BufferView_pimpl.C (toggleSelection): adapted too.
16293 * text.C (selectNextWord): adapted for use with insets.
16294 (selectSelectedWord): ditto
16296 2001-07-17 Juergen Vigna <jug@sad.it>
16298 * sp_spell.C (PSpell): fix initialitation order.
16300 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16302 * paragraph.C: spacing
16304 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16306 * sp_spell.C: repair language selection for pspell
16308 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16310 * lyxfunc.h: change more methods to begin with lower char.
16312 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16314 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16315 for unknown layouts.
16317 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16319 * buffer.C (readLyXformat2): Generate an error dialog if there are
16322 2001-07-16 Juergen Vigna <jug@sad.it>
16324 * sp_spell.C: always compile ISpell part.
16326 * lyxrc.C: added use_pspell entry and it's handling.
16328 2001-07-13 Juergen Vigna <jug@sad.it>
16330 * sp_spell.C: removed double includes.
16332 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16334 Consistent use of Lsstream.h:
16335 * Lsstream.h: added using std::stringstream for consistencies sake.
16337 * buffer.C: removed using std::stringstream
16339 * lyxfont.C (stateText):
16340 * paragraph.C (asString):
16341 * text.C (selectNextWord, selectSelectedWord):
16342 * text2.C (setCounter):
16343 * vspace.C (asString, asLatexString):
16344 std::ostringstream -> ostringstream.
16346 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16348 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16349 * commandtags.h: add LFUN_HELP_ABOUTLYX
16350 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16352 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16354 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16356 * lyx_gui_misc.C: remove spellchecker
16357 * lyxfunc.C: showSpellchecker
16359 * sp_ispell.h: added
16360 * sp_pspell.h: added
16361 * sp_spell.C: added
16362 * sp_form.[Ch]: removed
16363 * spellchecker.[Ch]: removed
16365 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16367 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16369 (simpleTeXSpecialChars): Simply print the input character without
16370 any special translation if pass_thru is set.
16372 * layout.h: Added bool pass_thru to layout class for being able to
16373 implement pass through of a paragraph for Literate Programming.
16375 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16376 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16377 * layout.C (Read): add "passthru" to list of layout tags and add
16378 code to set the pass_thru boolean when it is read.
16380 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16382 * trans_decl.h: remove allowed from KmodInfo
16384 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16385 remove allowed code
16388 * paragraph_pimpl.C (erase): use boost::prior
16390 * Painter.C (text): use data() instead of c_str() when length is
16392 * WorkArea.C (putClipboard): ditto
16393 * font.h (width): ditto
16395 * BufferView2.C: use it-> instead of (*it). for iterators
16397 * paragraph_pimpl.C: ditto
16398 * paragraph.C: ditto
16399 * minibuffer.C: ditto
16400 * language.C: ditto
16402 * encoding.C: ditto
16403 * counters.C: ditto
16404 * converter.C: ditto
16406 * Variables.C: ditto
16407 * TextCache.C: ditto
16408 * MenuBackend.C: ditto
16409 * LyXAction.C: ditto
16411 * FloatList.C: ditto
16412 * DepTable.C: ditto
16413 * ColorHandler.C (LyXColorHandler): ditto
16415 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16417 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16419 * text2.C (openStuff): reintroduce this method (which had been
16420 nuked in NEW_INSETS frenzy).
16422 * lyxfunc.C (Dispatch): when an action has not been handled, use
16423 its name in the error message, not its number.
16425 * paragraph.C (inInset): change method name to begin with lowercase.
16428 * text2.C: updates because of this.
16430 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16432 * ToolbarDefaults.C (add): add spaces in error message
16434 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16436 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16437 (readLyXformat2): rename return_par to first_par, use lyxlex's
16438 pushToken and remove the manual push handling.
16439 (parseSingleLyXformat2Token): add another ert comp. variable:
16440 in_tabular, rename return_par to first_par. handle newlines better
16442 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16444 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16446 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16448 * text2.C (getParFromID): removed
16450 * buffer.C (getParFromID): new method moved form lyxtext.
16451 * BufferView2.C (insertErrors): adjust
16452 (setCursorFromRow): adjust
16453 * BufferView_pimpl.C (restorePosition): adjust
16454 * lyxfunc.C (Dispatch): adjust
16455 * undo_funcs.C (textUndo): adjust
16457 (textHandleUndo): adjust
16458 (textHandleUndo): adjust
16460 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16462 * buffer.C: up' the LYX_FORMAT
16464 * lyxfont.h: turn NO_LATEX on as default
16466 * buffer.C (insertErtContents): new methods of tex style compability.
16467 (parseSingleLyXformat2Token): use it several places.
16468 * tabular.C (OldFormatRead): and here
16470 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16472 * text2.C: remove some commented code.
16475 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16476 * trans.C: changes because of the above.
16478 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16480 * text2.C (setCounter): Fix counters bug with bibliography layout.
16482 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16484 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16485 own member functions
16486 (simpleTeXSpecialChars): ditto
16488 2001-07-06 Juergen Vigna <jug@sad.it>
16490 * a lot of files: changed the access to LyXText::status and the
16491 call of undo-functions.
16493 * undo.[Ch]: added a inset_id to the undo informations.
16495 * undo_funcs.[Ch]: added and moved here all undo functions.
16497 * lyxtext.h: give the status enum a weight, made status_ a private
16498 variable and made accessor functions for it, removed the whole bunch
16499 of undo-functions as they are now in their own file, make some
16500 functions publically available. Added function ownerParagraph with
16503 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16504 made InInset() a const function, added getParFromID() function.
16506 * buffer.[Ch]: added const version for inset_iterator functions,
16507 added getInsetFromID() function.
16509 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16510 changed undo functions for new version.
16512 2001-07-05 Juergen Vigna <jug@sad.it>
16514 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16515 unknow mechanism does not call the proper constructor but only this
16516 one also if I request the other!?
16518 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16520 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16522 * text2.C (LyXText): use initialization lists.
16524 * lyxtext.h (Selection): initialize set_ and mark_
16525 (init): remove method
16527 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16529 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16531 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16533 * screen.[Ch]: change method names to begin with lowercase
16535 * BufferView_pimpl.C (updateScrollbar): simplify further and
16536 hopefully make it a bit faster.
16538 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16540 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16541 calling directly xforms functions.
16543 * Painter.C (Painter):
16544 * lyx_cb.C (MenuWrite):
16545 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16548 * lyx_gui.C: remove bogus guiruntime extern declaration.
16550 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16552 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16554 (redoDrawingOfParagraph): ditto
16555 (redoParagraphs): ditto
16556 (cutSelection): don't create a object for CutAndPaste use the
16557 static method directly
16558 (pasteSelection): ditto
16560 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16563 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16565 * modifications to some other files because of this.
16567 * Makefile.am (lyx_SOURCES): add XFormsView
16569 * XFormsView.[Ch]: new files
16571 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16572 the main window. Move the gui dependent stuff to XFormsView
16574 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16576 * tabular.C (GetCellInset): update cur_cell also in the row/col
16577 version of this function.
16579 * lyxfunc.C: no need to include figure_form.h here.
16585 * lyxvc.C: no need to include forms.h here.
16587 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16589 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16591 * lyxfunc.C (Dispatch):
16593 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16594 constructor argument.
16596 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16598 * paragraph.C (Paragraph): dont't clear, and just set layout.
16599 (makeSameLayout): use params's copy contructor.
16601 * ParagraphParameters.[Ch] (makeSame): delete method
16603 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16605 * Variables.[Ch]: fix indentation, rename set to isSet
16607 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16609 * lyxfunc.C (Dispatch): fix typo
16611 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16613 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16616 * bufferlist.C: include assert.h for emergencyWrite().
16618 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16620 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16621 give up at last (bug #425202) !
16623 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16629 * spellchecker.C: strip spellchecker options and bring up
16630 preferences tab instead
16632 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16634 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16635 the istringstream constructor
16637 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16639 * paragraph.C (getLayout): fix return value
16641 * paragraph.h: do not declare getLayout as inline.
16643 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16645 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16647 * lyxcursor.h (operator<): new func
16648 (operator>): new func
16649 (operator>=): new func
16650 (operator<=): new func
16652 * text.C (changeCase): use selection.start and selection.end
16653 (changeRegionCase): require from to be <= to. Require par to be a
16656 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16658 2001-06-27 Juergen Vigna <jug@sad.it>
16660 * text.C (cursorLeftOneWord): changed to return the cursor and added
16661 overlay with BufferView * parameter which calls this one.
16663 (selectWord): use new getWord function.
16664 (changeCase): renamed from changeWordCase as and extended to work
16665 also on selections.
16667 * lyxtext.h: added enum word_location
16669 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16670 changeCase as this operates now also on selections.
16672 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16674 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16676 * many files: send debug output to Debug::INFO instead of
16679 * converter.C (View):
16681 (Move): send debug output to Debug::FILES instead of console.
16683 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16685 * lyxfunc.C (getStatus): use func_status
16687 * func_status.h: new header, describing the results of
16688 LyXFunc::getStatus;
16690 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16693 2001-06-25 The LyX Project <jug@sad.it>
16695 * buffer.C (sgmlOpenTag):
16697 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16699 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16701 * text2.C: remove some dead code
16703 * tabular.C (GetCellInset): store the last cell checked (gotten)
16705 * tabular.h: add the helper for the speedup
16707 * lyxtext.h: remove some dead code
16709 2001-06-26 The LyX Project <Asger>
16711 * paragraph.C: Change export to LaTeX of alignment to
16712 \begin{center} and family for better roundtrip work with reLyX.
16714 * Tune the math drawing a bit.
16716 2001-06-25 The LyX Project <Asger>
16718 * LColor.C (LColor): New color for math background. New color
16721 2001-06-25 The LyX Project <jug@sad.it>
16723 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16725 * lyxfunc.C (Open):
16726 * bufferlist.C (newFile): do not restrict to files ending with
16729 * BufferView_pimpl.C (MenuInsertLyXFile):
16731 2001-06-24 The LyX Project <jug@sad.it>
16733 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16736 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16738 * lyxtext.h: rename most methods to begin with a small char.
16739 Lots of changes because of this.
16741 * paragraph.C (Paragraph): do not call fitToSize
16742 (erase): call Pimpl::erase
16743 (insertChar): call Pimpl::insertChar
16744 (insertInset): call Pipl::insertInset
16745 (breakParagraph): do not call fitToSize
16746 (breakParagraphConservative): do not call fitToSize
16747 (fitToSize): remove method
16749 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16751 2001-06-24 The LyX Project <Asger>
16753 * Fix Qt compilation^2
16755 2001-06-24 The LyX Project <jug@sad.it>
16757 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16758 depthHook(getDepth()-1).
16761 * ParagraphParameters.h:
16762 * ParameterStruct.h: change type of depth to unsigned int ==
16763 depth_type. Many adaptations to other files before of that.
16765 2001-06-24 The LyX Project <Asger>
16767 * Fix Qt compilation.
16769 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16771 * paragraph.h: renamed several methods to begin with small letter.
16772 several changes to many parts of the code because of this.
16774 2001-06-23 The LyX Project <jug@sad.it>
16776 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16777 rewritten to discard all double spaces when KeepEmpty is off
16778 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16779 to only handle newlines but not fiddle with spaces and friends.
16781 * lyxfunc.C (MenuNew): when doing 'new from template', use
16782 template_path as default directory
16784 2001-06-23 The LyX Project <Asger>
16786 * Clean-up of header file includes all over
16787 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16789 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16791 * paragraph.h: renamed from lyxparagraph.h
16793 2001-06-23 Asger <lyx@violet.home.sad.it>
16795 * Buffer.h: Removed Buffer::resize
16796 * BufferList.h: Removed BufferList::resize
16797 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16798 the document lazily when we change the width, or the font settings.
16800 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16802 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16804 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16806 * buffer.h: remove out of date comment
16808 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16811 * screen.C: fix "theoretical" GC leak
16813 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16815 * LaTeX.C (scanAuxFile):
16816 (deplog): remove trailing \r when reading stream (useful under
16819 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16821 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16822 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16823 and BufferView::theLockingInset(Inset*), so should use them and not
16824 access bv_->text->the_locking_inset directly.
16826 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16828 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16831 * tex-defs.h: remove old unused file
16833 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16835 * BufferView_pimpl.C: fix typo, remove minibuffer message
16836 when buffer has loaded
16838 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16840 * lyxfunc.C (Dispatch): use stringstream
16841 (MenuNew): use stringstream
16842 (Open): use stringstream
16844 * importer.C (Import): use stringstream
16846 * bufferview_funcs.C (CurrentState): use stringstream
16848 * LaTeX.C (run): use stringstream
16850 * BufferView_pimpl.C (savePosition): use stringstream
16851 (restorePosition): use stringstream
16852 (MenuInsertLyXFile): use stringstream
16854 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16867 * vspace.C: removed // -*- C++ -*- as first line.
16870 * version.h: added // -*- C++ -*- as first line.
16872 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16874 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16876 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16879 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16881 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16884 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16886 * gettext.C: include LString.h even when --disable-nls is on.
16888 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16890 * converter.h (Get): changed argument type from int to
16891 FormatList::size_type to avoid unnecessary conversion.
16893 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16896 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16898 * gettext.h: include LString.h even when --disable-nls is on.
16900 2001-06-07 Juergen Vigna <jug@sad.it>
16902 * text.C (BreakAgain): subst spaces with tabs.
16904 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16905 (resizeInsetsLyXText): set force on resizeLyXText.
16907 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16909 * gettext.h (gettext_init):
16910 (locale_init): use a real definition instead of a macro
16912 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16914 * Bufferview_pimpl.C:
16916 * LColor.C: further lcolor tidies
16918 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16920 * BufferView_pimpl.C (updateScrollbar): simplify.
16922 * BufferView2.C: don't include insets/insetinfo.h, change
16923 prototype for insertInset and call the Pimpl version. let
16924 updateInset call Pimpl version.
16926 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16927 gotoInset to BufferView::Pimpl
16929 2001-06-01 Juergen Vigna <jug@sad.it>
16931 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16932 inside a LockingInset (is the update needed at all?).
16934 2001-05-31 Juergen Vigna <jug@sad.it>
16936 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16937 here not the old one otherwise how should we compare it afterwards
16940 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16945 * FontInfo.C: bring C functions into global namespace when
16948 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16950 * LString.h: make sure config.h has been loaded before LString.h.
16952 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16953 (one for each char read by EatLine!).
16955 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16958 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16960 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16961 to the same as the par we break from
16963 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16965 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16967 * MenuBackend.C (expand): also create menu entries for wide
16968 versions of the floats.
16970 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16972 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16974 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16975 frontends/Makefile.am
16981 * tabular.C (getTokenValue): add std::
16983 * tabular-old.C (getTokenValue): add std::
16984 (getTokenValue): ditto
16985 (getTokenValue): ditto
16987 * screen.C (ToggleSelection): adjust
16989 * lyxtext.h: put selection cursors inside a Selection struct.
16991 * lyxfunc.C (moveCursorUpdate): adjust
16993 * lyxfont.C (latexWriteStartChanges): add std::
16995 * lyxfind.C: adjust
16997 * font.h: delete with(char const *, LyXFont const &)
16999 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17001 * FontInfo.C (getFontname): add std::
17003 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17004 (workAreaButtonPress): adjust
17005 (tripleClick): adjust
17007 (moveCursorUpdate): adjust
17010 * BufferView2.C (gotoInset): adjust
17012 2001-05-30 Juergen Vigna <jug@sad.it>
17014 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17015 to check pspell I add this as default as I now have new pspell
17016 libraries and they seem to use this.
17018 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
17020 * text2.C (CutSelection): make the cursor valid before the call to
17023 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17025 * kbsequence.C (parse): de-uglify a bit the parsing code, which
17026 relied on 0 terminated strings and other horrors. Bug found due to
17027 the new assert in lyxstring!
17029 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17032 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
17034 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17037 * lyxfunc.C (processKeySym): change method of getting to the
17040 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17041 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17042 * BufferView_pimpl.[Ch]: here as private methods.
17044 2001-05-28 Juergen Vigna <jug@sad.it>
17046 * text.C (SetHeightOfRow): added the update() call again as it is
17047 needed to initialize inset dimensions!
17049 2001-05-16 Juergen Vigna <jug@sad.it>
17051 * text2.C (SetCharFont): Add new function with BufferView * and
17052 bool toggleall parameters for setting insets internal fonts.
17053 (SetFont): Freeze the undo as we may change fonts in Insets and
17054 all this change should be inside only one Undo!
17056 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17057 setting font's in insets as for them we have the SetFont function!
17059 2001-05-15 Juergen Vigna <jug@sad.it>
17061 * text2.C (ClearSelection): to be sure we REALLY don't have any
17064 * tabular.C (TeXCellPreamble): fixed the left border problem for
17067 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
17069 * LaTeX.C (deplog): Make sure that the main .tex file is in the
17072 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17074 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17075 LFUN_BREAKPARAGRAPH.
17077 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17078 help test to "internal only", similar for LFUN_INSERT_URL
17080 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17081 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17082 auto_region_delete and deadkeys.
17084 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17087 * LColor.C: remove some dead entries, tidy a little
17089 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17091 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17093 (Dispatch): implement LFUN_ESCAPE
17095 * commandtags.h: add LFUN_ESCAPE
17097 * LyXAction.C (init): add entry for LFUN_ESCAPE
17099 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17100 Remove commented code.
17101 (insertNote): moved here
17102 (open_new_inset): moved here
17104 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17107 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17109 * kbmap.C (findbinding): clean it up and make it work correctly.
17111 * lyx_main.C (init): do not pass argc and argv as parameters
17113 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17115 * buffer.C: fix path for OS/2 & Win32
17119 * lyx_main.C: Added os:: class.
17121 * os2_defines.h: update
17123 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17125 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17126 better by trying again with reduced state.
17128 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17130 * lyxrc.C (read): print error about invalid key sequence only when
17131 debugging (because not all latinX keysyms are known to some X
17134 * kbsequence.C (getiso): add a few std:: qualifiers
17135 (getiso): comment out extra return statement.
17137 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17139 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17141 (Dispatch): enhance the accent inset a bit. (not perfect)
17143 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17145 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17147 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17149 * bufferlist.C (emergencyWrite): fix assert() call
17151 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17153 * text.C (InsertChar): Added trivial patch to only send the "you
17154 can not do multiple spaces this way" message once during a
17157 2001-05-08 Baruch Even <baruch@lyx.org>
17159 * Makefile.am: Changed order of libraries to get LyX to link properly
17160 with the gnome frontend.
17162 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17164 * LaTeXFeatures.h: add a std:: qualifier
17166 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17168 * paragraph.C (String): use stringstream
17170 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17172 * paragraph.C (writeFile): remove footflag arg
17174 * buffer.C (makeLaTeXFile): use stringstream
17175 (latexParagraphs): remove footnot gurba
17177 * LaTeXFeatures.C (getPackages): use stringstream
17178 (getMacros): likewise
17179 (getTClassPreamble): likewise
17180 (getFloatDefinitions): new method
17182 * paragraph.C (writeFile): reindent
17185 * WorkArea.h: revert the xpos + etc changes.
17187 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17189 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17191 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17192 (pasteSelection): likewise
17193 * text2.C (CreateUndo): likewise
17195 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17197 * minibuffer.C (peek_event): temporarily reduce the functionality
17198 of the minibuffer (to allow args on lfuns)
17200 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17201 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17203 * buffer.C (readInset): add compability reading of old float
17204 lists, add reading of new style float list.
17205 (readInset): avoid reevaluation of inscmd.getCmdName()
17206 (getLists): reindent
17208 * MenuBackend.C (MenuItem): implement parsing of
17209 md_floatlistinsert and md_floatinsert.
17210 (expand::LastFiles): move initalizaton of iterators out of loop,
17211 avoid reevaluation.
17212 (expand::Documents): introduce typdedef vector<string> Strings,
17214 (expand::ExportFormats): introduce typedef vector<Format const *>
17215 Formats, and use it.
17216 (expand): implement FloatListInsert and FloatInsert.
17218 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17219 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17220 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17222 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17224 (Dispatch::LFUN_FLOAT_LIST): implement
17226 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17228 * LaTeX.C (run): Fix problem with --export code.
17230 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17232 * BufferView.[Ch] (workarea): removed.
17233 (getClipboard) new method; wrapper for workarea()->getClipboard()
17235 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17238 * WorkArea.h (width, height, xpos, ypos): These methods all
17239 returned the dimensions of the work_area sub-area of WorkArea,
17240 resulting in a position error if the WorkArea were resized. Now
17241 return the dimensions of the entire WorkArea.
17243 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17245 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17247 * LaTeX.C (deplog): correct the syntax of regex reg1
17249 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17251 * undo.C: remove !NEW_INSETS cruft
17253 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17255 * text2.C: remove !NEW_INSETS cruft
17257 * text.C: remove !NEW_INSETS cruft
17259 * tabular.C: remove !NEW_INSETS cruft
17261 * spellchecker.C: remove !NEW_INSETS cruft
17263 * lyxtext.h: remove !NEW_INSETS cruft
17265 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17267 * lyxfunc.C: remove !NEW_INSETS cruft
17269 * lyxfind.C: remove !NEW_INSETS cruft
17271 * lyx_cb.C: remove !NEW_INSETS cruft
17273 * figureForm.C: remove !NEW_INSETS cruft
17275 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17277 * buffer.[Ch]: remove !NEW_INSETS cruft
17279 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17281 * CutAndPaste.C: remove !NEW_INSETS cruft
17283 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17285 * BufferView2.C: remove !NEW_INSETS cruft
17287 * BufferView.h: remove !NEW_INSETS cruft
17289 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17291 * Lsstream.h: include LString.h before the sstream headers to
17292 fix problem with gcc 2.95.3 and lyxstring
17294 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17296 * lyx_main.C: add using directives when needed for C functions
17297 declared in std:: namespace.
17299 2001-04-27 Juergen Vigna <jug@sad.it>
17301 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17302 (SetHeightOfRow): comment out the update call should not be needed!
17304 2001-04-13 Juergen Vigna <jug@sad.it>
17306 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17307 (LyXTabular): tried to minimize operator= operations (and realized
17308 hopfully Lars wish).
17310 2001-04-27 Juergen Vigna <jug@sad.it>
17312 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17314 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17316 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17318 * buffer.C (readInset): hack to make listof algorithm work
17320 * BufferView_pimpl.C: hack to make listof algorithm work
17322 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17324 * LyXAction.C: removed all !NEW_INSETS cruft
17325 (init): moved lfun_item in method
17327 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17329 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17331 * BufferView2.C (theLockingInset): white space.
17333 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17335 * minibuffer.C: include <iostream>
17337 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17339 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17341 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17343 * text.[Ch] (TransposeChars): new method
17345 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17347 * call message directly through LyXView instead of through LyXFunc
17348 * BufferView2.C: adjust
17349 * BufferView_pimpl.C: adjust
17350 * FontLoader.C: adjust
17352 * bufferview_funcs.C: adjust
17353 * converter.C: adjust
17354 * figureForm.C: adjust
17355 * importer.C: adjust
17357 * lyx_gui_misc.C: adjust
17358 * lyxfunc.C: adjust
17361 + more files in subdirs
17363 * lyxparagraph.h (size): move up int file
17366 * adjust all uses of Assert to lyx::Assert.
17368 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17369 lyxfunctional in namespace lyx
17370 * layout.C (hasLayout): ditto
17373 (delete_layout): ditto
17374 (NumberOfClass): ditto
17375 * converter.C (GetFormat): ditto
17380 * bufferlist.C (getFileNames): ditto
17381 (emergencyWriteAll): ditto
17384 * MenuBackend.C (hasSubmenu): ditto
17387 * BufferView_pimpl.C (getInsetByCode): ditto
17389 2001-04-18 Juergen Vigna <jug@sad.it>
17391 * vspace.C (asLatexString): fixed the 100% problem.
17393 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17395 * lyxfunc.C (Dispatch):
17397 * minibuffer.h: add a few std:: qualifiers
17399 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17401 * minibuffer.[Ch]: reimplement so that commands is initiated and
17402 run from lyxfunc, simplified som handling, and made the completion
17403 and history code for complete. wip.
17405 * lyxfunc.C (processKeySym): call message
17406 (miniDispatch): new temporary method
17407 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17408 (LFUN_MESSAGE): implement
17409 (LFUN_MESSAGE_PUSH): implement
17410 (LFUN_MESSAGE_POP): implement
17411 (initMiniBuffer): the initial/defualt minibuffer message.
17413 * lyxfont.[Ch]: inline some more getters
17415 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17417 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17419 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17420 (AutoSave): use LFUN_MESSAGE
17421 (Reconfigure): ditto
17423 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17425 * figureForm.C: use LFUN_MESSAGE
17427 * converter.C (runLaTeX): use LFUN_MESSAGE
17429 * bufferview_funcs.C: use LFUN_MESSAGE
17431 (changeDepth): ditto
17433 * bufferparams.h: use boost::
17435 * bufferlist.h: inherit privately from noncopyable
17437 * bufferlist.C (loadLyXFile): remove some commented code.
17439 * buffer.C (runChktex): use LFUN_MESSAGE
17441 * ShareContainer.h: inherit privately from noncopyable
17443 * ParagraphParameters.[hC] (depth): inline it.
17445 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17447 (message): new method
17448 (messagePush): ditto
17449 (messagePop): ditto
17450 (show): init minibuffer
17451 (showState): direct call
17453 * LaTeX.[Ch]: inherit privately from noncopyable
17454 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17455 instead of WriteStatus.
17457 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17459 * BufferView_pimpl.C (buffer): don't init minibuffer
17460 (workAreaButtonPress): use LFUN_MESSAGE
17461 (workAreaButtonRelease): ditto
17462 (savePosition): ditto
17463 (restorePosition): ditto
17464 (MenuInsertLyXFile): ditto
17465 (workAreaExpose): don't init minibuffer
17466 (update): remove commented code, simplify
17468 * BufferView2.C (openStuff): use LFUN_MESSAGE
17469 (toggleFloat): ditto
17472 (copyEnvironment): ditto
17473 (pasteEnvironment): ditto
17478 (updateInset): remove some commented code
17480 * lastfiles.h: inherit privately from noncopyable
17483 * lyx_main.h: ditto
17485 * lyxlex_pimpl.h: ditto
17487 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17488 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17489 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17491 * LyXAction.h: inherit privately from noncopyable, add methods
17492 func_begin, func_end, returning iterators to the func map.
17494 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17495 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17496 (func_begin): new method
17497 (func_end): new method
17499 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17501 (copySelection): ditto
17502 (pasteSelection): ditto
17504 * BufferView.C: whitespace change
17505 * BufferView.h: inherit privately from noncopyable
17507 2001-04-16 Allan Rae <rae@lyx.org>
17509 * tabular-old.C (l_getline):
17510 * spellchecker.C (sc_check_word):
17511 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17512 an unrecognised preprocessor directive. So ensure they're wrapped.
17514 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17516 * src/exporter.C (Export): Give an error message when path to file
17519 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17521 * LaTeX.C (deplog): Always check that foundfile exists.
17523 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17526 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17528 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17530 * tabular.[Ch] (getLabelList): implement new method
17532 * minibuffer.h: comment ouf setTiimer
17534 * minibuffer.C (ExecutingCB): constify res
17535 (peek_event): constify s
17536 (Set): constify ntext
17537 (Init): constify nicename
17539 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17541 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17542 (savePosition): use two params to Minibuffer::Set
17543 (restorePosition): ditto
17545 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17547 * lyx_main.C: include language.h
17549 * Makefile.am (lyx_main.o): add language.h
17551 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17557 * CutAndPaste.C: include gettext.h
17559 * lyxfont.h: remove old hack with ON and OFF.
17562 * lyxfont.h: do not include language.h...
17567 * bufferview_funcs.C:
17573 * paragraph.C: ... but do it here instead
17575 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17577 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17579 * tabular.C: small reformat
17581 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17584 (BreakParagraph): ditto
17585 (SetOnlyLayout): ditto
17588 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17591 * lastfiles.C: removed most using decl, add std:: where needed
17593 * buffer.C: ws changes
17595 * MenuBackend.C (class compare_format): put into anon namespace
17596 (expand): constify label, names, action, action2
17599 * text.C (SingleWidth): constify font
17600 (IsBoundary): constify rtl2
17601 (GetVisibleRow): constify ww
17603 * LaTeX.C (deplog): constify logfile
17605 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17607 (workAreaExpose): constify widthChange, heightChange
17609 * lyxrow.C (par): moved
17612 * lyxrow.h: as inlines here
17614 * lyxfont.h (shape): moved from lyxfont.C
17615 (emph): moved from lyxfont.C
17617 * lyxfont.C (LyXFont): use initialization list for all
17619 (shape): move to lyxfont.h as inline
17620 (emph): move to lyxfont.h as inline
17623 2001-04-04 Juergen Vigna <jug@sad.it>
17625 * vspace.C: had to include stdio.h for use of sscanf
17627 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17630 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17631 independent of xforms.
17633 2001-04-02 Juergen Vigna <jug@sad.it>
17635 * spellchecker.C: fixed namespace placing!
17637 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17639 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17640 the LyXParagraph * is 0.
17642 2001-03-29 Juergen Vigna <jug@sad.it>
17644 * vspace.C: added support for %, c%, p%, l%.
17645 (stringFromUnit): added helper function.
17646 (asLatexString): changed to give right results for the %-values.
17648 * buffer.C: convert the widthp in a width%.
17650 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17652 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17655 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17656 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17658 * lyx_cb.[Ch]: see above.
17660 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17664 * lyx.[Ch]: replaced by figure_form.[Ch].
17668 * lyxfunc.C: changed headers associated with above changes.
17670 2001-03-27 Juergen Vigna <jug@sad.it>
17672 * BufferView_pimpl.C: set the temporary cursor right!
17674 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17676 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17678 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17680 * LString.h: removed "using std::getline"!
17682 * BufferView_pimpl.C (Dispatch): changes due to changes in
17683 InsetInclude::Params.
17685 * buffer.C (tag_name): removed redundant break statements as they were
17686 producing lots of warnings with my compiler.
17688 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17690 * LString.h: add "using std::getline" when using the real <string>.
17692 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17694 * buffer.C: removed bitset usage.
17695 PAR_TAG moved to an anonymous name space.
17696 (tag_name): new funtion, also in the anonymous namespace.
17697 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17698 (makeDocBookFile): clean code. Completed transition from string arrays
17700 (SimpleDocBookOnePar): code clean.
17702 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17704 * tabular.C: add some comments.
17706 2001-03-22 Juergen Vigna <jug@sad.it>
17708 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17709 compatibility read a bit and fixed bug with minipage in different
17712 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17714 * buffer.C (pop_tag): removed.
17715 (push_tag): removed.
17716 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17717 array replaced with vector. Added support for CDATA sections.
17718 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17720 (makeDocBookFile): XML conformant declaration of CDATA section,
17721 fixed bug related to <emphasis> in the first paragraph char.
17722 (sgmlOpenTag): exclude empty tags.
17723 (sgmlCloseTag): ditto.
17725 * buffer.h (pop_tag): removed.
17726 (push_tag): removed.
17728 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17730 * language.h (Languages): added size_type and size().
17732 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17734 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17735 response on compability reading of minipages. One probliem is that
17736 the old usage of minipages was flertydig
17738 * several files here and in subdirs: don't use static at file
17739 scope use anon namespaces instead.
17741 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17743 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17744 LaTeX output. This is necessary for Literate document
17747 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17749 * buffer.C: insert hfill when needed.
17751 * tabular.C (l_getline): use string::erase, small whitespace change.
17753 * BufferView_pimpl.C: try the anon namespace.
17754 * WorkArea.C: ditto
17756 2001-03-16 Juergen Vigna <jug@sad.it>
17758 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17759 otherwise it won't open options-dialogs.
17761 * buffer.C: honor pextraWidth(p) on converting minipages.
17763 * tabular.C (l_getline): changed the functions to strip trailing \r.
17765 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17767 * BufferView_pimpl.C:
17768 * minibuffer..C: added "using SigC::slot" declaration.
17770 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17772 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17778 * paragraph.C: ditto
17780 * lyxtext.h: NO_PEXTRA
17782 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17784 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17785 * ParameterStruct.h: ditto
17786 * ParagraphParameters.h: ditto
17787 * lyxparagraph.h: ditto
17789 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17791 * buffer.C: add compability for minipage alignment.
17792 (latexParagraphs): remove unwanted pextra check.
17794 * several files: remove CXX_WORKING_NAMESPACES
17796 * buffer.C (pop_tag): tie is in namespace boost
17798 * BufferView.h: noncopyable is in namespace boost
17800 * lyx_main.h: ditto
17803 * lastfiles.h: ditto
17804 * bufferlist.h: ditto
17805 * ShareContainer.h: ditto
17807 * LyXAction.h: ditto
17810 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17812 * Merging changes from BRANCH_MVC back into HEAD.
17814 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17816 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17818 * BufferView_pimpl.C: change from intl.C
17822 * Makefile.am: move combox.*
17828 * intl.C: remove dialog (covered by prefs)
17830 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17832 * lyxfunc.C (Dispatch): removed redundant break statement.
17834 2001-03-14 Juergen Vigna <jug@sad.it>
17836 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17838 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17840 * buffer.C: add hack to fix compability reading of minipages.
17842 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17844 * buffer.C (getLists): Cleanup.
17846 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17848 * lyxfont.C (update): don't honor toggleall on font size.
17850 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17854 * Makefile.am: moved to frontends/xforms/
17858 * BufferView_pimpl.C: changes for moved mathpanel
17860 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17862 * gettext.h: fix gettext_init() in --disable-nls
17864 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17866 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17868 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17871 * lyx.h: strip external form
17873 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17875 * BufferView_pimpl.C: add comment, destroySplash()
17877 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17879 * BufferView_pimpl.C:
17883 * lyxfunc.C: use re-worked insetinclude
17885 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17887 * buffer.C: add using std::stringstream.
17889 * lyx_cb.C: readd using std::ios.
17891 * buffer.C: add using std::map.
17893 * BufferView_pimpl.C: add using std::vector.
17895 * ShareContainer.h: add std:: to swap.
17897 * buffer.h: add some typedefs
17898 * buffer.C (getLists): use them
17899 (getLists): renamed from getTocList.
17900 add a counter for the different float types and use it in the
17902 (getLists): use the same counter for the NEW_INSETS and the "non"
17905 * lyx_cb.h: remove unused items, includes, using etc.
17907 * ShareContainer.h: remove some commented code, add more comments
17908 and "documentation".
17910 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17912 * buffer.C (getTocList): make the list also when NEW_INSETS is
17915 * buffer.h: remove TocType
17917 * buffer.C (getTocList): change to return a map<string,
17918 vector<TocItem> >, implement for dynamic number of list.
17920 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17921 * text2.C (PasteSelection): adjust
17922 * CutAndPaste.C (pasteSelection): adjust
17924 * FloatList.C (FloatList): update from the new_insets branch.
17925 * Floating.[Ch]: ditto
17926 * LaTeXFeatures.C: ditto
17928 * lyxlex_pimpl.C: ditto
17930 * paragraph.C (Last): remove when NEW_INSETS is defined.
17932 * other file: changes because of the above.
17934 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17936 * lyxparagraph.h: rename next to next_, previous to previous_,
17937 make them private for NEW_INSETS. Rename Next() to next(),
17938 Previous() to previous().
17940 * other files: changes because of the above.
17942 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17945 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17948 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17950 * main.C (main): pass lyx_localedir to gettext_init().
17952 * gettext.h: remove locale_init and gettext_init macros
17954 * gettext.C (locale_init): new function
17955 (gettext_init): new function
17957 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17960 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17962 * Moved credits to frontends:
17963 * credits.[Ch]: removed
17964 * credits_form.[Ch]: removed
17965 * lyx_gui_misc.C: remove credits stuff
17968 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17970 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17972 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17973 unneeded destructor.
17975 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17976 a standalone pointer again.
17978 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17980 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17986 * ToolbarDefaults.C:
17995 * BufferView_pimpl.C: use new file dialog in GUII
17998 * lyx_cb.C: remove LayoutsCB to Toolbar
18000 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18002 * ShareContainer.h (get): add std:: qualifier
18004 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18006 * ShareContainer.h: define a proper ShareContainer::value_type
18007 type (and use typename to please compaq cxx)
18009 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18011 * lyxparagraph.h: move serveral local vars to
18012 ParameterStruct/ParagraphParameters., use ShareContainer in
18013 FontTable., make vars in FontTable private and add getter and
18016 * paragraph.C: changes because of the above.
18018 * lyxfont.h: remove copy constructor and copy assignment. (the
18019 default ones is ok), move number inside FontBits. move inlines to
18022 * lyxfont.C: add number to initializaton of statics, move several
18023 inlines here. constify several local vars. some whitespace
18024 cleanup. Dont hide outerscope variables.
18026 * Spacing.h: add two new constructors to match the set methods.
18028 * ShareContainer.h: new file, will perhaps be moved to support
18030 * ParameterStruct.h: new file
18032 * ParagraphParameters.h: new file
18034 * ParagraphParameters.C: new file
18036 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18037 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18039 * BufferView_pimpl.C: ParagraphParameter changes.
18040 * buffer.C: Likewise.
18041 * bufferview_funcs.C: Likewise.
18042 * text.C: Likewise.
18043 * text2.C: Likewise.
18045 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18047 * lyxfind.C (LyXReplace): do not redefine default argument in
18049 (IsStringInText): ditto
18050 (SearchForward): ditto
18051 (SearchBackward): ditto
18053 2001-03-06 Juergen Vigna <jug@sad.it>
18055 * lyxfind.C (IsStringInText): put parentes around expressions.
18057 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
18059 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18061 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
18063 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18065 * stl_string_fwd.h: add comment
18067 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18070 * tabular.C: remove unused DocBook methods
18076 killed DO_USE_DEFAULT_LANGUAGE
18078 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18080 * lyx_gui.C: do not include language.h.
18082 * bufferview_funcs.C (ToggleAndShow): do not provide optional
18083 arguments in function implementation.
18085 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18087 * BufferView_pimpl.C: add <ctime>
18089 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18091 * BufferView_pimpl.C: add using std::find_if
18093 2001-02-27 José Matos <jamatos@fep.up.pt>
18095 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18098 2001-02-11 José Matos <jamatos@fep.up.pt>
18100 * buffer.C (makeDocBookFile): command styles now have a parameter as
18101 "title" by default.
18103 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18105 * layout_forms.[Ch]: removed
18106 * lyx_cb.[Ch]: out character
18107 * lyx_gui.C: out character
18108 * lyx_gui_misc.C: out character
18109 * bufferview_funcs.C: : out character,
18110 added toggleall as parameter in ToggleAndShow
18112 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18114 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18116 * text2.C (SetCurrentFont): Disable number property at boundary.
18118 2001-02-26 Juergen Vigna <jug@sad.it>
18120 * lyxfunc.C (getStatus): added a string argument override function so
18121 that this is correctly called from LyXFunc::Dispatch if it contains a
18122 do_not_use_argument which is used!
18123 (Dispatch): added check for "custom" export and call appropriate func.
18125 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18127 * lyxrc.C: Add language_command_local, language_use_babel and
18128 language_global_options.
18130 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18132 * buffer.C (makeLaTeXFile): Use language_use_babel and
18133 language_global_options.
18135 2001-02-23 Juergen Vigna <jug@sad.it>
18137 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18138 which works with LyXText and putted it inside BufferView. Here now we
18139 only call for that part the BufferView::Dispatch() function.
18141 * BufferView.C (Dispatch): added.
18143 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18144 functions which needs to use a LyXText over from LyXFunc.
18145 (MenuInsertLyXFile): added
18146 (getInsetByCode): added
18147 (moveCursorUpdate): added
18148 (static TEXT): added
18150 2001-02-22 Juergen Vigna <jug@sad.it>
18152 * BufferView_pimpl.C (update): call a status update to see if LyXText
18155 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18157 * vc-backend.C (revert): implement for CVS
18158 (getLog): implement for CVS
18160 2001-02-20 Juergen Vigna <jug@sad.it>
18162 * text2.C (ClearSelection): added BufferView param for inset_owner call
18164 * lyxfunc.C (TEXT): added this function and use it instead of
18165 directly owner->view()-text of getLyXText().
18167 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18169 * src/layout_forms.C: out preamble
18170 * src/layout_forms.h: out preamble
18171 * src/lyx_cb.C: out preamble
18172 * src/lyx_cb.h: out preamble
18173 * src/lyx_gui.C: out preamble
18174 * src/lyx_gui_misc.C: out preamble
18175 * src/lyxfunc.C: connect with guii preamble
18177 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18179 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18181 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18183 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18184 whether to run bibtex.
18186 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18188 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18190 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18192 * Makefile.am (lyx_SOURCES): removed bibforms.h
18194 * vspace.h: doxygen
18196 * text.C (GetVisibleRow): make several local vars const
18198 * tabular.C: small cleanup.
18200 * lyxserver.C (callback): use compare instead of strncmp
18202 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18203 inlines to after class or to paragraph.C
18205 * lyxfont.h: remove friend operator!=
18207 * converter.h: move friend bool operator< to non friend and after
18210 * combox.h: small cleanup
18212 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18213 to inlines after class def.
18215 * buffer.C (pop_tag): use string operations instead of strcmp
18217 * bmtable.c: doxygen, small cleanup
18219 * LaTeX.h: remove friend operator==
18221 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18233 * BufferView_pimpl.C:
18234 * BufferView.[Ch]: remove cruft
18236 2001-02-14 Juergen Vigna <jug@sad.it>
18238 * lyxfunc.C: removed #if 0 unused code
18240 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18242 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18244 * text2.C (SetSelection): added a BufferView * parameter
18246 2001-02-13 Juergen Vigna <jug@sad.it>
18248 * lyxfunc.C (Dispatch): fixed protected blank problem.
18249 * BufferView2.C (protectedBlank): added LyxText * parameter.
18251 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18252 (AppendColumn): same as above for column_info.
18254 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18255 (moveCursorUpdate): use a LyXText param for support of InsetText.
18257 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18258 (tripleClick): ditto
18260 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18262 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18264 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18266 * text2.C (SetSelection): set correct update status if inset_owner
18267 (ToggleFree): ditto
18269 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18271 * tabular.C: remove some commented code.
18273 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18275 * BufferView_pimpl.C: call hideSplash()
18277 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18280 * bibforms.h: remove
18283 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18284 add LFUN_CHILD_CREATE
18286 * counters.h: fix tiny typo
18291 * lyx.C: move splash to frontends/xforms/
18293 * lyx_gui_misc.C: move Include and Bibform to frontends
18295 * lyxvc.h: clarify comment
18297 * vspace.C: tiny housekeeping
18299 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18301 * text.C (PrepareToPrint): RTL Fix.
18303 * paragraph.C (GetUChar): New method.
18304 (String): Use GetUChar.
18306 * buffer.C (asciiParagraph): Use GetUChar.
18308 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18310 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18312 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18315 * buffer.C: rename to getLogName(), handle
18316 build log / latex log nicely
18318 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18321 * MenuBackend.h: remove support for reference menuitem type.
18323 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18325 * BufferView_pimpl.C: housekeeping
18326 * BufferView_pimpl.h:
18331 * minibuffer.h: move Timeout GUI-I
18333 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18335 * lyxrc.C (read): Update converters data-structures.
18337 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18339 * LaTeX.h (operator!=): add operator != for Aux_Info
18341 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18343 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18345 * LaTeXLog.C: deleted, useful code moved to Buffer
18348 * buffer.C: new function getLatexLogName()
18354 * lyxfunc.C: use frontends for LaTeX and VC logs
18356 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18358 * LaTeX.h: yet another std:: that Allan forgot.
18360 * Variables.C (set): renamed from isset(), because this clashes
18361 with some HP-UX macros (grr).
18363 2001-02-06 Allan Rae <rae@lyx.org>
18365 * LaTeX.h: Another bug fix. Missing std:: this time.
18367 2001-02-04 Allan Rae <rae@lyx.org>
18369 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18370 floats problem. I've left it commented out because it's not quite
18371 correct. It should also test that the current object is a table or
18372 figure inset. But I haven't gotten around to figuring out how to do
18373 that. I *think* it'll be something like: "table" == inset.type()
18375 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18378 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18380 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18381 all the citation/databases/styles in the auxilary file.
18382 (run): Rerun latex if there was a babel language error.
18384 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18386 * text.C (Backspace): Preserve the font when changing newline char
18388 (BreakParagraph): If the cursor is before a space, delete the space.
18390 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18392 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18394 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18395 new argument (code).
18396 (ChangeCitationsIfUnique): New method.
18398 * paragraph.C (GetPositionOfInset): Handle bibkey.
18400 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18402 * BufferView_pimpl.h: change type of Position::par_pos to
18403 LyXParagraph::size_type.
18405 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18407 * BufferView_pimpl.C (savePosition, restorePosition): Write
18408 messages to minibuffer.
18410 2001-01-28 José Matos <jamatos@fep.up.pt>
18412 * buffer.C (makeDocBookFile): adds support for document language.
18413 A silly restriction on the name of LatexCommand types where removed.
18414 Added support for CDATA sections, allows to chars unescaped, used
18415 among others in code, to avoid escape < and >.
18417 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18419 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18420 saved positions instrad of a stack. Furthermore, a position is
18421 stored using paragraph id/paragraph position.
18423 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18424 Remove LFUN_REF_BACK.
18426 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18428 * converter.C (dvipdfm_options): New method.
18430 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18432 * vspace.C (isValidLength): Fix for empty input string.
18434 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18436 * LyXAction.C (init): change description of LFUN_FIGURE to
18439 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18441 * LaTeX.C: add using directive
18443 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18445 * MenuBackend.C (expand): Fix the sorting of the formats.
18447 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18449 * lyx_main.C: tiny error message fix
18451 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18453 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18454 calling fl_initialize(). This fixes the problem with ',' as
18455 decimal separator in text files.
18457 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18459 * trans.C (process): Fix the keymap bug.
18461 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18463 * LaTeX.C (scanAuxFiles): New method. Provides support for
18464 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18465 (scanLogFile) Scan for "run BibTeX" messages.
18467 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18468 OT1 font encoding. Also, load the aecompl package if the ae
18471 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18473 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18475 * texrow.C (increasePos): turn two error messages into debug
18478 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18480 * LaTeX.C (scanAux): Handle the \@input macro.
18481 (runBibTeX): Use scanAux().
18483 * language.C (latex_options_): New field.
18485 * LaTeXFeatures.C (getMacros): Add language macros.
18487 * buffer.C (makeLaTeXFile): Small fix.
18489 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18491 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18493 * text2.C: add a using directive.
18495 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18500 * lyxfunc.C: kill LyXBell.
18502 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18504 * text.C (IsBoundary): Remove the error message
18506 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18508 * lyxrc.C (setDefaults): Correct initialization value for
18511 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18513 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18516 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18517 and GotoNextNote().
18519 * src/LyXAction.C: Added reference-next.
18521 * text.C (InsertChar): Use contains instead of strchr.
18523 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18525 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18527 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18528 alignment commands (when needed).
18530 * text.C (InsertChar): Add ':' to number separator chars.