1 2005-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * text.C (leftMargin): honor the NextNoIndent tag in layouts.
5 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
9 * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
12 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
14 * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
15 line after typing ctrl-enter
17 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
19 * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
20 math insets do not return a proper editable() state yet (bug 2124).
22 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
24 * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for
25 docs containing very large paragraphs.
27 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
29 * cursor.C (selectionBegin, selectionEnd):
30 * text.C (drawSelection): Fix bug 2115: assertion when anchor and
31 cursor at different depths.
33 2005-11-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
35 * bufferview_funcs.C (coordOffset): do not call cursorPos
36 for collapsed collapsables (fix bug 2094).
38 2005-11-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
40 * paragraph.C (fontSpan): make sure that the FontSpan does not
41 span across beginOfBody (bug 1947).
43 2005-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
45 * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
47 2005-11-03 Michael Gerz <michael.gerz@teststep.org>
49 * messages.C: fix crash and localization on MinGW/Windows platform
51 2005-11-02 Angus Leeming <leeming@lyx.org>
54 * lyxtextclass.C: trivial fixes to some MSVS warnings.
56 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
58 * text3.C (getStatus): re-enable disabled code. (bug 2081)
60 * BranchList.h (empty): constify.
62 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
64 * text3.C (getStatus):
65 * MenuBackend.C (expandBranches): take the branch list from the
66 master document (bug 2092).
68 * MenuBackend.C (expandBranches):
69 * bufferparams.C (writeFile): use BranchList type.
71 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
73 * text3.C (dispatch, getStatus):
75 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
77 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
79 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
81 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
83 * text.C (insertChar): do not reset boundary (bug 2061)
85 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
87 * dociterator.C (updateInsets): new method. Updates the inset_
88 cache of all the slices of the iterator.
90 * text2.C (deleteEmptyParagraphMechanism): compare also containing
91 insets when comparing pit/pos; pass the right cursor to
92 recordUndo; when a paragraph has been deleted, compare `old.top()' to
93 the right cursor slice of `cur'; use updateInsets on cur to make
94 sure that the inset caches are correct; general cleanup.
96 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
98 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
99 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
100 containg inset. If this does not work, the same command will be
101 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
103 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
106 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
108 * lyxtextclass.C (Read): convert layout file if the format is wrong
109 * lyxtextclass.C (layout2layout): new, needed for the above
111 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
113 * messages.C: do not forget to include <cerrno>.
115 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
117 * dociterator.h (StableDocIterator): add access to pos().
118 * undo.C (samePar): new method to check if two
119 iterators are in the same paragraph
120 * undo.C (recordUndo): check for samePar instead of cell identity
121 (which includes pos() and is too strict) (fixes bug 2097)
123 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
125 * text.C (setCursorFromCoordinates): return a bool telling whether
128 * text3.C (cursorPrevious): update if needed after
129 setCursorFromCoordinates (when dEPM triggered).
131 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
132 (otherwise the anchor may be completely wrong and make dEPM assert).
134 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
136 * buffer.C: version upgrade to 245.
137 * bufferparams.C: remove \quotes_times (bug 2090).
138 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
139 quotation marks as default.
141 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
143 * CutAndPaste.C (nrOfParagraphs): remove (unused)
144 * CutAndPaste.C (cutSelection): Remove debug message
145 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
146 undo information and only copy if this is a real cut
147 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
149 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
151 * CutAndPaste.C (eraseSelection): prevent cursor corruption
152 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
153 superflous cur.selection() setting
154 * CutAndPaste.[Ch] (grabSelection): take a const cursor
155 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
157 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
159 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
162 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
164 * BufferView_pimpl.C: comment layout change
166 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
170 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
171 by bibliography managers (bug 2071).
173 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
175 * BufferView_pimpl.C (update): choose arguments to update call so
176 that single-par update works most times
177 * text3.C (dispatch): carefully tune updating separately for
178 whole-screen and current-paragraph
179 * rowpainter.C (paintText): 1) replace painting by caching for
180 the two extra paragraphs, because we can;
181 2) suppress greying out of areas below/above drawn area in case of
183 * lyxfunc.C (dispatch): remove superfluous update
184 * LyXAction.[Ch]: introduce SingleParUpdate
186 2005-10-05 Angus Leeming <leeming@lyx.org>
188 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
189 always initialised before use.
191 * text.C (setHeightOfRow): squash warning about comparison
192 of signed and unsigned types.
194 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
196 * text.C (cursorX): two fixes involving RtL text drawing
198 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
200 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
201 items, not only large ones (part of bug 2057)
203 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
205 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
206 argument, use "newcommand".
208 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
210 * cursor.C (setSelection): do not open collapsable insets;
211 the insets do by themselves now (autoopen).
213 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
215 * buffer.C: format is up to 244.
217 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
219 * text.C (redoParagraph): fix calcultation of inset width wrt
220 leftMargin (bug 1957).
222 * text3.C (dispatch): leave inset to the right when hitting ESC
225 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
230 * messages.C: include <boost/current_function.hpp>
232 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
234 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
235 when command is internal. (bug 1941)
237 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
239 * text2.C (cursorRight): do not honor boundary when at the end of
240 a paragraph. (bug 2010 again)
242 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
244 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
246 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
248 * rowpainter.C (paintText): fix RtL space width display bug (2029)
250 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
252 * text2.C (setCursor): remove the unused 'boundary' parameter for
253 the CursorSlice version; adapt the LCursor version.
256 * paragraph_pimpl.C (markErased):
257 * cursor.C (bruteFind2, bruteFond3): fix warnings.
259 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
261 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
262 as is already done for "chapter".
264 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
266 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
267 textclass; do not record undo if nothing is changed.
269 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
271 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
273 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
275 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
277 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
279 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
280 combox, it is necessary to search for the topmost paragraph in the
281 cursor stack (bug 1926)
283 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
285 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
286 end of paragraph. (bug 2010)
288 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
290 * text.C (leftMargin): check for inInset == 0
292 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
294 * text.C (leftMargin): test for insetbase's new neverIndent()
295 bool instead of listing each and every inset that does not
296 wish par indendation.
298 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
300 * buffer_funcs.C (setCounter): put the code to compute enum label
301 here (where it belongs).
303 * counters.C (enumLabel): move code to buffer_funcs.C.
305 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
307 * outputparams.[Ch]: store local_font instead of local_language
308 * paragraph.C (simpleTeXOnePar): adapt to the change above
310 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
313 * counters.[Ch]: clean up special code for Hebrew.
315 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
317 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
320 2005-09-08 Angus Leeming <leeming@lyx.org>
323 * lyxrc.C: correct grammar describing invocation of the
326 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
328 * text.C (read): remove unused variable.
329 (readParToken): remove static Change variable (never good in
330 recursive settings...); add it as a parameter instead.
332 * paragraph_pimpl.C (acceptChange): make debug info conditional.
334 * metricsinfo.C (PainterInfo): add new member erased_.
336 * rowpainter.C (RowPainter): add erased_ member, initialized from
338 (paintInset): pass erased_ to Inset::draw.
340 * lyxfunc.C (lookupChange): new function. Tells whether change
341 tracking is disabled at a given postion.
342 (getStatus): disable some actions when in deleted text with change
345 2005-08-03 John Levon <levon@movementarian.org>
347 * tabular.C (appendColumn, setMultiColumn): adapt to change to
350 * paragraph_pimpl.C (markErased): add bool argument and handle it.
351 Also make sure to mark insets recursively.
352 (rejectChange, erase): be recursive
354 * paragraph.C (markErased): add bool argument.
355 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
357 * lyxfind.C (findNextChange): tiny cleanup.
359 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
360 change tracking with the cursor in an inset; make sure the first
361 change is not skipped.
363 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
365 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
366 tabularStackDirty to work around bug 1919 (tabular needs
367 to know whether its own cell paste buffer or the one of
369 * CutAndPaste.C: mark tabular_stack_ clean after copy.
371 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
373 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
375 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
377 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
378 use old deleteion algorithm when changetracking is on.
380 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
382 * messages.C (get): add debug output.
384 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
386 * text.C (cursorX): fix bug 1965: cursor movement at
387 line end broken in RtL.
388 (drawSelection): fix bug 1970: drawing of single-line
389 selection broken for RtL.
391 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
395 * dociterator.h (clear, push_back, pop_back): change from
398 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
399 and changed to just return the value of the item depth; take a
400 ParIterator as argument; take the itemdepth at outer nesting level
401 in account if necessary; cleanup and comment the code.
402 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
403 and changed to just return true if reset is needed; take a
404 ParIterator as argument; cleanup and comment the code.
405 (setCounter): adapt to above changes.
407 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
409 * text3.C (dispatch): make debug message optional
411 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
413 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
416 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
418 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
420 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
422 * text.C (insertChar):
423 * text2.C (deleteEmptyParagraphMechanism): take care whether
424 a blank has been deleted (in change tracking mode) (bug 1254).
426 2005-07-20 John Levon <levon@movementarian.org>
428 * text2.C (insertStringAsLines): remove old dubious code,
431 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
433 * MenuBackend.C (expandToc): use Floating::listName() as title of
436 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
438 * toc.[Ch]: Do not use translatable strings (bug 1870).
440 2005-07-20 John Levon <levon@movementarian.org>
442 * tabular.C: fix 1748 - setting multicolumn adds
443 left line to the first cell
445 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
448 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
451 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
453 * messages.C: supress some lyxerr messages
455 2005-07-18 Juergen Vigna <jug@lyx.org>
457 * text.C (drawSelection): honor boundary when asking for cursorX.
459 2005-07-17 José Matos <jamatos@fc.up.pt>
461 * tabular.C (recalculateMulticolumns): fix handling of one column
464 2005-07-17 Juergen Vigna <jug@lyx.org>
466 * text.C (Delete, backspace): fixed so that paragraph with the
467 same layout can be merged by Delete/Backspace.
469 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
471 * text.C (readParToken): fix spelling.
473 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
475 * text2.C: fix counter update for DEPM problem reported by
478 2005-07-17 Juergen Vigna <jug@lyx.org>
480 * BufferView_pimpl.C (setBuffer): save/restore the
481 cursor/selection when switching buffers
484 * buffer.C (saveCursor): add saveDocumentIterators to save the
485 cursor when switching buffer.
487 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
490 * buffer.C: clarify message
492 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
494 * dociterator.C (DocIterator): fix initialization order
496 2005-07-17 Juergen Vigna <jug@lyx.org>
498 * text2.C (cursorHome):
499 * text.C (drawSelection, cursorX):
500 * dociterator.C (textRow): add boundary to getRow() call
502 * paragraph.C (getRow): implementation of below
504 * paragraph.h: add parameter boundary for getRow() function
506 2005-07-17 José Matos <jamatos@fc.up.pt>
510 * tex-strings.[Ch]: new file format, remove support for a4.sty,
511 a4wide.sty and a4widemargins.
513 2005-07-17 Juergen Vigna <jug@lyx.org>
515 * text2.C (cursorLeft): fix one of error
517 2005-07-17 Juergen Vigna <jug@lyx.org>
519 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
521 more fixes for boundary handling
523 * text3.C (dispatch): don't reset cursor if boundary has changed
526 2005-07-16 Juergen Vigna <jug@lyx.org>
528 * text2.C (getColumnNearX): hopefully got it right now,
529 check if we are on column 0 for special case.
531 2005-07-16 Juergen Vigna <jug@lyx.org>
533 * text2.C (getColumnNearX): handle special case Newline Inset
535 * text.C (singleWidth): Just remove bogus check
537 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
539 * funcrequest.C (split): avoid reading uninitialized char c
541 2005-07-16 José Matos <jamatos@fc.up.pt>
547 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
548 single papersize variable.
550 2005-07-16 Juergen Vigna <jug@lyx.org>
552 * text3.C (dispatch): honor boundary when checking if a cursor
553 movement has been done
555 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
556 (setCursor, setCursorIntern): fix cursor movement with boundary
558 2005-07-16 Juergen Vigna <jug@lyx.org>
560 * text.C (currentState): output the actual Boundary
562 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
564 * factory.C (createInset): fix bad logic for tabular creation
566 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
568 * lyx_main.C (init): change some reLyX reference to tex2lyx
570 2005-07-16 Juergen Vigna <jug@lyx.org>
572 * dociterator.C (DocIterator): initialize boundary
574 2005-07-16 Juergen Vigna <jug@lyx.org>
576 * text2.C (getColumnNearX): Consider rows without trailing blank.
578 2005-07-16 André Pönitz <poenitz@gmx.net>
580 * lyxfont.h: Change order of declarations to give the compiler
581 a better chance to inline things
583 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
584 questions on unsaved docs for better scritability
586 2005-07-16 André Pönitz <poenitz@gmx.net>
588 * paragraph.h (getChar): remove asserts as the same kind of security
589 can be achieved by using a suitable standard library implementation
590 and the function was in the critical path (25.9% in profiler)
592 2005-07-16 Juergen Vigna <jug@lyx.org>
594 * cursor.C (bruteFind2):
595 * bufferview_funcs.C (coordOffset):
596 * text.C (cursorX,cursorY): Handle cursor position after last char
597 in row before a inset which uses a whole row.
599 2005-07-15 José Matos <jamatos@lyx.org>
601 * output_plaintext.[Ch] (writeFileAscii): control reference title
603 (asciiParagraph): noparbreak was already deal and was incorrectly
606 2005-07-15 Juergen Vigna <jug@lyx.org>
608 * lyxfunc.C (dispatch): save and restore the cursor after a
611 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
613 * text.C (backspace): bug 806 for empty keepempty paragraphs we
614 change the layout to default before letting DEPM do its thing.
616 * paragraph_funcs.C (breakParagraph): dont reset the layout on
619 * text.C (setCursorFromCoordinates): add a debug statement
621 * text2.C (getColumnNearX): bug 1825 make sure that we don't
622 return a pos that is not on the row
624 * output_latex.C (TeXDeeper): get rid of potential dereferencing
625 of past the end iterator
627 2005-07-14 André Pönitz <poenitz@gmx.net>
629 * undo.C (recordUndoFullBuffer): implement undo for
632 2005-07-14 André Pönitz <poenitz@gmx.net>
634 * cursor.C (setSelection): open insets when selection is set there
635 to avoid crashs with cold coord cache
637 2005-07-14 André Pönitz <poenitz@gmx.net>
639 * trans_mgr.C (insert): move cursor to the right after inserting
642 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
644 * BufferView_pimpl.C (update): dampen some of the debug blabbering
645 * factory.C (readInset): ditto
646 * text.C, text2.C: ditto
648 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
650 * buffer.C: format incremented to 242. There is no file format per
651 se, but the "frenchb" language has been removed from lib/language
652 and has to be translated to "french" by lyx2lyx.
654 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
656 * cursor_slice.h, dociterator.h: add some documentation
657 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
659 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
661 * text.C (leftMargin): do not add identation to display() style
662 insets, because they are always centered (bug 1293).
664 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
666 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
667 formatted_time methods in support/lyxtime.
669 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
671 * toc.[Ch]: new method getGuiName, which is used by the frontends
672 to set the toc combo (fixes bug 1870). Make TOC string translatable.
674 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
676 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
677 StableDocIterator const &)
678 * undo.C (recordUndo): use the above instead of cell.size() comparison
679 (fixes bug 1808; instructed by Andr�.
681 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
684 * dociterator.h: Fix the assert when copying rows/cols in math
686 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
688 * BufferView_pimpl.C:
690 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
692 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
693 (findInset): new functions, refactored from goto Inset that return
694 the position of a certain inset without setting the buffer's cursor
696 (gotoInset): rewrite to call findInset and then set the cursor
699 2005-06-16 Angus Leeming <leeming@lyx.org>
701 * lyxrc.C (output, read): wrap all input and output of paths with
702 calls to os::internal_path and os::external_path, respectively.
703 (output): wrap bind_file inside quotes.
705 * format.C (view): enable the viewer to use the '$$s' placeholder.
707 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
709 * LColor.[Ch] (getFromLaTeXName): new
711 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
713 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
715 2005-06-14 Angus Leeming <leeming@lyx.org>
717 * lyx_main.C (init): ensure that the LyX binary dir is the first
718 element in the PATH on non-POSIX builds.
720 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
722 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
724 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
726 * rowpainter.C (paintInset, paintHebrewComposeChar)
727 (paintArabicComposeChar, paintChars): add a LyXFont argument.
728 (paintChars): use getFontSpan to reduce calls to getFont to a
729 minimum; use Paragraph::lookupChange instead of isXXXText.
730 (paintForeignMark): rename LyXFont argument.
731 (paintFromPos): pass a LyXFont object to the various paintXXX
734 * FontIterator.C (FontIterator, operator++): use
735 Paragraph::getFontSpan
737 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
738 version that returns the font span as a pair.
740 2005-06-09 Angus Leeming <leeming@lyx.org>
742 * converter.C (convert): Don't forget "outfile = real_outfile" as
743 the final step in a conversion where the input and output file names
744 are the same. Otherwise, future conversion steps won't work...
746 2005-06-09 Angus Leeming <leeming@lyx.org>
748 * lyxsocket.C: remove stub code as it isn't needed by
749 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
751 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
753 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
754 effectively disabled -x
756 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
758 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
759 when it actually makes sense.
761 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
763 * BufferView_pimpl.C: revert to showCursor in connection with
764 Lars's front-end stack
766 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
768 * text.C (redoParagraph): move cursor right after a bibitem
771 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
773 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
775 * buffer_funcs.C (bufferErrors): fix computation of the end of an
778 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
780 * BufferView.[Ch] (update):
781 * BufferView_pimpl.[Ch] (update, metrics):
782 * dimension.h (operator==):
783 * lyxfunc.C (dispatch):
784 * metricsinfo.h (ViewMetricsInfo):
785 * rowpainter.C (paintText):
787 * text.C (redoParagraph):
788 * text3.C (dispatch): Make LyX only repaint current paragraph in
789 case of character insert --> speedup. Also fix cursor draw
792 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
794 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
795 avoid a crash (bug 1891)
797 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
801 * text2.C (getStringToIndex): constify cur argument.
803 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
804 argument has been given
805 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
806 try to invoke LFUN_INSET_APPLY).
808 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
809 if no inset was created by doInsertInset
810 (doInsertInset): return true if an inset has been inserted.
812 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
814 * vspace.C (asGUIName): new method. A version of the space
815 suitable for showing on screen.
817 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
820 * lyxrc.C: rename "ASCII" to "Plain Text"
822 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
824 * buffer_funcs.C (expandLabel): take a Buffer as argument;
825 translate the labelstring.
826 (setCounter): translate labelstring as needed.
828 * output_docbook.C (makeCommand): fix expandLabel invokation
830 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
832 * BufferView.C: fix dialog title
834 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
836 * lyx_main.C (priv_exec): fix logic error with help from Angus
837 * lyx_main.C (parse_execute): set is_gui = false and remove now
838 obsolete comment about a segfault
840 2005-05-18 Angus Leeming <leeming@lyx.org>
842 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
844 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
846 * tabular.[hC]: added setCellInset to fix tabular paste.
848 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
850 * buffer.C (save): check if destination is writable before trying
853 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
855 * BufferView_pimpl.C (update): fix processEvents -caused update
858 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
860 * buffer_funcs.C (setCounter): fix test for numbering of
863 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
864 depth correctly; use optional argument when it exists
866 * lyxtextclass.C: remove unused MaxCounterTags enum
867 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
868 (max_toclevel, min_toclevel): new methods.
870 * MenuBackend.C (expandToc2): fix case where depth is smaller than
871 the smallest depth in toc.
873 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
874 layouts that should not appear in a table of contents.
876 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
878 * cursor.h (undispatched, noUpdate): add comments from Andr�
879 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
883 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
885 2005-05-07 André Pönitz <poenitz@gmx.net>
887 * cursor.[Ch] (leaveInset): new function
889 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
891 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
893 2005-05-04 Angus Leeming <leeming@lyx.org>
895 * lyxfunc.C (getStatus): disable the spell checker dialog if
896 none of USE_[AIP]SPELL are defined.
898 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
900 * tabular.C (setWidthOfCell): remove obsolete comment
902 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
904 * paragraph.C (bibitem):
905 * buffer_funcs.C (setCounter):
906 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
908 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
910 * text3.C (getStatus): immediately return after setOnOff
912 * rowpainter.C: fix drawing of appendix start
914 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
916 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
917 SwitchBetweenClasses and remove the unused return value.
918 Handle character styles, too
920 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
922 * factory.C (createInset): handle undefined character styles
924 2005-05-02 Angus Leeming <leeming@lyx.org>
926 * buffer.C: protect the #include of utime.h with a preprocessor
929 2005-05-02 Angus Leeming <leeming@lyx.org>
931 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
932 function so that auto-saving works, albeit in a blocking manner.
934 * Makefile.am: make compilation of the client sub directory, of
935 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
936 on conditionals set at configure time.
938 * SpellBase.[Ch]: no longer an abstract base class. Instead,
939 it can be compiled in its own right but has no-op functionality.
941 * aspell.C, pspell.C: remove preprocessor guards. The files should
942 be compiled only if the necessary functionality exists.
944 * lyxserver.C, lyxsocket.C: disable on Windows.
946 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
948 * text.C (leftMargin): Fix the parindent use bug (1764)
951 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
953 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
956 2005-04-25 Angus Leeming <leeming@lyx.org>
964 include <config.h> in .C files, not .h ones.
966 protect headers inside preprocessor guards.
968 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
970 * FuncStatus.h (StatusCodes): document
972 2005-04-21 André Pönitz <poenitz@gmx.net>
974 * FuncStatus.h (enabled, onoff): document
976 2005-04-19 Angus Leeming <leeming@lyx.org>
978 * BufferView_pimpl.C (cursorToggle): no longer test whether
979 any child processes have been reaped before calling
980 handleCompletedProcesses().
982 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
984 * text3.C (dispatch): fix, finally fix, the language problem in
985 new lyxtexts, without disabling on-the-fly font changes (Helge's
988 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
990 * text3.C (dispatch): set cursor on double/triple click events
993 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
995 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
996 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
998 * rowpainter.C (paintFirst): simplify the code a little bit. In
999 particular, remove the test for secnumdepth.
1000 * text.C (setHeightOfRow): only allocate space for chapter number
1001 when updateCounters provided an actual label, instead of looking
1002 at secnumdepth directly.
1004 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1006 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1007 paragraphs when secnumdepth is large enough or, for environments,
1008 when they are not the first in a sequence.
1010 2005-04-17 Angus Leeming <leeming@lyx.org>
1012 * buffer.C (makeLaTeXFile): replace code to manipulate a path
1013 containing space and '~' characters with a call to latex_path().
1015 2005-04-17 Angus Leeming <leeming@lyx.org>
1017 * converter.C (convert): protect all args of convertDefault.sh
1020 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1022 * text3.C (dispatch): change the layout to "Caption" after inserting
1025 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1027 * text3.C (dispatch): fix language problem in newly created
1028 textinsets (and main text) in non-english docs
1030 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1032 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1033 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1034 * text3.C (getStatus): disable LFUN_INSET_MODIFY
1036 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1040 * text2.C (getFont):
1041 * rowpainter.C (getFont): Fix metrics bug introduced by inset
1044 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1046 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1047 output of \item arguments without trailing text.
1049 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1051 * FontIterator.C (operator*): avoid a copy of the font.
1053 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1055 * rowpainter.C (getFont): fix language bug from previous fix
1057 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1059 * rowpainter.C (RowPainter, getFont): fix font inside inset
1062 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1064 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1065 preventing inserted font, deco, delim insets jumping to start of
1068 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1070 * lyxfunc.C (dispatch): translate message before sending it to the
1073 2005-03-29 Angus Leeming <leeming@lyx.org>
1075 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1076 to LyX on the command line.
1078 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1080 * vc-backend.C: use QuoteName to protect file names wherever
1083 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1086 * BranchList.h: fix bugs 1844,1845: document settings don't
1089 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1091 * lyxrc.C (setDefaults, read, output, getDescription): add support
1092 for tex_allows_spaces.
1094 * exporter.C (Export): allows files in directory containing spaces
1095 if tex_allows_spaces is true.
1097 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1098 output it in double quotes.
1100 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1102 * rowpainter.C: use default text height for drawing change tracker
1105 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1107 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1109 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1111 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1112 directory is missing.
1114 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1116 * text2.C: fixed the fix, extended to other case.
1118 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1120 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1122 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1124 * text2.C (cursorUp): get rid of a crash
1125 * text.C (x2pos): add an assert
1127 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1129 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1133 * dociterator.C: include <boost/current_function.hpp>, which is
1134 needed when assertions are disabled.
1136 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1138 * text2.C: fix for stuck cursor when traversing two
1139 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1141 2005-02-25 Andreas Vox <avox@arcor.de>
1143 * output_docbook.C (makeParagraph): suppress trailing newline
1144 after a run of paragraphs
1146 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1148 * paragraph.C: fix for confused change tracker when pasting
1149 text that begins with a lineseparator. [bug 1827]
1150 (setChange(0, Change::INSERTED);)
1152 * paragraph_funcs.C: fix for lost changes on triple-paste
1153 in change tracking mode [bug 1827] (par.setChange()).
1155 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1157 * text2.C (updateCounters, setCounter, expandLabel): move to
1160 * buffer_funcs.C (updateCounters): turn into a free standing
1161 function and add a buffer parameter. Remove dead code for tracking
1163 (setCounter): change into a free-standing function which gets a
1164 dociterator as argument. Use this iterator to fix captions in a
1165 simple way. When no float is found above the caption, use the
1166 labelstring of the caption layout as default.
1168 * text.C (breakParagraph, backspace):
1169 * text2.C (init, setLayout, changeDepth):
1170 * text3.C (dispatch):
1171 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1174 * dociterator.C (forwardPar): make it much faster by calling
1175 forwardPos() only when really necessary.
1177 * output_docbook.C (makeCommand): adapt to expandLabel move.
1179 * cursor.C: remove unused variable
1181 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1183 * paragraph_funcs.C: fix crash when pasting insets in change
1184 tracking mode [bug 1277] (honour change type in moveItem).
1186 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1188 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1190 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1192 * BufferView.C (setCursor): change to use a DocIterator.
1193 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1194 (putSelectionAt): adapt to BufferView::setCursor change.
1196 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1197 moved here from LyXText and rewritten to use proper cursor
1198 methods. Fixes bug 1787, 616 and 835.
1200 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1201 when inside an inset (part of bug 781).
1202 (dispatch): adapt to change of BufferView::setCursor.
1203 (getStatus, dispatch): handle LFUN_GOTOERROR,
1204 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1206 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1207 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1208 * text3.C (gotoNextInset, gotoInset): removed.
1210 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1212 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1214 2005-02-15 Angus Leeming <leeming@lyx.org>
1216 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1217 can be used meaningfully in a comparison.
1219 2005-02-13 André Pönitz <poenitz@gmx.net>
1221 * bufferview_funcs.C (coordOffset): improve cursor drawing
1223 2005-02-13 André Pönitz <poenitz@gmx.net>
1225 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1226 * Cursor.C (dispatch): use fixIfBroken
1227 * lyxfunc.C (getStatus): use fixIfBroken
1229 2005-02-15 Angus Leeming <leeming@lyx.org>
1231 * lyx_main.C (error_handler):
1233 * lyxrc.C (setDefaults):
1235 #include "environment.h".
1237 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1239 2005-02-15 Angus Leeming <leeming@lyx.org>
1241 * lyxserver.C (startPipe): squash MSVC warning "local variable
1242 'fd' used without having been initialized".
1244 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1246 * BufferView_pimpl.C: revert accidental commit.
1248 2005-02-14 André Pönitz <poenitz@gmx.net>
1250 * dociterator.[Ch]: new member forwardPosNoDescent(),
1251 which doesn't enter nested insets.
1252 * text2.C (setFont): use forwardPosNoDescent() instead
1253 of ForwardPos() (fixes crash on font change).
1255 2005-02-13 Angus Leeming <leeming@lyx.org>
1257 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1258 only if lyxrc.path_prefix is not empty.
1260 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1262 * bufferparams.C (readGraphicsDriver): prevent crash
1264 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1266 * text2.C (setCounter): check for inInset() == 0
1268 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1270 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1271 but use update() to get correct screen display; use convert
1272 instead of istringstream.
1273 (getStatus): handle LFUN_GOTO_PARAGRAPH
1275 * lyxfunc.C (dispatch, getStatus): do not handle
1276 LFUN_GOTO_PARAGRAPH here.
1278 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1280 * text3.C (dispatch): size() -> depth()
1282 * text2.C: remove some debug output
1284 * paragraph.C: ws changes only
1286 * lyxfunc.C (getStatus): size() -> depth()
1288 * dociterator.h (clear, push_back, pop_back, internalData,
1289 operator[], resize, empty): new functions
1290 Make StableDocIterator and operator== be friends. Don't inherit
1291 from std::vector use a privat class variable slices_ instead.
1294 * dociterator.C: update because of not inheriting from std::vector
1295 anymore. Call explictly to slices_ instead. Use depth() instead of
1296 size() and top() instead of back()
1298 * cursor.C: chagne size() -> depth and back() -> top(). Also
1299 remove some direct operator[](i) calls in favour of foo[i]
1300 (getFont): remove some dead code
1302 * bufferview_funcs.C (coordOffset): size() -> depth()
1304 * buffer.C: ws changes only
1306 * CutAndPaste.C (eraseSelection): back() -> top()
1308 * BufferView_pimpl.C (selectionRequested): back() -> top()
1310 * BufferView.C (setCursor): size() -> depth()
1312 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1314 * text3.C (cursorPrevious): return true if depm changed something
1316 (dispatch): rename sl to oldTopSlice, remove moving use the new
1317 NoUpdate func attrib instead. Make sure that needsUpdate is set
1318 for function that have NoUpdate, but where depm might have changed
1321 * text2.C (cursorLeft): make us return true if depm changed
1323 (cursorRight): ditto
1324 (cursorUpParagraph): ditto
1325 (curosrDownParagraph): ditto
1326 (cursorUp, cursorDown): ditto, make sure to read comments in code
1327 (deleteEmptyParagraphMechanism): remove an assert, also return
1328 true if just a single char was deleted.
1330 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1331 cursor that we modify, to avoid modifying an active cursor before
1332 we call setCursor. This allows depm to run. Also return true if
1333 depm deleted something.
1335 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1336 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1337 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1338 something was changed in the buffer because of them (ie. depm run)
1340 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1341 debug messages. Make update by default be false. Make sure that
1342 the result of update is retained throught several calls down to
1345 * LyXAction.h: add a new func_attrib: NoUpdate
1347 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1348 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1349 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1351 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1353 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1355 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1356 bv_->owner(), bv_->buffer() by direct references to the private
1358 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1359 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1360 (fitCursor): center() is in BufferView::Pimpl.
1361 (getStatus, trackChanges, dispatch): no need for a temporary buf
1363 (fitCursor, workAreaDispatch): use workarea().workheight()
1365 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1367 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1369 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1371 * buffer.C: format up to 241.
1372 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1373 break if pasting into ERT
1374 * lyxfunc.C (getStatus): suppress mathpanel and
1375 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1377 2005-02-01 Angus Leeming <leeming@lyx.org>
1379 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1381 2005-02-01 Angus Leeming <leeming@lyx.org>
1383 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1384 calling fs::is_directory().
1386 2005-01-31 Angus Leeming <leeming@lyx.org>
1388 * lyx_main.C (priv_exec): specify explicitly the relative location
1389 of the top level build directory when run in-place.
1391 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1393 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1394 LyXText containing the cursor, not the top-level one.
1396 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1398 (insertStringAsLines): rename par to pit; use temporary variable
1399 par to hold a Paragraph; do not store par.layout() in a variable,
1400 since the pointer may die when breaking paragraphs; pass pars to
1401 breakParagraph() instead of Buffer::paragraphs().
1403 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1405 * lyxlex_pimpl.h: #include <fstream>.
1407 * BufferView.[Ch] (getLyXText): add a const version.
1409 * BufferView_pimpl.C: add debug aids.
1414 * paragraph_funcs.h: add commentary explaining what the class does.
1417 * coordcache.[Ch]: add lots of commentary.
1418 (startUpdating, doneUpdating): debug aids.
1419 (arrays, insets, parPos, getParPos): accessors to private data.
1421 * cursor_slice.[Ch] (text): add a const version.
1422 * dociterator.[Ch] (text, innerText): add const versions.
1424 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1427 * paragraph.C (getRow, pos2ros): add asserts.
1429 * paragraph.h: add commentary. Lots of.
1431 * paragraph.[Ch] (metrucs, draw): removed.
1434 * rowpainter.[Ch]: const-correct changes.
1436 * text.C: various obvious clean-ups. Removal of ancient cruft.
1439 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1441 * vc-backend.C (find_file): rewrite to use boost.filesystem
1444 * main.C (main): set default name check for boost.filesystem to
1447 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1450 (actOnUpdatedPrefs): ditto
1452 * lyx_main.C (init): rewrite to use boost.filesystem
1453 (queryUserLyXDir): ditto
1455 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1456 (getContentsOfAsciiFile): ditto
1458 * lastfiles.C (readFile): rewrite to use boost.filesystem
1460 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1462 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1463 (loadLyXFile): ditto
1465 * buffer.C (Buffer): adjust for destroydir
1466 (getLogName): rewrite to use boost.filesystem
1467 (setFileName): ditto
1468 (save): use fs::copy_file (from fs_extras)
1470 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1472 * LaTeX.C (run): rewrite to use boost.filesystem
1473 (scanAuxFiles): ditto
1474 (handleFoundFile): ditto
1476 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1478 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1480 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1482 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1484 * lyxlayout.[Ch]: change some vars from float to double
1486 * buffer.C (readFile): make a local var const
1488 * Several files: use convert<> instead of atoi,strToXXX and friends
1490 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1492 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1493 holds the contents of packages.lst. New functions getAvailable
1494 and isAvailable to parse and check that list, resp.
1498 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1500 * bufferparams.[Ch]: new param output_changes.
1502 * Buffer.C: increase file format to 240.
1503 Use output_changes and isVailable.
1507 * paragraph_pimpl.C: Use output_changes and isVailable.
1509 2005-01-23 Angus Leeming <leeming@lyx.org>
1511 * output_latex.C: #include "insetbibitem.h", rather than
1512 forward declare function bibitemWidest.
1514 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1516 * lyx_main.C (init): make it compile on the Mac.
1518 2005-01-20 Angus Leeming <leeming@lyx.org>
1520 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1521 (setLyXMisc): (char string literal) != (char string literal) is
1522 performing a comparison on the addresses. Convert one operand
1523 explicitly to string to guarantee expected behaviour.
1526 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1529 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1531 * output_plaintext.C: remove unneeded #include gzstream.h.
1533 2005-01-20 Angus Leeming <leeming@lyx.org>
1535 * SpellBase.h: rename some of the elements of the Result enum.
1542 * pspell.C (check): ditto
1544 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1546 * buffer.C: add #include <fstream>.
1548 * lyx_main.C (init): Compile fix.
1550 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1552 2005-01-20 Angus Leeming <leeming@lyx.org>
1554 * mover.h: change commentary to reflect the changed meaning of
1555 the $$s placeholder.
1557 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1559 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1561 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1563 2005-01-20 Angus Leeming <leeming@lyx.org>
1565 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1566 printing diagnostic data by not dereferecing an iterator past the
1569 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1571 * buffer.C (readHeader): use "&&" rather than "and".
1573 * lyxserver.h (inPipeName, outPipeName): make these const.
1575 2005-01-19 Angus Leeming <leeming@lyx.org>
1577 * lyx_main.C (error_handler, init): protect SIGHUP with
1578 #ifdef SIGHUP guards.
1580 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1582 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1584 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1586 * text.C (setHeightOfRow): add a margin at the top and bottom of
1587 the document (bug 1761)
1589 2005-01-17 Angus Leeming <leeming@lyx.org>
1591 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1592 with "python ". Workaround for a brain-dead Windows.
1594 2005-01-16 Angus Leeming <leeming@lyx.org>
1596 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1597 for MacOSX and Windows to use prependEnvPath.
1598 Strip out the hard-coded block to add elements to the PATH for
1599 MacOSX and replace it with a call to prependEnvPath using the
1600 contents of LyXRC::path_prefix.
1601 (queryUserLyXDir): strip out the code to run reconfigure, instead
1602 returning a boolean indicating the necessity to do so.
1603 (reconfigureUserLyXDir): contains the code to reconfigure the
1604 user support directory. Is now called after the various LyXRC data
1605 files have been read.
1607 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1609 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1611 * converter.[Ch] (convert): take a new parameter try_default. Use
1612 a default converter (imagemagick) if try_default is true.
1614 2005-01-13 Angus Leeming <leeming@lyx.org>
1616 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1617 os::cygwin_path_fix.
1618 (write): output LyXRC::cygwin_path_fix as necessary.
1620 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1623 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1625 2005-01-12 Angus Leeming <leeming@lyx.org>
1627 * lyx_main.C (init): set the PATH variable to include the
1628 directory containing the LyX binary when running on Mac or Windows.
1630 2005-01-12 Angus Leeming <leeming@lyx.org>
1632 * lyx_main.C (init): remove cruft that purports to set the locale
1633 dir. It doesn't and is not needed anyway.
1635 2005-01-10 Angus Leeming <leeming@lyx.org>
1637 * Makefile.am: remove the lyx_main.C special casing.
1639 * BufferView_pimpl.C:
1645 * messages.C: use support/package.h to provide the paths to the
1646 various directories used by LyX.
1648 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1650 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1651 layout if pasting into an empty paragraph)
1653 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1655 * tex-accent.C: add <string>
1657 2005-01-06 José Matos <jamatos@lyx.org>
1659 * ParagraphParameters.C (write): put every parameter in its own line.
1660 * paragraph.C (write): reduce number of consecutive empty lines exported.
1661 * buffer.C (LYX_FORMAT): increase file format to 239.
1663 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1665 * everywhere: change support/tostr.h -> support/convert.h
1667 * tabular.C: make all write_attributes templates, tostr -> convert
1669 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1670 (emptyTag): and -> &&, and fix type for ret from getChar
1671 (getFirstWord): fix type for ret from getChar
1672 (onlyText): and -> &&
1673 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1676 * toc.C (goTo, action):
1677 * text3.C (dispatch):
1678 * text.C (currentState):
1679 * tex-accent.C (DoAccent):
1682 * lyxfunc.C (menuNew):
1683 * lyxfinc.C (replace):
1684 * counters.C (laberItem):
1685 * bufferview_funcs.C (font2string):
1686 * bufferparams.C (writeFile):
1687 * buffer.C (readFile):
1689 * MenuBackend.C: tostr -> convert
1691 * LaTeX.C (runMessage): fix format
1692 (scanAuxFiles): tostr -> convert
1694 * BufferView_pimpl.C (savePosition): fix format
1695 (restorePosition): ditto
1698 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1700 * Spacing.[Ch]: New method getValueAsString().
1704 * ParagraphParameters.C:
1707 * text3.C: store/read spacing value as string.
1709 * rowpainter.C: change float value (spacing_val) to double.
1711 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1712 broken custom document spacing).
1714 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1716 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1717 namespace, also more use of temp references and const
1719 * cursor.[Ch] (getStatus): move to lyxfunc.C
1721 * bufferparams.C: reformat slightly
1723 * bufferview_funcs.C (font2string): constify arg
1729 * buffer_funcs.C: (many funcs): constify arg on function
1730 definitions, also make more local vars const, also add ASSERTS on
1733 * buffer.C (LYX_FORMAT): put const in correct place
1734 (many funcs): constify arg on function definitions, also make
1735 more local vars const
1737 * aspell_local.h: remove "struct" from typdef setup
1739 * aspell.C (check): make word_ok const
1740 (nextMiss): simplify slightly
1743 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1745 * lyxrc.[Ch]: store all float values as strings.
1746 use int (not float) for lyxrc.dpi.
1748 2005-01-04 Angus Leeming <leeming@lyx.org>
1750 * lyx_cb.C (Reconfigure):
1751 * lyx_main.C (queryUserLyXDir):
1752 to run the <system_lyxdir>/configure correctly on Windows, prefix
1753 the path to the script with "sh " when generating the string that
1754 is passed to system().
1756 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1758 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1760 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1762 * lyxlength.C (asLatexString): get rid of setprecision
1764 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1766 * text2.C (setLayout): remove unused variable endpit.
1767 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1769 * paragraph.C (onlyText): remove unused variable style.
1771 * cursor.C (bruteFind): remove unused variables beg and end.
1773 * Makefile.am (dist_noinset_DATA): not needed anymore
1775 * cheaders/*: remove.
1777 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1779 * text3.C: fix LFUN_MATH_MODE.
1781 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1783 * buffer_funcs.C (countWords): new function. Counts words between
1786 * BufferView_pimpl.C (getStatus, dispatch): handle
1789 * LyXAction.C (init):
1790 * lfuns.h: add LFUN_WORDS_COUNT.
1792 2004-12-19 Angus Leeming <leeming@lyx.org>
1794 * buffer.C (save): s/slashify_path/internal_path/.
1796 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1798 * lyxfind.C (findChange): do not search for end of pars, because
1799 the change tracker cannot handle this (fixes bug 1719).
1801 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1803 * paragraph.[Ch] (autoBreakRows): remove
1805 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1807 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1808 avoid using the paragraph one
1810 * text2.C (LyXText, insertStringAsLines): adjust
1812 2004-12-16 Angus Leeming <leeming@lyx.org>
1816 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1818 2004-12-14 Angus Leeming <leeming@lyx.org>
1820 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1822 * bufferlist.C (emergencyWrite):
1823 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1826 2004-12-14 Angus Leeming <leeming@lyx.org>
1828 * main.C: (main): no longer pass pointers to os::init.
1830 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1832 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1833 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1835 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1838 * text3.C: remove selection_possible global flag
1840 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1842 * text2.C (getSelectionSpan): remove
1843 (changeDepth, changeDepthAllowed): adjust
1845 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1847 * Makefile.am (BOOST_LIBS): use boost variables
1849 2004-12-03 José Matos <jamatos@lyx.org>
1851 * buffer.C: format up to 238.
1853 2004-12-03 José Matos <jamatos@lyx.org>
1855 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1857 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1859 * cursor.C (goUpDown): remove call to idxUpDown2
1861 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1863 * tabular.[Ch]: use size_t-like types for cell, row and column
1866 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1868 * lyxfunc.C (getStatus): do not lose previous information when
1869 calling BufferView::getStatus; do not set a default "Command
1870 disabled" message at the beginning, but just before returning.
1872 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1874 * cursor.h (getStatus): add better comment from src/cursor.C
1876 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1878 * text3.C (getStatus): return false when the lfun is not handled
1880 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1882 * broken_headers.h: remove
1884 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1886 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1888 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1889 offset_ref accessors
1891 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1892 top_y_, merge fitcursor with update
1893 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1895 (metrics): introduce
1896 (workAreaDispatch): adapt to new coord scheme
1897 (redoCurrentBuffer): remove
1899 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1901 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1904 * coordcache.[Ch]: add paragraph cache and helpers
1906 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1909 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1910 (targetX, setTargetX): introduce
1912 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1913 baseline -> ascent, as the rest of lyx
1915 * lyxtext.h: remove redoParagraphs, updateParPositions,
1916 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1917 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1918 have ascent/descent (ascent is ascent of first par)
1920 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1923 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1925 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1927 * pariterator.C: fix infinite loop introduced in par->pit renaming
1929 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1930 in insets and LyXText, draw two off-screen paragraphs using
1931 NullPainter, and adapt to new coord scheme
1935 * text3.C: adapt lfun handlers to the new coord scheme, which
1936 means: there's only guaranteed coord information for onscreen pars
1937 plus one above and one below. This implies that one can do search
1938 from y coordinates in the range [-1,workHeight]
1940 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1942 * rename a lot of InsetOld to InsetBase
1944 2004-11-25 Angus Leeming <leeming@lyx.org>
1946 * BufferView_pimpl.C:
1948 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1950 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1952 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1953 call BufferView::getStatus if LCursor::getStatus did nothing
1954 (setStatusMessage, getStatusMessage): removed.
1956 * FuncStatus.C (message): new methods. Used to provide an error
1957 message indicating why a command is disabled.
1958 (clear, |=, FuncStatus): update for message.
1960 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1962 * lyxfunc.C (dispatch): always call sendDispatchMessage
1964 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1967 * BufferView_pimpl.C:
1972 * cursor_slice.[Ch]:
1975 * paragraph_funcs.C:
1981 * undo.C: par->pit renaming
1983 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1985 * tabular.C (cellstruct): use initialization, store a shared_ptr
1986 to insettext instead of the insettext directly, adjust to fit.
1987 (operator=): new function
1988 (swap): new function
1989 (rowstruct): use initialization
1990 (columnstruct): use initialization
1991 (ltType): use initialization
1994 * lyxlength.h (swap): new function
1996 * LColor.[Ch] (operator=): use the common semantics
1998 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2000 * lyxfind.C (findNextChange): update the bufferview after setting
2003 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2005 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2006 number of InsetOptArgs has already been inserted.
2008 * output_latex.C (latexOptArgInsets): new method. This outputs all
2009 the optarg insets, up to the limit defined in the layout file.
2010 (optArgInset): removed
2011 (TeXOnePar): call latexOptArgInsets; correctly update texrow
2013 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2015 * paragraph.C (isLetter): remove special spellchecker-related
2016 code; return true also for digits
2017 (isWord, isKomma): remove
2019 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2020 * lyxfind.C (MatchString()): use isLetter instead of isWord
2022 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2024 * pariterator.h (operatir=): comment out un-implemented member
2027 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2030 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2032 * lyxfont.h: include LColor.h to satisfy concept checks.
2034 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2036 * pariterator.h: add typdefs for value_type, difference_type,
2037 pointer and reference to satisfy concept checks. Also add default
2038 constructor for same reason.
2040 * pariterator.C (operator++): add post-increment operator to
2041 satisfy concept checks.
2043 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2046 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2048 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2049 checks. Also rename base_type to BaseType to follow naming
2052 * FloatList.h: include Floating.h to satisfy concept checks.
2054 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2056 * lyxfunc.C (getStatus): when the origin of the request is menu or
2057 toolbar, and the LyXView does not have focus, do as if there was
2058 no buffer (bug 1720)
2060 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2061 FuncRequest to individual entries of LFUN_SEQUENCE
2063 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2065 * output_latex.C (TeXOnePar): override runparams.moving_arg
2066 according to the needprotect value of the current paragraph (bug
2069 * paragraph.C (simpleTeXOnePar): no need to override
2070 runparams.moving_args here
2072 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2074 * vspace.C: fix off-by-one-error, related to fix #1682
2076 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2078 * lengthcommon.C: a more general fix for bug 1682
2080 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2082 * text.C (backspace): fix crash
2084 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2086 * format.[Ch] (getFormatFromFile): new method
2087 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2089 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2091 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2093 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2095 * lyxfunc.C (dispatch): remove the verbose argument
2096 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2099 * kbmap.C (defkey): set the origin of func to KEYBOARD
2101 * MenuBackend.C (MenuItem):
2102 * ToolbarBackend.C (add): set the origin of func to UI
2104 * funcrequest.[Ch]: add origin member, which indicates which part
2105 of LyX requests an action
2107 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2109 * converter.C (move): don't lie in the error message
2110 * converter.h (isReachable, move): document
2112 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2114 * buffer.C: remove unused using lyx::support::atoi
2115 * paragraph_funcs.C: ditto
2117 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2119 * bufferlist.C (exists): use bind and equal_to instead of
2122 * lyxtextclasslist.C (NumberOfClass): ditto
2124 * cursor.C (insert): use for_each instead of explicit for loop
2126 * bufferlist.C (getFileNames): use std::transform and
2127 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2129 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2132 * buffer.C (changeLanguage): use for_each instead of explicit for
2134 (hasParWithID): implement using getParFromID
2136 * LaTeXFeatures.C: ws change only
2138 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2141 * BufferView_pimpl.C (trackChanges): use for_each instead of
2144 2004-11-04 André Pönitz <poenitz@gmx.net>
2147 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2149 * dociterator.C (asDocIterator): use hard assert again.
2151 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2153 * lyxlength.C (asLatexString): rewrite so that it does not use
2156 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2158 * text3.C (specialChar, dispatch): make sure cursor moves to the
2159 right after inserting an inset
2161 2004-11-02 José Matos <jamatos@lyx.org>
2163 * output_docbook.C (docbook):
2164 * paragraph.C (getID):
2165 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2166 garantee that the output is always legal.
2168 * tabular.C (docbook):
2169 * outputprams.[Ch]: remove mixed contents.
2171 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2173 * text2.C (setCounter): prevent endless loop
2175 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2177 * exporter.C (copyFile): use the mover instead of support::copy()
2178 * exporter.C (Export): pass format and latex name to copyFile()
2179 * exporter.h (addExternalFile): document
2180 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2182 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2184 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2186 2004-10-30 José Matos <jamatos@lyx.org>
2188 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2189 text and no inset or font change. This allows to use CDATA
2190 sections just for the whole paragraph.
2192 2004-10-30 José Matos <jamatos@lyx.org>
2194 * paragraph.C (getFirstWord): remove unused variable.
2196 2004-10-30 José Matos <jamatos@lyx.org>
2198 * paragraph.C (getFirstWord): the content should always be escaped
2200 (simpleDocBookOnePar):
2201 * output_docbook.C (makeEnvironment): replace reference to CDATA
2204 2004-10-30 José Matos <jamatos@lyx.org>
2206 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2208 2004-10-30 José Matos <jamatos@lyx.org>
2210 * output_docbook.C (makeParagraphs):
2211 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2212 standard paragraph has only a given type of content drop the wrapper.
2214 2004-10-29 José Matos <jamatos@lyx.org>
2216 * output_docbook.C (makeEnvironment):
2218 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2220 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2222 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2223 (cleanID): sanitize any id.
2225 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2227 * buffer.C, lyxlex_pimpl.C:
2228 * lyxlex_pimpl.C (setFile):
2229 s/getExtFromContents/getFormatFromContents/
2231 2004-10-28 José Matos <jamatos@lyx.org>
2233 * output_docbook.C (makeEnvironment): move id to broadest possible
2236 * sgml.C (openTag): apply substitution of <> for all attributes.
2238 2004-10-28 José Matos <jamatos@lyx.org>
2240 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2241 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2242 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2244 * sgml.[Ch]: new version for open and closeTag for paragraph and
2245 for strings. Now they handle the ids of paragraphs.
2247 2004-10-26 Angus Leeming <leeming@lyx.org>
2249 * Makefile.am: add mover.[Ch].
2251 * converter.C (convert, move): use the new Movers to move external
2252 files to the temp directory.
2254 * lyx_main.C (init): ensure that the global system_movers data
2257 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2260 * mover.[Ch]: new files, defining a Mover as a utility to move an
2261 external file between directories and, if necessary, manipulate this
2262 file using a helper script.
2264 2004-10-25 José Matos <jamatos@lyx.org>
2266 * output_docbook.C (makeCommand): merge two if's that tested the
2269 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2271 * sgml.C (escapeString): fix warning in a better way
2273 2004-10-25 José Matos <jamatos@lyx.org>
2275 * sgml.C (escapeString): import the require boosts header file for
2276 tie, and avoid a signed unsigned comparison.
2278 2004-10-25 José Matos <jamatos@lyx.org>
2280 * sgml.h: add #include <string>
2282 2004-10-25 José Matos <jamatos@lyx.org>
2284 * sgml.[Ch] (escapeString): new function to escape all the string.
2286 2004-10-24 José Matos <jamatos@lyx.org>
2288 * paragraph.[Ch] (getFirstWord): new function to get the first
2289 word. Useful for description.
2290 (simpleDocBookOnePar): remove depth argument, add another that
2291 says where to start the paragraph.
2293 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2294 use the new functions to fix cleanly the support for descriptions.
2296 2004-10-24 José Matos <jamatos@lyx.org>
2298 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2299 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2300 * output_linuxdoc.C (linuxdocParagraphs):
2301 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2302 add buffer as argument.
2304 2004-10-24 José Matos <jamatos@lyx.org>
2306 * output_docbook.C (makeEnvironment, searchEnvironment): place
2307 CDATA inside paragraphs and fix scope for listitems.
2309 2004-10-24 José Matos <jamatos@lyx.org>
2311 * output_docbook.C: remove using statement for stack.
2313 2004-10-23 José Matos <jamatos@lyx.org>
2315 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2316 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2317 docbook. The new scheme is recursive and makes use of iterators, the
2318 same as latex export works.
2319 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2320 directly with the paragraph contents. This code was moved up to
2321 output_docbook.C (docbookParagraphs).
2322 * sgml.C (openTag, closeTag): removed unneeded newlines.
2323 (closeEnvTags) removed.
2325 2004-10-23 André Pönitz <poenitz@gmx.net>
2327 * undo.C (textUndoOrRedo):
2328 * dociterator.C (asDocIterator): work around crash
2330 * cursor.C (getStatus): replace ASSERT by more verbose error message
2331 and manual correction of the problem. Should increase stability
2332 while providing more sensible information.
2334 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2336 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2338 * bufferlist.C (previous, next): new methods
2341 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2343 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2345 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2346 entities to preamble.
2348 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2350 * messages.C (Pimpl): strip off translation context information
2352 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2354 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2355 the cursor is correct (bug 1694)
2357 2004-10-13 José Matos <jamatos@lyx.org>
2359 * output_docbook.C (docbookParagraphs): fix closing tags in the
2360 end of the document.
2362 2004-10-09 José Matos <jamatos@lyx.org>
2364 * buffer.C: format up to 237.
2365 * bufferparams.C (write): use tostr to convert booleans to strings.
2367 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2369 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2371 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2373 * LaTeX.C: implement use of babel language in xindy.
2375 2004-10-05 José Matos <jamatos@lyx.org>
2377 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2378 Add new translators to help reading and writing the lyx file.
2380 2004-10-05 José Matos <jamatos@lyx.org>
2382 * ParagraphParameters.C (read):
2383 * text.C (readParToken): replace nexToken by more appropriate lex
2386 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2388 * LaTeX.C (runMakeIndex):
2389 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2390 (usually 'makeindex') configurable.
2392 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2393 with a variable rather than with a number.
2395 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2397 * output_latex.C (TeXOnePar): make sure font setting is the first
2398 thing that gets output (and the last at the end). Should fix bug
2401 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2403 * pch.h: use proper signal include
2405 * LaTeX.h: Use preferred calling of Boost.Signal
2408 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2410 * pch.h: dont include <boost/function/function0.hpp>
2412 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2414 * paragraph_pimpl.h: remove usage of ShareContainer
2416 * paragraph_pimpl.C: remove initialization of ShareContainer.
2418 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2422 * BufferView.C (putSelectionAt): change the semantics when
2423 backwards == true: now, this just swaps cursor and anchor wrt the
2426 * BufferView.h (putSelectionAt): add some documentation
2428 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2429 make sure backwardChar is done at least once (to avoid getting
2431 (findNextChange): use putSelectionAt in the forward direction
2432 (operator()): use Paragraph::isWord
2434 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2436 * Spacing.C (set): c_str fix
2438 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2440 * lyx_cb.C (Reconfigure): quote the name of configure script in
2441 case it contains spaces
2443 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2447 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2448 (BOOST_LIBS): use top_buildir when looking for the file
2450 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2452 * pch.h: do not use include boost/format.hpp, multiple symbols
2453 will result (gcc bug)
2456 2004-08-23 José Matos <jamatos@lyx.org>
2458 * bufferparams.C (readToken): fix reading of the author field.
2460 2004-08-20 José Matos <jamatos@lyx.org>
2462 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2464 2004-08-20 José Matos <jamatos@lyx.org>
2466 * lyxlex.[Ch] (findToken): remove function.
2468 * ParagraphParameters.C (findToken):
2469 * bufferparams.C (findToken): replace call for previous function
2470 with local copy. This local function has one more argument, the
2471 read string argument.
2473 2004-08-16 José Matos <jamatos@lyx.org>
2475 * ParagraphParameters.C (write):
2476 * Spacing.C (writeFile):
2477 * bufferparams.C (writeLaTeX):
2478 * lyx_cb.C (Reconfigure):
2479 * paragraph.C (write):
2480 * tabular.C (write): remove unnecessary space at end of line.
2483 2004-08-16 José Matos <jamatos@lyx.org>
2485 * text.C (readParagraph): remove debug message.
2487 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2489 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2492 * output_plaintext.C (asciiParagraph): set depth correctly
2494 * outputparams.h: add member depth
2496 * paragraph_funcs.C (ownerPar): remove.
2498 * text2.C (setCounter): remove first_pit; comment out some
2499 non-working code that uses ownerPar
2501 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2504 2004-08-16 José Matos <jamatos@lyx.org>
2506 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2507 For the same level of importance use the same chanel to report problems.
2508 (read): add code to deal with \begin_body and \end_body.
2511 2004-08-15 José Matos <jamatos@lyx.org>
2513 * lyxlex.C (getString): fix comment, buffer::readBody is now
2514 buffer:readDocument.
2516 * tex-strings.C (string_papersize): Default -> default,
2517 Custom -> custom, for consistency with other options.
2519 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2523 * Makefile.am: support pch
2525 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2527 * text.C (readParToken): remove the static LyXFont variable and
2528 pass it as a parameter instead. This fixes a nasty bug where an
2529 inset will be inserted with a bad font in some situations
2530 (readParagraph): adapt
2532 * text2.C (setCounter): reduce number of calls to pars_[pit]
2534 * text.C (singleWidth): add an assert, fix a test
2536 * rowpainter.C (paintText): reduce number of calls to singleWidth
2538 * paragraph.C (isHfill):
2539 (isNewline): ws only
2541 2004-08-14 André Pönitz <poenitz@gmx.net>
2546 * lyxtext.h (several functions): use a Paragraph & argument
2549 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2551 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2553 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2555 * text.C (singleWidth): remove useless test
2557 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2559 * tabular.h: remove bogus comments
2561 * tabular.C (getDescentOfRow):
2562 (isPartOfMultiColumn): add assertions
2564 * lyxlength.C (inPixels): remove #warning
2566 2004-08-14 André Pönitz <poenitz@gmx.net>
2568 * paragraph.h: inline getChar()
2570 * BufferView.h: remove unused declarations
2572 2004-08-14 José Matos <jamatos@lyx.org>
2574 * Buffer.[Ch] (readDocument): new name for old readBody.
2575 * Buffer.C: new file format, new keywords: \begin_document,
2576 \begin_header, \begin_body, \end_body.
2578 * bufferparams.C (readToken): replace all calls to lex.nextToken
2579 by lex.next(). Do the same to eatLine except where really needed.
2581 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2582 line when writing to the lyx file.
2584 * output_plaintext.C (asciiParagraph): fix Bibliography style
2587 * text.C (read): fix end of file handling.
2589 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2591 * MenuBackend.C (Menu::operator[]): new method to access
2592 individual menu items
2593 (Menu::hasFunc): new method. search for an item that corresponds
2595 (MenuBackend::specialMenu): new method
2596 (MenuBackend::expand): if a special menu has been set, skip
2597 entries whose func() appears in this menu
2599 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2601 * text3.C: use Debug::DEBUG a bit more
2603 * text.C (leftMargin): try to simplify a tiny bit change var x to
2604 l_margin. Dont output the wide margins always.
2605 (rightMargin): no margin in inner texts
2607 * rowpainter.h (nestMargin): new func
2608 (changebarMargin): new func
2609 (rightMargin): new func
2611 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2615 * factory.C (createInset): modify setDrawFrame
2617 * cursor.C: use Debug::DEBUG a bit more
2619 2004-08-14 André Pönitz <poenitz@gmx.net>
2622 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2623 cache for all insets in (at least partially) visible (top-level)
2626 * BufferView_pimpl.C: reset external coord cache before every update.
2627 This means the coord cache only contains valid entries.
2629 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2632 * BufferView_pimpl.C (getInsetByCode): move function out of class
2633 and change in to a template in anon namespace. Also fix to do what
2636 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2639 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2641 (breakParagraph): rename par to par_offset and use a local
2642 reference. Add code to keep the language over a rebreak.
2643 (breakParagraphConservative): rename par to par_offset, use a
2645 (mergeParagraph): ditto
2647 (isFirstInSequence): ditto
2648 (outerFont): rename pit to par_offset
2650 * paragraph.C: ws change
2651 * paragraph.h: ditto
2655 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2657 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2660 * paragraph.C (simpleTeXOnePar): when we have a \item with
2661 optional argument, enclose the argument with curly brackets (in
2662 case it contains a closing square bracket)
2666 * text3.C (checkInsetHit): constify
2668 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2670 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2671 documents (bug 1629)
2673 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2675 Fix toggling of collapsable insets with the mouse (bug 1558)
2677 * lyxfunc.C (dispatch): adapt to LCursor changes
2679 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2680 make sure that dispatch is not invoked twice
2682 * cursor.C (needsUpdate): new method
2683 (dispatch): return void
2684 (result): new method, to access the DispatchResult of the cursor.
2686 2004-08-13 José Matos <jamatos@lyx.org>
2688 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2690 2004-08-13 André Pönitz <poenitz@gmx.net>
2692 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2694 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2697 2004-08-12 André Pönitz <poenitz@gmx.net>
2699 * text3.C: take out the 'cursor right' form insertInset and only
2700 do it in those places when it is really needed. Fixes crash on
2703 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2705 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2707 * BufferView_pimpl.C (setBuffer): initialize the current font of
2708 the underlying LyXText
2710 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2712 * kbsequence.C (print): use UI native formatting for menu
2715 * text.C (insertChar): call Paragraph::insertChar with a font
2718 * paragraph.C (insertInset, insertChar): the version that takes a
2719 LyXFont argument is now a wrapper around the other one (the
2720 opposite used to be true).
2722 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2723 argument. Font setting is done in Paragraph now.
2725 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2727 * outputparams.h: add new members intitle and lang.
2729 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2730 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2732 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2734 * text3.C (dispatch): remove special handling of button 4 and 5,
2735 it is now taken care of in the frontend code.
2737 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2739 * Spacing.h: add <string> (STLPort compile fix)
2741 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2743 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2745 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2747 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2750 * converter.C (showMessage): inherit from unary_function, make
2753 * buffer.C (writeFile): initialize retval
2755 * InsetList.h: rename private variable list to list_
2756 * InsetList.[Ch]: adjust accordingly.
2758 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2760 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2761 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2762 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2763 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2764 * ParagraphParameters.C, LaTeXFeatures.C: replace
2765 "support/std_sstream.h" with <sstream>
2767 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2769 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2770 * lyxsocket.C (LyXServerSocket): ditto
2771 (serverCallback): ditto
2773 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2775 * LaTeXFeatures.C: check release date when loading jurabib.
2777 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2779 * lyxserver.C (startPipe): call register_socket_callback
2780 (endPipe): call unregister_socket_callback
2782 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2784 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2785 (LyXServerSocket): register the callback
2786 (LyXServerSocket): unregister the callback
2787 (fd): delete function
2788 (serverCallback): improve error checking and setup the callbacks.
2789 (dataCallback): change arg to fd.
2790 (writeln): new func (copied fro the client socket) used for server
2792 (LyXDataSocket): simplify
2793 (~LyXDataSocket): close ann unregiser callback
2794 (server): delete function
2795 (fd): delete function
2796 (readln): small changes, improve some std::string usage
2797 (writeln): constify a bit
2799 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2801 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2804 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2806 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2807 after it has been populated
2809 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2811 * text2.C (insertInset): move cursor when inserting inset.
2813 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2815 * kbmap.C (findbindings): a couple of new methods. returns a
2816 container of kb_sequence objects. The real work is done by the
2817 private recursive version
2818 (printbindings): uses findbindings to print out a bracketed list
2819 of bindings (renamed from findbinding).
2821 * MenuBackend.C (binding): use kb_keymap::findbindings
2823 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2825 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2827 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2829 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2831 * paragraph.C (isWord): return true on insets that report
2834 * text.C (getWord): use Paragraph::isWord to decide what is in a
2835 word and what is not; fix bug 1609.
2837 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2839 * tex-strings.C: add "none" to string_paperpackages[], fixes
2840 off-by-one-error in the paperpackage selection.
2843 * tex-strings.[Ch]: char const * string[n]
2844 -> char const * const string[]
2846 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2848 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2849 command, return early.
2851 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2853 * debug.h: add DEBUG to enum and fix size of ANY.
2855 * debug.C: add support for Debug::DEBUG
2856 (showTags): cast errorTags.level to unsigned int
2858 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2859 (redoCurrentBuffer): ditto
2860 (updateScrollbar): ditto
2861 * cursor.C (dispatch): ditto
2862 * text2.C (setLayout): ditto
2864 (updateCounters): ditto
2866 (deleteEmptyParagraphMechanism): ditto
2868 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2870 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2871 annotations to cleanup the Makefile slightly.
2873 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2875 * lyxrc.C: do not set user_email to a default value but use empty
2876 instead. The entry used to be translated, which does not work
2877 since at the point where lyxrc is constructed there is no
2878 translation service available
2880 * messages.C (getLocaleDir): remove and use directly
2881 lyx_localedir() instead
2883 2004-06-02 Angus Leeming <leeming@lyx.org>
2885 Fix crash caused by dereferencing null pointer 'exportdata' in
2886 OutputParams by creating a new ExportData variable on the heap,
2887 storing it in a boost::shared_ptr.
2888 The crash was triggered when generating an Instant Preview
2889 of an external inset.
2891 * Makefile.am: add outputparams.C
2893 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2894 (c-tor): allocate memory to it.
2896 * exporter.C (c-tor): associated changes.
2898 2004-06-01 Angus Leeming <leeming@lyx.org>
2900 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2901 contains data before calling isInset(0). (Bug 1513.)
2903 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2905 * exporter.C (checkOverwrite): new method
2906 * exporter.C (copyFile): new method
2907 * exporter.C (Export): copy referenced files to the document dir
2908 * exporter.[Ch]: new class ExportedFile
2909 * exporter.[Ch]: new class ExportData. Contains currently the
2910 names of referenced external files
2911 * outputparams.h: add exportdata member.
2913 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2915 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2918 2004-05-19 Angus Leeming <leeming@lyx.org>
2923 * lyxfunc.C: small changes due to the introduction of namespace
2924 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2926 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2928 * text3.C (dispatch): supress update when only moving the cursor
2929 * cursor.C (selHandle): remove commented code
2931 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2933 * paragraph.C (startTeXParParams): correct column count
2934 * CutAndPaste.C (pasteSelection): remove const_cast
2935 * output_docbook.C (docbookParagraphs): remove const_cast
2936 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2937 const_cast and return ParagraphList::const_iterator
2938 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2939 * output_plaintext.C (writeFileAscii): remove const_cast
2940 * paragraph.[Ch] (simpleTeXOnePar): make const
2941 * paragraph_funcs.C (outerPar): use const iterators
2942 * paragraph_pimpl.C (validate): use const iterators
2943 * text.C (setHeightOfRow): use const iterators
2945 2004-05-17 Angus Leeming <leeming@lyx.org>
2948 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2950 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2951 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2952 if the citation engine has changed.
2954 2004-05-14 José Matos <jamatos@lyx.org>
2956 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2957 if the textclass does not provide it. Have it different for sgml and
2959 support the language of document.
2960 * output_docbook.C (docbookParagraphs):
2961 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2962 first anchor as the id of the paragraph, remove special case code.
2963 * sgml.C (escapeChar): escape only < & >.
2965 2004-05-14 Angus Leeming <leeming@lyx.org>
2967 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2968 dependencies on src/frontends/controllers/biblio.h. Define a
2969 CiteEngine_enum wrapper class to enable the enum to be forward
2972 2004-05-12 Angus Leeming <leeming@lyx.org>
2974 * buffer.C: up LYX_FORMAT to 234.
2975 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2976 use_numerical_citations with a single biblio::CiteEngine cite_engine
2978 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2980 2004-05-13 José Matos <jamatos@lyx.org>
2983 * converter.C (Converter, readFlags): add xml member.
2984 * outputparams.h: add XML flavor.
2985 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2987 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2989 * lyxfunc.C (dispatch):
2990 (getStatus): fix handling of LFUN_SEQUENCE
2992 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2994 * debug.C (showLevel): do not forget the end-of-line marker
2996 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2998 * kbmap.C (read): do not stop parsing a bind file when an error
3001 2004-04-29 Angus Leeming <leeming@lyx.org>
3006 * text2.C: wrap a bunch of #warning statements
3007 inside #ifdef WITH_WARNINGS blocks.
3009 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3011 * buffer.C: increment format to 233.
3013 2004-04-28 Angus Leeming <leeming@lyx.org>
3015 * BufferView_pimpl.C:
3018 s/updateToolbar()/updateToolbars()/
3019 s/Toolbar.h/Toolbars.h/
3021 2004-04-28 Angus Leeming <leeming@lyx.org>
3023 * BufferView.[Ch] (c-tor):
3024 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3025 No longer passes these data to the WorkArea generator.
3027 2004-04-28 Angus Leeming <leeming@lyx.org>
3029 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3031 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3033 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3035 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3037 * output_latex.C (TeXEnvironment): make sure that there is a line
3038 break before \end{foo} for the last paragraph of a document
3039 (TeXOnePar): if the paragraph is at the end of the document (or
3040 inset) and the language has to be reset, then make sure that the
3041 line break is _before_ the language command, not after (fixes bug
3042 1225); also make sure that the language reset command is the first
3043 thing after the paragraph (to ensure proper nesting of
3044 environments and thus fix bug 1404)
3046 2004-04-21 John Levon <levon@movementarian.org>
3049 * ToolbarBackend.C: make "name" be a programmatic name
3050 and a gui_name field.
3052 * lyxfunc.C: display the minibuffer on M-x
3054 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3056 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3059 2004-04-19 Angus Leeming <leeming@lyx.org>
3061 * BufferView_pimpl.C (setBuffer): changed preview interface.
3063 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3066 2004-04-19 John Levon <levon@movementarian.org>
3068 * BufferView_pimpl.C:
3069 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3071 2004-04-05 Angus Leeming <leeming@lyx.org>
3073 * text.C (redoParagraphs): add call to updateCounters(), thereby
3074 fixing the missing "Figure #:" label from the caption of a
3077 2004-04-13 Angus Leeming <leeming@lyx.org>
3079 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3080 cursor is clicked out of an inset.
3082 2004-04-13 Angus Leeming <leeming@lyx.org>
3084 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3085 than an InsetOld one.
3087 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3089 * format.[Ch]: add editor to Format
3090 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3091 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3093 2004-04-08 André Pönitz <poenitz@gmx.net>
3095 * metricsinfo.h: remove PainterInfo::width member
3097 2004-04-08 Angus Leeming <leeming@lyx.org>
3099 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3100 "\providecommand" rather than "\newcommand", thereby preventing
3101 clashes with packages that define "\boldsymbol" themselves.
3104 2004-04-08 Angus Leeming <leeming@lyx.org>
3106 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3107 thereby squashing an unnecessary warning.
3109 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3111 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3114 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3116 * BufferView.C (setCursor): call redoParagraph (some insets could
3118 (putSelectionAt): remove the 'double update' trick
3120 * BufferView_pimpl.C (fitCursor): call refreshPar
3121 (workAreaDispatch): remove an uneeded update call
3122 (dispatch): remove some manual update calls
3124 * cursor.[Ch]: remove cached_y_, updatePos
3125 (selHandle): set noUpdate when appropriate
3127 * lyxfunc.C (dispatch): track if we need an update
3129 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3131 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3132 (paintSelection): cheap optimization, do not call cursorX when not
3134 (paintPars): change signature
3137 (paintTextInset): adjust
3141 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3143 * lengthcommon.C: compilation fix: remove explicit array size from
3144 unit_name[] and friends
3146 2004-04-05 Angus Leeming <leeming@lyx.org>
3148 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3150 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3151 present only for the preferences dialog.
3152 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3154 2004-04-05 Angus Leeming <leeming@lyx.org>
3156 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3157 to enable the frontends to export changes to lyxrc correctly.
3159 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3161 2004-04-07 André Pönitz <poenitz@gmx.net>
3163 * cursor.[Ch] (selClear, adjust): remove math
3165 * cursor_slice.C: more agressive assert
3168 * BufferView_pimpl.C: rework mouse event dispatch
3175 2004-04-05 André Pönitz <poenitz@gmx.net>
3177 * cursor.[Ch] (valign, halign...): remove unneeded functions
3179 2004-04-05 Angus Leeming <leeming@lyx.org>
3181 * lyxlength.[Ch] (unit_name et al.): const-correct.
3183 2004-04-05 Angus Leeming <leeming@lyx.org>
3185 * BufferView_pimpl.C:
3194 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3196 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3198 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3200 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3202 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3203 * BufferView_pimpl.[Ch] (getStatus)
3204 * BufferView.[Ch] (getStatus): add
3205 * lyxfunc.C (getStatus): move lfuns handled in
3206 BufferView::dispatch to te function above
3207 * Cursor.C (setSelection): set selection() = true
3209 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3211 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3213 2004-03-31 Angus Leeming <leeming@lyx.org>
3215 * lyxfunc.C (dispatch): Fall through to the generic
3216 Dialogs::show("preamble").
3218 2004-03-31 Angus Leeming <leeming@lyx.org>
3220 * lyxfunc.C (dispatch): Fall through to the generic
3221 Dialogs::show("spellchecker").
3223 2004-03-31 Angus Leeming <leeming@lyx.org>
3225 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3228 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3233 * insetiterator.[Ch]:
3238 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3240 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3242 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3243 insets where we are putting the cursor.
3245 2004-03-31 Angus Leeming <leeming@lyx.org>
3248 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3250 * lyxrc.[Ch] (read, write): overloaded member functions taking
3251 a std::[io]stream arguments.
3253 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3255 2004-03-31 Angus Leeming <leeming@lyx.org>
3257 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3258 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3260 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3261 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3263 2004-03-31 Angus Leeming <leeming@lyx.org>
3265 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3266 the LFUN_ALL_INSETS_TOGGLE code.
3268 2004-03-30 Angus Leeming <leeming@lyx.org>
3270 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3271 has died. Fall through to the generic Dialogs::show("document").
3273 2004-03-30 Angus Leeming <leeming@lyx.org>
3276 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3277 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3279 * lyxfunc.C (getStatus, dispatch): define the actions for these
3280 lfuns. Little more than a cut and pste job from ControlDocument.C
3282 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3284 2004-03-30 Angus Leeming <leeming@lyx.org>
3287 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3288 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3290 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3291 open/closed state of ollapsable insets. Usage:
3293 all-inset-toggle <state> <name>, where
3294 <state> == "open" || "closed" || "toggle" and
3295 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3297 * lyxtext.h, text2.C (toggleInset): removed.
3299 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3300 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3301 now passes LFUN_INSET_TOGGLE to the found inset.
3303 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3304 is now invoked as "all-insets-toggle toggle branch".
3306 2004-03-30 Angus Leeming <leeming@lyx.org>
3310 * pariterator.[Ch]: added/corrected header blurb.
3312 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3314 * dociterator.[Ch]: add an inset_ member
3315 (backwardPos): implemented
3316 (backwardPos, forwardPos): use inset_ when the stack is empty.
3317 (doc_iterator_begin, doc_iterator_end): implemented
3318 * pariterator.[Ch]: adjust, add begin, end
3319 * insetiterator.[Ch]: adjust, add begin, end
3323 * BufferView_pimpl.C:
3324 * CutAndPaste.C: adjust
3326 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3328 * buffer.C: increment file format to 232.
3329 * LaTeXFeatures.C: add bibtopic package.
3330 * bufferparams.[Ch]: param \use_bibtopic.
3332 * lyxrc.[Ch]: add lyxrc bibtex_command
3333 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3335 * buffer.C: increment file format to 231.
3337 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3339 * dociterator.C: implement forwardPar
3340 * iterators.[Ch]: remove, replaced by
3341 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3343 * BufferView_pimpl.C:
3346 * bufferview_funcs.C:
3352 * Makefile.am: adjust
3354 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3356 * CutAndPaste.C (pasteSelection): fix 2 crashes
3357 (eraseSelection): fix a crash
3358 * paragraph_funcs.C: remove a warning
3360 2004-03-28 Angus Leeming <leeming@lyx.org>
3363 * LyXAction.C (init): new LFUN_PRINT.
3365 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3367 2004-03-27 Angus Leeming <leeming@lyx.org>
3370 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3372 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3374 2004-03-27 Angus Leeming <leeming@lyx.org>
3376 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3377 insetlist always contains non-null pointers to insets.
3379 2004-03-26 Angus Leeming <leeming@lyx.org>
3381 * src/BufferView_pimpl.C:
3382 * src/CutAndPaste.C:
3385 * src/output_plaintext.C:
3386 * src/outputparams.h:
3387 * src/paragraph_funcs.C:
3391 * src/frontends/controllers/ControlErrorList.C:
3392 * src/frontends/gtk/FileDialogPrivate.C:
3393 * src/frontends/gtk/GPainter.C:
3394 * src/frontends/gtk/GToolbar.C:
3395 * src/frontends/qt2/QRef.C:
3396 * src/mathed/math_scriptinset.C: squash compiler warnings.
3398 2004-03-26 Angus Leeming <leeming@lyx.org>
3400 * ispell.C (LaunchIspell::start):
3401 * lyx_cb.C (AutoSaveBuffer::start):
3402 invoke run(DontWait) rather than runNonBlocking().
3404 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3406 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3408 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3410 * kbsequence.C (print): adjust
3412 * kbmap.C (printKeySym): rename and change signature
3413 (printKey): use LyXKeySym::print()
3415 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3417 * undo.C: add using std::advance to compile for stlport
3419 2004-03-24 Angus Leeming <leeming@lyx.org>
3421 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3422 it leads to a crash when no buffer is present.
3424 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3425 Martin Vermeer <martin.vermeer@hut.fi>
3427 * lyxfunc.C (dispatch):
3428 * bufferparams.C (readToken): use the new LColor::setColor
3430 * LColor.[Ch] (setColor): new version that takes two strings as
3431 argument and creates a new color entry if necessary
3433 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3435 * buffer.C (makeLaTeXFile): if the main latex file that is
3436 processed is usually a subdocument of some master, then pretend
3437 for a while that it is actually the master
3439 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3441 * buffer.C (getLabelList):
3442 (getBibkeyList): use getMasterBuffer()
3443 (getMasterBuffer): new method. Returns the main document in the
3444 case where one is using included documents.
3446 2004-03-25 André Pönitz <poenitz@gmx.net>
3450 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3452 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3454 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3455 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3457 * ParameterStruct.h: merge with ParagraphParameters
3459 * lyxtext.h: remove LyXText::parOffset() and getPar()
3461 * text3.C: Remove all 'manual' update calls. We do now one per user
3462 interaction which is completely sufficient.
3466 * BufferView_pimpl.C:
3467 * FontIterator.[Ch]:
3469 * ParagraphParameters.[Ch]:
3474 * cursor_slice.[Ch]:
3481 * output_docbook.[Ch]:
3482 * output_latex.[Ch]:
3483 * output_linuxdoc.[Ch]:
3484 * output_plaintext.[Ch]:
3486 * paragraph_funcs.[Ch]:
3487 * paragraph_pimpl.[Ch]:
3495 * frontends/controllers/ControlDocument.C:
3496 * frontends/controllers/ControlErrorList.C:
3497 * frontends/controllers/ControlSpellchecker.C:
3500 * insets/insetbase.h:
3501 * insets/insetbibitem.C:
3502 * insets/insetbox.C:
3503 * insets/insetbranch.C:
3504 * insets/insetcaption.C:
3505 * insets/insetcharstyle.C:
3506 * insets/insetcharstyle.h:
3507 * insets/insetcollapsable.C:
3508 * insets/insetcollapsable.h:
3509 * insets/insetert.C:
3510 * insets/insetfloat.C:
3511 * insets/insetfoot.C:
3512 * insets/insetmarginal.C:
3513 * insets/insetnote.C:
3514 * insets/insetoptarg.C:
3515 * insets/insettabular.C:
3516 * insets/insettext.C:
3517 * insets/insettext.h:
3518 * insets/insetwrap.C:
3519 * mathed/math_mboxinset.C:
3520 * mathed/math_nestinset.C:
3521 * mathed/math_scriptinset.C:
3522 * mathed/math_scriptinset.h:
3525 2004-03-24 Angus Leeming <leeming@lyx.org>
3527 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3528 deal with any child processes that have finished but are waiting to
3529 communicate this fact to the rest of LyX.
3531 2004-03-24 Angus Leeming <leeming@lyx.org>
3533 64-bit compile fixes.
3535 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3536 (c-tor): pass lyx::pos_types rather than ints.
3538 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3541 * text.C (Delete): compile fix.
3542 (getPar): ensure that function declaration is the same as that in
3545 2004-03-23 Angus Leeming <leeming@lyx.org>
3547 * ispell.C (LaunchIspell):
3548 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3549 a boost::shred_ptr rather than a std::auto_ptr.
3551 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3553 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3554 handle LFUN_FILE_INSERT_*
3556 * lyxrc.C (setDefaults, getDescription, output, read):
3557 * lyxrc.h: remove ps_command
3559 2004-03-22 Angus Leeming <leeming@lyx.org>
3561 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3562 Ensure that error_handler is processed once only and that all data
3563 is saved before attempting to output any warning messages.
3565 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3567 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3569 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3571 2004-03-19 André Pönitz <poenitz@gmx.net>
3573 * cursor.[Ch] (reset): take main text inset as argument
3575 * BufferView: adjust
3576 * BufferView_pimpl.C: adjust
3578 * paragraph.[Ch]: fix completely broken operator=()
3580 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3582 * LColor.C (getFromLyXName): make sure that the color name is used
3585 2004-03-17 Angus Leeming <leeming@lyx.org>
3588 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3590 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3591 dialog and to kill a forked process.
3593 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3595 * text2.C (setCursorFromCoordinates): fix font problem
3597 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3599 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3600 bogus "rebuild cursor" code
3602 2004-03-11 André Pönitz <poenitz@gmx.net>
3604 * buffer.[Ch]: use InsetText instead of LyXText as container for
3607 * dociterator.[Ch]: drop the BufferView * member which is not needed
3608 anymore after the change to buffer.C
3610 * paragraph_funcs.C:
3614 * BufferView_pimpl.[Ch]:
3616 * cursor_slice.[Ch]: adjust
3618 * text3.C: fix bug in mathDispatch
3620 2004-03-08 André Pönitz <poenitz@gmx.net>
3622 * undo.[Ch]: use 'StableDocumentIterator' as base for
3625 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3628 * bufferparams.[Ch]: add jurabib support and param.
3630 * LaTeX.C: add FIXME/comment.
3632 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3634 * buffer.C: increment file format to 230.
3636 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3638 * cursor.C (dispatch): avoid infinite loops
3640 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3642 * rowpainter.C (paintSelection): fix x coordinates
3644 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3646 * text.C (rowBreakPoint): fix breaking before displayed insets
3648 2004-03-01 André Pönitz <poenitz@gmx.net>
3650 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3652 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3656 * BufferView_pimpl.C:
3664 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3670 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3671 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3673 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3675 * Bidi.[Ch] (computeTables): const correctness
3676 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3677 fill_hfill, fill_label_hfill and x from Row
3678 * lyxtext.h: prepareToPrint returns a RowMetrics
3679 * rowPainter.C: adjust
3680 * text.C (prepareToPrint): use width, not textWidth. adjust
3681 (redoParagraphInternal, cursorX): adjust
3682 * text2.C (getColumnNearX): adjust
3683 (init): put a default value to the top LyXText::width
3685 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3687 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3689 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3691 * lyxtext.h: add FontIterator class
3693 * text.C (FontIterator, operator*, operator->, operator++): add
3694 (rowBreakPoint, setRowWidth): adjust (fixing a
3697 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3699 * BufferView_pimpl.C (workAreaDispatch): allow also
3700 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3702 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3704 * text.C (rowBreakPoint): fix a bug showing with very large insets
3706 2004-02-25 André Pönitz <poenitz@gmx.net>
3709 * cursor.[Ch]: move some mathed specific code to mathed
3711 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3713 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3714 use_tempdir in preferences
3715 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3717 * lyx_main.C: ensure that tempdir is valid
3718 * lyxlex.h: correct typo
3719 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3720 * paragraph.[Ch] (isMultiLingual): make const
3721 * cursor.[Ch] (openable): make const
3723 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3725 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3727 2004-02-20 André Pönitz <poenitz@gmx.net>
3729 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3731 * cursor.[Ch]: prepare for localized getStatus()
3737 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3739 2004-02-20 André Pönitz <poenitz@gmx.net>
3741 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3743 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3745 * text2.C (setCursorFromCoordinates): switch to absolute coords
3747 (cursorDown): adjust
3748 * text3.C (dispatch): adjust
3750 2004-02-16 André Pönitz <poenitz@gmx.net>
3752 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3755 * cursor_slice.[Ch]: remove unneeded acessor function
3757 * lyxtext.h: rename rtl() to isRTL()
3765 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3767 * rowpainter.C (paintSelection): coord fix
3769 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3771 * Spacing.C: compile fix
3773 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3775 * cursor.C (dispatch): restore current_ before returning
3777 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3779 * text2.C (cursorUp, cursorDown): fix coords
3782 2004-02-12 André Pönitz <poenitz@gmx.net>
3787 * text3.C: add LCursor & parameter to most cursor movement functions
3788 remove usage of LyXText::cursorRow() and cursorPar()
3790 * cursor.[Ch]: add textRow() needed members
3793 * BufferView_pimpl.C:
3796 * BufferView_pimpl.C: adjust
3798 2004-02-11 André Pönitz <poenitz@gmx.net>
3802 * BufferView_pimpl.C: shift undo/redo handling
3804 * cursor.[Ch]: fix mathed crash
3807 * lyxtext.h: move selectionAsText to LCursor
3815 * rowpainter.C: fix excessive drawing
3817 2004-02-06 André Pönitz <poenitz@gmx.net>
3820 * BufferView_pimpl.[Ch]:
3821 * text3.C: move some text specific LFUN handling
3823 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3825 * text3.C (checkInsetHit): adjust coords
3826 * text2.C (getColumnNearX): adjust coords
3827 (edit): adjust coords
3828 * text.C (getRowNearY): add two asserts
3830 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3833 * format.C: add using std::distance to compile on gcc 2.95/stlport
3835 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3837 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3839 2004-02-04 André Pönitz <poenitz@gmx.net>
3841 * BufferView.[Ch] (insertInset):
3842 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3847 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3849 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3850 on the default clause of the switch
3851 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3852 wasn't catched by LCursor::dispatch
3854 2004-02-03 André Pönitz <poenitz@gmx.net>
3857 * cursor.[Ch]: some additional asserts
3859 * undo.[Ch]: remove LyXText dependency in interface
3863 * lyxtext.h (firstPar, lastPar): remove dead functions
3868 * paragraph.[Ch]: adjust
3870 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3872 * lyxfind.C (find): fix argument order in call to ::find
3874 2004-02-02 André Pönitz <poenitz@gmx.net>
3876 * cursor.[Ch]: remove direct access to anchor
3878 * text.C: remove findText() hack
3880 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3882 * iterators.[Ch] (lockPath): remove in favour of...
3883 * BufferView.[Ch] (setCursor): this addition
3884 * BufferView.C (putSelectionAt): adjust
3885 * undo.C (performUndoOrRedo): adjust
3886 * lyxfunc.C (dispatch): adjust
3888 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3890 * iterators.C (lockPath): add a missing slice
3891 * undo.C (performUndoOrRedo): remove redundant positioning code
3893 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3895 * vc-backend.C (scanMaster): ";" -> ';'
3897 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3899 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3900 std::binary_function
3902 * lyxtextclass.C (compare_name): rename to...
3903 (LayoutNamesEqual): ...this
3905 * lyxlex_pimpl.C (compare_tags): inherit from
3906 std::binary_function, put back into anon namespace
3908 * lyxfind.C (MatchString): inherig from std::binary_function
3909 (findChange): use empty() istead of !size()
3911 * format.C (FormatNamesEqual): new functor
3918 * converter.C (compare_Converter): rename to...
3919 (ConverterEqual): ...this, and fixup a bit.
3920 (getConverter): use it, and make function const
3921 (getNumber): use it, and make function const
3925 * bufferlist.C: add using boost::bind
3927 * MenuBackend.C (MenuNamesEqual): new functor
3928 (hasMenu): use it, and make function const
3929 (hasSubmenu): use nested bind to get rid of compare_memfun.
3931 2004-01-30 André Pönitz <poenitz@gmx.net>
3933 * BufferView_pimpl.C:
3936 * cursor_slice.[Ch]:
3939 * paragraph_funcs.C:
3940 * paragraph_funcs.h:
3944 * text3.C: move some of the edit(x,y) handling to the insets
3945 some coordinate changes.
3947 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3949 * text.C: add using statements for std::advance and std::distance
3951 * paragraph.C: add using statement for std::distance
3953 * lyxfind.C: add using statement for std::advance
3955 * cursor.C (region): remove std:: from swap
3956 (openable): use nucleus in stead of operator->
3958 * BufferView.C: add using statements for std::distance and std::swap
3960 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3962 * iterators.C: Remove the pimple, move the needed structures to
3963 the header file. Create accessor for the positions stack.
3964 (asPosIterator): remove function
3966 * PosIterator.C (PosIterator): move constructors to top of file
3967 (PosIterator): reimplement the constructor taking a ParIterator in
3969 (setFrom): new function
3970 (operator!=): inline it
3972 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3974 * lyxfind.C (replaceAll): use std::advance
3976 * iterators.h: inherit from std::iterator.
3978 * PosIterator.C (advance, distance): remove
3979 * PosIterator.h: interit from std::iterator.
3981 2004-01-26 André Pönitz <poenitz@gmx.net>
3984 * BufferView_pimpl.[Ch]:
3988 * bufferview_funcs.C:
3998 * output_linuxdoc.C:
3999 * output_plaintext.C:
4001 * paragraph_funcs.[Ch]:
4002 * paragraph_pimpl.[Ch]:
4008 * text3.C: more IU: dumps most of the rest of the mathcursor
4009 implementation into cursor.[Ch]; "globalize" a bit of it.
4011 2004-01-25 Angus Leeming <leeming@lyx.org>
4013 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4015 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4017 * LaTeXFeatures.h: add nice_ and nice() const
4018 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4020 2004-01-20 André Pönitz <poenitz@gmx.net>
4023 * BufferView_pimpl.C:
4025 * bufferview_funcs.C:
4027 * cursor_slice.[Ch]:
4038 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4039 LCursor and mathcursor parts to LCursor and InsetBase.
4041 2004-01-15 André Pönitz <poenitz@gmx.net>
4043 * cursor_slice.[Ch]: add a few covienience functions
4045 * funcrequest.[Ch]: remove BufferView * member
4047 * BufferView_pimpl.C:
4054 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4056 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4058 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4059 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4061 2004-01-13 André Pönitz <poenitz@gmx.net>
4064 * lyxtext.h: hide cursor and selection anchor behind accessor function
4067 * BufferView_pimpl.[Ch]:
4069 * bufferview_funcs.C:
4079 * cursor_slice.[Ch]: some integer type changes for inset unification
4081 * lyxcursor.[hC]: remove, it's CursorSlice now.
4084 * BufferView_pimpl.[Ch]:
4085 * bufferview_funcs.C:
4091 * textcursor.[Ch]: adjust
4093 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4095 * text2.C (undoSpan): add and use
4096 * text.C (breakParagraph): use undoSpan (fix bug 578)
4099 2004-01-08 Angus Leeming <leeming@lyx.org>
4101 * BufferView_pimpl.C (MenuInsertLyXFile):
4102 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4103 * lyxfunc.C (menuNew, open, doImport):
4104 FileFilterList change to the FileDialog open and save functions.
4106 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4108 * ShareContainer.h: make isEqual and isUnique adaptable
4110 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4112 2004-01-07 Angus Leeming <leeming@lyx.org>
4115 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4117 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4119 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4120 functions replacing find, replace and replaceAll.
4122 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4123 LFUN_WORDFIND(FORWARD|BACKWARD).
4125 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4127 * text.C (breakParagraph): remove an outdated #warning
4129 2004-01-07 André Pönitz <poenitz@gmx.net>
4131 * lyxfind.C: somewhat clearer logic
4133 * text.C: prevent crash in cursorX on unitialized row cache
4135 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4137 * lyxcursor.[Ch] (operator>): add
4138 * textcursor.C (selStart, selEnd): use std::min and std::max
4140 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4142 * Chktex.C: include boost/format.hpp
4144 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4146 * InsetList.C: replace functor MathcIt with adaptable functor
4148 (insetIterator): modify accordingly
4150 * BranchList.h: move the BranchNamesEqual functor here from...
4151 * BranchList.C: ... to here
4153 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4155 (add): replace a finding loop with std::find_if.
4157 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4159 * output_docbook.C: moving LatexParam functionality into
4162 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4164 * buffer.C: increment format to 229.
4166 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4169 * lyx_sty.[Ch]: remove minipageindent_def
4175 * text3.C: remove LFUN_INSET_MINIPAGE
4177 2003-12-28 Angus Leeming <leeming@lyx.org>
4179 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4181 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4183 * text2.C (setParagraph): fix off-by-one crash
4185 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4187 * output_docbook.C: header stuff for AGU
4189 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4191 * text2.C (redoCursor): remove
4194 * BufferView_pimpl.C: remove calls to redoCursor and
4195 setCursor(cursor.par(), cursor.pos()) all around
4197 2003-12-15 Angus Leeming <leeming@lyx.org>
4199 * buffer.C: up the format to 228.
4201 2003-12-15 André Pönitz <poenitz@gmx.net>
4203 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4208 * BufferView_pimpl.C:
4217 2003-12-15 Angus Leeming <leeming@lyx.org>
4219 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4220 than getFromGUIName to manipulate the color.
4222 2003-12-14 Angus Leeming <leeming@lyx.org>
4224 * BranchList.[Ch]: minimize the API.
4225 (Branch::getBranch, getColor): now return a 'const &'.
4226 (Branch::setSelected) now returns a bool set to true if the
4227 selection status changes.
4228 (BranchList::clear, size, getColor, setColor, setSelected,
4229 allBranches, allSelected, separator): removed.
4230 (BranchList::find): new functions, returning the Branch with
4232 (BranchList::add, remove): return a bool indicating that
4233 the operation was successful.
4235 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4236 new InsetBranch::isBranchSlected member function.
4238 * LColor.[Ch]: mimimize the API.
4239 (fill): renamed as addColor and made private.
4240 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4241 versions of these functions taking a string arg have been removed.
4243 * bufferparams.C (readToken):
4244 * lyxfunc.C (dispatch):
4245 * lyxrc.C (read): changes due to the altered BranchList and
4248 * factory.C (createInset, readInset): changes due to altered
4251 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4254 * lyxfunc.C: remove insetminipage. "minipage-insert"
4255 now produces a frameless minipage box inset.
4257 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4259 * textcursor.[Ch] (selStart,selEnd): add new methods
4260 remove selection::start, end, use LyXCursor::operator<
4261 * lyxcursor.[Ch] (operator<): add
4262 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4263 * BufferView.[Ch] (unsetXSel): add
4264 * text2.C (clearSelection): use unsetXSel,adjust
4267 * rowpainter.C: adjust
4268 * bufferview_funcs.C (put_selection_at): adjust
4270 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4272 * BufferView_pimpl.C: small coord. correction
4274 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4276 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4277 dragging over the splash screen.
4279 2003-12-11 Angus Leeming <leeming@lyx.org>
4281 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4282 as it is now handled in LyXText::dispatch.
4284 * text3.C (doInsertInset): remove a level of nesting.
4286 2003-12-11 Angus Leeming <leeming@lyx.org>
4288 * factory.C (createInset): changes due to the changed interface to
4289 InsetCommandMailer::string2params.
4291 2003-12-10 Angus Leeming <leeming@lyx.org>
4293 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4294 'dialog-show-new-inset <inset name>'
4296 2003-12-10 Angus Leeming <leeming@lyx.org>
4298 * buffer.C: up the format to 227.
4300 * factory.C: the box inset is now identified simply by 'Box'.
4302 2003-12-10 Angus Leeming <leeming@lyx.org>
4304 * buffer.C: up the format to 226.
4306 * factory.C: the note inset is now identified simply by 'Note'.
4308 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4310 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4311 when a pit is enough. Standarize a couple of loops.
4313 2003-12-05 Angus Leeming <leeming@lyx.org>
4315 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4316 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4317 data to the re-worked "log" dialog.
4319 2003-12-03 André Pönitz <poenitz@gmx.net>
4325 * paragraph_funcs.C:
4327 * text2.C: use Inset::getText instead of Inset::getParagraph
4329 2003-12-03 André Pönitz <poenitz@gmx.net>
4333 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4334 InsetText::read() as LyXText::read()
4336 2003-12-02 Angus Leeming <leeming@lyx.org>
4338 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4339 type. Add a comment in the implementation that the function uses
4340 the stream's bad() function rather than fail() as the std::streams
4343 2003-12-02 André Pönitz <poenitz@gmx.net>
4345 * lyxlex.[Ch]: make interface more similar to std::stream
4347 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4349 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4351 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4353 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4355 * vspace.[Ch]: remove VSpace::NONE
4357 2003-12-01 André Pönitz <poenitz@gmx.net>
4360 * lyxtext.h: move ParagraphList member to LyXText
4361 rename LyXText::ownerParagraphs to LyXText::paragraph
4364 * bufferview_funcs.C:
4374 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4376 * undo.C: fix cursor positioning
4378 2003-12-01 John Levon <levon@movementarian.org>
4380 * BufferView_pimpl.C: fix a crash on exit with
4383 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4385 * BranchList.C: fix setSelected() method.
4387 2003-11-28 André Pönitz <poenitz@gmx.net>
4389 * ParagraphParameters.[Ch]:
4390 * ParameterStruct.h: remove space above/below from Paragraph to
4393 * BufferView_pimpl.C:
4399 * paragraph_funcs.C:
4405 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4407 * factory.C: Syntax change for CharStyles
4409 2003-11-28 André Pönitz <poenitz@gmx.net>
4414 * buffer.[Ch]: move LyXText member
4416 2003-11-28 André Pönitz <poenitz@gmx.net>
4418 * BufferView.[Ch]: make LyXText * text a private member
4420 * BufferView_pimpl.C:
4431 * output_plaintext.C: cleanup
4433 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4436 * lyxtextclass.[Ch]: parametrize SGML document header
4438 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4441 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4444 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4446 * text2.C (setFont): rework using PosIterator (no more recursive)
4447 (setCharFont): no more needed
4448 (setLayout): no more selection cursors fiddling (done by redoCursor)
4449 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4450 destroy remaining ones)
4452 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4454 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4456 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4459 * text3.C: adjust + re-allow multi par depth changes
4460 * textcursor.C: simplify a bit
4462 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4468 * src/output_docbook.C:
4469 * src/output_latex.C:
4474 * src/text2.C: Introducing a number of tags parametrizing various
4475 XML formats that we may want to support
4477 2003-11-25 André Pönitz <poenitz@gmx.net>
4479 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4481 * lyxtext.h (leftMargin/rightMargin): simplify interface
4488 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4490 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4491 master file to any child files. Fixes bug 546.
4493 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4495 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4497 2003-11-24 André Pönitz <poenitz@gmx.net>
4499 * rowpainter.C: simplification
4501 * text2.C (updateCounters): remove call to redoParagraph on
4502 changed labels as this is far too expensive.
4504 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4506 * converter.C (convert): fix a crash: this function gets
4507 called with buffer == 0 from importer code.
4509 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4511 * text3.C (cursorPrevious): make sure that we do not compare
4512 iterators form different containers.
4515 * rowpainter.C (paintSelection): make sure that we do not compare
4516 iterators from different containers.
4518 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4519 iterators from different ParagraphList containers.
4522 * text2.C (LyXText): change order of initialization slightly
4523 (operator=): new function. copy all variables except cache_par_
4524 (moveUp): make sure that we do not compare iterators from
4525 different ParagraphList constainers.
4528 * text.C (firstPar): new function
4529 (lastPar): new function
4530 (endPar): new function
4532 * lyxtext.h: move things around and group public functions, public
4533 variables, private functions, private variables
4535 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4537 * factory.C: change call to InsetERT constructor to avoid
4538 additional invocation of method status
4539 * text2.C (toggleInset): remove redundant update() call
4540 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4541 instead of a Bufferview pointer
4543 2003-11-21 André Pönitz <poenitz@gmx.net>
4545 * rowpainter.C: simplification
4547 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4549 * text3.C (dispatch): make possible to extend a word/row selection
4552 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4554 * lyxtext.h: x0_,y0_ -> xo_,yo_
4555 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4556 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4557 * rowpainter.C (paintRows): paint full paragraphs
4559 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4561 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4564 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4566 * lyxtext.h: add x0_, y0_
4567 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4568 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4570 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4572 * text2.C (setCursorIntern): move the x_target update here *
4573 * text3.C: change some bv() to true/false in calls to
4574 cursorUp/Down/Right/Left
4575 * cursor.C: use helper function.
4577 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4579 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4580 * paragraph_funcs.[Ch]: correct comment
4581 * rowpainter.C: do not paint selections away from bv->cursor()
4582 Fix a long standing selection painting bug.
4583 * text3.C: generalize mouse-selection code to LyXTexts other that
4585 * textcursor.C: do not use y coords if we can use par offsets
4587 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4589 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4590 cursor position after e.g. inset insert)
4592 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4594 * lyxfind.C (replace): adjust to locking removal + some
4597 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4599 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4602 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4605 * output_docbook.C: XML sanitation: new layout
4606 parameters InnerTag and CommandDepth
4608 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4610 * BufferView_pimpl.C:
4612 * text3.C: Fix the insertion and modification of button-style
4615 2003-11-13 André Pönitz <poenitz@gmx.net>
4617 * InsetList.[Ch]: remove deleteLyXText
4619 * paragraph.[Ch]: cache beginOfBody position
4624 * text3.C: remove superfluous update() calls
4628 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4630 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4631 * BufferView.C (fitLockedInsetCursor): remove
4632 * cursor.[Ch] (getDim): add
4633 * text.C (getRowNearY): add faster version
4634 * text3.C: remove some update calls
4636 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4648 * text3.C: The Character Style /XML short element patch.
4650 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4653 * factory.C: Small step to solving 'unable to insert some insets'
4656 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4658 * cursor.[Ch] (updatePos): new function for updating the y
4659 position of the tip inset
4660 * bufferview_funcs.C (put_selection_at):
4661 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4663 2003-11-11 André Pönitz <poenitz@gmx.net>
4665 * text.C: remove big comment on invalid Paragraph pointers as it is
4668 2003-11-11 André Pönitz <poenitz@gmx.net>
4670 * text_funcs.[Ch]: merge with ...
4678 * Makefile.am: remove text_funcs.[Ch]
4680 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4682 * cursor.C (getPos): return absolute cached y coord
4684 * BufferView_pimpl.C (fitCursor): new simplistic code
4685 (workAreaDispatch): add a fitCursor call
4687 2003-11-10 André Pönitz <poenitz@gmx.net>
4690 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4692 2003-11-10 André Pönitz <poenitz@gmx.net>
4694 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4695 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4696 indicate that the cursor needs to leave an inset
4698 * lyxtext.h: remove inset locking
4700 * cursor.[Ch]: re-implement functionality provided by inset locking
4703 * BufferView_pimpl.[Ch]:
4705 * bufferview_funcs.[Ch]:
4717 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4719 * PosIterator.[Ch]: replace the stack with a vector, add inset
4721 * iterators.[C]: adjust
4723 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4725 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4727 * paragraph_funcs.C (readParToken): put the correct id in the
4728 error item, not the id of the top paragraph
4730 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4732 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4733 * bufferview_funcs.C (put_selection_at): use the above
4735 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4737 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4739 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4741 * output_linuxdoc.h:
4742 * output_plaintext.h:
4744 * output_docbook.h: add #include statements
4746 2003-11-05 José Matos <jamatos@lyx.org>
4748 * output_docbook.[Ch]:
4749 * output_latex.[Ch]:
4750 * output_linuxdoc.[Ch]:
4751 * output_plaintext.[Ch]: New files for output formats.
4752 * output.[Ch]: New file for helper functions.
4755 * paragraph_funcs.[Ch]: output functions moved to new files.
4757 * outputparams.h: rename of latexrunparams.h
4765 * paragraph_funcs.[Ch]:
4766 * paragraph_pimpl.[Ch]:
4767 * tabular.[Ch]: rename ascii to plaintext
4768 and LatexRunParams to OutputParams.
4770 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4772 * iterators.[Ch] (text): require bv argument
4773 * undo.C (recordUndo):
4774 * lyxfunc.C (dispatch):
4775 * bufferview_funcs.C (put_selection_at): adjust
4777 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4779 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4781 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4783 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4786 2003-11-04 André Pönitz <poenitz@gmx.net>
4788 * cursor.[Ch]: restructure
4791 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4793 * iterators.[Ch] (asCursor): remove
4795 * lfuns.h: remove LFUN_INSET_EDIT
4801 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4803 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4805 * lyxfind.[Ch]: complete overhaul
4806 * BufferView_pimpl.C:
4808 * paragraph.[Ch] (insert): add
4810 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4814 * text.C: remove dead spellcheck code
4816 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4818 * dispatchresult.h: add a val setter
4820 * cursor.C (dispatch): use a tempvar for data_[i]
4822 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4824 * PosIterator.[Ch]: compile fix
4826 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4828 * text.C (cursorPar): deactivate the cursor cache
4830 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4832 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4834 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4836 * text3.C (dispatch): adjust for new DisptchResult semantics.
4838 * lyxfunc.C (dispatch): handle update when return from
4839 Cursor::dispatch, adjust for new DispatchResult semantics.
4841 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4842 DispatchResult(true) mean to not update. Add class functions for
4843 setting dispatched and update, as well as reading.
4845 * cursor.C (dispatch): don't handle update here
4847 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4849 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4850 * trans_mgr.C: adjust
4852 * paragraph_funcs.C (readParToken): exception safety
4854 * lyxvc.h: store the vcs pointer in a scoped_ptr
4857 * lyxsocket.C (serverCallback): exception safety
4859 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4861 * ispell.C (clone): make it return a auto_ptr
4863 * factory.C (createInset): exception safety
4864 (readInset): exception safety
4866 * bufferlist.C (newBuffer): exception safety
4868 * Thesaurus.C (Thesaurus): use initialization for aik_
4870 * MenuBackend.C (expandToc): exception safety.
4872 2003-11-03 André Pönitz <poenitz@gmx.net>
4876 * bufferview_funcs.C: remove getInsetFromId()
4879 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4885 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4887 * PosIterator.C (distance, advance): new
4888 * bufferview_funcs.[Ch] (put_selection_at): new
4889 * iterators.[Ch] (lockPath): new
4891 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4893 * iterators.[Ch] (asPosIterator): added
4894 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4895 * PosIterator.[Ch]: added
4897 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4901 * cursor.C (dispatch):
4902 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4904 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4905 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4906 contructor, add a class function dispatched. Remove operator>=
4908 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4910 * debug.C: only use the default constructor for debugstream
4913 * main.C (main): include debug.h and setup the lyxerr streambuf
4916 2003-10-31 José Matos <jamatos@lyx.org>
4918 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4920 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4921 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4922 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4923 * paragraph_pimpl.C (simpleTeXSpecialC):
4924 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4925 add LatexRunParams argument.
4927 * exporter.C (Export): change call accordingly.
4929 * latexrunparams.h: add new member to take care of the other backends.
4930 2003-10-30 José Matos <jamatos@lyx.org>
4932 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4933 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4934 factorise code for paragraph output.
4936 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4939 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4941 * text3.C (dispatch):
4942 * lyxfunc.C (dispatch):
4943 * cursor.C (dispatch):
4944 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4946 * dispatchresult.h: make the dispatch_result_t ctor explicit
4948 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4951 * buffer.C: small refactoring of docbook stuff
4953 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4955 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4958 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4960 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4961 operator dispatch_result_t, and operators for == != and >=
4963 * cursor.C (dispatch): adjust for operator dispatch_result_t
4964 removal. comment out call to update
4966 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4968 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4976 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4979 * dispatchresult.h: new file, DispatchResult broken out of
4982 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4984 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4986 * text.C (rowBreakPoint): put a hack inside #if 0
4988 2003-10-28 André Pönitz <poenitz@gmx.net>
4992 * paragraph_funcs.C:
4995 * text2.C: general cleanup (lots of small stuff)
4997 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4999 * text2.C (cursorEnd): simple fix to the "end key goes to one
5000 before the end on last row" bug
5002 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5004 * text.C (backspace): fix the "zombie characters"
5006 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5008 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5010 2003-10-27 André Pönitz <poenitz@gmx.net>
5012 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5014 * factory.C: handle new InsetPagebreak, InsetLine
5016 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5017 and move handling into new InsetPagebreak, InsetLine
5019 * BufferView_pimpl.C:
5021 * ParagraphParameters.C:
5022 * ParameterStruct.h:
5027 * paragraph_funcs.C:
5028 * paragraph_pimpl.C:
5034 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5037 * lyxrow_funcs.[Ch]:
5043 * text3.C: remove lastPos uses in favour of Row::endpos
5045 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5047 * undo.C (performUndoOrRedo): fix two crashes by setting a
5048 cursor by hand and reordering some calls. Use bv->lockInset instead
5049 of inset->edit because the latter loses cursor information
5051 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5053 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5055 (rowBreakPoint): fix width. change point to point + 1.
5056 Add a missing check.
5058 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5061 * lyxfunc.C: fix (at least partly) the problems
5062 with the Nav menu and headers inside branch insets
5065 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5067 * paragraph.C (getChar): add strong asserts
5069 * lyxrow_funcs.C (lastPos): remove hideous hack
5071 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5072 (fill): adjust to that (avoid an infinite loop)
5074 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5076 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5078 2003-10-23 André Pönitz <poenitz@gmx.net>
5080 * RowList_fwd.h: change list<> to vector<> to gain speed
5081 after suggestion from Alfredo
5083 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5085 * lyxtext.h: move the bidi stuff from here...
5088 * Bidi.[Ch]: ... to here
5090 2003-10-23 André Pönitz <poenitz@gmx.net>
5093 * text.C (isLastRow, isFirstRow): new functions
5095 * paragraph.h: new width cache member
5097 * rowpainter.C: replace RowList::iterator with Row & where possible
5099 * lyxfunc.C: replace several view()->text with a single call
5101 * toc.C: fix 'unused' warning
5103 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5105 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5106 when woring with stream::pos_type
5107 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5109 2003-10-22 André Pönitz <poenitz@gmx.net>
5112 * text.C: use Row & instead of RowList::iterator
5114 * lyxrow.h: rename end() to endpos()
5120 2003-10-22 Angus Leeming <leeming@lyx.org>
5122 * buffer.[Ch] (fully_loaded): new member function, returning true
5123 only when the file has been loaded fully.
5124 Used to prevent the premature generation of previews and by the
5125 citation inset to prevent computation of the natbib-style label.
5127 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5128 templates are all set up.
5130 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5132 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5134 * text.C: fixed an "oops" in the "is a bit silly"
5137 2003-10-21 André Pönitz <poenitz@gmx.net>
5139 * FuncStatus.[Ch]: small stuff, whitespace
5141 * lyxfont.[Ch]: operator<<() for debug reasons
5145 * lyxtext.h: whitespace, spelling
5147 * paragraph.C: naming of variables
5150 * text2.C: small stuff
5153 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5155 * text.C: (1) finish off the inset display() work;
5156 (2) fix the "is a bit silly" bug (accessing char
5159 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5161 * text.C: re-introduce display() for insets, fixing the
5162 various bugs (stretch of line above, math inset
5165 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5167 * text.C (rightMargin): remove spurious semicolon
5169 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5172 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5174 * text3.C: fix one crash due to wrong cursor def
5176 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5178 * vc-backend.C (scanMaster): make the regex static
5180 * LaTeX.C (scanAuxFile): make the regexs static
5182 * text3.C (doInsertInset, dispatch, dispatch):
5183 * text2.C (cursorUp, cursorDown):
5184 * text.C (selectNextWordToSpellcheck):
5185 * BufferView_pimpl.C (dispatch):
5186 * lyxfunc.C (dispatch): localDispatch -> dispatch
5188 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5190 * lyxsocket.C: include <cerrno>
5192 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5194 * lyxfunc.C (dispatch): remove textcache stuff
5196 * bufferlist.C (release): remove textcache stuff
5199 * TextCache.C: delete file
5200 * TextCache.h: delete file
5202 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5204 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5205 delete of the bv_->text.
5206 (resizeCurrentBuffer): remove texcache stuff
5207 (workAreaResize): ditto
5209 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5211 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5214 2003-10-16 André Pönitz <poenitz@gmx.net>
5221 * text3.C: speed up by storing y positions per paragraph plus per-row
5222 offset instead of having a 'full' y position in the row.
5224 2003-10-15 André Pönitz <poenitz@gmx.net>
5228 * undo.[Ch]: make undo aware of inner insets
5230 2003-10-14 Angus Leeming <leeming@lyx.org>
5232 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5233 static member functions LyX::ref() and LyX::cref.
5234 (lastfiles): new accessor functions for the new lastfiles_ member var.
5235 (addLyXView, views_): add a new LyXView to the list of views_.
5236 (updateInset): loop over all LyXViews to call their own updateInset
5237 member function, returning a pointer to the Buffer owning the inset.
5239 * BufferView_pimpl.C (loadLyXFile):
5240 * MenuBackend.C (expandLastfiles):
5241 * bufferlist.C (MenuWrite, QuitLyX):
5242 lastfiles is no longer a global variable.
5243 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5245 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5246 static function. Access through LyX::cref().emergencyCleanup().
5248 2003-10-14 André Pönitz <poenitz@gmx.net>
5250 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5252 * undo.[Ch]: restoring part of 'undo in insets'
5255 * undo_funcs.[Ch]: merge with undo.[Ch]
5257 * tabular.C: small cleansing stuff
5259 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5261 * paragraph_funcs.C (readParToken): report unknown insets as error
5262 boxes. Use the outer paragraph as location (also for unknown
5265 * factory.C (readInset): do not abort on reading an unknown inset.
5266 Eat it and return 0.
5268 2003-10-13 Angus Leeming <leeming@lyx.org>
5270 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5272 * lyxrc.C: displayTranslator is now a function,
5273 declared in GraphicsTypes.h.
5275 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5277 * format.C: new placeholder $$a to pass the socket address.
5279 * bufferlist.[Ch]: new function getBufferFromTmp.
5281 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5282 files in the temporary dir.
5284 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5286 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5288 * Makefile.am: add lyxsocket.[Ch].
5290 * lyx_main.C (error_handler): handle SIGPIPE.
5292 2003-10-13 André Pönitz <poenitz@gmx.net>
5294 * BufferView_pimpl.C:
5299 * undo_funcs.[Ch]: use paroffset_type instead of
5300 ParagraphList::iterators to prevent multiple conversion
5301 (and get a more robust interface)
5303 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5305 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5307 * text3.C (dispatch): ditto
5309 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5311 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5312 move the onlyfile, use onlyfile instead of foundfile in a couple
5315 * DepTable.C (update): flush the error stream a bit more
5317 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5319 * lyxserver.C (callback): adjust
5321 * lyxfunc.C (getStatus): add a missing brace in commented code
5322 (ensureBufferClean): reindent
5323 (dispatch): delete version taking a string
5325 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5327 * LaTeX.C (deplog): move found file handlig from here...
5328 (handleFoundFile): .. to new function here.
5329 (deplog): make sure to discover several files mentioned on the
5332 2003-10-10 André Pönitz <poenitz@gmx.net>
5339 * text3.C: fix some of the tabular crashes
5341 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5343 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5345 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5347 2003-10-09 André Pönitz <poenitz@gmx.net>
5349 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5352 * BufferView_pimpl.C:
5353 * bufferview_funcs.C:
5364 * undo_funcs.C: adjust
5366 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5368 * text2.C (incrementItemDepth): new function, use a backtracking
5369 algorithm to discover the correct item depth.
5370 (resetEnumCounterIfNeeded): new function, use a backtracking
5371 algorithm to discover if counter reset is needed.
5372 (setCounter): use them. Simplify a bit. Add different labels for
5373 different item depths for itemize.
5375 * paragraph.C (Paragraph): remove initialization of enumdepth
5378 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5379 enumerate and itemize. Change the type of itemdepth to signed char.
5381 2003-10-08 André Pönitz <poenitz@gmx.net>
5383 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5388 * tabular.[Ch]: fix crash after 'row-insert'
5390 2003-10-08 Angus Leeming <leeming@lyx.org>
5392 Fix doxygen warnings.
5394 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5395 Remove CutAndPaste:: prefix from header file declaration.
5397 * LColor.h (fill): remove LColor:: prefix from declaration.
5399 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5400 use lyx::depth_type rather than Paragraph::depth_type so that
5401 header file and .C file match.
5403 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5405 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5406 * aspell.C: \file aspell_local.C -> \file aspell.C
5407 * gettext.C: \file gettext.C -> \file src/gettext.C
5408 * gettext.h: \file gettext.h -> \file src/gettext.h
5409 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5410 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5411 * text.C: \file text.C -> \file src/text.C
5413 * toc.C: move comment so that doxygen is not confused.
5415 2003-10-07 Angus Leeming <leeming@lyx.org>
5417 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5419 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5422 * aspell_local.h: add forgotten std::string's.
5424 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5431 * text3.C: The Box patch. Fancybox support, minipage, parbox
5433 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5439 * ParagraphParameters.h:
5449 * lyxtextclasslist.h:
5452 * paragraph_pimpl.C:
5453 * textcursor.h: add <string> and other small fixes to make Lars'
5454 std::string patch compile with STLport.
5456 2003-10-06 Angus Leeming <leeming@lyx.org>
5458 * LColor.h: Add missing #include <string>.
5460 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5462 * All most all file in all subdirs: Make <string> be the prefered
5463 way of getting to std::string, add using declarations.
5465 2003-10-06 André Pönitz <poenitz@gmx.net>
5467 * metricsinfo.C: initialize LyXFont before changing attribute.
5468 (fixes the 'math in \emph is upright' bug)
5470 2003-10-06 André Pönitz <poenitz@gmx.net>
5472 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5474 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5477 * paragraph_pimpl.C: Small fixes to build using STLport
5479 2003-10-02 André Pönitz <poenitz@gmx.net>
5482 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5484 2003-10-01 André Pönitz <poenitz@gmx.net>
5486 * factory.C: assert early
5488 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5490 * lyx_main.C: remove the global debug object
5492 * debug.h: adjust for new debugstream
5494 * debug.C: adjust for new debugstream and keep the global debug
5497 2003-09-22 Angus Leeming <leeming@lyx.org>
5499 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5500 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5501 an incomplete class LyXFont.
5503 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5505 * factory.C: bug fix in branches
5507 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5509 * lyxfunc.C (processKeySym): adjust
5511 (dispatch): change arg name from ev to func, adjust
5512 (sendDispatchMessage): ditto
5514 * lyx_main.C (defaultKeyBindings): adjust keybindings
5515 (deadKeyBindings): ditto
5517 * kbsequence.C (addkey): return a FuncRequest
5519 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5521 * kbmap.C (bind): take a FuncRequest as arg, adjust
5524 (defkey): change to take a FuncRequest as arg, adjust
5525 (findbinding): take a FuncRequest as arg, adjust.
5527 * funcrequest.h (operator=): added
5529 * funcrequest.C (FuncRequest): default kb_action changed from
5530 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5532 * buffer.C (dispatch): simplify
5533 (dispatch): adjust to take a FuncRequest as arg, adjust
5535 * boost.C (assertion_failed): change assertion message slightly
5537 * ToolbarBackend.C (read): simplify
5539 * MenuBackend.C (binding): adjust call to findbinding, add a
5540 message if no binding is found.
5542 (expandToc): correct by adding a empty FuncRequest
5544 * LyXAction.C: include <boost/assert.hpp>
5545 (isPseudoAction): delete function
5546 (LookupFunc): change name to...
5547 (lookupFunc): this. change return type to FuncRequest.
5548 (getActionName): take kb_action as arg, simplify
5549 (funcHasFlag): add an assert, simplify.
5551 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5553 * toc.C (action): return a FuncRequest, simplify
5555 * lyxfunc.C (processKeySym): adjust
5556 (getStatus): delete version that takes an int.
5558 (dispatch): delete version that takes action as int
5560 (sendDispatchMessage): simplify and adjust
5562 * funcrequest.C (getArg): take unsigned int as arg
5564 * ToolbarBackend.C (read): adjust
5565 (add): delete version that takes func as a string.
5566 (getIton): take a FuncRequest as arg
5568 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5571 * MenuBackend.C (MenuItem): add a new construct that only takes a
5572 Kind, simplify the constructor use for submenus.
5574 (expandLastfiles): adjust
5575 (expandDocuments): adjust
5576 (expandFormats): adjust
5577 (expandFloatListInsert): adjust
5578 (expandFloatInsert): adjust
5579 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5581 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5582 Remove class variables lyx_pseudo_map and lyx_arg_map
5584 * LyXAction.C (searchActionArg): delete function
5585 (getPseudoAction): delete function
5586 (retrieveActionArg): delete function
5587 (LookupFunc): make it return kb_action, simplify.
5588 (getActionName): simplify
5590 * factory.C (createInset): fix new bug
5592 2003-09-19 Angus Leeming <leeming@lyx.org>
5594 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5595 masterFilename_ parameter in the include inset.
5597 * factory.C (createInset): changes due to the changes to InsetInclude.
5599 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5601 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5603 2003-09-18 Angus Leeming <leeming@lyx.org>
5606 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5607 Inset::fillWithBibKeys.
5608 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5610 2003-09-18 Angus Leeming <leeming@lyx.org>
5612 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5614 (ctor): pass and store a 'Buffer const &'
5615 (buffer): new member function.
5617 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5618 '*this' to the LaTeXFeatures ctor.
5620 2003-09-18 Angus Leeming <leeming@lyx.org>
5626 * text.C: rename EnumLColor as LColor_color.
5628 2003-09-18 Angus Leeming <leeming@lyx.org>
5630 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5631 remove #include "insets/insetbase.h" from cursor.h.
5633 2003-09-18 Angus Leeming <leeming@lyx.org>
5635 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5636 InsetOld_code to remove #include "inset.h".
5638 * iterators.C: add #include "insets/inset.h"
5640 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5642 * BufferView.C: remove more locking stuff that apparently doesn't
5643 do anything sensible.
5645 2003-09-16 André Pönitz <poenitz@gmx.net>
5648 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5651 2003-09-16 Angus Leeming <leeming@lyx.org>
5653 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5655 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5658 * paragraph.h: remove #include "lyxfont.h". Forward declare
5661 2003-09-16 Angus Leeming <leeming@lyx.org>
5663 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5664 of support/textutils.h.
5665 (isWord): move the contents of support/textutils.h's IsWordChar here.
5671 * text2.C: add #include "paragraph.h".
5674 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5676 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5682 * LaTeX.C: use namespace alias for lyx::support::os
5684 2003-09-16 Angus Leeming <leeming@lyx.org>
5687 * bufferview_funcs.C:
5690 * paragraph_pimpl.C:
5692 * text.C: add #include "LColor.h".
5694 2003-09-16 Angus Leeming <leeming@lyx.org>
5696 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5697 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5699 Store the FontBits::color variable as an int rather than as an
5700 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5703 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5704 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5705 string calls together.
5707 * lyxrc.C: add #include "LColor.h".
5709 2003-09-15 Angus Leeming <leeming@lyx.org>
5711 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5714 2003-09-15 Angus Leeming <leeming@lyx.org>
5716 * LColor.h: add an EnumLColor wrapper for LColor::color.
5718 * lyxfont.[Ch] (color, setColor, realColor):
5719 * lyxtext.h, text.C (backgroundColor):
5720 pass EnumLColor args to/from the functions, rather than LColor::color
5724 * lyxtext.h: forward declare EnumLColor.
5726 * lyx_main.C: add #include "LColor.h".
5728 2003-09-15 Angus Leeming <leeming@lyx.org>
5730 * .cvsignore: add lyx-gtk.
5732 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5737 * ParagraphParameters.C
5741 * bufferview_funcs.C
5751 * vc-backend.C: remove usage of STRCONV
5753 2003-09-15 Angus Leeming <leeming@lyx.org>
5755 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5756 explicitly define the color passed to the painter.
5758 2003-09-15 Angus Leeming <leeming@lyx.org>
5760 * bufferparams.C (BufferParams): reorder member initializers to avoid
5763 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5765 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5766 * text.C (updateRowPositions): remove an unusual nop
5768 2003-09-12 André Pönitz <poenitz@gmx.net>
5770 * BufferView_pimpl.C:
5779 * Counters.[Ch]: finish the 'automatic counters' job
5781 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5783 * aspell.C: include <boost/assert.cpp> (compile fix)
5785 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5787 * boost.C (assertion_failed): use lyx::support::abort instead of
5790 2003-09-10 Angus Leeming <leeming@lyx.org>
5792 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5793 with their _fwd progeny.
5795 2003-09-09 Angus Leeming <leeming@lyx.org>
5797 134 files throughtout the source tree: replace 'using namespace abc;'
5798 directives with the appropriate 'using abc::xyz;' declarations.
5800 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5802 * boost.C (emergencyCleanup): moved here from LAssert.c
5803 (assertion_failed): new function, called by BOOST_ASSERT
5805 * several files: change Assert to BOOST_ASSERT
5807 2003-09-09 Angus Leeming <leeming@lyx.org>
5809 * buffer.[Ch]: Add an Impl class and move Buffer's member
5810 variables into it. As a result move several header files out of
5813 Add header files to lots of .C files all over the tree as a result.
5815 2003-09-09 Angus Leeming <leeming@lyx.org>
5817 * buffer.[Ch]: make Buffer's member variables private. Add
5820 Lots of changes all over the tree as a result.
5822 2003-09-08 Angus Leeming <leeming@lyx.org>
5824 * graph.C: #include <config.h>.
5826 2003-09-08 Angus Leeming <leeming@lyx.org>
5830 * BufferView_pimpl.C:
5859 * toc.C: remove redundant using directives.
5861 2003-09-07 Angus Leeming <leeming@lyx.org>
5863 * LaTeXFeatures.h: remove #include "support/types.h".
5864 * ToolbarBackend.h: remove #include <algorithm>.
5865 * changes.h: remove #include <ctime>.
5866 * debug.h: remove #include <iosfwd>.
5867 * graph.h: remove #include "support/std_string.h".
5868 * lyx_main.h: remove #include <csignal>.
5869 * lyxlex_pimpl.h: remove #include <fstream>.
5870 * sgml.h: remove #include <algorithm>, <utility>.
5871 * toc.h: remove #include "support/std_ostream.h".
5872 Add #include <iosfwd>.
5874 2003-09-07 Angus Leeming <leeming@lyx.org>
5876 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5878 * converter.h: forward declare LatexRunParams.
5879 * encoding.h: remove #include "lyxrc.h".
5880 * lyxtext.h: remove #include "LColor.h".
5881 * lyxtextclass.h: remove #include "support/types.h".
5882 * trans.h: remove #include "tex-accent.h".
5883 * trans_mgr.h: remove #include "tex-accent.h".
5884 * insets/inset.h: remove #include "support/types.h", <vector>.
5885 * insets/insetcollapsable.h: remove #include "LColor.h".
5886 * insets/insetinclude.h: remove #include "dimension.h".
5887 * insets/insetlatexaccent.h: remove #include "dimension.h".
5888 * insets/insetoptarg.h:: remove #include "insettext.h".
5889 * insets/insettext.h: remove #include "dimension.h",
5890 <boost/shared_ptr.hpp>
5892 * insets/renderers.h: add #include "dimension.h".
5893 * insets/updatableinset.h: add #include "support/types.h".
5895 * many .C files: Associated changes.
5897 2003-09-06 Angus Leeming <leeming@lyx.org>
5899 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5900 one, inside testInvariant.
5902 * PrinterParams.C: new file.
5903 * PrinterParams.[Ch]: move the function bodies out of line.
5905 2003-09-06 Angus Leeming <leeming@lyx.org>
5907 * ParagraphParameters.h: forward declare ParameterStruct rather than
5908 including its header file.
5909 (depth): moved out-of-line.
5911 2003-09-06 Angus Leeming <leeming@lyx.org>
5913 * BufferView_pimpl.h:
5916 * lyxfunc.h: forward declare LyXKeySym rather than
5917 #include "frontends/LyXKeySym.h".
5919 * BufferView_pimpl.C:
5922 * lyxfunc.C: associated changes.
5924 2003-09-06 Angus Leeming <leeming@lyx.org>
5926 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5927 As a result, can remove the #include "insets/inset.h" from BufferView.h
5929 2003-09-06 Angus Leeming <leeming@lyx.org>
5931 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5932 As a result, can remove the #include "insets/inset.h" from BufferView.h
5934 2003-09-06 Angus Leeming <leeming@lyx.org>
5940 * bufferview_funcs.C:
5941 * BufferView_pimpl.C:
5946 * ParagraphParameters.C:
5951 * frontends/controllers/ControlDocument.C:
5952 * insets/insetcaption.C: rearrange the #includes into some sort of
5955 * buffer.h: remove #includes ErrorList.h, undo.h
5957 2003-09-06 Angus Leeming <leeming@lyx.org>
5959 * support/types.h: add a 'depth_type' typedef, used to store the
5960 nesting depth of a paragraph.
5963 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5964 defining explicitly.
5967 * paragraph_funcs.h:
5968 * ParagraphParameters.h:
5969 * sgml.h: use lyx::depth_type rather than Paragraph or
5970 ParameterStruct's depth_type.
5973 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5976 * BufferView_pimpl.C:
5978 * ParagraphParameters.C:
5981 * bufferview_funcs.C:
5988 * frontends/LyXView.C:
5989 * frontends/controllers/ControlDocument.C:
5990 * frontends/controllers/ControlErrorList.C:
5991 * insets/insetbibitem.C:
5992 * insets/insetbranch.C:
5993 * insets/insetcaption.C:
5994 * insets/insetcollapsable.C:
5995 * insets/insetenv.C:
5996 * insets/insetert.C:
5997 * insets/insetfloat.C:
5998 * insets/insetfoot.C:
5999 * insets/insetfootlike.C:
6000 * insets/insetnewline.C:
6001 * insets/insetquotes.C:
6002 * insets/insettabular.C:
6003 * insets/insettext.C:
6004 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6006 * frontends/controllers/ControlChanges.C: #include "changes.h".
6008 2003-09-06 Angus Leeming <leeming@lyx.org>
6010 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6011 than #including paragraph.h.
6014 * RowList.h: deleted. Superfluous.
6024 * insets/insettext.h: use ParagraphList_fwd.h rather than
6027 * paragraph.h: don't forward declare ParagraphList.
6030 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6031 rather than ParagraphList.h. paragraph.h is still needed for the
6032 Paragraph::depth_type parameters.
6034 * textcursor.h: enable it to compile stand-alone in light of the
6037 * bufferview_funcs.C:
6049 * frontends/controllers/ControlParagraph.C:
6050 * frontends/controllers/ControlTabular.C:
6051 * insets/insetmarginal.C:
6052 * insets/insetminipage.C:
6053 * insets/insetnote.C:
6054 * insets/insetoptarg.C: add header files needed to compile again.
6056 2003-09-06 Angus Leeming <leeming@lyx.org>
6058 * RowList_fwd.h: new file, forward-declaring Row rather than
6059 #including lyxrow.h.
6064 * insets/insettext.h: use it instead of RowList.h
6066 * bufferview_funcs.C:
6073 * text3.C: #include "RowList.h".
6075 2003-09-05 Angus Leeming <leeming@lyx.org>
6077 * factory.C (createInset):
6078 * vspace.C (c-tor): replace sscanf call with an istringstream.
6079 * ispell.C: re-add missing HP/UX headers.
6080 * lyxserver.C: re-add missing os2 headers.
6082 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6091 * text3.C: re-add missing system headers, needed for 2.95.2.
6093 2003-09-05 Angus Leeming <leeming@lyx.org>
6095 Changes most place everywhere due to the removal of using directives
6096 from support/std_sstream.h.
6098 2003-09-05 Angus Leeming <leeming@lyx.org>
6100 Replace LString.h with support/std_string.h,
6101 Lsstream.h with support/std_sstream.h,
6102 support/LIstream.h with support/std_istream.h,
6103 support/LOstream.h with support/std_ostream.h.
6105 Changes resulting throughout the tree.
6107 2003-09-05 Angus Leeming <leeming@lyx.org>
6109 * sgml.h: ensure that the header file can be compiled stand-alone.
6110 * *.C: strip out redundant #includes. (320 in total.)
6112 2003-09-04 Angus Leeming <leeming@lyx.org>
6114 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6115 here (from getPackages).
6117 * debug.[Ch]: add a new EXTERNAL tag.
6119 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6121 * text2.C (cursorEnd): simplify
6123 (getColumnNearX): adjust
6125 * text.C (computeBidiTables): adjust
6128 * rowpainter.C (paintChars): adjust
6129 (paintSelection): adjust
6130 (paintChangeBar): adjust
6133 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6135 (numberOfSeparators): adjust
6137 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6143 * text3.C: Restricts the mouse click functionality
6144 of insets like bibtex, include, toc and floatlist to the visible
6145 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6146 up the dialogs. Cursor has to be in front of the inset (i.e.
6147 start of row) for this to function.
6149 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6151 * bufferview_funcs.C (currentState): output row information
6153 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6155 * bufferview_funcs.C (currentState): output paragraph position
6157 2003-09-04 Angus Leeming <leeming@lyx.org>
6159 * FloatList.h: move out #include "Floating.h".
6160 * LaTeX.h: move out #include "DepTable.h".
6161 * LyXAction.h: move out #include "funcrequest.h".
6162 * buffer.h: move out #include "author.h", "iterators.h".
6163 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6164 * lyx_main.h: move out #include "errorlist.h".
6165 * lyxfunc.h: move out #include "FuncStatus.h".
6166 * lyxtext: move out #include "lyxcursor.h".
6167 * paragraph_pimpl.h: move out #include "counters.h".
6169 2003-09-03 Angus Leeming <leeming@lyx.org>
6171 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6172 preamble_snippets list, enabling us to add snippets to the preamble
6173 only if the snippet was not there already.
6175 2003-09-04 Angus Leeming <leeming@lyx.org>
6177 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6179 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6181 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6184 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6186 * BranchList.C: point fix, earlier forgotten
6188 2003-09-02 Angus Leeming <leeming@lyx.org>
6190 * box.C (contains): renamed from 'contained' after a fantastic
6193 2003-09-02 John Levon <levon@movementarian.org>
6199 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6201 2003-09-02 John Levon <levon@movementarian.org>
6203 * text2.C: simplification of cursorEnd(), including partial
6206 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6208 * buffer.C (readFile): add a space
6210 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6212 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6214 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6216 * buffer.C (readFile): new function, take a filename and a
6217 ParagraphList::iterator
6219 (readFile): adjust, make it private. don't use setStream, make
6220 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6221 always contain the filename.
6223 * BufferView.C (insertLyXFile): simplify and make it work for
6226 2003-08-30 John Levon <levon@movementarian.org>
6228 * Makefile.am: fix dist (from Kayvan)
6230 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6232 * most files: change to use const Buffer refs
6234 2003-08-27 André Pönitz <poenitz@gmx.net>
6236 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6237 on top of ownerPar().
6239 2003-08-27 John Levon <levon@movementarian.org>
6241 * funcrequest.C: properly initialise POD members
6243 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6245 * lyxtext.h (top_y): move top_y from here
6250 * BufferView_pimpl.[Ch]: to here
6251 * frontends/screen.C:
6252 * insets/insettabular.C:
6253 * insets/insettext.C: adjust
6254 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6256 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6259 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6261 2003-08-26 André Pönitz <poenitz@gmx.net>
6263 * paragraph_func.[Ch] (outerPar): new function
6266 * paragraph_funcs.C:
6267 * paragraph_funcs.h:
6268 * paragraph_pimpl.C:
6269 * text2.C: remove Inset::par_owner
6271 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6276 * text2.C: eliminates the needFullRow/display() stuff
6277 altogether, putting the logic in metrics/draw in the insets.
6279 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6281 * text2.C (redoParagraphInternal, redoParagraphs):
6282 * text.C (redoParagraph): add a call to updateRowPositions at the
6283 end of each 'metrics-like' call. Remove all others.
6284 (getRow): remove the 'y-computing' version.
6285 (getRowNearY): do not compute nor return the real y. Solve the
6286 'y < 0' problem and simplify.
6288 2003-08-22 Angus Leeming <leeming@lyx.org>
6290 * *.[Ch]: clean-up of licence and author blurbs.
6291 Also move config.h out of a few .h files and into a few .C files.
6293 2003-08-22 André Pönitz <poenitz@gmx.net>
6295 * lyxrow.[Ch]: add x_ and *fill_ members
6300 * text2.C: adjust/remove prepareToPrint() calls
6302 2003-08-22 André Pönitz <poenitz@gmx.net>
6304 * lyxrow.[Ch]: add end_ member
6306 * lyxrow_funcs.C: use LyXRow::end_
6308 * lyxtext.h (singleWidth): add LyXFont parameter
6311 * text2.C: adjust LyXText::singleWidth() calls
6313 * text.C (redoParagraph): simplify row breaking logic
6316 2003-08-19 André Pönitz <poenitz@gmx.net>
6318 * funcrequest.C: initialize button_ member
6321 * rowpainter.[Ch]: interface consolidation
6323 2003-08-18 André Pönitz <poenitz@gmx.net>
6326 * BufferView_pimpl.C:
6328 * paragraph_funcs.C:
6330 * text3.C: remove LyXScreen::draw() and fitCursor calls
6332 * BranchList.h: remove spurious semicolons
6334 * MenuBackend.C: fix branchlist related crash
6336 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6344 * bufferparams.[Ch]:
6348 * text3.C: implements the 'branch inset'
6349 idea. This allows the output of various versions of a document
6350 from a single source version, selectively outputing or suppressing
6351 output of parts of the text.
6352 This implementation contains a 'branch list editor' in a separate
6353 tab of the document settings dialog. Branches are user definable
6354 and have a "display colour" to distinguish them on-screen.
6356 ColorHandler was somewhat cleaned up.
6357 (1) make possible a dynamically growing LColor list by allowing
6358 the graphic context cache to grow along (vector);
6359 (2) eliminate an IMHO unnecessary step in colour allocation.
6361 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6363 * BufferView_pimpl.C: compile fix
6365 2003-08-15 André Pönitz <poenitz@gmx.net>
6367 * rowpainter.C: remove extra metrics calls
6369 * lyxtext.h: merge the two constructors into a single one,
6370 pass reference to owner's par list
6372 * BufferView_pimpl.C:
6376 2003-08-15 André Pönitz <poenitz@gmx.net>
6378 * lyxrow_funcs.[Ch]:
6381 * paragraph_funcs.C:
6386 * text_funcs.C: split LyXText::rowlist_ into individual
6387 Paragraph::rows_ chunks
6390 * BufferView_pimpl.[Ch]:
6393 * text3.C: remove toggleSelection()
6395 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6397 * bufferlist.C: beautify two alerts (shorter text of buttons)
6398 * buffer.C: Remove redundant ' ' from message
6400 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6401 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6402 rename VALIGN_CENTER to VALIGN_MIDDLE
6404 2003-08-11 André Pönitz <poenitz@gmx.net>
6406 * lyxtext.h (getPar):
6407 * text.C: new function
6409 2003-08-11 André Pönitz <poenitz@gmx.net>
6412 * tracer.[Ch]: remove unneeded files
6414 * InsetList.[Ch]: remove resizeInsetsLyXText()
6419 * text3.C: merge insertParagraphs() and appendParagraph()
6420 remove breakAgain(), update()
6422 * BufferView_pimpl.[Ch]:
6423 * bufferview_funcs.[Ch]:
6427 * tabular.C: adjust after text & InsetList changes.
6429 2003-08-08 André Pönitz <poenitz@gmx.net>
6431 * text.C (insertChar, backspace): replace rowlist fiddling
6432 with rebreak of full par
6435 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6436 checkParagraph, updateInset): removed
6438 2003-08-07 André Pönitz <poenitz@gmx.net>
6441 * text3.C: merge some LFUN handlers, remove dead code
6443 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6445 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6447 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6449 * text2.C (DEPM): fix part of bug 1255 and 1256
6451 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6453 * BufferView_pimpl.C (workAreaDispatch): change to use
6454 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6455 that are no mouse related.
6457 2003-08-05 André Pönitz <poenitz@gmx.net>
6460 * BufferView_pimpl.[Ch]:
6461 * bufferview_funcs.C:
6463 * text3.C: rip out "deep update"
6465 * textcursor.[Ch] (last_sel_cursor): remove unused member
6467 2003-08-04 André Pönitz <poenitz@gmx.net>
6470 * BufferView_pimpl.[Ch]:
6471 * ParagraphParameters.C:
6472 * bufferview_funcs.C:
6478 * text3.C: replace "complicated" BufferView::update(...) calls with
6481 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6483 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6485 * Makefile.am (lyx_SOURCES): add paper.h
6487 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6489 * Makefile.am: move things around so that both lyx-qt and
6490 lyx-xforms can be built (according to --with-frontend). Then lyx
6491 is a symbolic link to lyx-[firstfrontend]
6493 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6495 * Always use std::endl with lyxerr
6497 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6499 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6501 2003-08-01 André Pönitz <poenitz@gmx.net>
6504 * BufferView_pimpl.[Ch]:
6506 * text3.C: merge BufferView::repaint() and BufferView::update()
6508 2003-08-01 José Matos <jamatos@lyx.org>
6510 * buffer.[Ch]: file_format is no longer a buffer data element.
6512 2003-08-01 André Pönitz <poenitz@gmx.net>
6517 * text2.C: make redoParagraph more independent of current cursor
6519 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6521 * text2.C: remove unneeded members
6523 2003-07-30 André Pönitz <poenitz@gmx.net>
6525 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6527 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6528 create a single function...
6530 * paragraph_funcs.C (moveItem): ... here.
6533 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6535 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6537 * LColor.[Ch]: Add comment and greyedout logical colors.
6539 2003-07-30 André Pönitz <poenitz@gmx.net>
6541 * tabular.C: don't use Assert too heavily. This crashes where it
6544 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6546 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6547 is disabled (bug 1232)
6549 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6551 * factory.C: limited 'arg' scope
6553 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6555 * factory.C: fixed Note submenu issues
6557 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6559 * factory.C: submenu for Note/Comment/Greyedout
6561 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6564 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6566 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6569 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6570 greyedout. Patch provided by Jürgen Spitzmüller.
6572 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6574 * kbmap.C (read): fix error message when reading bind files
6576 2003-07-29 Angus Leeming <leeming@lyx.org>
6578 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6579 certainly does not do what it purports to do. I am doing it, and
6580 us, a favour by killing it.
6582 2003-07-28 José Matos <jamatos@lyx.org>
6584 * buffer.C (readBody, do_writeFile):
6585 * paragraph.C(readParagraph): \end_document replaces \the_end.
6587 2003-07-29 André Pönitz <poenitz@gmx.net>
6590 * BufferView_pimpl.[Ch]:
6594 * textcursor.[Ch]: remove toggleToggle & Co
6596 2003-07-28 José Matos <jamatos@fep.up.pt>
6598 * buffer.C (readParagraph):
6599 * params_func (readParToken, readParagraph):
6600 * paragraph.C (write): \layout -> \begin_layout.
6602 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6604 * lyxlex_pimpl.C (setFile): clean up slightly.
6606 * bufferparams.h: add compressed var
6608 * buffer_funcs.C (readFile): adjust for LyXLex change
6609 (newFile): ditto + simplify
6611 * buffer.C (writeFile): handle writing of compressed files
6613 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6614 Check if the file is compressed and set a bufferparm if so.
6616 * Makefile.am (lyx_LDADD): remove explicit -lz
6618 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6620 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6621 makeDocBookFile): put the real LyX version in the first line of
6625 * version.C.in: remove lyx_docversion
6627 * tabular.C (write_attribute): add a template-based version to
6628 write enums properly
6630 2003-07-28 André Pönitz <poenitz@gmx.net>
6635 * text3.C: use doubles again for x-coordinates. They are needed.
6637 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6639 * messages.C (getLocaleDir): use lyx_localedir()
6641 * lyxlex_pimpl.C (setFile): compress stuff
6643 * buffer.C (writeFile): add some compression stuff
6644 (do_writeFile): new func, dont call expliti close... will this
6647 * Makefile.am (lyx_LDADD): add -lz
6649 2003-07-28 José Matos <jamatos@fep.up.pt>
6651 * buffer.C: increment file format.
6652 * paragraph_funcs (readParagraph, readParToken):
6653 * paragraph.C (readParagraph): add \end_layout.
6655 2003-07-27 Angus Leeming <leeming@lyx.org>
6657 * Makefile.am: remove special casing for configure-time setting of
6658 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6660 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6661 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6663 2003-07-26 André Pönitz <poenitz@gmx.net>
6665 * paragraph_func.[Ch]:
6666 * paragraph.C (realizeFont): inline it whereever it is used
6671 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6674 2003-07-26 André Pönitz <poenitz@gmx.net>
6678 * text2.C: get rid of LyXText::need_break_row
6680 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6682 * toc.[Ch]: put namespace toc inside namespace lyx
6684 * MenuBackend.C (expandToc2): adjust for lyx::toc
6687 * lyxfunc.C (dispatch): adjust for lyx::find
6689 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6690 lyx::find instead. Reorganize a bit.
6691 (LyXReplace): rename to replace
6692 (LyXFind): rename to find
6694 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6697 2003-07-26 André Pönitz <poenitz@gmx.net>
6699 * text.C (setHeightOfRow): restrict scope of temporary variable
6701 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6702 code (never has been used?)
6704 2003-07-27 Asger Alstrup <alstrup@local>
6706 * text.C (fill): Optimise algorithm to exploit that we can reuse
6707 the LyXFont for many characters.
6708 (setHeightOfRow): Same thing.
6709 (rowBreakPoint): Same thing.
6711 2003-07-26 Asger Alstrup <alstrup@local>
6713 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6715 * text.C (singleWidth): Spurious font copying in hot-spot
6716 singleWidth avoided. Reorder tests for arabic for efficiency.
6718 * text.C (fill): handle empty paragraphs better.
6720 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6723 * encoding.h: add includes
6725 * lyxrc.C: remove reading of bind files
6727 * lyx_main.C (init): setup bindings and menus only if we have a
6730 * kbmap.C (read): new method. Do the actual reading of bind
6733 * converter.C (dvipdfm_options):
6736 (output): adapt PAPER_* enums.
6738 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6740 * bufferparams.h: remove paper-related enums from there
6742 * paper.h: New file. A trivial header file to hold paper-related
6743 enums. It should later expand to contain many paper-related
6746 * lyxrc.C: declare extern displayTranslator
6748 2003-07-27 José Matos <jamatos@fep.up.pt>
6750 * tabular.[Ch] (linuxdoc): add support for tables and figures
6753 2003-07-27 José Matos <jamatos@fep.up.pt>
6755 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6756 consistency in both functions.
6757 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6759 2003-07-26 Asger Alstrup <alstrup@local>
6761 * rowpainter.C (paintRows): Change algorithm to work directly on
6762 the insets rather than asking every character in the document
6763 whether its an inset.
6765 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6767 * buffer.C (openFileWrite): factorize some code
6769 2003-07-26 Angus Leeming <leeming@lyx.org>
6772 * lyx_main.[Ch]: replace occurances of system_tempdir with
6775 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6777 * rename Inset to InsetOld
6779 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6781 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6782 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6783 which I think is a bit clearer. EDIT is gone, since it was
6784 premature optimisation, and broken for mathed anyway.
6785 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6786 with cursor positioning in insets as well (math insets still do not
6787 work, but that's a different story anyway.) It mysteriously
6788 crashes sometimes with undo in the first paragraph, but I'm fairly
6789 confident that this is a compiler bug.
6791 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6793 * paragraph.C (Paragraph): adjust for new clone return type
6795 (copyIntoMinibuffer): ditto
6797 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6799 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6800 by not having a special case, and always doing a full rebreak of
6801 the document after undo.
6803 2003-07-23 Angus Leeming <leeming@lyx.org>
6805 * factory.C (createInset): InsetExternal::setParams now takes a
6808 2003-07-23 Angus Leeming <leeming@lyx.org>
6810 * factory.C (createInset): changed interface to the external and
6811 graphics mailers' string2params functions.
6813 2003-07-23 Angus Leeming <leeming@lyx.org>
6815 * factory.C (createInset): pass a
6816 Buffer const * parameter to InsetExternalMailer's string2params.
6818 2003-07-22 John Levon <levon@movementarian.org>
6820 * Thesaurus.h: include the right aiksaurus header
6822 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6824 * MenuBackend.C (expand): check menu shortcuts unconditionally
6826 2003-07-21 Angus Leeming <leeming@lyx.org>
6828 * factory.C (createInset): pass a
6829 buffer_path parameter to InsetGraphicsMailer's string2params.
6831 2003-07-21 Angus Leeming <leeming@lyx.org>
6833 * BufferView_pimpl.C (buffer):
6836 * lyxfunc.C (dispatch):
6837 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6838 rather than the grfx shortcut.
6840 2003-07-21 André Pönitz <poenitz@gmx.net>
6842 * rowpainter.C: remove unused variables
6845 * tabular_funcs.h: move to tabular.C
6846 * Makefile.am: adjust
6848 * tabular.[Ch]: basic optical cleaning
6850 * author.h: pass references, not values
6852 2003-07-18 André Pönitz <poenitz@gmx.net>
6860 * text3.C: two-phase drawing for InsetText and InsetTabular
6861 some float -> int changes.
6863 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6865 * lyx_main.C: fix the fix
6867 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6869 * lyx_main.C: fix a crash in batch mode if no files specified
6872 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6874 * format.[Ch] (papersize): moved to BufferParams
6875 * converter.[Ch] (dvips_options): moved to BufferParams
6876 (dvipdfm_options): moved to anon namespace
6877 * bufferparams.[Ch]: added above functions.
6879 2003-07-17 André Pönitz <poenitz@gmx.net>
6883 * text2.C: don't call inset->update() anymore
6885 * metricsinfo.[Ch]: add convenience constructor
6887 2003-07-16 André Pönitz <poenitz@gmx.net>
6892 * text2.C: replace the LyXCursor::irow_ member with
6893 on-demand computation of the value
6895 2003-07-16 John Levon <levon@movementarian.org>
6897 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6899 2003-07-15 André Pönitz <poenitz@gmx.net>
6902 * text2.C: remove no more needed refresh_row
6904 2003-07-15 André Pönitz <poenitz@gmx.net>
6909 * text3.C: refresh_status tristate -> need_update bool
6911 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6913 * lyxtext.h (init): remove reinit argument (act as if always true)
6914 * text2.C: adjust to that
6916 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6918 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6919 * text3.C: use it to delete selections in some cases
6920 (bugs 441, 673, 702, 954).
6922 2003-07-14 André Pönitz <poenitz@gmx.net>
6924 * rowpainter.[Ch]: reduce interface
6926 2003-07-14 André Pönitz <poenitz@gmx.net>
6928 * BufferView_pimpl.C:
6929 * text2.C: adjust after removing unused BufferView * argument
6931 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6933 * text2.C (init): fix a crash fired on resize
6935 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6937 * buffer.[Ch]: added new closing signal
6938 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6939 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6940 BufferView::Pimpl via the closing the signal
6942 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6944 * buffer.[Ch]: take out all bv-related from buffer
6946 * BufferView_pimpl.[Ch]: connect to new signals
6947 * CutAndPaste.C: removed useless asserts
6948 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6951 * lyxfunc.C: moved view-related funciontality from vc here
6952 * paragraph.C: removed outdated comments
6955 2003-07-10 André Pönitz <poenitz@gmx.net>
6957 * BufferView_pimpl.C:
6961 * text2.C: remove InsetText::InnerCache, clean up consequences
6963 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6965 * ispell.C: fix two typos in error messages
6967 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6969 * Extend Note inset to other forms of annotation like Comment
6970 and Greyedout. Right button click gives dialog.
6972 Files modified or added (+):
6976 * ControlNote.[Ch] +
6978 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6979 frontends/controllers
6983 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6985 * aspell.C: add missing namespace lyx::support
6987 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6989 * BufferView.[Ch] (newFile): Add
6990 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6991 * LaTeX.[Ch] (message): added this signal and use it
6992 * buffer.[Ch] (busy, message): added these signals and use them
6993 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6997 * importer.C: use buffer signals instead of direct bv calling
6998 * lyx_cb.[Ch] (ShowMessage): removed
7001 * paragraph_funcs.C:
7002 * text2.C: use buffer signals
7004 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7006 * introduce namespace lyx::graphics
7008 2003-07-02 André Pönitz <poenitz@gmx.net>
7010 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7012 2003-07-01 André Pönitz <poenitz@gmx.net>
7019 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7020 text*.C to text_func.C
7022 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7024 * introduce namespace lyx::support
7026 2003-06-30 André Pönitz <poenitz@gmx.net>
7031 * text.C: re-enable --with-included-string
7033 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7035 * textcursor.C: add <config.h>
7037 * text.C (getWord): remove const from word_location arg
7039 * lyxvc.C (getLogFile): fix const type order
7041 * lyxtext.h: remove const from word_location arg, add arg name
7043 * lyxlayout.h: currect type on labeltype.
7045 * importer.C: correct \file
7047 * converter.C (intToFormat): use std:: on ret val, ws changes
7049 * bufferlist.h: correct \file
7051 * buffer.C (makeLinuxDocFile): fix const type order
7052 (makeDocBookFile): ditto
7053 (fillWithBibKeys): use std:: on stdlib args.
7055 * CutAndPaste.C: fix authors.
7056 (availableSelections): use std:: on return vector
7058 2003-06-27 André Pönitz <poenitz@gmx.net>
7060 * BufferView_pimpl.C:
7061 * bufferview_funcs.C:
7069 * text3.C: remove LyXCursor::row_ member
7072 * text.C: rename fullRebreak() to partialRebreak() and implement
7073 a fullRebreak() that really bereks fully
7075 * textcursor.h: new struct for cursor-related data
7077 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7079 * lyx_main.C (LyX): get full path of document loaded on the
7082 2003-06-26 André Pönitz <poenitz@gmx.net>
7084 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7085 remove unused/broken operator>,<,>=.
7087 * text.C: remove only use of broken operator<= in an Assert().
7089 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7091 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7092 moved errorlist_.clear to showErrorList
7094 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7096 * converter.C (scanLog, runLaTeX):
7097 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7098 move the bv->showErrorList call to the callers
7099 * lyxfunc.C: i.e. here...
7101 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7102 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7103 namespace, the second to...
7104 * buffer_funcs (BufferFormat, parseErrors): added
7105 * errorlist.C (ErrorList(TeXErrors const &)): removed
7107 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7109 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7111 2003-06-24 "Garst R. Reese" <reese@isn.net>
7115 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7117 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7119 * version.C.in: change docversion to 1.4
7121 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7123 * buffer.C: fix a bug just introduced
7125 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7127 * buffer.[Ch]: added the parseError signal and use it, removed
7129 * BufferView.[Ch] (addError): moved to ...
7130 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7131 to the Buffer::parseError signal to catch (guess what) parse errors
7132 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7134 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7136 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7137 ability to create a buffer and to return an existing one from
7138 the list. Moved these functions to...
7139 * buffer_funcs.[Ch]: added
7140 * BufferView.[Ch] (loadLyXFile): added
7141 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7142 job removed from bufferlist::loadLyXFile.
7143 * buffer.C (setReadOnly): make it work without view
7144 (i.e added an if (users))
7146 2003-06-19 Angus Leeming <leeming@lyx.org>
7149 * LyXAction.C (init):
7150 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7151 with LFUN_DIALOG_SHOW <name> <data>.
7153 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7155 * CutAndPaste.C (availableSelections): small compilation fix for
7156 ancient (gcc 2.9x) compilers
7158 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7160 * text3.C (cursorNext): add tmp var
7162 * text2.C (updateCounters): for function calling out of for clause
7163 (replaceSelectionWithString): ditto
7164 (insertStringAsParagraphs): ditto
7165 (getColumnNearX): add tmp var
7166 (setCursorFromCoordinates): add tmp var
7167 (cursorDownParagraph): add tmp var
7168 (deleteEmptyParagraphMechanism): add tmp var
7170 * text.C (insertChar): add tmp var
7172 * rowpainter.C (paintDepthBar): add tmp var
7174 * CutAndPaste.C (availableSelections): potentially check all
7175 paragraphs in a cut to fill the shown strings.
7177 2003-06-18 André Pönitz <poenitz@gmx.net>
7179 * kbmap.[Ch]: use vector<> instead of list<>
7181 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7183 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7184 pasteSelection with index
7186 * text2.C (pasteSelection): modify, call pasteSelection with index
7188 * paragraph.C (asString): reimplement version with no interval to
7189 call the one with interval.
7191 * lyxtext.h: add index arg to pasteSelection
7193 * MenuBackend.C (MenuItem): handle PasteRecent
7194 (Menu::read::Menutags): add md_pasterecent
7196 (expandPasteRecent): new function
7199 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7201 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7203 (availableSelections): new function
7205 2003-06-17 Angus Leeming <leeming@lyx.org>
7207 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7209 2003-06-17 Angus Leeming <leeming@lyx.org>
7212 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7214 * lyxfunc.C (dispatch): invoke it.
7216 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7218 * iterators.C (operator++, ParPosition): reintroduce some
7219 const_cast for the benefit of older compilers.
7221 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7223 * text3.C (dispatch): do not modify clipboard when doing
7224 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7225 LFUN_DELETE_SKIP on a selection selection
7227 2003-06-16 André Pönitz <poenitz@gmx.net>
7233 * tabular.[Ch]: IU of clone() and getLabelList();
7235 2003-06-13 André Pönitz <poenitz@gmx.net>
7237 * tabular.h: compactification
7239 2003-06-12 André Pönitz <poenitz@gmx.net>
7243 * tabular_funcs.h: some renaming plus whitespace
7245 2003-06-12 André Pönitz <poenitz@gmx.net>
7248 * BufferView_pimpl.C:
7254 * toc.C: Return a Paragraph & for ParIterator::operator*()
7256 2003-06-11 John Levon <levon@movementarian.org>
7260 * ToolbarBackend.C: add "Toolbars" section and
7263 2003-06-10 Angus Leeming <leeming@lyx.org>
7266 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7268 * lyxfunc.C (dispatch): invoke it.
7270 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7272 * main.C: protect <ios> with HAVE_IOS
7273 (main): protect sync_with_stdio with HAVE_IOS
7275 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7277 * text2.C (cutSelection): adjust
7278 (pasteSelection): adjust
7280 * messages.C: handle get of empty string
7282 * main.C (main): use sync_with_stdio(false)
7284 * lyxfunc.C (dispatch): adjust
7286 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7287 (WriteAs): remove unneeded BufferView arg.
7289 * bufferparams.h: use correct types on papersize, papersize2 and
7292 * bufferparams.C (readToken): adjust for type
7293 (writeLaTeX): add missing cases to switch.
7295 * bufferlist.C (quitWriteBuffer): adjust
7298 * buffer.C (asciiParagraph): remove some commented code.
7300 * CutAndPaste.C: remove current_view extern variable.
7301 (cutSelection): add BufferParams arg.
7302 (eraseSelection): add BufferParams arg.
7303 (pasteSelection): add Buffer const & arg
7305 2003-06-07 John Levon <levon@movementarian.org>
7308 * paragraph_funcs.C:
7309 * paragraph_pimpl.C:
7313 * paragraph.C: allow InsetERT to freely space lines,
7314 and some consolidation of code
7316 2003-06-06 José Matos <jamatos@fep.up.pt>
7318 * buffer.C (makeDocBookFile): fix bug #821
7320 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7322 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7324 2003-06-04 Angus Leeming <leeming@lyx.org>
7326 * buffer.C: bump format to 224.
7328 2003-06-05 André Pönitz <poenitz@gmx.net>
7330 * text2.C (redoParagraphs): remove two const_cast<>
7332 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7334 * ParagraphList.h: remove last remnants of NO_STD_LIST
7336 2003-06-03 Angus Leeming <leeming@lyx.org>
7338 * factory.C (createInset): small change to the way InsetExternal's params
7341 2003-06-04 André Pönitz <poenitz@gmx.net>
7343 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7345 * paragraph_pimpl.h:
7346 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7348 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7350 * undo_funcs.C: make some simple cases of undo work again
7352 2003-06-03 John Levon <levon@movementarian.org>
7354 * ispell.C: HPUX doesn't have sys/select.h
7357 2003-06-03 John Levon <levon@movementarian.org>
7359 * CutAndPaste.C: update tabular and include inset
7364 * paragraph.C: remove owningBuffer(), don't pass Buffer
7367 * factory.C: insetGraphicsParams changed
7369 2003-06-02 John Levon <levon@movementarian.org>
7375 * text3.C: remove insetparent
7377 2003-06-02 John Levon <levon@movementarian.org>
7380 * buffer.C: fix inset_iterator.end(), move out of line
7383 2003-06-01 John Levon <levon@movementarian.org>
7385 * text3.C: use a proper cut/paste when doing inset
7386 insert (from Jürgen Spitzmüller)
7388 2003-06-01 John Levon <levon@movementarian.org>
7390 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7392 2003-05-30 André Pönitz <poenitz@gmx.net>
7394 * rowpainter.C: unify second drawing phase
7396 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7398 * trans_mgr.C: remove one case of current_view
7400 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7402 * paragraph_funcs.h: remove paragraph.h include
7404 * paragraph.h: delete NO_STD_LIST stuff
7406 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7408 * buffer.h: remove paragraph.h include
7410 * ParagraphList.C: delete file
7412 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7414 * toc.C (getTocList): adjust
7416 * paragraph_pimpl.C (validate): adjust
7418 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7420 * paragraph.C (Paragraph): adjust
7421 (getPositionOfInset): use const_iterator, adjust
7422 (bibitem): use const_iterator, adjust
7423 (setInsetOwner): adjust
7425 * iterators.C (operator++): adjust
7427 * InsetList.[Ch]: Replace selfmade iterator with standard
7428 vector::iterator also introduce const_iterator. Remove getPos,
7429 getInset and setInset from InsetTable. Adjust accordingly.
7431 * BufferView.C (lockInset): adjust
7432 (ChangeInsets): adjust
7434 * tabular.[Ch]: delete commented same_id functions
7436 2003-05-28 John Levon <levon@movementarian.org>
7438 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7440 2003-05-28 André Pönitz <poenitz@gmx.net>
7442 * metricsinfo.[Ch]: remove 'fullredraw' member
7444 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7446 * lyxtextclass.C (operator): remove caching.
7448 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7452 * text2.C (cursorBottom): adjust
7453 (setCounter): use ParagraphList::find, adjust
7455 * text.C (workWidth): use ParagraphList::find, adjust
7457 * lyxcursor.C (LyXCursor): adjust
7459 * buffer.C (inset_iterator): adjust
7461 * ParagraphList.h: make iterator(value_type) private, make
7462 ParagraphList a friend of iterator.
7464 * ParagraphList.C (find): new function
7466 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7468 2003-05-27 André Pönitz <poenitz@gmx.net>
7470 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7472 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7474 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7476 2003-05-26 John Levon <levon@movementarian.org>
7478 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7480 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7482 * remove same_id from function signatures, adjust.
7484 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7486 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7488 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7490 * paragraph.C (Paragraph): get rid of same_ids parameter
7492 * ParagraphList.C (insert): adjust
7495 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7497 * paragraph_funcs.C (breakParagraph): adjust
7498 (breakParagraphConservative): adjust
7500 * buffer.C (readParagraph): adjust
7502 * ParagraphList.C (insert): take a reference instead of a pointer
7505 * paragraph.[Ch] (id): new function
7507 * bufferlist.C (newFile): adjust
7509 * ParagraphList.C (ParagraphList): adjust
7511 (push_back): take a reference instead of a pointer.
7513 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7515 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7518 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7519 set else use old code.
7521 * ParagraphList.C: remove all NO_NEXT code and only compile this
7522 code of NO_STD_LIST is set.
7524 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7526 * BufferView_pimpl.C:
7536 * graphics/GraphicsConverter.C:
7537 * graphics/PreviewLoader.C: header adjustment
7539 2003-05-23 Angus Leeming <leeming@lyx.org>
7541 * LaTeXFeatures.[Ch] (useBabel): new method.
7542 * bufferparams.C (writeLaTeX): use it.
7544 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7546 * ParagraphList.h (set): remove unused function.
7548 2003-05-23 André Pönitz <poenitz@gmx.net>
7551 * BufferView_pimpl.C:
7555 * undo_funcs.C: setUndo reworked
7557 * iterators.[Ch]: add access to topmost ParagraphList
7559 * lyxtext.[Ch] (workWidth): add a const
7561 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7563 * texrow.[Ch] (increasePos): remove function
7564 * exporter.C (export): removed unused var and outdated comment
7566 2003-05-23 Angus Leeming <leeming@lyx.org>
7568 * latexrunparams.h: rename fragile as moving_arg.
7569 * paragraph.C (simpleTeXOnePar): ditto.
7570 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7572 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7574 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7576 (textUndoOrRedo): comment out a currently unused var.
7578 * paragraph.h (NO_NEXT): enable NO_NEXT
7580 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7582 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7584 * exporter.C (Export): adjust for removeAutoInsets removal.
7586 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7588 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7590 * BufferView.[Ch] (removeAutoInsets): delete function
7592 2003-05-22 Angus Leeming <leeming@lyx.org>
7594 * latexrunparams.h: add a free_spacing variable.
7596 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7597 to pass moving_arg, as the data is stored in runparams.fragile.
7599 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7600 to Inset::latexOptional or to simpleTeXOnePar.
7602 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7603 free_spacing arg to Inset::latexOptional.
7605 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7608 2003-05-22 Angus Leeming <leeming@lyx.org>
7610 * latexrunparams.h: add fragile and use_babel variables.
7612 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7613 * buffer.C (makeLaTeXFile): store this returned value in
7614 runparams.use_babel, thus passing it to the inset::latex methods.
7616 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7617 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7619 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7620 longer has a fragile arg, as it is stored in runparams.fragile.
7622 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7623 moving_arg parameter as the data is stored in runparams.fragile.
7625 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7626 a fragile parameter as the data is stored in runparams.fragile.
7628 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7630 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7632 2003-05-22 Angus Leeming <leeming@lyx.org>
7634 * latexrunparams.h: add a 'bool nice' which defaults to false.
7636 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7637 now encapsulated within runparams.
7639 * bufferlist.C (updateIncludedTeXfiles):
7640 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7642 2003-05-22 Angus Leeming <leeming@lyx.org>
7644 * latexrunparams.h: new file containing struct LatexRunParams.
7645 * Makefile.am: add new file.
7647 * LaTeX.[Ch] (c-tor, run):
7648 * buffer.[Ch] (makeLaTeXFile):
7649 * bufferlist.[Ch] (updateIncludedTeXfiles):
7650 * converter.C (convert, scanLog):
7651 * converter.[Ch] (runLaTeX):
7652 * exporter.C (Export):
7653 * paragraph.[Ch] (simpleTeXOnePar):
7654 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7655 * paragraph_funcs.[Ch] (latexParagraphs):
7656 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7657 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7658 pass around a LatexRunParams parameter.
7660 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7662 * paragraph.[Ch]: remove unused constructor
7664 * ParagraphList.C (erase): new function, taking two iterators
7666 2003-05-22 André Pönitz <poenitz@gmx.net>
7668 * undo_funcs.C: remove duplicated code
7670 * iterator.[Ch]: operator=
7672 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7674 * tabular.C (SetMultiColumn): ws changes
7676 * rowpainter.C (paintFirst): get rid of a ->previous
7678 * lyx_cb.C (getPossibleLabel): parlist simplification
7680 * BufferView.C (ChangeInsets): simplify slightly.
7682 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7684 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7685 * lfuns.h: new LFUN_SPACE
7686 * lyxfunc.C: protected space has a new lfun
7687 * paragraph_funcs.C: read new space insets
7689 * factory.C: handle new space insets
7691 2003-05-22 André Pönitz <poenitz@gmx.net>
7694 * BufferView_pimpl.C:
7697 * undo_funcs.C: return a ParIterator from getParFromID.
7699 * iterators.[Ch]: add two const's
7701 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7703 * toc.C (getTocList): adjust
7705 * iterators.[Ch]: rework for parlist
7707 * buffer.C (par_iterator_begin): adjust
7708 (par_iterator_end): adjust
7710 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7712 * BufferView.C (removeAutoInsets): adjust
7713 (ChangeInsets): adjust
7715 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7717 * text.C (top_y): fix bug 1110
7719 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7721 * errorlist.[Ch]: added
7724 * BufferView_pimpl.C:
7725 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7728 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7730 * Makefile.am: ensure that lyx is relinked upon changes to the
7731 various "convenience" libs.
7733 2003-05-20 Angus Leeming <leeming@lyx.org>
7735 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7736 files are compiled in alphabetical order again.
7738 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7740 2003-05-19 Angus Leeming <leeming@lyx.org>
7742 * gettext.[Ch]: remove "char const * _(char const *)".
7744 2003-05-19 André Pönitz <poenitz@gmx.net>
7746 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7755 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7757 2003-05-19 André Pönitz <poenitz@gmx.net>
7761 * lyxtextclass.[Ch]:
7763 * paragraph_funcs.[Ch]:
7765 * text3.C: more insetenv work
7767 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7769 * ParagraphParameters.C (params2string): small bug fixed
7771 2003-05-16 André Pönitz <poenitz@gmx.net>
7774 * bufferview_funcs.C: patch from Kornel Benko to prevent
7775 crash when _(...) is called twice in a statement
7777 2003-05-16 André Pönitz <poenitz@gmx.net>
7784 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7786 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7788 * lyx_main.C (init): remove spurious static_cast
7790 2003-05-14 André Pönitz <poenitz@gmx.net>
7792 * BufferView.C: fix format string
7794 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7796 * BufferView.[Ch] (insertErrors): removed
7797 * BufferView.[Ch] (showErrorList): added
7798 * buffer.C (runChkTeX):
7799 * converter.C (scanLog): call showErrorList instead of inserterrors
7801 2003-05-13 André Pönitz <poenitz@gmx.net>
7803 * BufferView_pimpl.C:
7805 * bufferview_func.C:
7812 * tabular_funcs.h: tostr() from its own header
7814 * ParagraphParameters.C:
7819 * text3.C: STRCONV()
7821 2003-05-12 André Pönitz <poenitz@gmx.net>
7824 * BufferView_pimpl.C:
7828 * ParagraphParameters.C:
7832 * bufferview_funcs.C:
7845 * paragraph_funcs.C:
7849 * text3.C: boost::format -> bformat all over the place
7852 2003-05-09 André Pönitz <poenitz@gmx.net>
7854 * LColor.[Ch]: Pimpl the #include <map> away
7856 2003-05-09 John Levon <levon@movementarian.org>
7858 * bufferlist.C: never remove emergency saves
7860 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7862 * Makefile.am: better lib building
7864 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7866 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7868 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7869 (simpleTeXSpecialChars): adjust
7870 (simpleTeXSpecialChars): adjust
7871 * paragraph.C (simpleTeXOnePar): adjust
7872 * buffer.C (makeLaTeXFile): adjust
7874 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7876 * text2.C (changeDepth): parlist cleanup
7877 (getColumnNearX): ditto
7879 * rowpainter.C (getLabelFont): parlist cleanup
7881 * bufferlist.C (newFile): parlist cleanup
7883 * CutAndPaste.C (eraseSelection): parlist cleanup
7885 * BufferView_pimpl.C (trackChanges): parlist cleanup
7888 * BufferView.C (lockInset): parlist cleanup.
7889 (ChangeInsets): ditto
7891 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7893 * CutAndPaste.h: Update file header.
7895 * CutAndPaste.C: Update file header.
7896 Store the parts cut out of the Document in a limited_stack.
7897 (copySelection): adjust
7898 (pasteSelection): new function, takes the index in the limited stack.
7899 (nrOfParagraphs): adjust
7900 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7901 simplify error inset insertion.
7902 (checkPastePossible): adjust
7904 2003-05-06 John Levon <levon@movementarian.org>
7906 * text2.C: don't cast wrap inset to float
7908 2003-05-05 André Pönitz <poenitz@gmx.net>
7911 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7913 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7914 few naked Paragraph *.
7916 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7918 * bufferparams.C: Output warning if a document with missing
7919 TeX document class is loaded
7920 * exporter.C: Disable TeX exports if the document class is missing
7923 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7924 isTeXClassAvailable()
7926 2003-05-03 John Levon <levon@movementarian.org>
7929 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7930 explicit cursor show/hide
7932 * BufferView_pimpl.h:
7933 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7934 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7936 * lyxfunc.C: hide cursor before dispatching.
7941 * text3.C: remove explicit cursor hides
7943 2003-05-02 André Pönitz <poenitz@gmx.net>
7945 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7948 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7951 * text2.C: tiny whitespace
7953 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7955 * undo_funcs.C: almost only ws changes.
7957 * ParagraphList.C (splice): just return if pl is empty.
7959 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7961 * ParagraphList.C (splice): new function.
7963 * CutAndPaste.C (pasteSelection): use it
7965 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7967 * CutAndPaste.C (pasteSelection): remove the last next and
7968 previous from this file.
7970 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7972 * CutAndPaste.C (pasteSelection): more clean up, user proper
7973 ParagraphList functions for pasteing.
7975 * ParagraphList.C (insert): new function, three arg insert
7977 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7979 * ParagraphList.C (insert): new function, three arg insert
7981 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7984 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7986 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7988 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7990 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7992 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7994 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7995 (copySelection): clean up a bit.
7996 (pasteSelection): use make_pair
7998 * ParagraphList.C (ParagraphList): implement copy constructor
7999 (operator=): implement, base on copy constructor.
8002 * paragraph.C (erase): return a bool
8004 * paragraph_pimpl.C (erasePos): remove function, move contents...
8005 (erase): ... here. Return a bool.
8006 (erase): call erase instead of erasePos.
8008 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
8010 * ParagraphList.h: define PitPosPair
8011 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8012 ParagraphList, fix a bug on pasting multiple pars
8013 * text2.C: change interface to C&P
8015 2003-04-30 André Pönitz <poenitz@gmx.net>
8017 * undo_func.C: revert part of yesterday's patch 2
8019 2003-04-30 John Levon <levon@movementarian.org>
8021 * LColor.C: s/tabular/table/
8023 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8025 * text3.C (dispatch): do not convert iterator -> pointer
8026 * undo_funcs.C (setCursorParUndo): ditto
8027 * text_funcs.C (transposeChars): ditto
8029 * text2.C (setLayout): ws changes only
8031 * text.C (breakParagraph): do not convert iterator -> pointer
8033 (acceptChange): ditto
8034 (rejectChange): ditto
8039 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8042 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8044 * text3.C (gotoInset): YABG (yet another bad getChar)
8046 2003-04-29 André Pönitz <poenitz@gmx.net>
8048 * paragraph.h: make operator= private unimplemented as long as
8051 * ParagraphList.C: whitespace
8054 * paragraph_pimpl.[Ch]:
8055 * paragraph_funcs.C:
8057 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8060 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8062 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8064 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8065 * paragraph.[Ch] (erase):
8066 * paragraph_pimpl.[Ch] (erase): change return type and value
8067 * text2.C (cutSelection): some rework
8069 2003-04-28 John Levon <levon@movementarian.org>
8071 * bufferlist.C: changes for unsaved changes dialog
8073 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8075 * bufferlist.C (newFile): set language (messages_) for new
8078 * buffer.C (readFile): ws changes only.
8080 2003-04-28 André Pönitz <poenitz@gmx.net>
8085 * BufferView_pimpl.C:
8086 * BufferView.C: getParFromID related ParagraphList::iterator changes
8088 2003-04-28 André Pönitz <poenitz@gmx.net>
8090 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8093 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8095 * messages.C: remove one more localedir class variable.
8097 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8099 * messages.C (getLocaleDir): singleton generation function
8101 (Messages): add a default constructor.
8103 * main.C (main): do not setup localedir here, do not call
8106 * gettext.C (_): use it.
8107 (gettext_init): delete funciton
8109 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8111 * gettext.C (getLyXMessages): new singleton generating function.
8113 * buffer.C (updateDocLang): adjust
8115 * Makefile.am (messages.o): add target
8116 (main.o): remove target
8118 2003-04-27 John Levon <levon@movementarian.org>
8123 * lyxvc.C: specify cancel button in Alert::prompt
8125 2003-04-26 John Levon <levon@movementarian.org>
8130 * LyXAction.C: add LFUN_INSET_SETTINGS
8132 * lyxfunc.C: don't enable tabular-feature when there's
8133 just any locking inset
8135 2003-04-26 John Levon <levon@movementarian.org>
8137 * bufferlist.C: re-add Cancel to buffer close question
8139 * lyxfunc.C: fix import UI a bit
8141 2003-04-25 John Levon <levon@movementarian.org>
8143 * gettext.C: remove the broken asserts for now
8145 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8147 * messages.C: make case where setlocale cannot comply work better.
8149 * buffer.C (updateDocLang): new function
8150 (changeLanguage): use it
8153 * text2.C (setCounter): use B_ a bit.
8155 * lyxlayout.C (Read): be sure to trim the label strings.
8157 * messages.C (Messages): fix typo in comment
8159 * buffer.C (readFile): set message_ after file is loaded.
8160 (makeDocBookFile): remove double return
8161 (changeLanguage): reset message_ upon language change.
8162 (B_): new func, use this to get translated buffer strings.
8164 * main.C: add myself and Jean Marc as authors.
8166 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8168 * messages.[hC]: pimplify Messages, and three different pimpls to be
8169 used in different circumstances.
8171 * gettext.[Ch]: change for use with new message code.
8173 2003-04-24 André Pönitz <poenitz@gmx.net>
8175 * factory.C: support for eqref
8177 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8179 * messages.[Ch]: add missing char
8181 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8183 * messages.[Ch]: New files
8185 2003-04-18 John Levon <levon@movementarian.org>
8189 * BufferView_pimpl.C:
8193 * text2.C: remove layout-copy/paste (bug 778)
8195 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8197 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8199 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8201 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8202 if they succeed. Act accordingly.
8204 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8206 * text2.C (setCharFont): adjust
8207 (setCounter): adjust
8208 (insertStringAsLines): adjust
8210 * text.C (leftMargin): adjust
8211 (setHeightOfRow): adjust
8213 * rowpainter.C (paintFirst): adjust
8216 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8218 (isFirstInSequence): ditto
8219 (getEndLabel): ditto
8222 * paragraph.C (getParLanguage): comment out some hard stuff.
8224 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8226 (simpleDocBookOnePar): ditto
8227 (makeDocBookFile): use ParagraphList::iterator
8229 * CutAndPaste.C (pasteSelection): adjust
8231 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8233 * text2.C (getFont): adjust
8234 (getLayoutFont): adjust
8235 (getLabelFont): adjust
8237 * paragraph_funcs.C (TeXOnePar): adjust
8239 * buffer.C (simpleLinuxDocOnePar): adjust
8240 (simpleDocBookOnePar): adjust
8242 * CutAndPaste.C (pasteSelection): adjust
8244 * BufferView.C (getEncoding): adjust
8246 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8248 2003-04-16 John Levon <levon@movementarian.org>
8250 * lyxfind.C: use parlist stuff for search/changes
8252 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8254 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8256 * text2.C (deleteEmptyParagraphMechanism): adjust
8258 * text2.[Ch] (ownerParagraph): delete func (both of them
8260 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8262 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8264 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8266 * ParagraphList.C: prepare for NO_NEXT
8268 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8270 * text2.C (getFont): adjust
8271 (getLayoutFont): adjust
8272 (getLabelFont): adjust
8274 * paragraph.C (getFont): adjust
8275 (getLabelFont): adjust
8276 (getLayoutFont): adjust
8278 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8280 2003-04-15 John Levon <levon@movementarian.org>
8284 * lyx_main.C: handle Include in .ui files
8286 2003-04-15 John Levon <levon@movementarian.org>
8288 * MenuBackend.C: make the doc files length shorter
8291 * ToolbarBackend.C: handle toolbar placement flags,
8294 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8296 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8299 * paragraph_funcs.C (TeXOnePar): adjust
8301 * paragraph.C (getLabelFont): add outerfont arg, adjust
8302 (getLayoutFont): ditto
8303 (simpleTeXOnePar): adjust
8305 * paragraph_pimpl.C (realizeFont): delete func
8307 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8309 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8310 row argument, constify cur argument.
8312 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8314 * text2.C (getFont): adjust
8315 (getLayoutFont): adjust
8316 (getLabelFont): adjust
8318 * paragraph_funcs.C (TeXOnePar): adjust
8319 (outerFont): new func...
8320 (realizeFont): ...moved out from here, changed this to facilitate
8323 * paragraph.C (getFont): take outerfont as arg, adjust
8324 (simpleTeXOnePar): add outerfont arg, adjust
8326 * buffer.C (simpleLinuxDocOnePar): adjust
8327 (simpleDocBookOnePar): adjust
8329 * CutAndPaste.C (pasteSelection): adjust
8331 * BufferView.C (getEncoding): adjust
8333 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8335 * text2.C (setCharFont): adjust
8336 (setCounter): adjust
8338 * text.C (leftMargin): adjust
8339 (setHeightOfRow): adjust
8341 * rowpainter.C (paintFirst): adjust
8344 * paragraph_pimpl.C (realizeFont): adjust
8346 * paragraph.C (isFirstInSequence): move from here...
8347 * paragraph_funcs.C (isFirstInSequence): ...to here
8349 * paragraph.C (outerHook): move from here...
8350 * paragraph_funcs.C (outerHook): ...to here
8352 * paragraph.C (depthHook): move from here...
8353 * paragraph_funcs.C (depthHook): ...to here
8355 * paragraph.C (getEndLabel): move from here...
8356 * paragraph_funcs.C (getEndLabel): ...to here
8358 * text2.C (realizeFont): move from here...
8359 * paragraph_funcs.C (realizeFont): ...to here
8361 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8363 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8365 2003-04-14 Angus Leeming <leeming@lyx.org>
8367 * LColor.[Ch]: scrap LColor mathcursor.
8369 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8371 * lyxlex.[Ch] (text): delete function
8372 * trans.C (Load): adjust
8373 * paragraph_funcs.C (readParToken): adjust
8375 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8377 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8378 vector<char> instead of a char[].
8380 * lyxlex_pimpl.C (getString): adjust
8382 (lex): use getString
8386 * lyxlex.C (text): use pimpl_->getString()
8390 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8392 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8393 (makeFontEntriesLayoutSpecific): temp var for par.size()
8394 (setLayout): temp var for ownerParagraphs().end()
8395 (fullRebreak): temp var for rows().end()
8396 (selectionAsString): temp var for boost::next(startpit), realize
8397 that the while really is a regular for loop.
8398 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8399 setCursor in one place.
8400 (setParagraph): temp vr for ownerParagraphs().end()
8401 (updateCounters): make the while loop a for loop
8402 (cutSelection): temp var for ownerParagraphs().end()
8403 (updateInset): make the do {} while() a regular for loop
8404 (getCursorX): use temp vars
8405 (setCurrentFont): use temp vars
8406 (getColumnNearX): use temp vars
8408 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8410 * text.C (transformChar): use temp var for getChar
8411 (computeBidiTables): use temp var for row->par()
8412 (fill): move temp vars for row->par() and pit->layout() earlier in
8414 (labelFill): use temp var for row->par()
8415 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8416 asc and desc, realize that pit never changes and that firstpit is
8417 just a duplicate and not needed. Exchange rit->par() with pit in a
8419 (breakAgain): use a temp var for boost::next(rit)
8420 (breakAgainOneRow): ditto
8421 (breakParagraph): use a temp var for rows().begin()
8422 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8423 (cursorRightOneWord): use temp var for cursor.par() and
8424 cursor.pos(), remove usage of tmpcursor.
8425 (cursorLeftOneWord): use temp var for cursor.par() and
8426 cursor.pos() only set cur at end of function.
8428 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8430 * text.C, text2.C: exchange all usage of Paragraph::next with
8431 boost::next(ParagraphList::iterator)
8433 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8435 * text2.C (cursorTop): simplify implementation
8436 (cursorBottom): ditto
8437 (setParagraph): use ParagraphList::iterator
8438 (setCurrentFont): adjust
8439 (getColumnNearX): adjust
8440 (cursorRight): adjust
8441 (cursorLeft): remove usage of Paragraph::previous
8442 (cursorUpParagraph): ditto
8443 (deleteEmptyParagraphMechanism): slight cleanup
8445 * text.C (isBoundary): take a Paragraph const & instead of a
8447 (addressBreakPoint): ditto
8448 (leftMargin): remove usage of Paragraph::previous.
8449 (setHeightOfRow): ditto
8450 (cursorLeftOneWord): ditto
8451 (selectNextWordToSpellcheck): ditto
8454 (breakParagraph): remove one usage of Paragraph::next
8455 (redoParagraph): ditto
8456 (acceptChange): ditto
8457 (insertChar): adjust
8458 (rowBreakPoint): adjust
8460 * bufferview_funcs.C (toggleAndShow): adjust
8462 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8464 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8465 methods to access it.
8467 * text.C: Added updateRowPositions to compute all row positions.
8468 Make top_y and getRowNearY() to use the cached y position
8470 2003-04-11 John Levon <levon@movementarian.org>
8472 * text.C (rowBreakPoint): reintroduce the labelEnd
8473 checks, code copied from the row fill stuff. Deep voodoo.
8475 * text.C (fill): add a comment and debugging for the
8478 2003-04-11 John Levon <levon@movementarian.org>
8480 * text.C: make sure fullrow insets get wrapped to the next line,
8481 even when they're in a manual label
8483 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8485 * text2.C (insertParagraph): make it take ParagraphList::iterator
8487 (setLayout): make it return ParagraphList::iterator
8488 (redoParagraphs): ditto
8490 (checkParagraph): ditto
8492 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8494 * text2.C: adjust several funcs.
8495 (realizeFont): take a ParagraphList::iterator as arg.
8496 (getLayoutFont): ditto
8497 (getLabelFont): ditto
8498 (setCharFont): ditto
8500 * text.C: adjust several funcs.
8502 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8504 * text.C (selectNextWordToSpellcheck): don't accidentally
8507 2003-04-10 John Levon <levon@movementarian.org>
8509 * ToolbarBackend.C (getIcon): special handling for
8512 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8514 * text2.C (cursorRight): a getChar assert fixed
8516 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8518 * text2.C (getFont): change to take a ParagraphList::iterator
8519 instead of Paragraph*
8520 Adjust several functions.
8522 * text.C (transformChar): change to take a ParagraphList::iterator
8523 instead of Paragraph*
8524 (singleWidth): ditto
8525 Adjust several functions.
8527 * rowpainter.C: adjust several functions
8528 * rowpainter.h:store a ParagraphList::iterator and not a
8532 2003-04-09 John Levon <levon@movementarian.org>
8537 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8538 and the "help" bits as well
8540 2003-04-09 John Levon <levon@movementarian.org>
8543 * ToolbarBackend.C: allow multiple toolbars
8545 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8547 * undo_funcs.C (setCursorParUndo): adjust
8549 * text_funcs.C (transposeChars): adjust
8551 * text3.C (gotoNextInset): adjust
8554 * text2.C (setLayout): adjust
8555 (changeDepth): adjust
8557 (redoParagraphs): adjust
8558 (selectionAsString): adjust
8559 (setParagraph): adjust
8560 (insertInset): adjust
8561 (cutSelection): adjust
8562 (copySelection): adjust
8563 (pasteSelection): adjust
8564 (insertStringAsLines): adjust
8565 (updateInset): adjust
8566 (setCursor): change to take a ParagraphList::iterator parameter
8567 (setCursorIntern): change to take a ParagraphList::iterator parameter
8568 (setCurrentFont): adjust
8569 (cursorLeft): adjust
8570 (cursorRight): adjust
8571 (deleteEmptyParagraphMechanism): adjust
8573 * text.C (breakParagraph): adjust
8574 (insertChar): adjust
8575 (acceptChange): adjust
8576 (rejectChange): adjust
8577 (selectNextWordToSpellcheck): adjust
8578 (changeCase): adjust
8582 * lyxfind.C (SearchForward): adjust
8583 (SearchBackward): adjust
8584 (nextChange): adjust
8586 * lyxcursor.C (par): adjust
8588 * lyxcursor.h: store a ParagraphList::iterator instead of a
8591 * lyx_cb.C (getPossibleLabel): adjust
8593 * bufferview_funcs.C (toggleAndShow): adjust
8595 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8598 * BufferView.C (removeAutoInsets): adjust
8599 (lockedInsetStoreUndo): adjust
8601 2003-04-09 John Levon <levon@movementarian.org>
8603 * ToolbarBackend.C: try icon without argument
8604 if with argument fails
8606 2003-04-08 John Levon <levon@movementarian.org>
8609 * ToolbarBackend.C: add getIcon(), handle tooltip,
8610 and change from "Icon" to "Item".
8612 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8614 * BufferView.C (lockInset): another bad getchar crunched
8616 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8618 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8621 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8623 * lyxfind.C (searchForward, searchBackwards): bug 782
8625 2003-04-07 John Levon <levon@movementarian.org>
8627 * paragraph.C: remove dead comment
8629 * text.C: remove troublesome depth-fiddling code
8630 in leftMargin() and rightMargin() (bug 1017)
8632 * text.C: fix breaking of rows in nested lists
8635 * text2.C (updateCounters): fix up depth values
8638 2003-04-07 John Levon <levon@movementarian.org>
8640 * BufferView_pimpl.C: clear message when doc finishes resizing,
8641 and after a mouse event
8643 * lyxfunc.C: clear message after exiting inset
8645 2003-04-07 John Levon <levon@movementarian.org>
8647 * bufferview_funcs.C: show math status not outside
8648 status in the statusbar
8650 2003-04-07 John Levon <levon@movementarian.org>
8652 * lyxfunc.C: note status changed after a depth change
8654 2003-04-04 Angus Leeming <leeming@lyx.org>
8656 * LaTeX.h: move AuxInfo operator==, != out of line.
8657 Remove LaTeX virtual destructor; nothing derives from it.
8658 Move operator()() out of public area and rename it startscript().
8659 Change protected for private.
8661 2003-04-04 Angus Leeming <leeming@lyx.org>
8664 * text2.C: remove unneeded #includes.
8666 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8668 * text2.C (dEPM): fix the heigth of the next row
8670 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8672 * text.C: squashed an invalid getChar requester + some ws changes
8674 2003-04-03 John Levon <levon@movementarian.org>
8676 * bufferview_funcs.h:
8677 * bufferview_funcs.C:
8680 * text2.C: make getStatus work for the env depth lfuns
8682 2003-04-03 John Levon <levon@movementarian.org>
8684 * bufferview_funcs.h:
8685 * bufferview_funcs.C:
8688 * text2.C: parlistize decDepth(), by merging it with incDepth()
8690 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8692 * lyxrow.h: store a ParagraphList::iterator instead of a
8693 Paragraph* and adjust other class functions to suit.
8695 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8698 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8700 * text2.C (setCursor): do not anchor to cursor row for the time being
8702 2003-04-02 John Levon <levon@movementarian.org>
8709 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8711 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8713 * paragraph.h: make ParagraphList and ParagraphList::iterator
8714 friends of Paragraph.
8716 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8718 * ParagraphList.C: Use the private next_ and previous_ from
8721 2003-04-01 John Levon <levon@movementarian.org>
8725 * Makefile.am: rename, remove defaults gunk
8728 * MenuBackend.C: remove defaults gunk
8731 * Languages.C: remove defaults gunk
8734 * lyx_main.C: error out if files couldn't be found.
8736 2003-04-02 John Levon <levon@movementarian.org>
8738 * text2.C: make incDepth() use parlist
8740 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8742 * undo_funcs.C (firstUndoParagraph): adjust
8744 * text3.C (gotoInset): adjust
8745 (dispatch): adjust, and rewrite loop.
8747 * text2.C (init): adjust, and rewrite loop.
8748 (redoParagraphs): adjust
8749 (updateInset): adjust, and rewrite loop.
8750 (deleteEmptyParagraphMechanism): adjust
8752 * tabular.C (LyXTabular): adjust
8753 (SetMultiColumn): adjust
8756 * lyxtext.[Ch] (ownerParagraph): delete function
8757 (ownerParagraphs): new function returns a ParagraphList.
8759 * BufferView.C (removeAutoInsets): adjust
8760 (insertErrors): adjust
8761 (setCursorFromRow): adjust
8763 2003-04-01 Angus Leeming <leeming@lyx.org>
8765 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8768 2003-04-02 John Levon <levon@movementarian.org>
8774 * text_funcs.C: make transposeChars a free function
8776 * lyxrow_funcs.C: remove wrong comment
8778 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8781 * rowpainter.C: adjust
8786 * lyxrow_funcs. [Ch]: new files
8788 * lyxrow.[Ch]: remove next and previous pointers
8789 (next,previous): remove accessor functions
8790 (isParEnd): move to lyxrow_funcs
8791 (lastPos): move to lyxrow_funcs
8792 (nextRowIsAllInset): move to lyxrow_funcs
8793 (lastPrintablePos): move to lyxrow_funcs
8794 (numberOfSeparators): move to lyxrow_funcs
8795 (numberOfHfills): move to lyxrow_funcs
8796 (numberOfLabelHfills): move to lyxrow_funcs
8797 (hfillExpansion): move to lyxrow_funcs
8801 * bufferview_funcs.C (toggleAndShow): adjust
8803 * RowList.h: Remove class RowList from file leave just a
8806 * RowList.C: delete file
8808 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8811 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8813 * text3.C (cursorPrevious): adjust
8814 (cursorNext): adjust
8817 * text2.C (redoHeightOfParagraph): adjust
8818 (redoDrawingOfParagraph): adjust
8821 * text.C (breakParagraph): adjust
8822 (insertChar): adjust
8825 * rowpainter.C (RowPainter): adjust
8826 (leftMargin): simplify and adjust
8827 (most rowpainter functions): adjust.
8829 * rowpainter.h: store the row as RowList::iterator not as Row*
8831 * lyxcursor.C (row): taka RowList::iterator as arg
8834 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8837 2003-04-01 Angus Leeming <leeming@lyx.org>
8839 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8840 stuff like bool Bool.
8842 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8844 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8847 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8849 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8852 * lyxtext.h (rows): drop one version and leve a const variant that
8853 returns a RowList::iterator.
8855 2003-03-31 Angus Leeming <leeming@lyx.org>
8857 * text.C (fill): ensure that the signature is the same as that in the
8860 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8862 * text2.C (redoParagraphs): adjust
8863 (updateCounters): adjust
8864 (checkParagraph): adjust
8865 (getColumnNearX): adjust and reformat a bit.
8867 * text.C (top_y): adjust
8869 (leftMargin): adjust
8870 (prepareToPrint): adjust
8872 (getRowNearY): adjust
8874 * lyxtext.h: make rowlist_ mutable.
8876 * RowList.h: add const_iterator
8877 * RowList.C: adjust for RowList::const_iterator.
8879 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8882 2003-03-31 John Levon <levon@movementarian.org>
8885 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8887 * lyx_main.C: set default fonts from using lyx_gui funcs
8889 * exporter.C: pdf_mode moved from lyxrc
8892 * lyxfunc.C: changes from above
8894 2003-03-31 John Levon <levon@movementarian.org>
8896 * lyx_main.C: fix to the last fix
8898 2003-03-31 John Levon <levon@movementarian.org>
8900 * bufferlist.C: "Load original" -> "Load Original"
8906 * format.C: more Alert cleanups
8908 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8910 * text2.C (removeParagraph): make it take a RowList::iterator as
8912 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8913 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8915 * text.C (anchor_row): make it take a RowList::iterator as arg,
8917 (computeBidiTables): make it take a const reference to Row instead
8918 of Row pointer, adjust.
8919 (leftMargin): make it take a RowList::iterator as arg, adjust.
8920 (rowBreakPoint): adjust
8921 (breakAgainOneRow): make it take a RowList::iterator as arg,
8923 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8925 * bufferview_funcs.C (toggleAndShow): adjust
8927 2003-03-30 John Levon <levon@movementarian.org>
8931 * boost-inst.C: moved to support
8933 * several files: changes as a result
8935 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8937 * text2.C (LyXText): adjust.
8939 (removeRow): make it take a RowList::iterator as arg, adjust.
8940 (fullRebreak): adjust
8941 (deleteEmptyParagraphMechanism): adjust
8942 (clearPaint): adjust
8945 * text.C (top_y): adjust
8946 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8947 (breakAgain): make it take a RowList::iterator as arg, adjust.
8948 (breakParagraph): adjust
8949 (insertChar): adjust
8952 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8953 need_break_row, and refresh_row.
8955 * text3.C (dispatch): adjust
8957 * text2.C (checkParagraph): adjust
8959 (setCursorFromCoordinates): adjust
8961 * text.C (top_y): adjust
8963 (getRow): make it return a RowList::iterator, adjust
8964 (getRowNearY): make it return a RowList::iterator, adjust
8966 * text2.C (init): adjust
8967 (insertRow): remove function
8968 (insertParagraph): adjust
8969 (redoParagraphs): adjust
8970 (fullRebreak): adjust
8971 (updateCounters): adjust
8973 * text.C (top_y): rewrite to use RowList iterators.
8975 (setHeightOfRow): rewrite to sue RowList iterators.
8976 (appendParagraph): adjust
8977 (breakAgain): adjust
8978 (breakAgainOneRow): adjust
8979 (breakParagraph): adjust
8981 (getRowNearY): adjust, and remove commented code.
8983 * lyxtext.h (firstRow): delete function
8984 (lastRow): delete function
8985 (rows): new function (const and non-const versions.)
8986 (insertRow): delete function
8988 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8990 2003-03-29 John Levon <levon@movementarian.org>
8992 * BufferView_pimpl.C: always update scrollbar top
8993 because pasting text when we're anchored could mean we
8994 miss an update altogether
8996 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8998 * text2.C (init): use rowlist_.end() and not 0.
8999 (insertRow): change to take a RowList::iterator as arg, adjust
9001 (insertParagraph): change to take a RowList::iterator as arg,
9003 (redoParagraphs): remove some debug msgs.
9005 * text.C (appendParagraph): change to take a RowList::iterator
9006 arg, adjust for this.
9007 (breakAgain): add an assert
9008 (breakAgainOneRow): ditto
9010 2003-03-29 John Levon <levon@movementarian.org>
9012 * text2.C: do not clear selection after inc/decDepth
9015 2003-03-29 John Levon <levon@movementarian.org>
9018 * buffer.C: fix broken strerrors according to Lars
9020 2003-03-29 John Levon <levon@movementarian.org>
9022 * converters.C: more Alert cleanups
9024 2003-03-29 John Levon <levon@movementarian.org>
9026 * bufferview_funcs.C: remove pointless Alert
9028 * buffer.C: fix confusing error message when
9029 a template is chmoded 000
9031 2003-03-29 John Levon <levon@movementarian.org>
9035 * BufferView_pimpl.C: Alert fixes
9039 * tabular-old.C: remove unused table compat reading
9041 2003-03-29 John Levon <levon@movementarian.org>
9046 * lyx_cb.C: more Alert cleanups
9048 * lyxfunc.C: don't allow chktex if not latex document
9050 2003-03-29 John Levon <levon@movementarian.org>
9054 * buffer.C: warnings pushed down from support/,
9057 2003-03-29 John Levon <levon@movementarian.org>
9059 * lyxfunc.C: safety check for C-r (revert)
9061 2003-03-29 John Levon <levon@movementarian.org>
9064 * bufferlist.C: several UI fixes using Alert::prompt.
9065 Fix the pointless looping quit code. Fix stupid revert
9070 * lyx_cb.C: use Alert::prompt
9072 * lyx_main.C: remove a silly question
9074 * lyxfunc.C: remove a couple of silly questions,
9077 2003-03-28 John Levon <levon@movementarian.org>
9079 * text2.C: fix bug 974 (End on empty par)
9081 2003-03-28 John Levon <levon@movementarian.org>
9083 * BufferView_pimpl.C:
9085 * lfuns.h: remove do-nothing math greek lfuns
9087 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9089 * lyxgluelength.h (isValidGlueLength): add default arg on
9090 parameter 2. Remove default arg from friend in class.
9092 * lyxlength.h (isValidLength): add default arg on parameter 2.
9093 Remove default arg from friend in class.
9095 * text2.C (LyXText): adjust, initialize refresh_row.
9099 (insertParagraph): adjst
9100 (redoParagraphs): adjust
9101 (fullRebreak): adjust
9102 (updateCounters): adjust
9103 (deleteEmptyParagraphMechanism): first attempt at fixing a
9106 * text.C (top_y): adjust
9107 (setHeightOfRow): adjust
9109 (getRowNearY): adjust
9111 * lyxtext.h: include RowList.h
9112 (~LyXText): not needed anymore, deleted.
9113 (firstRow): modify for RowList
9114 (lastRow): new function
9115 Delete firstrow and lastrow class variables, add a Rowlist
9116 rowlist_ class variable.
9118 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9121 * RowList.C (insert): fix case where it == begin().
9123 2003-03-26 Angus Leeming <leeming@lyx.org>
9125 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9126 the thesaurus dialog.
9128 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9130 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9132 * RowList.[Ch]: new files
9134 * ParagraphList.C (erase): handle the case where it == begin
9137 2003-03-25 John Levon <levon@movementarian.org>
9141 * aspell.C: add new aspell support
9144 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9147 2003-03-25 Angus Leeming <leeming@lyx.org>
9150 * LyXAction.C (init): new LFUN_INSET_INSERT.
9152 * BufferView_pimpl.C (dispatch): split out part of the
9153 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9155 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9158 2003-03-25 Angus Leeming <leeming@lyx.org>
9160 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9162 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9165 * text3.C: remove useless row->height(0)
9167 2003-03-25 John Levon <levon@movementarian.org>
9171 * text3.C: rename the refreshing stuff to better names
9173 2003-03-24 John Levon <levon@movementarian.org>
9175 * BufferView_pimpl.h:
9176 * BufferView_pimpl.C: update layout choice on a mouse
9179 2003-03-23 John Levon <levon@movementarian.org>
9181 * Makefile.am: fix commandtags.h reference
9183 2003-03-22 John Levon <levon@movementarian.org>
9185 * BufferView_pimpl.C:
9190 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9192 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9195 * text.C: take the rtl methods out of line
9197 2003-03-21 André Pönitz <poenitz@gmx.net>
9199 * metricsinfo.[Ch]: new files containing structures to be passed around
9200 during the two-phase-drawing...
9202 2003-03-21 André Pönitz <poenitz@gmx.net>
9204 * lyxtextclass.C: read 'environment' tag.
9206 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9208 * text2.C (removeRow): fix bug 964
9210 2003-03-20 John Levon <levon@movementarian.org>
9214 * text2.C: paint cleanups. Inset::update() dropped font
9217 2003-03-19 John Levon <levon@movementarian.org>
9219 * lyxfunc.C: only fitcursor/markDirty if available()
9221 2003-03-19 John Levon <levon@movementarian.org>
9223 * commandtags.h: rename to ...
9225 * lfuns.h: ... this, and renumber / cleanup
9227 2003-03-19 John Levon <levon@movementarian.org>
9229 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9230 fit the cursor after an lfun
9234 * BufferView_pimpl.h:
9235 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9237 * LyXAction.C: layout-character should have ReadOnly
9239 * ParagraphParameters.C:
9241 * bufferview_funcs.C:
9248 * undo_funcs.C: changes from above
9250 2003-03-18 John Levon <levon@movementarian.org>
9252 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9253 remove it from update()
9255 * lyxfunc.C: update layout choice after an lfun
9257 * text3.C: remove extra updateLayoutChoice()s
9259 2003-03-18 John Levon <levon@movementarian.org>
9261 * text.C: top_y change means full repaint, fix
9262 a drawing bug with cursor movement
9264 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9268 * text2.C: anchor row on setCursor
9270 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9272 * lyxtext.h: remove almost all mutable keywords
9275 * text3.C: remove const keywords accordingly
9277 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9279 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9281 (TeXEnvironment): ditto
9284 2003-03-17 John Levon <levon@movementarian.org>
9286 * text.C (rowBreakPoint): remove attempt to fix displayed
9287 math insets inside a manual label
9289 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9291 * lyxtext.h: remove BufferView* as first arg from almost all class
9293 * other files: adjust.
9295 2003-03-17 John Levon <levon@movementarian.org>
9299 * text2.C: more paint cleanups
9301 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9304 * rowpainter.C: remove "smart" background painting code
9306 2003-03-16 John Levon <levon@movementarian.org>
9311 * text3.C: add helper functions for setting refresh_row/y
9313 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9315 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9316 newline inset which *can* get inserted in the pass_thru layouts.
9317 This is primarily for literate documents.
9319 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9321 * buffer.C: increment LYX_FORMAT to 223
9323 2003-03-14 André Pönitz <poenitz@gmx.net>
9325 * textclass.h: prepare for environment handling, ws changes
9326 * lyxlayout.C: read latexheader and latexfooter tags
9328 2003-03-14 John Levon <levon@movementarian.org>
9330 * text2.C: rewrite ::status() a bit
9332 2003-03-13 John Levon <levon@movementarian.org>
9334 * lyxtext.h: add some docs
9336 2003-03-13 John Levon <levon@movementarian.org>
9341 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9343 2003-03-13 John Levon <levon@movementarian.org>
9345 * text3.C: fix appendix redrawing
9347 2003-03-13 John Levon <levon@movementarian.org>
9349 * text.C (setHeightOfRow):
9351 * rowpainter.C: make appendix mark have the text
9352 "Appendix" so the user knows what it is
9355 * LColor.C: s/appendixline/appendix/ from above
9357 2003-03-13 John Levon <levon@movementarian.org>
9359 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9361 * text.C: fix a getChar(pos) bug properly
9363 2003-03-13 Angus Leeming <leeming@lyx.org>
9366 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9367 Probably only temporary. Let's see how things pan out.
9369 * BufferView.C (unlockInset):
9370 * BufferView_pimpl.C (fitCursor):
9371 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9373 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9374 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9376 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9377 new functions that convert ParagraphParameters to and from a string.
9379 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9380 BufferView::Pimpl's dispatch.
9381 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9383 2003-03-13 André Pönitz <poenitz@gmx.net>
9387 * factory.C: make it aware of InsetEnv
9389 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9391 * text2.C (setCursor): never ask for one past last
9392 (setCursor): add some debugging messages.
9394 * text.C (singleWidth): never ask for one past last
9395 (singleWidth): ditto
9397 (rightMargin): ditto
9398 (rowBreakPoint): ditto
9399 (setHeightOfRow): ditto
9400 (prepareToPrint): ditto
9402 * rowpainter.C (paintBackground): never ask for one past last
9403 (paintText): never ask for one past last
9405 * paragraph_pimpl.C (getChar): make the assert stricter, never
9406 allow the one past last pos to be taken
9408 * paragraph.C (getChar): ws changes only
9410 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9411 (numberOfSeparators): ditto
9412 (numberOfHfills): ditto
9414 2003-03-12 John Levon <levon@movementarian.org>
9420 * paragraph_funcs.C: fix per-buffer authorlists
9422 2003-03-12 John Levon <levon@movementarian.org>
9424 * text.C: fix newline in right address
9426 2003-03-12 Angus Leeming <leeming@lyx.org>
9428 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9429 duplicate those in LyXFunc::dispatch.
9433 * ToolbarDefaults.C:
9434 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9435 Add LFUN_FONTFREE_UPDATE.
9437 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9438 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9440 * bufferview_func.[Ch]: several new functions to facilliate
9441 transfer of data to and from the character dialog.
9443 2003-03-12 John Levon <levon@movementarian.org>
9448 * paragraph_funcs.C:
9449 * paragraph_pimpl.C:
9453 * text3.C: remove META_NEWLINE in favour of an inset
9456 * rowpainter.C: remove paintNewline (done by inset)
9458 2003-03-12 John Levon <levon@movementarian.org>
9460 * paragraph_pimpl.C: complain about bad getChar()s
9461 for a while at least
9463 2003-03-12 John Levon <levon@movementarian.org>
9466 * buffer.C: move paragraph read into a separate function,
9467 a little renaming to reflect that.
9470 * bufferparams.C: remove the author_ids map, not necessary now
9473 * factory.C: moved Buffer::readInset to here
9475 * paragraph_funcs.h:
9476 * paragraph_funcs.C: readParagraph free function moved from
9479 * tabular.C: name change
9481 2003-03-12 John Levon <levon@movementarian.org>
9484 * ParagraphParameters.C: move par params input to
9487 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9488 behave like a normal read from the stream wrt reading
9489 a line vs. a \\token
9491 2003-03-12 John Levon <levon@movementarian.org>
9494 * ParagraphParameters.h:
9495 * ParagraphParameters.C: move output code to a
9498 2003-03-12 John Levon <levon@movementarian.org>
9500 * BufferView.C (insertLyXFile):
9503 * tabular.C: use a parlist iterator for creating the
9506 2003-03-12 John Levon <levon@movementarian.org>
9508 * buffer.C: make current_change static local not
9511 2003-03-12 John Levon <levon@movementarian.org>
9513 * buffer.C: fix insertStringAsLines for change tracking
9515 2003-03-12 John Levon <levon@movementarian.org>
9522 * bufferparams.C: move author list into params. Rename some
9523 functions. Move the header reading into a separate token
9524 loop. Move the header token reading into BufferParams.
9526 2003-03-12 John Levon <levon@movementarian.org>
9528 * changes.C: put debug inside lyxerr.debugging() checks
9530 2003-03-11 André Pönitz <poenitz@gmx.net>
9532 * factory.C: make it aware of InsetHFill
9534 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9536 * buffer.C (latexParagraphs): move function from here...
9537 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9540 2003-03-10 Angus Leeming <leeming@lyx.org>
9542 * LyXAction.C (init): fix bug in poplating array with multiple entries
9543 with the same LFUN (spotted by JMarc).
9545 2003-03-10 John Levon <levon@movementarian.org>
9548 * text2.C: move getColumnNearX() near its
9551 2003-03-10 John Levon <levon@movementarian.org>
9553 * text.C: fix break before a minipage
9555 2003-03-10 John Levon <levon@movementarian.org>
9557 * text.C: fix the last commit
9559 2003-03-09 John Levon <levon@movementarian.org>
9563 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9564 bug 365 (don't break before insets unless needed). Don't
9565 return a value > last under any circumstances.
9567 2003-03-09 Angus Leeming <leeming@lyx.org>
9569 * BufferView_pimpl.C (trackChanges, dispatch): call
9570 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9572 2003-03-09 Angus Leeming <leeming@lyx.org>
9574 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9575 than Dialogs::showAboutlyx().
9577 2003-03-09 Angus Leeming <leeming@lyx.org>
9579 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9580 than Dialogs::showTabularCreate().
9582 2003-03-09 John Levon <levon@movementarian.org>
9586 * text2.C: 3rd arg to nextBreakPoint was always the same.
9589 2003-03-08 John Levon <levon@movementarian.org>
9596 * text2.C: Remove the "main" bit from the "main body"
9599 2003-03-08 John Levon <levon@movementarian.org>
9601 * text.C (leftMargin): The left margin of an empty
9602 manual label paragraph should not include the label width
9605 * text.C (prepareToPrint): don't attempt to measure hfills
9606 for empty manual label paragraphs - the answer should be 0
9608 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9610 * CutAndPaste.C: remove commented code and reindent.
9612 2003-03-08 John Levon <levon@movementarian.org>
9615 * lyxfunc.C: move reloadBuffer()
9618 * BufferView.C: to here
9620 * lyxvc.C: add comment
9623 * vc-backend.C: call bv->reload() to avoid
9624 getStatus() check on MENURELOAD
9626 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9628 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9629 to an old format .dep file.
9631 2003-03-07 Angus Leeming <leeming@lyx.org>
9633 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9634 when the LFUN_MOUSE_RELEASE should have been handled by
9635 inset->localDispatch.
9637 2003-03-07 Angus Leeming <leeming@lyx.org>
9639 * BufferView_pimpl.C (dispatch):
9640 * LyXAction.C (init):
9641 * ToolbarDefaults.C (init):
9643 * lyxfunc.C (getStatus):
9644 remove LFUN_INSET_GRAPHICS.
9646 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9648 2003-03-07 Angus Leeming <leeming@lyx.org>
9651 * LyXAction.C (init):
9652 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9654 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9657 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9659 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9660 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9662 2003-03-07 Angus Leeming <leeming@lyx.org>
9664 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9667 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9669 * ParagraphList.C (front): new function
9672 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9674 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9675 and top_row_offset_. removed var first_y.
9677 * text2.C (LyXText, removeRow):
9679 * BufferView_pimpl.C:
9680 use these methods instead of using first_y
9682 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9684 * text2.C (pasteSelection): adjust for checkPastePossible
9686 * CutAndPaste.C: remove Paragraph * buf and replace with
9687 ParagraphList paragraphs.
9688 (DeleteBuffer): delete
9689 (cutSelection): change the tc type to textclass_type
9690 (copySelection): change the tc type to textclass_type
9691 (copySelection): adjust for ParagraphList
9692 (pasteSelection): change the tc type to textclass_type
9693 (pasteSelection): adjust for Paragraphlist
9694 (nrOfParagraphs): simplify for ParagraphList
9695 (checkPastePossible): simplify for ParagraphList
9696 (checkPastePossible): remove unused arg
9698 * ParagraphList.C (insert): handle the case where there are no
9701 * CutAndPaste.h: make CutAndPaste a namespace.
9703 * text3.C (dispatch): adjust
9705 * text.C (breakParagraph): add a ParagraphList as arg
9707 * paragraph_funcs.C (breakParagraph): change to take a
9708 BufferParams and a ParagraphList as args.
9709 (breakParagraphConservative): ditto
9710 (mergeParagraph): ditto
9711 (TeXDeeper): add a ParagraphList arg
9712 (TeXEnvironment): ditto
9715 * buffer.C (readLyXformat2): adjust
9716 (insertStringAsLines): adjust
9717 (latexParagraphs): adjust
9719 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9720 (cutSelection): adjust
9721 (pasteSelection): adjust
9723 * BufferView_pimpl.C (insertInset): adjust
9725 2003-03-05 Angus Leeming <leeming@lyx.org>
9728 * LyXAction.C (init):
9729 * BufferView_pimpl.C (dispatch):
9730 * lyxfunc.C (getStatus):
9731 remove LFUN_CHILD_INSERT.
9733 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9735 2003-03-05 Angus Leeming <leeming@lyx.org>
9738 * LyXAction.C (init):
9739 * src/factory.C (createInset):
9740 * lyxfunc.C (getStatus):
9741 * text3.C (dispatch):
9742 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9744 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9746 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9748 * ParagraphList.C (insert): handle insert right before end()
9749 (erase): fix cases where it can be first or last paragraph.
9751 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9753 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9754 Paragraph::next and Paragraph::previous
9757 * text.C (breakParagraph): adjust
9759 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9760 BufferParams& as arg.
9761 (breakParagraph): use ParagraphList::insert
9762 (breakParagraphConservative): take a Buffer* instead of a
9763 BufferParams& as arg.
9764 (breakParagraphConservative): use ParagraphList::insert.
9766 * buffer.C (insertStringAsLines): un-const it
9767 (insertStringAsLines): adjust
9769 * ParagraphList.C (insert): new function
9771 * CutAndPaste.C (pasteSelection): adjust
9773 * text.C (backspace): adjust
9775 * tabular.C (SetMultiColumn): adjust
9777 * CutAndPaste.C (cutSelection): adjust
9778 (pasteSelection): adjust
9780 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9781 Buffer const * as arg
9783 * ParagraphList.C (erase): new function
9784 * paragraph_funcs.C (mergeParagraph): use it
9785 (mergeParagraph): make it take a Buffer* instead of a
9786 BufferParams* as arg
9788 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9790 (breakParagraphConservative): ditto
9792 * paragraph.h: remove the breakParagraph friend
9794 * paragraph.C (eraseIntern): new function
9795 (setChange): new function
9797 * paragraph_funcs.C (mergeParagraph): make it take a
9798 ParagraphList::iterator instead of a Paragraph *, adjust
9801 * paragraph.h: move an #endif so that the change tracking stuff
9802 also works in the NO_NEXT case.
9804 2003-03-04 Angus Leeming <leeming@lyx.org>
9807 * LyXAction.C: new LFUN_INSET_MODIFY.
9809 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9810 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9812 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9814 * several files: ws changes only
9816 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9817 (TeXEnvironment): ditto
9820 * buffer.C (makeLaTeXFile): adjust
9821 (latexParagraphs): make it take ParagraphList::iterator as args
9823 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9825 * buffer.C (latexParagraphs): adjust
9827 * paragraph.C (TeXOnePar): move function...
9828 (optArgInset): move function...
9829 (TeXEnvironment): move function...
9830 * paragraph_pimpl.C (TeXDeeper): move function...
9831 * paragraph_funcs.C: ...here
9833 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9835 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9837 * buffer.C (readInset): remove compability code for old Figure and
9840 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9842 * buffer.C: ws changes
9845 * BufferView_pimpl.C: ditto
9848 * bufferlist.h: ditto
9852 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9854 * converter.[Ch]: split into itself +
9857 * Makefile.am: += graph.[Ch] + format.[Ch]
9864 * lyxrc.C: added #include "format.h"
9866 2003-02-27 Angus Leeming <leeming@lyx.org>
9868 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9871 * factory.C (createInset): add "label" to the factory.
9873 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9874 string and do no more.
9876 2003-02-27 Angus Leeming <leeming@lyx.org>
9879 * LyXAction.C (init):
9880 * factory.C (createInset):
9881 * BufferView_pimpl.C (dispatch):
9882 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9884 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9886 * lyxfunc.C (dispatch):
9887 * text3.C (dispatch): pass name to params2string.
9889 2003-02-26 Angus Leeming <leeming@lyx.org>
9891 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9893 Rearrange the ~includes. Strip out the unnecessary ones.
9895 * factory.C (createInset): reformat.
9896 create new insets for the various LFUN_XYZ_APPLY lfuns.
9898 2003-02-26 John Levon <levon@movementarian.org>
9901 * lyxrow.C: add isParStart,isParEnd helpers
9903 * paragraph.h: make isInserted/DeletedText take refs
9905 * paragraph_funcs.h:
9906 * paragraph_funcs.C: remove #if 0'd code
9911 * text.C: use lyxrow helpers above.
9912 Move draw and paint routines to RowPainter.
9913 Make several methods use refs not pointers.
9914 Make backgroundColor() const.
9915 Add markChangeInDraw(), isInInset().
9916 Merge changeRegionCase into changeCase.
9917 Make workWidth() shouldn't-happen code into an Assert.
9920 * rowpainter.C: new class for painting a row.
9923 * vspace.C: make inPixels take a ref
9925 2003-02-26 Angus Leeming <leeming@lyx.org>
9927 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9930 2003-02-25 John Levon <levon@movementarian.org>
9932 * ispell.C: give the forked command a more accurate name
9934 2003-02-22 John Levon <levon@movementarian.org>
9937 * toc.C: make TocItem store an id not a Paragraph *
9940 2003-02-21 Angus Leeming <leeming@lyx.org>
9942 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9943 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9944 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9945 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9946 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9947 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9949 * BufferView_pimpl.C (dispatch):
9950 * LyXAction.C (init):
9951 * factory.C (createInset):
9952 * lyxfunc.C (getStatus, dispatch):
9953 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9955 2003-02-21 Angus Leeming <leeming@lyx.org>
9957 * BufferView_pimpl.C (MenuInsertLyXFile):
9958 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9959 * lyxfunc.C (menuNew, open, doImport):
9960 no longer pass a LyXView & to fileDlg.
9962 2003-02-21 Angus Leeming <leeming@lyx.org>
9964 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9965 * LyXAction.C: change, BIBKEY to BIBITEM.
9966 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9967 Change InsetBibKey to InsetBibitem.
9968 Change BIBKEY_CODE to BIBITEM_CODE.
9969 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9970 * factory.C: replace insetbib.h with insetbibitem.h.
9971 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9972 * paragraph.C: replace insetbib.h with insetbibitem.h.
9973 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9974 Change bibkey() to bibitem().
9975 * text.C: remove insetbib.h.
9976 * text2.C: replace insetbib.h with insetbibitem.h.
9977 change bibkey() to bibitem().
9978 * text3.C: remove insetbib.h.
9979 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9981 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9983 * lyxrc.C (output): enclose user email in quotes (in case there are
9986 2003-02-18 John Levon <levon@movementarian.org>
9988 * buffer.h: add std::
9990 2003-02-17 John Levon <levon@movementarian.org>
9996 * pspell.C: reworking. Especially in ispell, a large
9997 number of clean ups and bug fixes.
9999 * lyxfunc.C: fix revert to behave sensibly
10001 2003-02-17 André Pönitz <poenitz@gmx.net>
10004 * commandtags.h: new LFUN_INSERT_BIBKEY
10014 * paragraph_func.C: remove special bibkey handling
10016 2003-02-17 John Levon <levon@movementarian.org>
10018 * text.C (Delete): fix case where delete at the end of
10019 the very first paragraph would not merge the pars
10021 2003-02-17 John Levon <levon@movementarian.org>
10023 * lyxrow.C: fix lastPrintablePos()
10025 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10027 * bufferparams.C (writeLaTeX): add a std:here
10029 * buffer.C: and remove a using directive there
10031 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10033 * buffer.C (makeLaTeXFile): move the code that generates the
10036 * bufferparams.C (writeLaTeX): ... in this new method
10038 * LaTeXFeatures.C (getEncodingSet): make const
10039 (getLanguages): make const
10041 * MenuBackend.C (binding): returns the binding associated to this
10043 (add): sets the status of each item by calling getStatus. Adds
10045 (read): add support for OptSubMenu
10046 (expand): remove extra separator at the end of expanded menu
10048 2003-02-15 John Levon <levon@movementarian.org>
10051 * BufferView_pimpl.C:
10053 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10054 inset code that had no actual effect. Remove unneeded status
10057 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10059 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10062 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10064 * text.C (drawLengthMarker): also draw an arrow marker for
10065 symbolic lengths (medskip...)
10067 2003-02-14 John Levon <levon@movementarian.org>
10070 * tabular.C: better method names
10072 2003-02-14 John Levon <levon@movementarian.org>
10074 * BufferView_pimpl.C:
10079 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10080 it's a more accurate name. Remove some pointless uses.
10082 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10084 * text2.C (LyXText): change order of initilizers to shut off
10087 2003-02-14 John Levon <levon@movementarian.org>
10089 * buffer.C: use ParIterator for getParFromID()
10093 * paragraph_pimpl.h:
10094 * paragraph_pimpl.C: remove unused getParFromID()
10096 2003-02-14 John Levon <levon@movementarian.org>
10098 * buffer.C: remove some very old #if 0'd parse code
10100 2003-02-13 John Levon <levon@movementarian.org>
10104 * text2.C: move hfillExpansion(), numberOfSeparators(),
10105 rowLast(), rowLastPrintable(), numberofHfills(),
10106 numberOfLabelHfills() ...
10109 * lyxrow.C: ... to member functions here.
10114 * text.C: remove LyXText::beginningOfMainBody(), and call
10115 p->beginningOfMainBody() directly. Move the check for
10116 LABEL_MANUAL into the latter.
10123 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10129 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10130 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10132 2003-02-13 John Levon <levon@movementarian.org>
10134 * CutAndPaste.C: remove debug
10136 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10138 * paragraph.C (asString): remove two unused variables
10140 * lyxtextclass.C (readTitleType):
10142 (LyXTextClass): handle new members titletype_ and titlename_
10144 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10146 2003-02-09 John Levon <levon@movementarian.org>
10149 * buffer.C: replace hand-coded list with a map for the dep clean
10151 2003-02-08 John Levon <levon@movementarian.org>
10153 * LaTeX.C: consolidate code into showRunMessage() helper
10155 2003-02-08 John Levon <levon@movementarian.org>
10160 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10161 and pass the size in explicitly
10163 * BufferView_pimpl.h:
10164 * BufferView_pimpl.C:
10166 * BufferView.C: add getCurrentChange()
10168 * BufferView_pimpl.h:
10169 * BufferView_pimpl.C: handle change lfuns
10171 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10172 for changes. Mark pasted paragraphs as new.
10174 * support/lyxtime.h:
10175 * support/lyxtime.C:
10176 * DepTable.C: abstract time_t as lyx::time_type
10179 * LColor.C: add colours for new text, deleted text, changebars
10181 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10182 package use "usenames" option.
10186 * LyXAction.C: add change lfuns
10190 * author.C: author handling
10193 * buffer.C: add a per-buffer author list, with first entry as
10194 current author. Handle new .lyx tokens for change tracking. Output
10195 author list to .lyx file. Output dvipost stuff to .tex preamble.
10196 Bump lyx format to 222.
10199 * bufferlist.C: add setCurrentAuthor() to reset current author details
10203 * bufferparams.C: add param for tracking
10205 * bufferview_funcs.C: output change info in minibuffer
10209 * changes.C: add change-tracking structure
10212 * debug.C: add CHANGES debug flag
10215 * lyxfind.C: add code for finding the next change piece
10218 * lyxrc.C: add user_name and user_email
10221 * lyxrow.C: add a metric for the top of the text line
10224 * text.C: implement accept/rejectChange()
10227 * text.C: paint changebars. Paint new/deleted text in the chosen
10228 colours. Strike through deleted text.
10232 * paragraph_pimpl.h:
10233 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10234 in the current change to the insert functions. Rework erase to
10235 mark text as deleted, adding an eraseIntern() and a range-based
10236 erase(). Implement per-paragraph change lookup and
10239 * paragraph_funcs.C: Fixup paste for change tracking.
10241 * tabular.C: mark added row/columns as new.
10243 * text.C: fix rowLast() to never return -1. Don't allow
10244 spellchecking of deleted text. Track transpose changes. Don't
10245 allow paragraph break or merge where appropriate.
10247 * text2.C: leave cursor at end of selection after a cut.
10249 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10251 * text.C (getLengthMarkerHeight):
10252 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10253 visible on screen too.
10255 2003-02-07 John Levon <levon@movementarian.org>
10257 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10259 2003-02-05 Angus Leeming <leeming@lyx.org>
10261 * lyxserver.C (read_ready): revert my patch of 11 September last year
10262 as it sends PC cpu through the roof. Presumably this means that
10263 the lyxserver will no longer run on an Alpha...
10265 2003-01-30 Angus Leeming <leeming@lyx.org>
10267 * factory.C (createInset): create an InsetCommandParam of type "index"
10268 and use it to 'do the right thing'.
10270 * text2.C (getStringToIndex): ensure that cursor position is always
10271 reset to the reset_cursor position.
10273 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10275 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10278 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10282 * lyxfunc.C: Output messages with identical spelling, punctuation,
10285 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10287 * MenuBackend.C (expandFormats): List only viewable export formats
10290 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10293 * lyxfunc.C (getStatus): Make sure that formats other than
10294 "fax" can also be disabled
10296 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10298 * text3.C (dispatch): put the lfuns that insert insets in 3
10299 groups, and call doInsertInset with appropriate arguments.
10300 (doInsertInset): new function, that creates an inset and inserts
10301 it according to some boolean parameters.
10303 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10305 * buffer.C (readFile): remember to pass on 'par' when calling
10306 readFile recursively.
10308 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10310 * MenuBackend.C (expandFormats): add "..." to import formats.
10312 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10314 * paragraph.C (asString): Remove XForms RTL hacks.
10316 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10317 * buffer.C: fix typo
10319 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10321 * Makefile.am (LIBS): delete var
10322 (lyx_LDADD): add @LIBS@ here instead.
10324 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10326 * Clarify the meaning of "wheel mouse jump"
10328 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10330 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10333 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10335 * importer.C (Loaders): do not preallocate 3 elements in the
10336 vector, since one ends up with 6 elements otherwise
10338 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10340 * DepTable.C (write): write the file name as last element of the
10341 .dep file (because it may contain spaces)
10342 (read): read info in the right order
10344 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10346 * paragraph_pimpl.C (simpleTeXBlanks):
10347 (simpleTeXSpecialChars):
10348 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10350 * tabular.C (latex): add some missing case statements. Reindent.
10352 * MenuBackend.C (expandToc): remove unused variable.
10354 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10363 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10366 2003-01-05 John Levon <levon@movementarian.org>
10369 * BufferView.C: add getEncoding()
10372 * kbsequence.C: do not store last keypress
10375 * lyxfunc.C: store last keypress here instead. Pass encoding
10378 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10380 * lyx_main.C (init): remove annoying error message when following
10381 symbolic links (bug #780)
10383 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10385 * text.C (insertChar):
10386 * lyxrc.C (getDescription): remove extra spaces
10388 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10390 * lyxrc.C (getDescription): remove extra spaces
10392 2002-12-20 John Levon <levon@movementarian.org>
10394 * text3.C: hack fix for page up/down across tall rows
10396 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10398 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10401 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10403 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10404 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10405 thesaurus is not compiled in
10407 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10409 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10411 2002-12-16 Angus Leeming <leeming@lyx.org>
10414 * lyx_main.C (init): remove override_x_deadkeys stuff.
10416 2002-12-12 John Levon <levon@movementarian.org>
10418 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10419 insert. Only remove shift modifier under strict
10422 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10424 * MenuBackend.C (expandToc): fix crash.
10426 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10428 * MenuBackend.C (expandToc): gettext on float names.
10430 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10432 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10433 implement bool empty() [bug 490]
10435 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10437 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10439 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10441 * several files: ws changes
10443 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10445 * text2.C (setCounter): clean up a bit, use boost.format.
10446 (updateCounters): initialize par upon declaration.
10448 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10449 if the layout exists. We do not just store the layout any more.
10450 (SwitchLayoutsBetweenClasses): use boost.format
10452 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10454 * converter.C (convert): if from and to files are the same, use a
10455 temporary files as intermediary
10457 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10460 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10462 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10464 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10466 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10468 * tabular.C (asciiPrintCell): use string(size, char) instead of
10471 * sgml.C (openTag): fix order of arguments to string constructor
10474 * lyxfunc.C (dispatch): use boost.format
10476 * lots of files: change "c" -> 'c'
10478 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10480 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10482 2002-11-25 Angus Leeming <leeming@lyx.org>
10484 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10486 * lyx_main.C (init): compile fix.
10488 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10490 * lyx_cb.C (start): boost.formatify
10491 do not include <iostream>
10493 * lengthcommon.C: ws only
10495 * boost-inst.C,BoostFormat.h: add more explict instantations
10497 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10499 * lots of files: handle USE_BOOST_FORMAT
10501 2002-11-21 John Levon <levon@movementarian.org>
10503 * pspell.C: fix compile
10505 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10507 * lyxfunc.C (dispatch): use boost::format
10511 * lyxfont.C (stateText): use boost::format
10513 * lyx_main.C (LyX): use boost::format
10515 (queryUserLyXDir): ditto
10516 (readRcFile): ditto
10518 (typedef boost::function): use the recommened syntax.
10520 * importer.C (Import): use boost::format
10522 * debug.C (showLevel): use boost::format
10524 * converter.C (view): use boost::format
10529 * bufferview_funcs.C (currentState): use boost::format
10531 * bufferlist.C (emergencyWrite): use boost::format
10533 * buffer.C (readLyXformat2): use boost::format
10534 (parseSingleLyXformat2Token): ditto
10536 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10538 * LaTeX.C (run): use boost::format
10540 * Chktex.C (scanLogFile): use boost::format
10542 * BufferView_pimpl.C (savePosition): use boost::format
10543 (restorePosition): ditto
10544 (MenuInsertLyXFile): ditto
10546 * BoostFormat.h: help file for explicit instation.
10548 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10550 * tabular.C (latex): Support for block alignment in fixed width
10553 2002-11-17 John Levon <levon@movementarian.org>
10555 * BufferView_pimpl.C:
10557 * lyxfunc.C: split filedialog into open/save
10559 2002-11-08 Juergen Vigna <jug@sad.it>
10561 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10562 by my last patch (hopefully).
10564 2002-11-08 John Levon <levon@movementarian.org>
10573 * toc.C: ParConstIterator, and use it (from Lars)
10575 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10577 * lyxtextclass.[Ch]: revise and add doxygen comments
10579 2002-11-07 John Levon <levon@movementarian.org>
10581 * text.C: fix progress value for spellchecker
10583 * toc.C: fix navigate menu for insetwrap inside minipage
10585 * paragraph_funcs.C: added FIXME for suspect code
10587 2002-11-07 John Levon <levon@movementarian.org>
10589 * BufferView_pimpl.C: fix redrawing of insets
10592 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10594 * text2.C (updateCounters): fix bug 668
10596 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10598 * text3.C (dispatch): Do not make the buffer dirty when moving the
10601 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10603 * vc-backend.C: STRCONV
10604 (scanMaster): ditto
10606 * text2.C (setCounter): STRCONV
10608 * paragraph.C (asString): STRCONV
10610 * lyxlength.C (asString): STRCONV
10611 (asLatexString): ditto
10613 * lyxgluelength.C (asString): STRCONV
10614 (asLatexString): ditto
10616 * lyxfunc.C (dispatch): STRCONV
10619 * lyxfont.C (stateText): STRCONV
10621 * importer.C (Import): STRCONV
10623 * counters.C (labelItem): STRCONV
10624 (numberLabel): ditto
10625 (numberLabel): remove unused ostringstream o
10630 * bufferview_funcs.C (currentState): STRCONV
10632 * buffer.C (readFile): STRCONV
10633 (asciiParagraph): ditto
10634 (makeLaTeXFile): ditto
10636 * Spacing.C (writeEnvirBegin): STRCONV
10638 * LaTeXFeatures.C (getLanguages): STRCONV
10639 (getPackages): ditto
10641 (getBabelOptions): ditto
10642 (getTClassPreamble): ditto
10643 (getLyXSGMLEntities): ditto
10644 (getIncludedFiles): ditto
10648 (scanAuxFile): ditto
10651 * LString.h: add the STRCONV macros
10653 * BufferView_pimpl.C (savePosition): STRCONV
10654 (restorePosition): ditto
10655 (MenuInsertLyXFile): ditto
10657 * vc-backend.C (scanMaster): change from submatch[...] to
10660 * funcrequest.C: include config.h
10662 * factory.C: include config.h
10664 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10666 * box.C: include config.h
10668 * LaTeX.C (scanAuxFile): change from submatch[...] to
10672 2002-10-25 Angus Leeming <leeming@lyx.org>
10674 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10676 * ispell.[Ch] (setError): new method.
10677 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10678 Use setError() insetead of goto END.
10680 * lyx_cb.C (AutoSave): move out child process into new class
10683 2002-10-30 John Levon <levon@movementarian.org>
10685 * text3.C: make start appendix undoable
10687 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10689 * lyxlength.C (inPixels): Fix returned value.
10691 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10694 2002-10-24 Angus Leeming <leeming@lyx.org>
10696 * lyxgluelength.h: no need to forward declare BufferParams
10697 or BufferView, so don't.
10699 2002-10-21 John Levon <levon@movementarian.org>
10701 * BufferView.C: menuUndo ->undo, redo
10703 * BufferView.h: document, remove dead, make some methods private
10705 * paragraph_funcs.h:
10706 * paragraph_funcs.C:
10707 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10712 * sgml.C: move sgml open/close tag into sgml.C
10714 * bufferview_funcs.h: unused prototype
10717 * lyxfunc.C: remove unused
10720 * text.C: remove unused
10722 2002-10-21 John Levon <levon@movementarian.org>
10726 * BufferView_pimpl.h:
10727 * BufferView_pimpl.C: fix mouse wheel handling based on
10728 patch from Darren Freeman
10730 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10732 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10734 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10736 * lyxlength.C (inPixels): Fix hanfling of negative length.
10737 Fix LyXLength::MU case.
10739 2002-10-16 John Levon <levon@movementarian.org>
10741 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10743 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10745 * converter.C (view): add support for $$i (file name) and $$p
10746 (file path) for the viewer command. If $$i is not specified, then
10747 it is appended to the command (for compatibility with old syntax)
10749 2002-10-14 Juergen Vigna <jug@sad.it>
10751 * undo_funcs.C (textHandleUndo): alter the order in which the
10752 new undopar is added to the LyXText, as we have to set first
10753 the right prev/next and then add it as otherwise the rebuild of
10754 LyXText is not correct. Also reset the cursor to the right paragraph,
10755 with this IMO we could remove the hack in "redoParagraphs()".
10757 2002-10-09 Angus Leeming <leeming@lyx.org>
10759 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10760 to turn off an optimisation if a new inset is to be inserted.
10762 2002-10-11 André Pönitz <poenitz@gmx.net>
10764 * lyxtext.h: make some functions public to allow access
10765 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10767 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10769 * text3.C (dispatch): when changing layout, avoid an infinite loop
10772 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10774 * lyxrc.C (read): treat a viewer or converter command of "none" as
10777 * MenuBackend.C (expandFormats): for an update, also allow the
10778 formats that are not viewable
10780 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10781 script if it is newer than the lyxrc.defaults in user directory
10783 2002-10-07 André Pönitz <poenitz@gmx.net>
10785 * text.C: Vitaly Lipatov's small i18n fix
10787 2002-09-25 Angus Leeming <leeming@lyx.org>
10789 * ispell.h: doxygen fix.
10791 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10793 * buffer.h (readFile): Add a new argument to the method, to allow
10794 reading of old-format templates.
10796 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10798 * toc.C (getTocList): Get TOC from InsetWrap.
10800 2002-09-16 John Levon <levon@movementarian.org>
10802 * lyxfunc.C: check tabular for cut/copy too
10804 2002-09-12 John Levon <levon@movementarian.org>
10806 * LyXAction.C: tidy
10809 * factory.C: add header
10811 * paragraph_funcs.h:
10812 * paragraph_funcs.C: cleanup
10814 2002-09-11 John Levon <levon@movementarian.org>
10816 * PrinterParams.h: odd/even default to true
10818 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10820 * PrinterParams.h: update printer parameters for new xforms dialog
10822 2002-09-11 Angus Leeming <leeming@lyx.org>
10824 * lyxserver.C (read_ready): re-write to make it more transparent
10825 and to make it work in coherent fashion under Tru64 Unix.
10827 2002-09-11 André Pönitz <poenitz@gmx.net>
10831 * text3.C: implement LFUN_WORDSEL
10833 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10835 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10836 make floatlist_ a boost::shared_ptr<FloatList>
10838 * lyxtextclass.C: include FloatList.h
10839 (LyXTextClass): initialize floatlist_
10840 (TextClassTags): add TC_NOFLOAT
10841 (Read): match "nofloat" to TC_NOFLOAT and use it.
10842 (readFloat): modify call to floatlist_
10846 * FloatList.[Ch] (FloatList): remove commented out float
10848 (erase): new function
10850 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10852 * MenuBackend.C (expandToc): fix crash when there is no document
10855 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10857 * many files: Add insetwrap.
10859 2002-09-09 John Levon <levon@movementarian.org>
10861 * text2.C: remove confusing and awkward depth wraparound
10863 2002-09-09 John Levon <levon@movementarian.org>
10865 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10868 * buffer.C: remove getIncludeonlyList()
10871 * lyxfunc.C: remove headers
10873 2002-09-09 Juergen Vigna <jug@sad.it>
10875 * text.C (getColumnNearX): fix form Michael this is most
10876 probably a cut&paste bug.
10878 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10880 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10882 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10883 references, ws changes.
10885 * text2.C (init): update counters after init
10886 (insertParagraph): no need to set counter on idividual paragraphs.
10887 (setCounter): access the counters object in the textclass object
10888 on in the buffer object.
10889 (updateCounters): ditto
10891 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10892 shared_ptr<Counters> to avoid loading counters.h in all
10894 (LyXTextClass): initialize ctrs_
10895 (TextClassTags): add TC_COUNTER, and ...
10896 (Read): use it here.
10897 (CounterTags): new tags
10898 (readCounter): new function
10899 (counters): new funtion
10900 (defaultLayoutName): return a const reference
10902 * counters.C (Counters): remove contructor
10903 (newCounter): remove a couple of unneeded statements.
10904 (newCounter): simplify a bit.
10905 (numberLabel): some small formatting changes.
10907 * buffer.[Ch]: remove all traces of counters, move the Counters
10908 object to the LyXTextClass.
10910 2002-09-06 Alain Castera <castera@in2p3.fr>
10912 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10913 package to set the horizontal alignment on fixed width columns.
10916 * lyx_sty.h: added tabularnewline macro def.
10918 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10920 2002-09-06 John Levon <levon@movementarian.org>
10922 * LyXAction.C: tooltips for sub/superscript
10924 * MenuBackend.C: a bit more verbose
10926 * lyxfunc.C: tiny clean
10928 * undo_funcs.C: document undo_frozen
10930 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10932 * counters.C (Counters): add missing algorithm counter.
10934 * text2.C (setCounter): lookup the counter with layouts latexname
10935 instead of by section number.
10936 (setCounter): use a hackish way to lookup the correct enum
10938 a float name->type change
10939 reset enum couners with counter name directly instead of depth value.
10941 * counters.C (Counters): remove the push_backs, change to use the
10942 float type not the float name.
10943 (labelItem): remove unused string, float name->type change
10945 * counters.h: don't include vector, loose the enums and sects vectors
10947 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10949 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10950 (Read): add float->TC_FLOAT to textclassTags
10951 (Read): and handle it in the switch
10952 (readFloat): new function
10954 * FloatList.C (FloatList): comment out the hardcoded float
10957 * lyxlayout.h: ws change.
10959 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10961 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10963 2002-09-03 Angus Leeming <leeming@lyx.org>
10965 * BufferView_pimpl.h: qualified name is not allowed in member
10966 declaration: WorkArea & Pimpl::workarea() const;
10968 * factory.C: added using std::endl directive.
10970 * text3.C: added using std::find and std::vector directives.
10972 2002-08-29 André Pönitz <poenitz@gmx.net>
10975 * text2.C: remove unused member number_of_rows
10978 * BufferView2.C: remove file, move contents to...
10979 * BufferView.C: ... here
10981 * BufferView_pimpl.C:
10982 * factory.C: move more inset creation to factory
10984 * vspace.C: avoid direct usage of LyXText, ws changes
10987 don't provide direct access to WorkArea, use two simple
10988 acessors haveSelction() and workHeight() instead
10991 2002-08-29 John Levon <levon@movementarian.org>
10993 * BufferView_pimpl.C (dispatch): do not continue when
10996 2002-08-28 André Pönitz <poenitz@gmx.net>
10998 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11001 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11003 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
11005 * buffer.C: increment LYX_FORMAT to 221
11007 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11008 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11010 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11012 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11014 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11016 * factory.C (createInset): use LyXTextClass::floats
11018 * MenuBackend.C (expandFloatListInsert):
11019 (expandFloatInsert):
11022 * text2.C (setCounter):
11024 * LaTeXFeatures.C (useFloat):
11025 (getFloatDefinitions):
11027 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11029 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11030 floatlist_, with accessor floats().
11032 * FloatList.h: remove global FloatList
11034 2002-08-26 André Pönitz <poenitz@gmx.net>
11036 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11040 * BufferView_pimpl.C:
11041 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11043 2002-08-25 John Levon <levon@movementarian.org>
11045 * LyXAction.C: fix margin note description
11047 2002-08-24 John Levon <levon@movementarian.org>
11051 * bufferview_funcs.C:
11053 * undo_funcs.C: cleanups
11055 * lyxfunc.C: disable CUT/COPY when no selection
11057 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11059 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11060 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11062 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11063 Add backward compatibility to "mono", "gray" and "no".
11065 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11067 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11068 (and file_format >= 200).
11070 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11072 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11074 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11076 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11078 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11080 * BufferView_pimpl.C:
11087 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11088 inset and code to make it work with the paragraph code. The inset
11089 can be anywhere in the paragraph, but will only do the expected
11090 thing in LaTeX if the layout file contains the parameter line
11092 (or more generally, a nonzero value) for that layout.
11094 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11096 * paragraph.h: remove the declaration of undefined counters class
11099 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11101 * text2.C (setCounter): fixed enumeration mis-count as reported by
11102 Dr. Richard Hawkins.
11104 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11106 * paragraph_funcs.h: remove some unneeded includes
11108 * text.C (backspace): pasteParagraph now in global scipe
11110 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11111 (pasteSelection): ditto
11113 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11114 * paragraph_funcs.C (pasteParagraph): ... here
11116 2002-08-20 André Pönitz <poenitz@gmx.net>
11118 * commandtags.h: new LFUNs for swapping/copying table row/colums
11121 * lyxfunc.C: support for new lfuns
11123 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11126 * buffer.[Ch]: remove NO_COMPABILITY stuff
11128 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11130 * boost.C (throw_exception): new file, with helper function for
11131 boost compiled without exceptions.
11136 * ParameterStruct.h:
11137 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11139 * bufferlist.C (emergencyWriteAll): use boost bind
11141 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11143 * text.C: include paragraph_funcs.h
11144 (breakParagraph): breakParagraph is now in global scope
11146 * paragraph_funcs.[Ch]: new files
11148 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11151 * buffer.C: include paragraph_funcs.h
11152 (insertStringAsLines): breakParagraph is now in global scope
11154 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11157 * CutAndPaste.C: include paragraph_funcs.h
11158 (cutSelection): breakParagraphConservative is now in global scope
11159 (pasteSelection): ditto
11161 * buffer.h: declare oprator== and operator!= for
11162 Buffer::inset_iterator
11164 * bufferlist.C (emergencyWrite): don't use fmt(...)
11166 * text3.C: add using std::endl
11168 * BufferView.C (moveCursorUpdate): remove default arg
11170 2002-08-20 André Pönitz <poenitz@gmx.net>
11172 * buffer.[Ch]: move inline functions to .C
11175 * BufferView_pimpl.C:
11177 * buffer.[Ch]: use improved inset_iterator
11180 * paragraph.[Ch]: write one paragraph at a time
11182 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11184 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11185 style if style is not specified.
11187 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11189 * text2.C (setCounter): when searching for right label for a
11190 caption, make sure to recurse to parent insets (so that a caption
11191 in a minipage in a figure float works) (bug #568)
11193 2002-08-20 André Pönitz <poenitz@gmx.net>
11195 * text3.C: new file for LyXText::dispatch() and helpers
11197 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11199 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11201 2002-08-19 André Pönitz <poenitz@gmx.net>
11204 * text.C: new LyXText::dispatch()
11206 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11208 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11210 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11212 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11215 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11217 * Makefile.am: use $(variables) instead of @substitutions@
11219 2002-08-15 André Pönitz <poenitz@gmx.net>
11222 * BufferView_pimpl.C: streamlining mathed <-> outer world
11226 * LyXAction.C: remove unused LFUN_MATH
11228 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11230 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11232 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11234 * paragraph.C (Paragraph): reformat a bit
11235 (cutIntoMinibuffer): use builtin InsetList function instad of
11239 * buffer.C: include boost/bind.hpp, add using std::for_each
11240 (writeFileAscii): use ParagraphList iterators
11241 (validate): use for_each for validate traversal of paragraphs
11242 (getBibkeyList): use ParagraphList iterators
11243 (resizeInsets): use for_each to resizeInsetsLyXText for all
11245 (getParFromID): use ParagraphList iterators
11247 * BufferView2.C (lockInset): use paragraph list and iterators
11249 2002-08-14 John Levon <levon@movementarian.org>
11251 * lyxserver.C: remove spurious xforms include
11253 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11255 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11257 2002-08-13 André Pönitz <poenitz@gmx.net>
11260 * lyxfunc.C: further cleaning
11262 2002-08-13 André Pönitz <poenitz@gmx.net>
11264 * funcrequest.h: new constructor
11266 * funcrequest.C: move stuff here from .h
11269 * BufferView_pimpl.C:
11272 * lyxfunc.C: subsequent changes
11274 * lyxfunc.h: new view() member function
11276 * lyxfunc.C: subsequent changes
11278 2002-08-13 Angus Leeming <leeming@lyx.org>
11281 * BufferView_pimpl.C:
11289 changes due to the changed LyXView interface that now returns references
11290 to member variables not pointers.
11292 2002-08-13 Angus Leeming <leeming@lyx.org>
11294 * WordLangTuple (word, lang_code): return references to strings,
11299 * lyxtext.h: forward-declare WordLangTuple.
11304 * text.C: #include "WordLangTuple.h".
11307 * text.C: (selectNextWordToSpellcheck): constify return type.
11309 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11315 * paragraph_pimpl.h:
11318 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11319 suggested by Angus.
11320 Made updateCounter always count from start of buffer, and removed
11321 second argument (par).
11322 Reverted floats number display to '#'. Perhaps I'll try again when the
11323 code base is sanitized a bit.
11325 2002-08-12 Angus Leeming <leeming@lyx.org>
11327 * buffer.[Ch] (getLabelList): constify.
11329 2002-08-07 André Pönitz <poenitz@gmx.net>
11331 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11333 * funcrequest.h: extension to keep mouse (x,y) position
11335 2002-08-12 Juergen Vigna <jug@sad.it>
11337 * BufferView2.C (insertErrors): forbid undo when inserting error
11340 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11342 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11344 * ParagraphList.[Ch]: new files
11346 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11348 * BufferView2.C (lockInset): ParagraphList changes
11351 * bufferlist.C: ditto
11355 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11357 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11358 unused class variable counter_,
11360 * paragraph.[Ch] (getFirstCounter): delete unused function
11362 * counters.C: include LAssert.h
11363 (reset): add a new function with no arg, change other version to
11364 not have def. arg and to not allow empty arg.
11366 * text2.C (setCounter): remove empty arg from call to Counters::reset
11368 2002-08-11 John Levon <levon@movementarian.org>
11370 * Makefile.am: add WordLangTuple.h
11372 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11374 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11375 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11377 * insets/insettext.C: InsetList changes
11379 * graphics/GraphicsSupport.C (operator()): InsetList changes
11381 * toc.C (getTocList): InsetList changes
11383 * paragraph_pimpl.[Ch]: InsetList changes
11385 * paragraph.[Ch]: InsetList changes
11387 * buffer.C (inset_iterator): InsetList changes
11388 (setParagraph): ditto
11389 * buffer.h (inset_iterator): ditto
11390 * iterators.C (operator++): ditto
11391 * iterators.h: ditto
11393 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11395 * InsetList.[Ch]: new files, most InsetList handling moved out of
11398 * BufferView2.C (removeAutoInsets): InsetList changes
11400 (ChangeInsets): ditto
11402 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11404 * paragraph_pimpl.h (empty): new function
11406 * paragraph.[Ch] (empty): new function
11408 * other files: use the new Paragraph::empty function
11410 2002-08-09 John Levon <levon@movementarian.org>
11412 * lyxtext.h: remove unused refresh_height
11414 2002-08-09 John Levon <levon@movementarian.org>
11421 * paragraph.C: move sgml char escaping out of paragraph
11424 * paragraph.C: remove id setter
11428 * paragraph_pimpl.C: remove dead tex_code_break_column
11430 * bufferview_funcs.C: small cleanup
11432 * lyxfunc.C: remove dead proto
11434 * lyxtext.h: make some stuff private. Remove some dead stuff.
11436 * lyxgluelength.C: make as[LyX]String() readable
11438 2002-08-08 John Levon <levon@movementarian.org>
11443 * ToolbarDefaults.C:
11446 * toc.C: lyxaction cleanup
11448 2002-08-08 John Levon <levon@movementarian.org>
11450 * BufferView2.C: small cleanup
11453 * lyxfind.C: move unnecessary header into the .C
11455 2002-08-08 John Levon <levon@movementarian.org>
11457 * funcrequest.h: just tedious nonsense
11460 * lyx_main.C: cleanups
11463 * vspace.C: remove dead header lyx_main.h
11465 2002-08-07 Angus Leeming <leeming@lyx.org>
11468 * paragraph_pimpl.h:
11469 Forward declare class Counters in paragraph.h by moving the ctrs member
11470 variable into Paragraph::Pimpl.
11471 (counters): new method, returning a reference to pimpl_->ctrs.
11473 * text2.C: ensuing changes.
11475 2002-08-07 John Levon <levon@movementarian.org>
11477 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11479 * BufferView_pimpl.C: announce X selection on double/triple
11482 * lyx_main.C: use correct bool in batch dispatch
11484 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11486 2002-08-07 André Pönitz <poenitz@gmx.net>
11488 * funcrequest.h: new class to wrap a kb_action and its argument
11491 * BufferView_pimpl[Ch]:
11495 * lyxrc.C: subsequent changes
11498 2002-08-07 John Levon <levon@movementarian.org>
11500 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11501 document options change.
11503 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11508 * makefile.am: move counters functionality over from
11509 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11511 2002-08-06 John Levon <levon@movementarian.org>
11513 * WordLangTuple.h: new file for word + language code tuple
11524 * BufferView2.C: use WordLangTuple
11527 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11529 2002-08-06 John Levon <levon@movementarian.org>
11531 * lyx_main.C: fix cmdline batch handling
11533 2002-08-06 André Pönitz <poenitz@gmx.net>
11535 * lyxrc.C: set default for show_banner to true
11537 2002-08-06 John Levon <levon@movementarian.org>
11539 * pspell.C: fix a crash, and allow new aspell to work
11541 2002-08-06 John Levon <levon@movementarian.org>
11544 * kbmap.C: small cleanup
11547 * vspace.C: add const
11549 2002-08-05 John Levon <levon@movementarian.org>
11551 * LyXAction.C: back to tabular-insert
11553 2002-08-04 John Levon <levon@movementarian.org>
11556 * BufferView.C: cosmetic change
11558 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11568 * BufferView2.C: purge all "Lyx" not "LyX" strings
11571 * lyxcursor.C: attempt to add some documentation
11576 * ToolbarDefaults.C:
11577 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11578 merge with LFUN_TABULAR_INSERT
11585 * pspell.C: split up i/pspell implementations into separate
11586 files, many cleanups
11588 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11590 * text2.C: some cleanup
11592 * lyxfunc.C: don't check for isp_command == "none" any more, it
11593 didn't make any sense
11595 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11600 * makefile.am: move counters functionality over
11601 from text2.C/paragraph.[Ch] to counters.[Ch], and
11603 2002-08-02 John Levon <levon@movementarian.org>
11605 * buffer.C: s/lyxconvert/lyx2lyx/
11607 2002-08-02 Angus Leeming <leeming@lyx.org>
11609 * lyxlex.C: revert John's change as it breaks reading of the user
11612 2002-08-02 Angus Leeming <leeming@lyx.org>
11614 * importer.C (Import):
11615 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11616 changes due to LyXView::view() now returning a boost::shared_ptr.
11618 2002-08-02 John Levon <levon@movementarian.org>
11620 * lyxlex.C: small cleanup
11622 2002-08-02 John Levon <levon@movementarian.org>
11624 * text2.C (status): small cleanup, no logic change
11626 2002-08-01 John Levon <levon@movementarian.org>
11629 * buffer.C (writeFile): don't output alerts, caller
11633 * lyx_cb.C: from above
11635 * lyxfunc.C: allow to open non-existent files
11637 2002-07-31 John Levon <levon@movementarian.org>
11639 * lyxserver.C: don't let incidental errors get
11642 2002-07-30 John Levon <levon@movementarian.org>
11644 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11646 2002-07-30 John Levon <levon@movementarian.org>
11649 * lyxserver.C: remove I/O callback too
11651 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11653 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11656 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11658 * many files: strip,frontStrip -> trim,ltrim,rtrim
11660 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11662 * PrinterParams.h: remove extern containsOnly, and include
11663 support/lstrings.h instead.
11665 * LaTeX.C (scanAuxFile): modify because of strip changes
11667 * buffer.C (makeLaTeXFile): ditto
11668 * bufferparams.C (writeFile): ditt
11669 * lyxfont.C (stateText): ditto
11670 * lyxserver.C (read_ready): ditto
11671 * vc-backend.C (scanMaster): ditto
11673 * BufferView_pimpl.h: ws changes
11675 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11677 2002-07-26 André Pönitz <poenitz@gmx.net>
11679 * kb_sequence.C: remove unnedred usings
11681 2002-07-26 Juergen Vigna <jug@sad.it>
11683 * lyxfind.C (LyXReplace): we have to check better if the returned
11684 text is not of theLockingInset()->getLockingInset().
11686 2002-07-25 Juergen Vigna <jug@sad.it>
11688 * lyxfind.C (LyXReplace): don't replace if we don't get the
11691 * undo_funcs.C (createUndo): remove debugging code.
11693 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11695 * buffer.C (parseSingleLyXformat2Token): Use default placement
11696 when reading old floats.
11698 * FloatList.C (FloatList): Change the default placement of figure
11699 and tables to "tbp".
11701 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11703 * MenuBackend.C: using std::max
11705 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11707 * MenuBackend.C (expandToc):
11708 (expandToc2): code moved from xforms menu frontend. It is now
11709 generic and TOCs are transparent to menu frontends.
11711 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11713 * toc.C (getTocList): protect against buf=0
11715 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11716 Menu as first parameter. Now, this calls itself recursively to
11717 expand a whole tree (this will be useful for TOC handling)
11718 (expandFloatInsert): remove 'wide' version of floats
11720 * MenuBackend.h (submenuname): returns the name of the submenu.
11721 (submenu): returns the submenu itself, provided it has been
11722 created by MenuBackend::expand
11724 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11726 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11727 insets which have noFontChange == true. (bug #172)
11729 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11731 * BufferView_pimpl.C: add connection objects and use them...
11734 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11736 * MenuBackend.C (expandLastfiles):
11739 (expandFloatListInsert):
11740 (expandFloatInsert):
11741 (expand): split expand in parts
11743 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11745 * lyx_gui.C: use lyx_gui::exit()
11747 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11749 * LyXAction.C: show the failing pseudo action
11751 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11753 * buffer.C (readFile): Run the lyxconvert script in order to read
11756 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11760 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11762 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11766 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11768 2002-07-22 Herbert Voss <voss@lyx.org>
11771 * lyxlength.[Ch]: add support for the vertical lengths
11773 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11775 * toc.[Ch]: std:: fixes
11777 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11779 * lyxrc.C: do not include lyx_main.h
11781 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11787 * BufferView2.C: include "lyxlex.h"
11790 * bufferparams.h: do not #include "lyxlex.h"
11792 * lyxtextclasslist.C (Add): remove method
11793 (classlist): renamed to classlist_
11795 * paragraph_pimpl.C:
11799 * bufferview_funcs.C:
11804 * toc.C (getTocList): use BufferParams::getLyXTextClass
11806 * toc.C (getTocList): use InsetFloat::addToToc
11808 * toc.[Ch]: new files, containing helper functions to handle table
11811 * lyxfunc.C (dispatch): no need to remove spaces around command
11813 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11814 first command of the sequence; it is not very clever, but I do not
11815 have a better idea, actually
11817 * LyXAction.C (LookupFunc): make sure to remove space at the
11818 beginning and end of the command
11820 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11822 * MenuBackend.C (getMenubar): new method: return the menubar of
11824 (read): treat differently reading of menu and menubar (in
11825 particular, the menubar has no name now)
11826 (Menu::menubar): remove
11828 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11831 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11833 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11834 a bibitem inset in a RTL paragraph.
11836 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11838 * paragraph_pimpl.C: constify
11840 * BufferView_pimpl.C:
11842 * lyxfunc.C: fix dispatch in a nicer way
11844 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11846 * lyxfunc.C (dispatch):
11847 * BufferView_pimpl.C:
11848 * BufferView_pimpl.h:
11850 * BufferView.h: rename Dispatch() to dispatch()
11852 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11854 * lyxlayout.C (Read): honor DependsOn tag
11856 * lyxlayout.[Ch] (depends_on): new method
11858 * version.C.in: update lyx_docversion
11860 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11862 * paragraph.C (validate): remove from here...
11863 * paragraph_pimpl.C (validate): ... and move here
11864 (isTextAt): make it const
11866 * buffer.C (getLists): ws cleanup
11868 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11870 * language.C (read): Use iso8859-1 encoding in latex_lang
11871 (this prevents LyX from crashing when using iso10646-1 encoding).
11873 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11875 * text2.C (toggleInset): if cursor is inside an inset, close the
11876 inset and leave cursor _after_ it
11878 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11880 * lyxfunc.C: move minibuffer completion handling out of here
11882 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11884 * BufferView_pimpl.C:
11885 * LaTeX.C: fix dispatch calls
11887 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11889 * text.C (drawChars): Fix Arabic text rendering.
11891 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11895 * lyxfunc.C: remove message-push/pop
11899 * lyxfunc.C: rationalise some code by removing verboseDispatch
11900 in favour of a bool argument to dispatch()
11902 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11904 * lyx_main.C (init): make sure to read symlinks as absolute paths
11906 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11909 * lyxfunc.C: no need for commandshortcut to be a member
11911 2002-07-15 André Pönitz <poenitz@gmx.net>
11913 * converter.C: add support for $$s (scripts from lib/scripts dir)
11914 * lyx_main.C: white space
11916 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11920 * lyxrc.C: remove second exit confirmation
11922 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11927 * BufferView_pimpl.h:
11928 * BufferView_pimpl.C:
11929 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11931 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11933 * MenuBackend.C (expand): add numeric shortcuts to document menu
11935 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11937 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11939 * lyxfont.C (setLyXFamily):
11946 * buffer.C (asciiParagraph): use ascii_lowercase
11948 2002-07-15 Mike Fabian <mfabian@suse.de>
11950 * lyxlex_pimpl.C (search_kw):
11951 * lyxlex.C (getLongString):
11952 * converter.h (operator<):
11953 * converter.C (operator<):
11954 * buffer.C (parseSingleLyXformat2Token):
11956 * ToolbarDefaults.C (read):
11957 * MenuBackend.C (checkShortcuts):
11959 * LColor.C (getFromGUIName):
11960 (getFromLyXName): use the compare_ascii_no_case instead of
11961 compare_no_case, because in turkish, 'i' is not the lowercase
11962 version of 'I', and thus turkish locale breaks parsing of tags.
11964 2002-07-16 Angus Leeming <leeming@lyx.org>
11966 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11967 now takes a Buffer const & argument.
11969 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11971 * BufferView.C (resize): check there's a buffer to resize
11973 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11975 * lyxfunc.C: remove dead code
11978 * lyxserver.C: use lyx_guii::set_read_callback
11980 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11982 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11983 an inset in a RTL paragraph.
11985 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11987 * lyxfunc.C: repaint after a font size update
11989 2002-07-15 André Pönitz <poenitz@gmx.net>
11991 * lyxlength.C: inBP should be able to return negative values
11993 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11995 * lyxfunc.C: use lyx_gui::update_fonts()
11997 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11999 * lyxfunc.C: use lyx_gui::update_color()
12001 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12007 * lyxrc.C: remove file->new asks for name option, and let
12008 buffer-new take an argument
12010 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12012 * BufferView_pimpl.C: remove unneeded extra repaint()
12014 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
12016 * LyXAction.C: allow command-sequence with NoBuffer
12018 * lyxfunc.C: don't insist on trailing ';' for command-sequence
12020 2002-07-10 Angus Leeming <leeming@lyx.org>
12022 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12024 2002-07-09 Angus Leeming <leeming@lyx.org>
12026 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12028 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12030 * lengthcommon.h: whitespace
12032 * lyxfunc.C: update scrollbar after goto paragraph
12034 * lyxtext.h: factor out page break drawing, and fix it so
12035 page break/added space paints as selected nicely
12037 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12039 * BufferView_pimpl.C: add FIXMEs, clean up a little
12041 2002-07-09 André Pönitz <poenitz@gmx.net>
12043 * lyxfont.[Ch]: support for wasy symbols
12045 2002-07-08 André Pönitz <poenitz@gmx.net>
12047 * BufferView_pimpl.C: apply John's patch for #93.
12049 2002-07-05 Angus Leeming <leeming@lyx.org>
12051 * BufferView_pimpl.C (buffer): generate previews if desired.
12053 * LColor.h: add "preview" to the color enum.
12055 * LColor.C (LColor): add a corresponding entry to the items array.
12057 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12060 2002-07-05 Angus Leeming <leeming@lyx.org>
12062 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12063 The body of the code is now in the method that is passed an ostream &
12064 rather than a file name.
12065 Pass an additional only_preamble parameter, useful for the forthcoming
12068 2002-07-03 André Pönitz <poenitz@gmx.net>
12070 * lyxfunc.C: simplify getStatus() a bit for math stuff
12072 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12074 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12076 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12078 * text.C (changeRegionCase): do not change case of all the
12079 document when region ends at paragraph end (bug #461)
12081 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12083 * paragraph.C (startTeXParParams):
12084 (endTeXParParams): add \protect when necessary
12086 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12088 * BufferView_pimpl.C (workAreaExpose): remove warning
12090 2002-06-27 Angus Leeming <leeming@lyx.org>
12092 * Makefile.am: add lyxlayout_ptr_fwd.h.
12094 2002-06-26 André Pönitz <poenitz@gmx.net>
12096 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12098 2002-06-25 Angus Leeming <leeming@lyx.org>
12100 * lyxfunc.C (dispatch): Comment out the call to
12101 grfx::GCache::changeDisplay. The method no longer exists now that the
12102 pixmap generation part of the graphics loader has been moved into
12105 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12107 * text2.C: layout as layout
12109 * text.C: layout as layout
12111 * tabular.C (OldFormatRead): layout as layout
12113 * paragraph_pimpl.C (TeXDeeper): layout as layout
12114 (realizeFont): layout as layout
12116 * paragraph.C (writeFile): layout as layout
12117 (validate): layout as layout
12118 (getFont): layout as layout
12119 (getLabelFont): layout as layout
12120 (getLayoutFont): layout as layout
12121 (breakParagraph): layout as layout
12122 (stripLeadingSpaces): layout as layout
12123 (getEndLabel): layout as layout
12124 (getMaxDepthAfter): layout as layout
12125 (applyLayout): layout as layout
12126 (TeXOnePar): layout as layout
12127 (simpleTeXOnePar): layout as layout
12128 (TeXEnvironment): layout as layout
12129 (layout): layout as layout
12130 (layout): layout as layout
12132 * lyxtextclass.C (compare_name): new functor to work with
12133 shared_ptr, layout as layout
12134 (Read): layout as layout
12135 (hasLayout): layout as layout
12136 (operator): layout as layout
12137 (delete_layout): layout as layout
12138 (defaultLayout): layout as layout
12140 * lyxlayout_ptr_fwd.h: new file
12142 * lyxlayout.C (Read): layout as layout
12144 * lyx_cb.C (MenuInsertLabel): layout as layout
12146 * bufferlist.C (newFile): layout as layout
12148 * buffer.C (readLyXformat2): layout as layout
12149 (parseSingleLyXformat2Token): layout as layout
12150 (insertStringAsLines): layout as layout
12151 (asciiParagraph): layout as layout
12152 (latexParagraphs): layout as layout
12153 (makeLinuxDocFile): layout as layout
12154 (simpleLinuxDocOnePar): layout as layout
12155 (makeDocBookFile): layout as layout
12156 (simpleDocBookOnePar): layout as layout
12157 (getLists): layout as layout
12159 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12161 * CutAndPaste.C (cutSelection): layout as layout
12162 (pasteSelection): layout as layout
12163 (SwitchLayoutsBetweenClasses): layout as layout
12165 * BufferView_pimpl.C (Dispatch): layout as layout
12166 (smartQuote): layout as layout
12168 * BufferView2.C (unlockInset): layout as layout
12170 2002-06-24 André Pönitz <poenitz@gmx.net>
12172 * lyxfunc.C: fix #487
12174 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12178 * lyxfunc.C: remove display_shortcuts, show_banner
12180 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12182 * Buffer_pimpl.C: oops, update on resize
12184 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12191 * BufferView.C: use repaint()
12193 * BufferView_pimpl.h:
12194 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12195 as it's a clearer description. Remove superfluous
12198 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12200 * text.C: fix bug 488. Not ideal, but getting
12201 getWord() to work properly for the insets that
12202 matter is more difficult ...
12204 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12206 * BufferView_pimpl.C:
12209 * lyxfunc.C: remove the six million index lyxfuncs to just
12210 one, and DTRT (bug 458)
12212 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12216 * BufferView_pimpl.h:
12217 * BufferView_pimpl.C: clean up resize() stuff,
12218 and unnecessary updateScreen()s
12220 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12224 * BufferView_pimpl.h:
12225 * BufferView_pimpl.C:
12228 * minibuffer.C: remove focus management of workarea,
12229 not needed. Use screen's greyOut()
12231 2002-06-17 Herbert Voss <voss@lyx.org>
12233 * converter.C: (convert) do not post a message, when converting
12234 fails, let the calling function decide what to do in this case
12236 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12238 * lyxfunc.C: tidy up a little
12240 2002-06-16 <alstrup@diku.dk>
12242 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12243 Got rid of FORMS_H_LOCATION include. Now we are
12246 2002-06-15 LyX Development team <lyx@rilke>
12248 * buffer.[Ch] (sgmlOpenTag):
12249 (sgmlCloseTag): Added support for avoiding pernicious mixed
12250 content. Return number of lines written.
12252 (makeLinuxDocFile):
12253 (makeDocBookFile): Fixed calls to sgml*Tag.
12254 Simple white space clean.
12256 (simpleDocBookOnePar): Simple white space clean.
12258 * tabular.[Ch] (docBook): Renamed to docbook and got another
12259 argument to related with the pernicious mixed content.
12261 (docbookRow): Fixed calls for docbook inset method.
12263 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12265 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12266 so it's X11 independent.
12270 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12272 2002-06-15 Lyx Development team <lyx@electronia>
12274 * intl.h: Renamed getTrans to getTransManager.
12276 2002-06-14 Angus Leeming <leeming@lyx.org>
12278 * Makefile.am: nuke forgotten stl_string_fwd.h.
12280 2002-06-12 Angus Leeming <leeming@lyx.org>
12282 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12284 2002-06-13 Angus Leeming <leeming@lyx.org>
12287 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12289 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12291 * kbmap.C (getiso): add support for cyrillic and greek
12293 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12297 * BufferView_pimpl.h:
12298 * BufferView_pimpl.C: move bogus scrolling logic
12301 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12304 * BufferView_pimpl.C: view->resize() change
12306 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12308 * BufferView_pimpl.C: topCursorVisible
12311 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12315 * lyx_gui.C: move to frontends/
12319 * lyx_main.C: changes from above
12321 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12328 * lyx_main.C: minor tidy
12330 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12332 * BufferView_pimpl.h:
12333 * BufferView_pimpl.C:
12335 * BufferView.C: make painter() const,
12338 * BufferView2.C: use screen() accessor
12341 * lyx_main.C: some minor cleanup
12343 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12345 * BufferView_pimpl.h:
12346 * BufferView_pimpl.C: remove enter/leaveView,
12349 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12354 * BufferView_pimpl.h:
12355 * BufferView_pimpl.C: only construct screen once,
12358 * lyxrc.C: remove pointless comment
12360 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12363 * BufferView.C: remove active() and belowMouse()
12365 * BufferView_pimpl.h:
12366 * BufferView_pimpl.C: use workarea() not workarea_,
12367 and make it use a scoped_ptr instead
12369 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12371 * lyx_gui.C: add debug message on BadWindow
12373 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12375 * sp_spell.C: fdopen is not part of the C++ standard.
12377 * paragraph.C (InsetIterator): use >= instead of ==
12379 2002-06-07 Angus Leeming <leeming@lyx.org>
12381 Fixes needed to compile with Compaq cxx 6.5.
12382 * BufferView_pimpl.C:
12389 * lyxtextclasslist.C:
12394 all c-library variables have been moved into namespace std. Wrap
12395 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12400 Add a using std::abs declaration.
12402 * kbmap.h (modifier_pair):
12403 * paragraph.h (InsetTable, InsetList):
12404 * lyxfont.h (FontBits):
12405 type definition made public.
12407 * bufferlist.C (emergencyWriteAll): the compiler complains that
12408 there is more than one possible lyx::class_fun template to choose from.
12409 I re-named the void specialisation as lyx::void_class_fun.
12411 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12413 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12414 the compiler is is unable to find tostr in write_attribute.
12416 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12418 * buffer.C (sgmlError): hide #warning
12420 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12422 * xtl/*: get rid of xtl, which is not in use anyway
12424 * LyXAction.C (init):
12425 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12426 were unimplemented xtl experimentation
12428 2002-06-04 André Pönitz <poenitz@gmx.net>
12430 * lyxfunc.C: disable array operation on simple formulae
12432 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12434 * converter.C: constify a bit
12436 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12438 * lyx_gui.C: check xforms version correctly
12440 2002-04-30 Herbert Voss <voss@lyx.org>
12442 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12445 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12447 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12448 attempt to register it with a VCS)
12450 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12452 * lyx_main.C (init): honor variables LYX_DIR_13x and
12455 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12459 * lyx_main.C: fix a crash on bad command line,
12460 and give a useful exit status on error
12462 * lyxfunc.C (doImport): allow -i lyx to work
12464 2002-03-30 André Pönitz <poenitz@gmx.net>
12466 * lyxfunc.C: mathed font changes
12468 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12483 * trans_mgr.h: srcdocs, and some minor cleanups
12485 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12487 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12488 call getFont all the time)
12490 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12492 * switch from SigC signals to boost::signals
12494 2002-05-29 André Pönitz <poenitz@gmx.net>
12496 * paragraph_pimpl.C (getChar): don't call size() too often...
12498 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12500 * paragraph_pimpl.C (insertChar): do not try to update tables when
12501 appending (pos == size())
12503 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12504 in order to reduce drastically the number of comparisons needed to
12505 parse a large document
12507 2002-05-29 André Pönitz <poenitz@gmx.net>
12513 * textclasslist.[Ch]:
12514 * sp_ispell.h: whitespace change
12516 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12518 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12519 lyxaction directly now.
12521 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12525 * lyxvc.C: remove unused headers
12527 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12534 * undo_funcs.C: some cleanups. Use shared_ptr
12535 and a template for the undo stacks.
12537 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12539 * BufferView_pimpl.h:
12540 * BufferView_pimpl.C:
12547 * text2.C: use key_state/mouse_state
12549 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12551 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12554 * chset.C: change include order
12555 (loadFile): use boost regex and get rid of LRegex and LSubstring
12557 * Makefile.am (BOOST_LIBS): new variable
12558 (lyx_LDADD): use it
12560 * LaTeX.C: change include order.
12561 (scanAuxFile): use boost regex and get rid of LRegex and
12565 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12570 * FontInfo.C: moved to frontends/xforms/
12573 * FontLoader.C: moved into frontends for GUIIzation
12578 * lyxfunc.C: changes from above
12580 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12582 * LColor.C: remove spurious X include
12584 * BufferView_pimpl.C:
12589 * text2.C: move font metrics to frontends/
12591 2002-05-24 Juergen Vigna <jug@sad.it>
12593 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12594 setting the undo_cursor.
12596 * ParagraphParameters.h: include local includes first.
12598 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12600 * BufferView_pimpl.C:
12601 * BufferView_pimpl.h:
12605 * screen.C: move WorkArea into frontends/
12611 * BufferView2.C: move LyXScreen into frontends/
12615 * lyx_gui.C: move lyxlookup into frontends/xforms/
12617 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12620 * BufferView_pimpl.C:
12630 * bufferview_funcs.C:
12643 * vc-backend.C: move LyX/XFormsView into frontends/
12645 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12657 * text2.C: move Painter to frontends/
12659 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12661 * buffer.C: comment out some some code that depend upon lyx_format
12664 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12665 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12667 * buffer.h (NO_COMPABILITY): turn off compability
12669 * ColorHandler.C: include scoped_array.hpp
12671 * font.C: Use more specific smart_ptr header.
12674 * ShareContainer.h: ditto
12675 * lyx_main.h: ditto
12677 * FontInfo.h: ditto
12678 * BufferView_pimpl.h: ditto
12679 * ColorHandler.h: ditto
12681 * kbmap.C (defkey): change call to shared_ptr::reset
12683 2002-05-21 Juergen Vigna <jug@sad.it>
12685 * buffer.C (insertErtContents): fix to insert ert asis if it is
12686 non empty. Skip it completely if it contains only whitespaces.
12688 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12690 * BufferView_pimpl.C:
12691 * BufferView2.C: clear selection on paste (bug 393)
12693 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12695 * DepTable.C: include ctime
12697 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12699 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12701 2002-05-14 Juergen Vigna <jug@sad.it>
12703 * text.C (breakParagraph): fixed function to honor the keepempty
12704 layout in the right maner and also to permit the right breaking
12705 algorithm on empty or non empyt keepempty paragraphs.
12707 * paragraph.C (breakParagraph): we have to check also if the par
12708 is really empty (!size()) for isempty otherwise we do the wrong
12711 2002-05-10 Juergen Vigna <jug@sad.it>
12713 * buffer.[Ch] : The following are only changes to the ert
12714 compatibility read reading old LaTeX layout and font stuff and
12715 convert it to ERTInsets.
12717 * buffer.h: added isErtInset().
12719 * buffer.C (struct ErtComp): add a fromlayout bool to check
12720 if we're inside a LaTeX layout.
12721 (isErtInset): new helper function.
12722 (insertErtContents): look for other ert insets before this one
12723 and insert the contents there, so that we don't have subsequent
12724 ERT insets with nothing between them. This way we create only one
12725 inset with multiple paragraphs. Also check if we don't insert only
12726 spaces ' ' as they are ignored anyway afterwards in the .tex file
12727 so if we have only spaces we will ignore this latex part in the
12729 (parseSingleLyXformat2Token \\layout): better compatibility when
12730 reading layout-latex stuff.
12731 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12733 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12734 stuff after reading the inset only get the information back from
12737 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12739 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12741 * LaTeXFeatures.C (getBabelOptions): New method.
12743 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12745 * BufferView_pimpl.C (Dispatch): work around missing argument for
12748 2002-05-08 Juergen Vigna <jug@sad.it>
12750 * text.C (leftMargin): handle paragraph leftindent.
12752 * paragraph.C (writeFile): write the new \\leftindent tag.
12753 (validate): handle leftindent code.
12754 (TeXEnvironment): handle paragraphleftindent code again.
12756 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12758 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12759 for paragrap_extra indent code and new token \\leftindent.
12760 (latexParagraphs): handle the leftindent as environment.
12762 * ParameterStruct.h: added leftindent support.
12764 * ParagraphParameters.C (leftIndent): added support functions for
12765 the paragraph left indent.
12767 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12770 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12772 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12775 * text.C (computeBidiTables): No bidi in insetERT.
12777 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12780 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12782 * version.C.in: pre 5
12784 2002-05-02 José Matos <jamatos@fep.up.pt>
12785 * buffer.C (makeDocBookFile): white space changes, add newline to
12787 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12789 * tabular.C (docBook): fix typo.
12791 2002-05-03 Juergen Vigna <jug@sad.it>
12793 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12794 change in LyXText as we can not be sure it was not freed.
12795 (drawOneRow): remove unused code.
12797 * text.C (drawInset): redo the calculation of the need_break_row as
12798 it could have a row which was already freed.
12799 (draw): look at the return value of drawInset and return false if
12800 it also returned false.
12801 (paintRowText): look at the return value of draw and return false if
12802 it also returned false.
12804 * lyxtext.h: added bool return type to drawInset() and draw() so that
12805 if we have a change in the row so that the rowbreak has to be redone
12806 we abort drawing as it will be called again.
12808 2002-05-02 Juergen Vigna <jug@sad.it>
12810 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12811 a change in the maintext also if we're inside an inset.
12812 (Dispatch): set the cursor again after a break line and after the
12813 screen has been updated as it could be we're in a different row.
12815 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12816 to set the cursor behind the pargraph with > size().
12817 (setCursor): check also for the same paragraph when checking where
12818 to put the cursor if we have a NFR inset.
12820 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12821 parts of layout read further up as it still was in the wrong
12824 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12826 * screen.C (drawFromTo): change sine fullRebreak always return
12829 * buffer.C (parseSingleLyXformat2Token): reindent some
12831 * BufferView_pimpl.C (update): change since fullRebreak always
12833 (Dispatch): git rid of the last hardcoded "Standard"s.
12835 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12837 * text2.[Ch] (fullRebreak): make it return void now that we always
12840 2002-04-30 Juergen Vigna <jug@sad.it>
12842 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12843 ert compatibility check for "latex" layout.
12845 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12847 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12848 minipages: use col% instead of p%, and also use the current font.
12849 (makeLaTeXFile): Fix use babel condition.
12850 (parseSingleLyXformat2Token): Correct font when reading old floats.
12852 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12854 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12855 inserting list of floats.
12857 2002-04-25 Herbert Voss <voss@lyx.org>
12859 * MenuBackend.C (expand): don't add the graphics extensions to the
12862 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12864 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12865 non-existing layout, do not complain if it was the default layout
12866 of the original class (bug #342)
12868 2002-04-24 Juergen Vigna <jug@sad.it>
12870 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12871 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12873 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12875 * buffer.C (getBibkeyList): If using \bibliography, return the
12876 option field with the reference itself. Enables us to provide natbib
12877 support when using \bibliography.
12879 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12881 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12883 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12884 natbib is provided by the LaTeX class.
12886 2002-04-23 Juergen Vigna <jug@sad.it>
12888 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12891 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12893 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12895 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12897 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12898 ensuremath around textordmasculine, textordfeminine and
12901 2002-04-19 Juergen Vigna <jug@sad.it>
12903 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12904 reinitializing the buffer otherwise row-dimensions may be wrong.
12905 (update): reset also the selection cursors if they do exits otherwise
12906 their x/y positions may be wrong.
12908 * text2.C (cursorDown): don't enter the inset if we came from a row
12909 above and are one row over the inset.
12911 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12912 really leaving an inset.
12914 2002-04-18 Juergen Vigna <jug@sad.it>
12916 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12917 of the selected paragraph does not have the selected layout also if
12920 * text2.C (setLayout): fixed bug which did not change last selected
12923 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12924 changed the read and substituted \\end_float with \\end_inset!
12926 * BufferView_pimpl.C (cursorPrevious):
12927 (cursorNext): fixed to make it work with rows heigher than the work
12928 area without moving the cursor only the draw of the row.
12929 (workAreaMotionNotify): fix jumping over high rows.
12931 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12933 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12936 2002-04-16 Juergen Vigna <jug@sad.it>
12938 * text2.C (setCursor): set also the irow().
12939 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12941 (cursorDown): support for locking an inset if the x_fix value goes
12942 inside it. That way I can transverse insets too with cursor up/down.
12944 * lyxrow.h: added irow helper function same as other (i) functions.
12946 * BufferView_pimpl.C (cursorPrevious):
12947 (cursorNext): fixed for insets!
12949 2002-04-15 Juergen Vigna <jug@sad.it>
12951 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12952 position otherwise it is wrong in some cases.
12954 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12955 inside the inset before the call.
12957 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12959 * buffer.[Ch] (getBibkeyList): make it const.
12961 2002-04-12 Juergen Vigna <jug@sad.it>
12963 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12965 * text2.C (getCursorX): new helper function
12966 (setCursor): compute also ix_
12967 (setCursorFromCoordinates): set also ix.
12969 * lyxcursor.h: added ix_ and helper functions.
12971 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12973 * buffer.C (insertStringAsLines): dont break paragraph if the this
12974 paragraph is inside an inset which does not permit it!
12976 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12977 also with no chars on this paragraph.
12978 (paintRowText): only paint stuff if it's inside the workarea!
12980 * paragraph.C (breakParagraph): honor keepempty flag and break the
12981 paragraph always below not above.
12983 * BufferView2.C (unlockInset): update the paragraph layout on inset
12984 unlock as we changed paragraph in such a case.
12986 * lyxfind.C (LyXFind): clear the former selection if not found!
12988 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12989 again called in insertChar().
12991 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12992 an inset which uses the whole row!
12993 (rightMargin): ditto.
12994 (insertChar): force a rebreak if we inserted an inset!
12996 2002-03-28 Herbert Voss <voss@lyx.org>
12998 * lyxlength.[Ch]: add inBP() to get the right PS-point
12999 units (BigPoint). With inPixels we have rounding errors
13001 2002-04-11 Juergen Vigna <jug@sad.it>
13003 * text2.C (setCursorFromCoordinates): set iy to the right value.
13004 (setCursor): add check if row->previous exists!
13006 * buffer.C (parseSingleLyXformat2Token): reset font after read of
13007 an old float_type as this was the case in the old code!
13009 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13011 * BufferView2.C (showLockedInsetCursor): use iy
13012 (fitLockedInsetCursor): ditto
13014 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13015 locked insets as there we have the right value now.
13017 * lyxcursor.C: added iy_ variable and iy functions to set to the
13018 baseline of cursor-y of the locked inset.
13020 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13021 (setCursor): fixed for insets which need a full row.
13023 * text.C (rowLastPrintable): don't ignore the last space when before
13024 an inset which needs a full row.
13025 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13026 as last character of a row when before a inset which needs a full row.
13028 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13030 * version.C.in: update date
13032 * text2.C (fullRebreak): try to always return true and see what
13035 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13037 * MenuBackend.C (expand): use Floating::listName
13039 * FloatList.C (FloatList): add listName argument to the built-in
13042 * Floating.[Ch]: add listName member, which is the 'List of XXX'
13043 text associated with the float.
13045 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13047 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13049 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13051 * ShareContainer.h: add a couple of missing typenames.
13053 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13055 * lyxrc.C (getDescription): use _() correctly rather than N_().
13057 2002-03-28 Herbert Voss <voss@lyx.org>
13059 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13060 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13062 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13064 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13065 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13067 2002-03-29 Juergen Vigna <jug@sad.it>
13069 * lyxfunc.C (dispatch): add a missing fitCursor call.
13071 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13072 it was scrolled by a cursor move, so return the bool status.
13074 * BufferView.C (fitCursor): return the bool flag also to the outside
13075 world as this is needed.
13077 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13079 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13080 call the edit() as it is not needed (and wrong) IMO.
13081 (workAreaButtonPress): set the screen_first variable before evt.
13082 unlock the inset as this may change screen_first and then we have
13083 a wrong y position for the click!
13085 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13087 * MenuBackend.C (expand): another translation that I missed
13089 2002-03-28 Juergen Vigna <jug@sad.it>
13091 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13093 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13095 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13097 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13099 * MenuBackend.C (expand): fix export/view/update when there is no
13102 2002-03-27 Herbert Voss <voss@lyx.org>
13104 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13107 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13109 * bufferview_funcs.C (currentState): only show paragraph number
13110 for is DEVEL_VERSION is set.
13112 * lyxfunc.C (dispatch): put warning in INFO channel
13114 * MenuBackend.C (expand): translate the name of floats
13116 * FloatList.C (FloatList): mark the float names for translation
13118 * converter.C (convert): use LibScriptSearch
13120 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13122 * MenuBackend.C (defaults): fix default menu (we might as well get
13125 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13127 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13130 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13132 * lyxvc.C: reorder includes.
13134 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13136 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13139 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13141 * CutAndPaste.C: change layouts earlier on paste
13142 to avoid crashing when calling getFont()
13144 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13146 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13149 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13151 * WorkArea.C: remove 'Pending' debug message.
13153 * most files: ws cleanup
13155 * buffer.[Ch]: ws changes
13157 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13159 2002-03-21 Juergen Vigna <jug@sad.it>
13161 * tabular.C (SetMultiColumn): collapse also the contents of the
13162 cells and set the last border right. Added a Buffer const * param.
13164 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13166 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13169 2002-03-19 Juergen Vigna <jug@sad.it>
13171 * text2.C (clearSelection): reset also xsel_cache.
13173 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13174 where it needs to be called (John tells us to do so too :)
13175 (selectionLost): reset sel_cache.
13177 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13179 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13181 * text2.C (setCursorIntern): put debuging code in INSETS channel
13183 2002-03-19 André Pönitz <poenitz@gmx.net>
13185 * lyxfunc.C: tiny whitespace change
13187 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13189 * ToolbarDefaults.C (init):
13190 * LyXAction.C (init):
13192 * BufferView_pimpl.C (Dispatch):
13193 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13195 2002-03-19 Allan Rae <rae@lyx.org>
13197 * exporter.C (Export): removeAutoInsets before doing anything else.
13198 While I've just introduced a dependency on BufferView this really is
13199 the best place to clean the buffer otherwise you need to cleanup in
13200 a dozen places before calling export or cleanup in a dozen functions
13203 * converter.C (runLaTeX):
13204 (scanLog): Better handling of removeAutoInsets and screen updates.
13206 * lyxfunc.C (dispatch): small whitespace changes
13208 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13210 * WorkArea.C (C_WorkAreaEvent): return a value.
13211 (event_cb): return 1 if we handled the event, 0 otherwise.
13213 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13215 2002-03-18 Juergen Vigna <jug@sad.it>
13217 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13218 (GetAdditionalWidth): ditto.
13219 (RightLine): ditto.
13222 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13223 inset if we're there actually (probably not used right now but this
13224 is the direction to go for unifying code).
13225 (paste): disable code to clear the selection.
13227 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13228 inside an InsetText and move the check further up as it is in the
13231 * text2.C (pasteSelection): set a selection over the pasted text.
13233 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13235 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13236 and libgraphics to build on Cygwin.
13238 2002-03-15 Juergen Vigna <jug@sad.it>
13240 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13241 inserting an Inset into the paragraph. I know this is not the best
13242 fix but we already use current_view in CutAndPaste so we will remove
13243 all of it's using at the same time.
13245 * buffer.C (sgmlError): deactivated function till it is rewritten in
13246 the right mode, now it can create problems.
13248 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13249 before accessing it.
13251 2002-03-14 Juergen Vigna <jug@sad.it>
13253 * undo_funcs.C (textHandleUndo): do the right thing when updating
13254 the inset after the undo/redo.
13256 * text2.C (setCursor): just some testcode for #44 not ready yet.
13258 * undo_funcs.C (textHandleUndo): set the next() and previous()
13259 pointers of the paragraph to 0 before deleting otherwise we have
13260 problems with the Paragraph::[destructor].
13262 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13263 on a paragraph insertion.
13265 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13267 * buffer.C (asciiParagraph): use += operator for char append to
13270 * paragraph.C (getFontSettings): compare >= not just >
13271 (highestFontInRange): ditto
13274 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13276 * paragraph.C: change several algorithm to be more appripriate for
13277 the problem domain. This is lookip in FontList and in the InsetList.
13279 2002-03-13 André Pönitz <poenitz@gmx.net>
13282 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13284 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13289 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13291 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13293 * Painter.C (display): anon helper function, adjust code for this
13295 (pixmap): remove function.
13297 * Painter.h: remove private display variable.
13299 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13301 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13303 * WorkArea.[Ch]: remove figinset_canvas cruft.
13305 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13307 * lyxtextclass.C (operator): add one item cache optimization.
13309 * bufferlist.h: doxy changes
13311 * bufferlist.C: ws changes
13313 * DepTable.[Ch] (ext_exist): place const in the right spot.
13315 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13317 (workAreaExpose): call resizeInsets when the with BufferView changes.
13318 (Dispatch): adjust for protectedBlank removal
13319 (specialChar): call updateInset if the insert went ok.
13321 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13322 specialChar instead.
13324 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13326 * BufferView.h: doxy change
13328 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13330 * lyxtextclass.C (operator[]): remove non-const version
13331 (defaultLayout): remove non-const version
13333 2002-03-12 Juergen Vigna <jug@sad.it>
13335 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13336 did resize the LyXText too.
13338 * buffer.C (readLyXformat2): set layout information on newly allocated
13341 * tabular.C (OldFormatRead): set layout information on the paragraph.
13343 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13345 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13347 2002-03-11 Juergen Vigna <jug@sad.it>
13349 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13351 (resizeCurrentBuffer): force also the insets to resize themselfes.
13352 (moveCursorUpdate): fixed up for InsetText.
13354 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13357 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13358 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13359 value of Dialogs::tooltipsEnabled().
13360 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13362 2002-03-08 Juergen Vigna <jug@sad.it>
13364 * BufferView_pimpl.C (updateInset): update inset inside inset also
13365 if it isn't inside theLockingInset().
13367 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13369 * buffer.C (asciiParagraph): redo some of the word and line length
13371 (getLists): look for Caption instead of caption.
13373 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13375 * buffer.C (Buffer): initialize niceFile to true
13377 (makeLinuxDocFile):
13378 (makeDocBookFile): make sure niceFile is true on exit
13380 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13382 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13384 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13386 * LyXSendto.C: remove.
13387 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13388 * lyx_gui.C: remove now-redundant comment.
13389 * ColorHandler.h: remove forward declaration of class WorkArea.
13390 * lyxfunc.C: remove #include "WorkArea.h".
13392 2002-03-07 Juergen Vigna <jug@sad.it>
13394 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13395 got moved away with the DEPM and also set the inset_owner always
13396 right which before could have been omitted.
13398 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13400 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13401 wanted layout is not found.
13403 2002-03-07 Juergen Vigna <jug@sad.it>
13405 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13407 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13409 * paragraph.C (breakParagraph): use default layout not layout of
13411 (Paragraph): clear ParagraphParameters.
13413 2002-03-06 Juergen Vigna <jug@sad.it>
13415 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13416 otherwise it would not be a valid lenght. Fixed a special case in
13417 the minipage compatibility read where we end the document with a
13420 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13421 was set as it could be 0 for InsetTexts first entry.
13423 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13425 * paragraph.C (writeFile): if layout is empty write out
13426 defaultLayoutName().
13428 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13429 file without named layout we set layout to defaultLayoutName().
13431 2002-03-06 Juergen Vigna <jug@sad.it>
13433 * CutAndPaste.C (copySelection): set layout for new paragraph.
13435 * text.C (prepareToPrint): leave ERT inset left aligned
13436 (leftMargin): don't indent paragraphs inside ERT insets
13438 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13440 * paragraph.C (breakParagraph): dont call clear do the work manually
13442 * paragraph.[Ch] (clear): remove function
13444 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13446 * paragraph.C (Paragraph): dont call clear, the work has already
13449 * lyxtextclass.C (operator): assert if n is empty
13451 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13452 work manually instead.
13454 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13456 * BufferView_pimpl.C: protect selectionLost against text == 0
13458 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13460 * text.C (breakParagraph): fix a setting layout to '0' problem.
13462 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13464 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13465 final location of file, for the included files, and graphics.
13467 2002-03-05 Juergen Vigna <jug@sad.it>
13469 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13471 2002-03-04 Juergen Vigna <jug@sad.it>
13473 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13475 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13476 last column of multicolumn cells.
13477 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13479 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13481 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13482 file if it doesn't go to a temporary file.
13484 * buffer.C (sgmlOpenTag):
13485 (sgmlCloseTag): remove extra newline insertion.
13487 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13489 * text.C (getRowNearY): comment out debug msg
13491 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13493 * text2.C: first -> first_y
13495 * text.C (getRowNearY): add some attemts at a possible
13496 optimization, not working.
13498 * tabular.[Ch]: add BufferParams to several function so that newly
13499 created paragraph can be initialized to he default layotu for the
13502 * tabular-old.C (ReadOld): add buf->params to call of Init
13504 * screen.C: rename text->first to text->first_y
13506 * paragraph.C (breakParagraph): always set layout in the broken
13509 * lyxtextclass.C (Read): remove lowercase
13512 (delete_layout): ditto
13514 * lyxtext.h: rename first -> first_y
13516 * lyxlayout.C (Read): remove lowercase
13519 (obsoleted_by): ditto
13521 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13523 * buffer.C (insertErtContents): add params are to InsetERT
13524 (parseSingleLyXformat2Token): add code to check if a paragraphs
13525 layout really exist.
13526 (parseSingleLyXformat2Token): add params to several inset
13528 (asciiParagraph): remove lowercase, do the layout comparisons with
13531 * BufferView_pimpl.C (cursorNext): first -> first_y
13532 (resizeCurrentBuffer): first -> first_y
13533 (updateScrollbar): first -> first_y
13534 (scrollCB): first -> first_y
13535 (workAreaMotionNotify): first -> first_y
13536 (workAreaButtonPress): first -> first_y
13537 (checkInsetHit): first -> first_y
13538 (cursorPrevious): first -> first_y
13539 (cursorNext): first -> first_y
13540 (Dispatch): add buffer_->params to severl inset contructors
13542 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13544 * lyxlayout.C (Read): remove some debug info that I forgot.
13546 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13547 clean up the code slightly.
13548 (makeLinuxDocFile): ditto
13549 (makeDocBookFile): ditto
13551 * text2.C: layout as string
13553 * text.C: layout as string
13555 * paragraph_pimpl.C: layout as string
13557 * paragraph.[Ch]: layout as string
13559 * lyxtextclasslist.[Ch]: layout as string
13561 * lyxtextclass.[Ch]: layout as string
13563 * lyxtext.h: layout as string
13565 * lyxlayout.[Ch]: layout as string
13567 * lyx_cb.C: layout as string
13569 * bufferview_funcs.C: layout as string
13571 * bufferparams.C: layout as string
13573 * buffer.C: layout as string
13575 * LyXView.[Ch]: layout as string
13577 * LaTeXFeatures.[Ch]: layout as string
13579 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13581 * BufferView_pimpl.C: change current_layout to string, remove
13586 (workAreaButtonRelease): layout as string
13588 * BufferView2.C (unlockInset): adjust
13590 * vspace.C (asLatexCommand): use an explict temp variable.
13592 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13594 * Makefile.am: use FRONTEND_*
13596 2002-03-01 Juergen Vigna <jug@sad.it>
13598 * tabular.C (SetWidthOfMulticolCell): changed to something better
13599 I hope but still work in progress.
13600 (recalculateMulticolumnsOfColumn): renamed function from
13601 recalculateMulticolCells as it is more appropriate now.
13602 (SetWidthOfCell): calculate multicols better.
13604 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13606 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13608 * lyxfunc.C (processKeySym): print sequence also if it is
13609 `deleted' (complete)
13611 * kbsequence.C (print): print sequence even if it is deleted
13612 (complete would be a better word, actually).
13614 * lyxfunc.C (dispatch): print complete options after a prefix key
13616 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13618 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13620 * text2.C (setCharFont): eliminate setCharFont code duplication.
13622 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13624 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13625 LFUN_TABULAR_FEATURE (bug #177)
13627 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13629 * Makefile.am: remove figure.h
13631 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13633 * Bufferview_pimpl.C:
13645 * text2.C: remove #include "lyx_gui_misc.h".
13647 * LaTeX.C: added #include <cstdio>
13649 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13651 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13652 that the paragraph following this one can have.
13654 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13656 * vspace.C (asLatexCommand): fix bogus gcc warning
13658 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13660 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13662 * text2.C (setLayout): get rid of redundant code
13664 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13666 * text2.C (incDepth): make sure depth cannot be increased beyond
13669 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13671 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13672 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13674 * PainterBase.h (image):
13675 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13676 a LyXImage const *.
13678 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13682 * BufferView_pimpl.C:
13683 * BufferView_pimpl.h:
13703 * sp_spell.C: remove fig inset, and the crap house of
13704 cards that follows it
13706 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13711 * os2_errortable.h:
13712 * nt_defines.h: move .h into support/
13714 * vms_defines.h: remove
13716 * WorkArea.C: add space in debug output
13720 * buffer.C: add WITH_WARNINGS
13724 * bufferlist.C: s/retrive/retrieve/, add docs
13733 * chset.C: add docs
13735 * lyxgui.C: add ID to X error handler
13737 * lyxtestclass.c: fix typo
13739 2002-02-26 Juergen Vigna <jug@sad.it>
13741 * tabular_funcs.C (write_attribute): changed so that some default
13742 attributes are not written at all.
13743 (getTokenValue): set default values before trying to read the
13744 value so we have the return value always set as default if we don't
13745 find the token we search for.
13747 * tabular.C (Write): write bools as bools not as strings!
13749 2002-02-22 Juergen Vigna <jug@sad.it>
13751 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13752 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13754 * text.C (leftMargin): don't add an indent for paragraphs inside
13755 tabular cells (fix #208).
13757 2002-02-21 José Matos <jamatos@fep.up.pt>
13759 * tabular.C (docBook): fixed support for long tables.
13761 2002-02-20 Juergen Vigna <jug@sad.it>
13763 * text2.C (getFont): get the drawing font of the Inset if this
13764 paragraph is inside an inset (only important for InsetERT for now).
13766 * buffer.C (insertErtContents): use new lanugage params in ERT
13769 * CutAndPaste.C: commenting out seemingly uneeded code.
13771 2002-02-19 Allan Rae <rae@lyx.org>
13773 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13774 Iterators might be simple to use but they also get invalidated.
13775 (removeAutoInsets): renamed saved cursor tracking variables and added
13776 some comments to clarify what everything does.
13778 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13785 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13786 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13789 * vc-backend.h: remove #include "support/syscall.h"
13793 * converter.C: rearrange #includes in Lars' approved fashion.
13795 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13796 forward declare class Timeout in the header file.
13798 * XFormsView.C: changes due to the above.
13800 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13801 similar to LyXView.
13803 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13804 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13806 2002-02-18 José Matos <jamatos@fep.up.pt>
13808 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13811 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13813 * a lot of small ws changes
13814 * add a lot of using std::XXX
13815 * use std construcs some places where approp.
13816 * use some exisint stuff from lyxfunctional where approp.
13817 * Make file changes to use partial linking (lets test this now...)
13819 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13823 remove #include "support/syscontr.h" as it's redundant. Always has been.
13831 change Systemcalls::System to Systemcalls::Wait and
13832 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13833 No change of functionality, just reflects the stripped down Systemcalls
13836 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13838 * debug.[Ch]: add a GRAPHICS type to the enum.
13840 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13842 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13844 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13847 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13849 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13850 match the changes below.
13852 * text2.C (toggleInset): if there is not editable inset at cursor
13853 position, try to see if cursor is _inside_ a collapsable inset
13856 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13858 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13859 document menu has a nice checkbox
13861 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13863 * lyxlength.C (asLatexString): change PW to output as percent of
13866 * lengthcommon.C: change '%' to 't%'
13868 * lyxfunc.C (dispatch): a few comments from Martin
13870 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13874 * BufferView_pimpl.h:
13875 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13878 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13880 * vspace.C (inPixels): fix compiler warning
13882 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13884 * lyxfunc.C (getStatus): fix status message for disabled commands.
13886 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13888 * BufferView_pimpl.C: fix crash on close buffer
13889 during selection (#227)
13891 2002-01-27 Herbert Voss <voss@lyx.org>
13893 * buffer.C: link old Figure to new graphic inset
13895 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13897 * FontLoader.C (getFontinfo): Change the latex font names in order
13898 to match the names of type1inst.
13900 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13902 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13904 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13905 (extchanged): ditto
13907 (remove_files_with_extension): ditto
13908 (remove_file): ditto
13911 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13912 document is smaller than the work area height. Do not initialize
13913 static variables to 0.
13915 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13917 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13919 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13920 LFUN_LAYOUT_PARAGRAPHS.
13922 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13923 tabular. It is possible to provide a possible cell, which will
13924 typically be the actcell from the corresponding insettabular
13926 * lyxfunc.C (getStatus): small cleanup; disable
13927 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13930 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13932 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13934 * paragraph.C (startTeXParParams):
13935 (endTeXParParams): new methods. The LaTeX code to
13936 start/end paragraph formatting
13937 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13938 empty (fixes bug #200)
13940 * vspace.C (inPixels): adapt to the change below
13941 (inPixels): [later] more cleanups (remove unused variables)
13943 * lyxlength.C (inPixels): change to use a width and a height as
13946 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13948 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13949 Replaced with \paperwidth
13951 * DepTable.C (insert): add std:: qualifier
13953 2002-01-18 Allan Rae <rae@lyx.org>
13955 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13958 * text.C (drawInset): Turned out I didn't know enough about how
13959 rebreaking worked. This fixes most of the redraw problems. I see
13960 an occasional cursor trail when a line is broken now and the cursor
13961 placement can seem out by a few pixels also after a rebreak.
13963 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13965 * buffer.C (parseSingleLyXformat2Token): update because minipage
13966 width is now a LyXLength
13968 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13970 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13973 2002-01-17 Juergen Vigna <jug@sad.it>
13975 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13977 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13978 is set correctly and the inset is updated correctly.
13980 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13982 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13983 the beginning of the loop.
13985 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13987 * lyxrc.C: improve help for use_scalable_fonts
13989 2002-01-17 Allan Rae <rae@lyx.org>
13991 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13993 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13995 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13996 make sure to set their inset_owner to the right value (bug #171)
13998 2001-12-12 Ben Stanley <bds02@uow.edu.au>
14001 * DepTable.C: Implement mtime checking to reduce time spent doing
14004 2002-01-16 Juergen Vigna <jug@sad.it>
14006 * tabular.C (GetAdditionalHeight): one of error fixed.
14008 * lyxrc.C (output): small fix in writing use_pspell.
14010 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
14012 * sp_base.h: #include LString.h
14014 2002-01-16 Allan Rae <rae@lyx.org>
14016 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
14017 Can someone check this please?
14019 * text.C (drawInset): It was possible that p.row would be removed by
14020 breakAgainOneRow upsetting a few other settings. There may be another
14021 small tweak possible by setting need_break_row = 0 when p.row has been
14022 removed but I don't know enough about the logic here.
14024 2002-01-15 Allan Rae <rae@lyx.org>
14026 * text.C (insertChar): removed conditional truism.
14028 * BufferView2.C (removeAutoInsets): More tweaks.
14029 cur_par_prev could be a stray pointer. Check for trailing empty line
14030 in case last line was cur_par and only had an error inset on it.
14032 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14034 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14037 * vc-backend.C (most methods):
14038 * exporter.C (Export):
14039 * converter.C (convert):
14041 * LyXSendto.C (SendtoApplyCB):
14042 * lyxfunc.C (dispatch):
14046 * lyx_cb.C (AutoSave):
14048 * BufferView_pimpl.C (MenuInsertLyXFile):
14049 * buffer.C (runChktex): use Buffer::filePath().
14051 * buffer.h: rename filename to filename_; rename filepath to
14052 filepath_ and make it private
14053 (filePath): new method
14055 * buffer.C (writeFile): use fileName()
14058 * lyx_main.C (init): fix starting of LyX when the binary is a
14059 link from so,ewhere else.
14061 * minibuffer.C: include <cctype> for isprint
14063 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14065 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14066 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14067 name clash with InsetCollapsable's width function.
14069 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14071 * lastfiles.C: include <iterator>
14073 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14075 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14078 * buffer.C (makeLaTeXFile): ditto.
14079 Also make loop operation more transparent.
14081 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14083 * ToolbarDefaults.C: remove trailing comma closing namespace.
14085 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14087 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14090 * trans.C (Load): comment out unused variable, allowed.
14092 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14094 * minibuffer.[Ch] (append_char): new method to recieve input from the
14095 drop-down completion browser. If a key was pressed, then recieve this
14096 char and append it to the existing string.
14097 (peek_event): modify the positioning data passed to the completion
14098 browser so that it can be placed above the minibuffer rather than below.
14099 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14101 * LyXAction.C (init): alloe error-next for readonly documents.
14103 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14106 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14108 * bufferlist.C (readFile): create the buffer _after_ checking that
14111 * lyxfunc.C (verboseDispatch): fix handling of arguments
14113 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14115 * lyxrc.C: use string::erase() instead of initializing to "".
14118 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14120 * BufferView_pimpl.h:
14121 * BufferView_pimpl.C:
14124 * text2.C: tell X when we have made a selection for copying
14126 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14128 * BufferView_pimpl.C (MenuInsertLyXFile):
14129 * lyxfunc.C (menuNew):
14131 (doImport): add shortcuts to directory buttons
14133 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14136 * lyxfunc.C (setStatusMessage):
14137 (getStatusMessage): new methods
14138 (getStatus):use setStatusMessage instead of setErrorMessage
14139 (dispatch): when function is disabled, set error message here
14140 [instead of in getStatus previously]
14142 * BufferView_pimpl.C (workAreaButtonRelease): update
14143 toolbar/menubar here too.
14145 2002-01-13 Allan Rae <rae@lyx.org>
14147 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14148 Now seems indestructible. Remaining task is to audit all other
14149 code affected by deleteEmptyParagraphMechanism. One small quirk
14150 left is that an empty document with an error in the preamble can
14151 be made to report an error but no error box appears. I don't know
14153 (removeAutoInsets): Improved comments.
14155 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14158 * Thesaurus.C: update for Aiksaurus 0.14
14160 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14162 * text2.C (firstParagraph): removed member function, all uses
14163 replaces with ownerParagraph
14164 (redoParagraphs): here
14165 (updateInset): here
14166 (toggleAppendix): here
14167 * BufferView2.C (insertErrors): here
14168 (setCursorFromRow): here
14170 2002-01-13 Allan Rae <rae@lyx.org>
14172 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14173 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14174 There is still a way to segfault this although you may have to do this
14175 multiple times: Have an InsetERT with an unknown command in it.
14176 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14177 <down-arrow>, <Enter> again, View->DVI, BANG!
14179 * text2.C (setCursor):
14180 (deleteEmptyParagraphMechanism):
14181 * lyxtext.h (setCursor):
14182 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14183 Making use of the return value may help fix other bugs.
14185 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14187 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14189 * LyXView.C (updateMenubar): call MenuBar::update here
14190 (updateToolbar): but not here
14191 (showState): do not update toolbar/menubar
14193 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14194 should need to care about that.
14196 * lyxfunc.C (verboseDispatch): simplify a bit
14197 (getStatus): have a version which takes a pseudoaction, and
14198 another which requires a (kb_action,string).
14200 * LyXAction.C (retrieveActionArg): make it work also when action
14201 is not a pseudo-action.
14202 (getActionName): simplify a bit
14205 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14207 * lyxfunc.C (verboseDispatch): new families of methods with
14208 several ways to specify a command and a bool to indicate whether
14209 the command name and shortcut should be displayed in minibuffer
14210 (eventually, we could extend that to a finer bitmask like
14211 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14212 (dispatch): the pristine dispatch command which just, well,
14213 dispatchs! Note it still sets its result to minibuffer; I'm not
14216 * lyxfunc.h: remove setHintMessage
14218 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14220 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14222 * BufferView_pimpl.C (specialChar): delete new inset if we have
14223 not been able to insert it.
14225 * kbmap.C: revert to using int instead of kb_action, since all we
14226 are dealing with is pseudo-actions.
14228 * LyXAction.C (searchActionArg): change to return int instead of
14229 kb_action, since the result is a pseudoaction.
14231 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14233 * buffer.C (insertErtContents): Fix (partially) the font bug.
14235 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14237 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14238 as the other one is broken on my machine!
14240 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14243 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14245 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14247 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14248 reflect their actual use. Provide compatibility code for older lyxrc
14251 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14253 change names of popup font variables in line with the changes to lyxrc.C
14255 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14257 * buffer.C (asciiParagraph): avoid outputing a word twice after
14260 * lyxrc.C (getDescription): document that document_path and
14261 template_path can be empty.
14263 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14265 * LaTeXFeatures.C (getMacros):
14266 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14268 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14270 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14272 (getPackages): rename feature "floats" to "float". Use an array to
14273 iterate over 'simple' features (i.e. just a \usepackage). Add
14274 handling of "amsmath" (renamed from "amsstyle").
14276 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14278 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14281 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14283 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14284 FuncStaus::FuncStatus & FuncStaus::some_method().
14286 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14288 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14289 of the func_satus stuff. Edited and massaged in various ways by
14292 * lyxfunc.C (getStatus): use FuncStatus
14294 2002-01-08 Juergen Vigna <jug@sad.it>
14296 * text.C (nextBreakPoint): use function Inset::isChar().
14298 * paragraph.C (TeXOnePar): use function
14299 Inset::forceDefaultParagraphs.
14301 * buffer.C (latexParagraphs): use function
14302 Inset::forceDefaultParagraphs.
14304 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14306 * lyx_gui.C (init): set the style of the menu popups to
14307 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14309 2002-01-07 Juergen Vigna <jug@sad.it>
14311 * text.C (setHeightOfRow): small fix
14312 (prepareToPrint): don't look at alignment if we don't have the place
14315 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14317 * box.C: New file. Move the Box methods and functions out of box.h,
14318 following Lars' suggestion.
14320 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14322 * box.h: #include "support/LOstream.h", needed for inlined function.
14325 * lyxtextclasslist.C: added some using std declarations.
14327 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14329 * box.h: make signed dimensions to allow insets wider than
14330 the screen (bug #162)
14332 * BufferView_pimpl.C: add some insetHit debug
14334 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14336 * vc-backend.C: add FIXME
14338 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14340 * lyxfunc.C (getStatus): enable code for showing math font status
14343 2002-01-07 Juergen Vigna <jug@sad.it>
14345 * text.C (nextBreakPoint): removed debug output not needed anymore.
14347 2002-01-06 Juergen Vigna <jug@sad.it>
14349 * text.C (nextBreakPoint): fixed up this function we had this bug
14350 since ever but now hopefully we break row better.
14351 (insertChar): we have to check if an inset is the next char as it
14352 could now happen that a large inset is causing a break.
14354 2002-01-05 Juergen Vigna <jug@sad.it>
14356 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14357 if it doesn't like to be drawed.
14359 2002-01-04 Juergen Vigna <jug@sad.it>
14361 * BufferView2.C (lockInset): forgot to set a cursor.
14363 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14365 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14367 * FormMathsPanel.C:
14370 * form_maths_panel.C:
14371 * form_maths_panel.h:
14372 * form_maths_panel.fd: implemented sub- and super- buttons in math
14375 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14376 (or ^ space) to be used as in TeX (req'd by Andr�.
14378 * lyxfunc.C: Allow ^ and _ again to be used both as
14379 super/subscript (mathed) and as themselves (in text).
14381 2002-01-03 Allan Rae <rae@lyx.org>
14383 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14384 "LyX" or the filename of the current buffer if it has one. This is a
14385 modified form of John Levon's patch.
14387 * XFormsView.C (setWindowTitle): also set icon title.
14389 * LyXView.h (setWindowTitle): signature changed.
14390 * XFormsView.h (setWindowTitle): ditto.
14392 2002-01-02 Juergen Vigna <jug@sad.it>
14394 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14396 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14398 * screen.C (topCursorVisible): introduce a temp var for
14399 text->cursor.row(), handle the case where this row is null. (kindo
14402 * text2.C (setCursor): add a couple of asserts.
14404 * paragraph.h (inset_iterator): add -> operator
14406 * paragraph.[Ch] (autoDeleteInsets): remove member function
14408 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14409 cursor pos correctly and handle inset deletion by itself.
14410 (insertErrors): move iterator declaration out of for expression
14412 * lyxtextclass.C: add <algorithm>
14414 * Makefile.am: added the new files to sources, removed layout.C
14416 * layout.C: removed file
14418 * layout.h: remove LYX_DUMMY_LAYOUT
14420 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14424 * lyxtextclass.[Ch]:
14425 * lyxtextclasslist.[Ch]: new files
14427 * include order changes to a lot of files, also changes because of
14430 2001-12-27 Juergen Vigna <jug@sad.it>
14432 * buffer.C (asciiParagraph): more fixes.
14434 * tabular.C (ascii): make ascii export support export of only the
14435 data separated by a column-delimiter.
14436 (ascii): better support for ascii export.
14438 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14440 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14442 * tabular_funcs.C: use a "using std::getline" instead of the
14443 previous fix from Angus (necessary for cxx + lyxstring)
14445 2001-12-24 Juergen Vigna <jug@sad.it>
14447 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14449 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14450 problems. First check a minipage also if we have some ert-contents
14451 (not only on par->size(), second set the right depth of the paragraph
14452 on the relink to the root-paragraph-list!
14454 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14455 which then did not anymore update the main paragraphs on undo/redo!
14457 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14459 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14460 code. Support all font-changing funcs (even those which are not in
14461 menu currently). Support for reporting font settings in
14462 mathed (disabled until Andre provides a function on mathed's side).
14464 * func_status.h (toggle): small helper function to set toggle
14467 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14469 * tabular_funcs.C: getline -> std::getline
14471 2001-12-21 Juergen Vigna <jug@sad.it>
14473 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14474 accessed and could be 0 (I couldn't generate this but it seems
14477 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14479 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14480 * tabular_funcs.h: here and include iosfwd
14482 2001-12-20 Juergen Vigna <jug@sad.it>
14484 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14485 inside inset but undo_par was.
14487 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14489 * Thesaurus.C: always include <config.h> in sources.
14493 * box.h: do not include <config.h> in header files
14495 * text.C (paintLastRow): remove unused variable
14497 * text.C (transformChar):
14499 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14501 * Painter.C (text):
14502 * font.C (width): rewrite to use uppercase() instead of
14505 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14507 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14509 * lyxfind.C: clean up of find failure position change
14511 2001-12-20 Juergen Vigna <jug@sad.it>
14513 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14515 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14516 (TeXRow): added to LaTeX a single tabular row.
14517 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14518 (Latex): simplified and finally good LT-h/f support.
14519 (various_functions): just small adaptions for LT-h/f support.
14521 * tabular_funcs.[hC]: added and moved here all not classfunctions
14524 2001-12-19 Juergen Vigna <jug@sad.it>
14526 * tabular.[Ch]: better support for longtabular options (not finished
14529 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14531 * text.C (paintLastRow): use the label font instead of the font of
14532 the last character to compute the size of *_BOX. This makes more
14533 sense and avoids a crash with empty paragraphs.
14534 Use Painter::rectangle to draw EMPTY_BOX.
14536 2001-12-19 Juergen Vigna <jug@sad.it>
14538 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14539 the paragraphs if the replaced paragraph is not the first one!
14540 Tried to delete not used paragraphs but does not work yet so for
14541 now it's inside #ifdef's and by default off!
14543 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14545 * MenuBackend.C: include "lyx_main.h" instead of declaring
14546 lastfiles (actually was declared as LastFiles* instead of a
14549 2001-12-17 Juergen Vigna <jug@sad.it>
14551 * tabular.C (AppendColumn): applied John's fix
14553 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14557 * BufferView_pimpl.h:
14558 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14561 * box.h: new start of class for above
14563 * lyxfunc.C: ignore space-only minibuffer dispatches.
14564 Show the command name when it doesn't exist
14566 * minibuffer.C: don't add empty lines to the history
14568 * minibuffer.C: add a space on dropdown completion
14570 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14572 * text.C: fix line above/below drawing in insets
14574 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14576 * lyxlength.C (LyXLength): Initialize private variables.
14578 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14580 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14581 when inserting error insets.
14583 2001-12-13 Juergen Vigna <jug@sad.it>
14585 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14586 actually sometimes the before-paragraph.
14587 (setUndo): don't clear the redostack if we're not actually undoing!
14589 2001-12-06 Juergen Vigna <jug@sad.it>
14591 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14592 and fixed redoing of main paragraph, so we can use it now ;)
14594 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14596 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14598 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14601 2001-12-13 André Pönitz <poenitz@gmx.net>
14604 * undo_func.C: minor cleanup
14606 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14608 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14609 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14610 font in urw-fonts package which is marked as -urw-fontspecific and
14611 does not work (incidentally, changing the encoding in the
14612 fonts.dir of this package to -adobe-fontspecific fixes the
14615 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14616 is a crash when undoing first paragraph (Juergen, please take a
14617 look). THis does not mean the undo fix is wrong, just that it
14620 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14621 the (Paragraph*) version when needed instead of duplicating the
14624 * text.C (workWidth): use Inset::parOwner to find out where the
14625 inset has been inserted. This is a huge performance gain for large
14626 documents with lots of insets. If Inset::parOwner is not set, fall
14627 back on the brute force method
14629 * paragraph_pimpl.C (insertInset):
14630 * paragraph.C (Paragraph):
14631 (cutIntoMinibuffer): set parOwner of insets when
14632 inserting/removing them
14634 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14636 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14642 * mathed/formulabase.C:
14643 * mathed/math_cursor.[Ch]:
14644 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14647 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14649 * lyxlength.[Ch] (operator!=): new function
14651 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14653 * text.C (workWidth): use Inset::parOwner to find out where the
14654 inset has been inserted. This is a huge performance gain for large
14655 documents with lots of insets. If Inset::parOwner is not set, fall
14656 back on the brute force method
14658 * paragraph_pimpl.C (insertInset):
14659 * paragraph.C (Paragraph):
14660 (cutIntoMinibuffer): set parOwner of insets when
14661 inserting/removing them
14663 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14665 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14667 * tabular-old.C (getTokenValue):
14668 * tabular.C (getTokenValue):
14669 (write_attribute): new versions for LyXLength
14670 (everywhere): adjust the use of widths
14672 * tabular.h: change the type of widths from string to LyXLength
14674 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14676 * paragraph.C: fixed missing line number count when exporting
14677 Environments to LaTeX file
14679 * buffer.C: added informational message for checking line numbers.
14681 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14683 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14684 paragraph, do the 'double space' part, but not the 'empty
14687 * text.C (workWidth): small optimization
14688 (getLengthMarkerHeight): use minimal size for negative lengths.
14690 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14692 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14694 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14696 2001-12-11 André Pönitz <poenitz@gmx.net>
14699 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14701 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14703 * text2.C: keep selection on a setFont()
14705 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14707 * lyx_cb.C: another bv->text misuse, from insert label
14709 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14712 * kbsequence.C: re-instate nmodifier mask
14714 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14716 * lyx_main.h: make lyxGUI private.
14718 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14720 * lyxfind.C: place the cursor correctly on failed search
14722 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14724 * text.C (getLengthMarkerHeight): for small heights, the arrows
14725 are not always on top/bottom of the text
14726 (drawLengthMarker): smaller arrows; take the left margin in
14727 account; draw also vfills.
14729 (paintLastRow): remove special code for vfill and standard spaces,
14730 since everything is handled in drawLengthMarker now.
14732 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14734 * buffer.C (insertErtContents): try to handle font and language
14735 interaction a bit better.g
14737 * ColorHandler.C (updateColor): change the hash to cover the whole
14738 LColor enum, ws cleanup
14739 (getGCLinepars): ditto
14740 (getGCLinepars): only lookup in the linecache once.
14742 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14744 * iterators.C (operator++): Make the iterator more robust
14746 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14748 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14750 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14753 * text.C: better added space drawing
14755 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14758 * BufferView2.C: fix layout combo update on inset unlock
14760 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14762 * Makefile.am: don't compile unused files
14764 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14768 * LyXAction.C: remove old LFUN_LAYOUTNO
14770 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14772 * paragraph_pimpl.h:
14773 * paragraph_pimpl.C: isTextAt() doesn't need font param
14775 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14778 * lyxlex.C: little cleanup
14780 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14782 * BufferView_pimpl.C: fix insertAscii for insets
14784 2001-12-05 Juergen Vigna <jug@sad.it>
14786 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14787 set the right font on the "multi" paragraph paste!
14789 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14795 * lyxlength.C: remove out-commented code.
14797 * BufferView_pimpl:
14811 * vc-backend.C: change "while(" to "while ("
14813 * lyxlength.[Ch]: add zero function to check if length is zero or
14815 * lyxgluelength.C: use it
14817 2001-12-05 Allan Rae <rae@lyx.org>
14819 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14820 Works for 2.95.3, from what I understand of Garst's reports this should
14821 work for other g++ versions. We're screwed if the abs(int) definition
14822 changed between bugfix releases of gcc.
14824 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14826 * text.C: fix chapter label offset !
14828 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14831 * text.C: fix hfill at end of line, clean up
14833 2001-12-04 Juergen Vigna <jug@sad.it>
14835 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14836 that we force an update of the inset and it's owners if neccessary.
14838 2001-12-03 Juergen Vigna <jug@sad.it>
14840 * text.C (rowLast): simplified code
14842 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14844 * lyxfunc.C: fix show options on timeout
14846 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14848 * screen.C (topCursorVisible): scroll half a page when the cursor
14849 reached top of bottom of screen
14851 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14853 * minibuffer.C: deactivate on loss of focus
14855 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14857 * vspace.[Ch] (operator!=): add operator.
14859 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14861 * BufferView_pimpl.C: refuse to open an inset when
14862 there's a selection.
14864 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14866 * BufferView_pimpl.C: allow to click on RHS of full row insets
14868 2001-11-30 Juergen Vigna <jug@sad.it>
14870 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14871 insets for undo reasons.
14873 2001-11-28 André Pönitz <poenitz@gmx.net>
14875 * vspace.[Ch]: cosmetical changes
14877 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14887 * kbsequence.C: part re-write of old kb code
14890 * WorkArea.C: remove Lgb_bug_find_hack
14892 2001-11-30 José Matos <jamatos@fep.up.pt>
14894 * buffer.C (makeDocBookFile): add a comment to point a hack.
14895 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14896 Fixed a double write of labels.
14898 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14901 * LaTeX.h Fixed bug in LaTeX class where it would not
14902 re-run latex if no depfiles were changed, but the .dvi was removed.
14904 2001-11-28 André Pönitz <poenitz@gmx.net>
14906 * all the files from the change on 2001/11/26:
14907 use lyx::layout_type instead of LyXTextClass::size_type
14908 use lyx::textclass_type instead of LyXTextClassList::size_type
14910 2001-11-29 Juergen Vigna <jug@sad.it>
14912 * text.C: added support for paragraph::isFreeSpacing()
14914 * buffer.C: same as above
14916 * paragraph.h: inserted isFreeSpacing() function to enable
14917 FreeSpacing inside InsetERT.
14919 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14920 of the paragraph's in the cut/copy buffer to 0!
14922 * text2.C (removeRow): remove the assert as it can!
14924 * lyxtext.h: added helper function firstRow returning firstrow and
14925 made firstrow private again.
14927 * BufferView2.C (lockInset): don't relock if we're already locked!
14929 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14930 the only paragraph.
14931 (removeRow): added Assert::(firstrow)
14933 * debug.C: forgot to add INSETTEXT here.
14935 2001-11-28 Juergen Vigna <jug@sad.it>
14937 * sp_spell.C (initialize): changed error text to more general
14938 spellchecker command use (not only ispell!)
14940 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14942 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14944 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14946 * vspace.C: initialise lyxgluelength on failure
14948 2001-11-28 Allan Rae <rae@lyx.org>
14950 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14951 declaration & definition that looks like a function declaration.
14953 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14955 * BufferView2.C (copy):
14956 (copyEnvironment): do not clear the selection when doing a copy.
14958 * text.C (paintFirstRow): compilation fix
14960 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14962 * tabular.C (Latex): correct line count when writing latex.
14964 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14966 * paragraph_pimpl.h:
14967 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14970 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14974 * LColor.C: change vfillline->added_space
14976 * text.C: add markers and text for added space
14978 * vspace.C: fix comment
14980 2001-11-28 André Pönitz <poenitz@gmx.net>
14982 * paragraph.C: whitespace changes
14983 * all the other files from the change on 2001/11/26:
14984 change *::pos_type into lyx::pos_type
14986 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14988 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14989 language of the document when inserting error insets.
14991 2001-11-26 André Pönitz <poenitz@gmx.net>
14993 * BufferView_pimpl.[Ch]:
15001 * paragraph_pimpl.[Ch]:
15004 * text2.C: reduce header dependencies, introduce type for positions
15006 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15008 * <various>: change to use Alert.h
15010 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
15012 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15013 when encountering an unknown token.
15014 (readLyXformat2): Show an error message if there were unknown tokens.
15016 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
15019 * BufferView_pimpl.C:
15023 * text2.C: use par->isInset()
15025 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15027 * paragraph_pimpl.h:
15028 * paragraph_pimpl.C: cleanup
15030 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15032 * text2.C (removeRow):
15033 * text.C (setHeightOfRow): remove useless (and costly) call to
15036 2001-11-20 Allan Rae <rae@lyx.org>
15038 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15039 Now need Inset*::checkInsertChar() to return true for appropriate
15040 cases so that the characters in the minibuffer will actually be
15043 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
15045 * text.C: change the order of the includes.
15046 (workWidth): initialize it at once.
15047 (workWidth): make maxw unsigned
15048 (setHeightOfRow): remove unused variable (inset)
15049 (selectSelectedWord): remove unused variable (inset)
15050 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15052 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15054 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15055 server is not running.
15057 (closeConnection): add debug info when server is disabled.
15059 * ColorHandler.C (getGCForeground): send debug message to GUI
15062 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15064 * kbmap.C (bind): modify because return conventions of
15065 kb_sequence::parse have changed.
15067 * kbsequence.C (parse): only ignore spaces and not any stupid
15068 control character. This avoids tests like s[i] <= ' ', which are
15069 guaranteed to fail with 8bit characters and signed chars.
15070 Change return code to string::npos when there have been no error
15071 (0 was a bad idea when error is at first character)
15073 2001-11-14 José Matos <jamatos@fep.up.pt>
15076 * buffer.C (simpleDocBookOnePar): removed unused argument.
15078 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15080 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15081 insets which are part of a word. Paragraph::isLetter takes care of
15082 that now. Use Paragraph::isInset to identify insets.
15083 (selectSelectedWord): do not test for hyphenation break.
15085 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15086 that protected spaces are considered as spaces.
15088 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15091 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15094 * lyxserver.C: fix it. and small cleanup.
15096 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15098 * BufferView_pimpl.C: use inline helpers
15101 * LaTeXFeatures.C: fix typos
15104 * Spacing.C: move spacing_string into class
15106 * ToolbarDefaults.C: move stuff into namespace anon
15108 * layout.h: update enum
15110 * lyxfunc.C: use better debug
15112 * minibuffer.h: fix typo
15116 * WorkArea.C: add and use Debug::WORKAREA
15120 * text2.C: code re-organisation, inline helpers
15122 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15124 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15125 std::vector.empty().
15127 2001-11-09 Allan Rae <rae@lyx.org>
15129 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15130 '\n's after tables. Tabular and ERT inset work now makes this no
15133 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15136 * minibuffer.C: fix crash, improve drop-down completion
15138 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15141 * lyxserver.C: invalidate fd's when doing endPipe()
15143 2001-11-08 José Matos <jamatos@fep.up.pt>
15145 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15146 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15149 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15151 2001-11-07 José Matos <jamatos@fep.up.pt>
15154 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15157 * buffer.C (sgmlOpenTag):
15158 * buffer.C (sgmlCloseTag): removed debug info.
15160 * buffer.h (sgmlOpenTag):
15161 * buffer.h (sgmlCloseTag): made public.
15163 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15165 * buffer.C (saveParamsAsDefaults):
15166 * lyx_cb.C (MenuLayoutSave): remove
15168 * LyXAction.C (init):
15170 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15172 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15174 * buffer.C (setPaperStuff): removed from here...
15176 * bufferparams.C (setPaperStuff): ... and moved there.
15178 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15182 * XFormsView.C: add support for drop-down completion
15184 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15186 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15189 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15191 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15194 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15196 * lyx_main.C: change ref to known bugs
15198 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15200 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15201 to work around older babel problems.
15203 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15205 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15207 2001-10-24 Juergen Vigna <jug@sad.it>
15209 * tabular-old.C (ReadOld): below variable changes reflected.
15211 * tabular.[Ch]: added ltType struct for longtable header/footer
15212 defines and changed all instances where they are used. Added
15213 future support for double top/bottom rows.
15215 2001-10-24 José Matos <jamatos@fep.up.pt>
15217 * buffer.h (docbookHandleCaption):
15218 * buffer.C (docbookHandleCaption): removed unused function.
15219 (makeDocBookFile): moved docbook supported version to v4.1.
15221 2001-10-24 José Matos <jamatos@fep.up.pt>
15224 * tabular.C (docbookRow): new function to export docbook code of a row.
15225 (DocBook): now honors the longtable flags.
15227 2001-10-23 José Matos <jamatos@fep.up.pt>
15230 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15231 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15233 * buffer.C (makeLinuxDocFile):
15234 (makeDocBookFile): reworked the preamble, more clean, and with
15235 support for lyx defined entities. Changed the document declaration
15236 to be more XML friendly.
15238 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15239 if we need to output XML that should be done with a filter.
15241 2001-10-22 Juergen Vigna <jug@sad.it>
15243 * sp_pspell.h (class PSpell): add alive function needed in the
15244 controller to see if the spellchecker could be started.
15246 2001-10-22 Juergen Vigna <jug@sad.it>
15248 * buffer.C (insertStringAsLines): modify the font for inserting
15249 chars in certain conditions by calling checkInsertChar(font).
15251 2001-10-19 Juergen Vigna <jug@sad.it>
15253 * text.C (workWidth): use getRow instead of wrong algorithm.
15254 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15256 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15261 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15263 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15265 * text.C (workWidth): do not search for the exact row when
15266 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15267 optimization for big documents.
15269 2001-10-18 Juergen Vigna <jug@sad.it>
15271 * text.C (workWidth): new function with added Inset * parameter.
15273 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15275 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15277 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15278 change return type of getColumnNearX.
15281 * text.C (changeRegionCase): use uppercase/lowercase instead of
15284 (rightMargin): simplify code by factoring out the uses of
15289 (appendParagraph): use Paragraph::size_type
15291 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15293 * vspace.C (asLatexString): add a missing break
15295 2001-10-15 Herbert Voss <voss@perce.de>
15297 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15299 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15301 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15304 2001-10-10 André Pönitz <poenitz@gmx.net>
15306 * lyxfunc.C: removed greek_kb_flag.
15308 2001-10-10 Herbert Voss <voss@perce.de>
15310 * lyx_main.C: delete global string help_lyxdir.
15312 2001-10-09 Herbert Voss <voss@perce.de>
15314 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15316 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15318 * lyx_main.C: added global string help_lyxdir.
15320 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15322 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15324 * lyxrc.C (set_font_norm_type): support iso8859-4
15326 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15328 * LaTeX.C (deplog): add another regex for MikTeX
15330 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15332 * lyxrc.C (set_font_norm_type): support iso8859-3
15334 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15336 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15338 * LaTeXFeatures.C: remove special case of french and index
15340 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15341 before \begin{document}). This solves several incompatibilities.
15343 2001-10-03 Garst Reese <reese@isn.net>
15345 * lyx_cb.C: change CheckTex error msg.
15347 2001-10-03 José Matos <jamatos@fep.up.pt>
15349 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15351 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15353 * .cvsignore: update
15355 * lyx_main.C (commandLineVersionInfo): use new style version info.
15357 * buffer.C (writeFile):
15359 (makeLinuxDocFile):
15360 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15362 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15364 * version.h: update to use stuff in version.C
15366 * version.C.in: new file. Contains version information determined
15367 at compile time. This is a merging of version.h and
15370 2001-10-03 Juergen Vigna <jug@sad.it>
15372 * BufferView_pimpl.C (update): don't change "dirty" status in
15375 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15377 * WorkArea.C (c-tor): re-position version string slightly.
15379 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15381 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15382 revert to previous code.
15384 WorkArea.[Ch]: (show, destroySplash): methods removed.
15386 WorkArea.C: rework code so that it's an amalgam of the codes before and
15387 after the splash screen was moved to WorkArea.
15389 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15392 * vspace.C (inPixels):
15395 * buffer.C (insertStringAsLines):
15396 (asciiParagraph): fix types to be large enough
15398 * lyxlex_pimpl.h: change member status from short to int
15400 * layout.h: fix type of endlabeltype
15403 * kbsequence.C (parse): change return type to string::size_type
15405 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15408 * Bullet.C (bulletSize):
15409 (bulletEntry): do not use short ints as parameters
15411 * BufferView2.C (insertLyXFile): change a char to an int.
15413 * WorkArea.C (WorkArea): remove unneeded floats in computation
15415 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15417 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15419 * paragraph.C (asString): Do not ignore newline/hfill chars when
15420 copying to the clipboard.
15422 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15424 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15425 after a multi-line inset.
15427 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15429 * paragraph.C (validate): Set NeedLyXFootnoteCode
15431 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15433 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15434 and decrease-error to decrease.
15436 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15438 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15439 it more readable (should be equivalent)
15441 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15443 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15445 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15447 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15448 of a cursor (row, etc.) after a character has been deleted
15449 (deleteEmptyParagraphMechanism): call the method above on _all_
15450 cursors held by the LyXText when a double space has been
15453 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15455 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15457 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15459 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15460 background. Use greyOut() and the new show() methods to toggle between
15461 the foreground and background. Add code to remove the splash after
15462 its initial showing.
15464 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15465 (create_forms): no longer call Dialogs::showSplash.
15467 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15469 * .cvsignore: add version_info.h
15471 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15473 * version_info.h.in: new file
15475 * Makefile.am: add version_info.h.in
15477 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15478 version_info.h instead of VERSION_INFO
15480 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15482 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15483 The ERT inset now returns string().
15485 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15487 * lyxtext.h, text.C (selectNextWord): renamed as
15488 selectNextWordToSpellcheck.
15490 * text.C (selectNextWordToSpellcheck): Modified to not select
15491 words inside an ERT inset.
15493 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15495 * lyx_cb.C (MenuLayoutSave): change a bit the question
15497 * sp_base.h: include <sys/types.h>
15499 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15501 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15503 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15505 * several files: fix typos in user-visible strings
15507 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15509 * text2.C (pasteSelection): do not set the selection, since it
15510 will be cleared later. Actually, the intent was to fix the way the
15511 selection was set, but I figured rmoving the code was just as good.
15513 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15515 * FontLoader.C (available): Check if font is available without
15518 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15520 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15522 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15524 * lyxrc.[Ch]: added display_graphics variable and associated code.
15526 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15528 * bufferparams.C (hasClassDefaults): new method. Returns true if
15529 the buffer parameters correspond to known class defaults
15531 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15533 * XFormsView.C (show): set minimum size to the main window.
15535 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15537 * text2.C (copySelection):
15539 * lyxfind.C (LyXReplace):
15540 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15541 LyXText::selectionAsString.
15543 * paragraph.C (asString): add "label" argument to the second form
15545 * text2.C (selectionAsString): add "label" argument and pass it to
15546 Paragraph::asString.
15548 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15550 * lyx_main.C (commandLineHelp): remove version information
15552 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15554 * lyx_main.C: add -version commandline option
15556 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15558 * paragraph.h: make the optional constructor arg required instead.
15559 some modifications to other files because of this.
15561 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15563 * lyxserver.C (C_LyXComm_callback): make it static
15565 * lyx_main.C (error_handler): make it static
15567 * lyx_gui.C (LyX_XErrHandler): make it static
15569 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15571 * WorkArea.C: make the extern "C" methods static.
15573 * Makefile.am (lyx_LDADD): simplify
15575 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15577 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15578 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15580 * LyXAction.C (init):
15581 * lyxfunc.C (dispatch): associated code removal.
15583 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15585 * lyxfont.h (isSymbolFont): shut off warning
15587 * text.C (setHeightOfRow):
15588 (getVisibleRow): fix crash with empty paragraphs which have a
15591 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15593 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15596 2001-09-04 José Matos <jamatos@fep.up.pt>
15599 * tabular.C (docbook): rename docBook method to docbook.
15601 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15603 * Makefile.am: add dependencies to main.o.
15605 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15607 * FontLoader.C (available): Return false if !lyxrc.use_gui
15609 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15611 * FontInfo.C (query):
15612 * converter.C (view):
15613 * importer.C (Import):
15614 * exporter.C (Export): Can not -> cannot.
15616 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15618 * BufferView_pimpl.C: allow to create index inset even if
15621 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15623 * buffer.C (getLists): replace boost::tie code with an explicit pair
15624 as boost::tie can break some compilers.
15626 * iterators.h: Added a std:: declaration to the return type of
15629 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15631 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15634 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15636 * iterators.[Ch]: New files. Provide paragraph iterators.
15638 * buffer.C (changeLanguage): Use paragraph iterators.
15639 (isMultiLingual): ditto
15641 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15643 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15645 * FontLoader.C: Support for cmr font.
15647 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15649 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15650 (available): New method.
15652 * FontInfo.C (getFontname): Use scalable fonts even when
15653 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15656 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15658 * converter.C (Formats::view): reverted! Incorrect fix.
15660 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15662 * converter.C (Formats::view): only output the -paper option
15663 if the dvi viewer is xdvi, thereby fixing bug #233429.
15665 2001-08-23 Herbert Voss <voss@perce>
15667 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15669 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15671 * Spacing.h (Spacing): Set space to Default on in the default
15674 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15676 * vc-backend.h (RCS::versionString): add RCS to version
15677 (CVS::versionString): add CVS to version
15679 * vc-backend.C (scanMaster): do not add CVS to version.
15680 (scanMaster): do not add RCS to version
15682 * lyxvc.C (versionString): new method
15684 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15686 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15688 * Spacing.C (set): initialize fval
15690 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15692 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15695 2001-08-16 Juergen Vigna <jug@sad.it>
15697 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15699 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15701 * BufferView_pimpl.C:
15704 * text2.C: setParagraph takes linespacing now
15706 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15708 * LyxAction.C: add internal LFUN_CITATION_INSERT
15710 * LyXView.C: actually apply fix
15712 * bufferlist.C: fix open non-existent file
15714 * lyxfind.C: fix indentation
15716 * lyxfunc.C: remove unneeded assert, fix typo
15718 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15720 * MenuBackend.C: use "Floatname List"
15722 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15724 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15725 when converting LaTeX layout to insetERT.
15726 Generate a non-collapsed float when reading old float
15728 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15730 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15733 2001-08-13 Juergen Vigna <jug@sad.it>
15735 * text.C (fill): return 0 instead of 20 as this seems to be the more
15738 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15740 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15743 2001-08-13 Juergen Vigna <jug@sad.it>
15745 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15747 (SearchBackward): comment out the unlocking of the inset_owner this
15748 should not be needed!
15750 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15752 * Many files: Remove inherit_language, and add latex_language
15754 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15755 collapsible insets.
15757 2001-08-10 Juergen Vigna <jug@sad.it>
15759 * text.C (prepareToPrint): fixed hfill-width in draw!
15761 * BufferView2.C (selectLastWord): save the selection cursor as this
15762 now is cleared in the function LyXText::clearSelection!
15764 2001-08-08 Juergen Vigna <jug@sad.it>
15766 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15767 BACKSPACE type functions.
15769 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15770 is only cutted from the document but not put in the cut-buffer, where
15771 still the old stuff should be.
15773 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15775 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15777 * tabular.C (SetWidthOfCell): fixed special case where the width
15779 (LeftLine): handle '|' in align_special.
15781 (LeftAlreadyDrawed): ditto
15782 (SetWidthOfCell): ditto
15784 2001-08-07 Juergen Vigna <jug@sad.it>
15786 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15788 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15790 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15791 * lyxlex.[hC]: ditto
15793 2001-08-06 Juergen Vigna <jug@sad.it>
15795 * text.C (getVisibleRow): fix up row clearing a bit.
15797 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15799 * minibuffer.C: make sure the X server sees the changes in the input.
15801 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15803 * paragraph.C (getFont): split into...
15804 (getLabelFont): this
15805 (getLayoutFont): and this
15806 * paragraph_pimpl.C (realizeFont): calling this
15808 * text2.C (getFont): split into...
15809 (getLayoutFont): this
15810 (getLabelFont): and this
15811 (realizeFont): all three calling this
15813 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15816 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15818 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15820 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15822 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15823 layouts from the Quote inset insertion.
15825 2001-08-03 Juergen Vigna <jug@sad.it>
15827 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15829 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15830 only if status not is already CHANGED_IN_DRAW (second level).
15832 * text.C (draw): don't set the need_break_row when inside an
15835 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15837 * buffer.C (parseSingleLyXformat2Token): handle more latex
15840 * bufferview_funcs.[hC]: change function names to
15841 begin with small char, adjust other files.
15843 2001-08-02 André Pönitz <poenitz@gmx.net>
15846 BufferView_pimpl.C: remove broken special code for math-greek
15848 2001-08-02 Juergen Vigna <jug@sad.it>
15850 * BufferView_pimpl.C (update): redone this function so that we
15851 update the text again if there was a CHANGE_IN_DRAW.
15853 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15854 (drawFromTo): added a new internal bool which is used by draw() and
15856 (general): some cursor drawing problems fixed.
15858 2001-08-01 Juergen Vigna <jug@sad.it>
15860 * lyxfind.C (LyXFind): fixed
15861 (SearchForward): ditto
15862 (SearchBackward): ditto
15864 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15865 spurius drawing of the cursor in the main area.
15867 * text2.C (status): small fix which could lead to a segfault!
15868 (clearSelection): remove unneeded BufferView param.
15870 2001-08-01 André Pönitz <poenitz@gmx.net>
15872 * lyxfunc.C: small change due to changed mathed interface
15874 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15876 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15878 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15880 * lyxfunc.c: fail gracefully if file doesn't exist
15885 * BufferView_pimpl.C: IsDirWriteable() proto changed
15887 * LyXView.C: fix updateWindowTitle() to store the last title
15889 2001-07-31 Juergen Vigna <jug@sad.it>
15891 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15892 the font (wrong since using of Paragraph::highestFontInRange).
15894 * paragraph.C (highestFontInRange): added a default_size parameter.
15896 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15897 (setHeightOfRow): reformat
15899 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15901 * converter.[hC] + affected files: move to (inital-char)lowercase
15904 * ParagraphParameters.C (ParagraphParameters): remove commented code
15906 * PainterBase.[Ch]: remove commented code
15908 * LaTeXFeatures.h: add "bool floats" for float.sty
15910 * LaTeXFeatures.C (LaTeXFeatures): init floats
15911 (require): handle float
15912 (getPackages): do it with floats
15914 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15916 * BufferView_pimpl.C (Dispatch): improve handling of
15917 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15919 * commandtags.h: #include lyxfont.h here temporarily to avoid
15922 * bufferlist.h: include LString.h here.
15924 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15926 * text2.C (getStringToIndex): new method.
15928 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15930 * *: Reduced header file dependencies all over.
15932 2001-07-30 Baruch Even <baruch@lyx.org>
15934 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15936 2001-07-29 Baruch Even <baruch@lyx.org>
15938 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15940 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15942 * ParameterStruct.h (endif): add a default constructor to make
15943 sure that all variables is initialized.
15945 * ParagraphParameters.C (ParagraphParameters): adjust
15947 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15949 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15950 index; also, check that there is something to index, and that it
15951 does not span over several paragraphs.
15952 (doubleClick): use WHOLE_WORD_STRICT for double click.
15954 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15956 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15959 2001-07-26 Baruch Even <baruch@lyx.org>
15961 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15962 an InsetFig figure, backwards compatible reading of old figure code.
15964 2001-07-27 Juergen Vigna <jug@sad.it>
15966 * text2.C: font.realize function adaption.
15968 * text.C (draw): add a warnings lyxerr text if needed.
15970 * layout.C: font.realize function adaption.
15972 * language.C: add inherit_language and implement it's handlings
15974 * bufferview_funcs.C (StyleReset): remove language parameter from
15975 font creation (should be language_inherit now).
15977 * bufferparams.C (writeFile): handle ignore_language.
15979 * paragraph.C (getFontSettings): the language has to be resolved
15980 otherwise we have problems in LyXFont!
15982 * lyxfont.C (lyxWriteChanges): added document_language parameter
15983 (update): removed unneeded language parameter
15985 * paragraph.C (validate): fixed wrong output of color-package when
15986 using interface colors for certain fonts in certain environments,
15987 which should not seen as that on the final output.
15989 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15991 * BufferView_pimpl.C:
15996 * LyXAction.C: add thesaurus support
15999 * lyxfind.C: add "once" parameter, for thesaurus, to not
16000 move to the next match
16002 2001-07-26 Juergen Vigna <jug@sad.it>
16004 * lyxfont.C (realize): honor ignore_language too!
16007 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16009 * text.C (draw): one place more for ignore_language to not draw
16012 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
16014 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16016 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16018 * buffer.C (parseSingleLyXformat2Token): a more general fix for
16019 the minipage conversion problem.
16021 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16023 * buffer.C (parseSingleLyXformat2Token): check minipage if we
16026 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16028 * BufferView.h: don't forward declare WorkArea
16030 * BufferView.C: don't include WorkArea.h
16032 2001-07-25 André Pönitz <poenitz@gmx.net>
16036 * lyxfunc.C: new LFUN 'math-space'
16038 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16040 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16042 * text2.C (toggleInset): call open/close
16044 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16046 * lyxfunc.C (dispatch): add debug for the disabled case
16048 * font.C (buttonText): make similar to rectText
16050 * buffer.C (readInset): comment out parsing of insetlist and
16053 * PainterBase.C (rectText): small correction
16055 * BufferView_pimpl.C: comment out insettheorem and insetlist
16056 * LyXAction.C: ditto
16057 * commandtags.h: ditto
16059 2001-07-24 Juergen Vigna <jug@sad.it>
16061 * text.C (draw): honor the ignore_language.
16063 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16065 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16067 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16070 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16072 * lyxtext.h: remove unused (and unimplemented) methods
16074 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16076 * text.C (getVisibleRow): honor background color
16079 * Painter.h: remove default color argument for fillRectangle
16081 * text.C (backgroundColor): new method
16083 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16085 * text.C (getVisibleRow): adjust
16087 * font.[Ch] (rectText): new method, metrics
16088 (buttonText): new method, metrics
16090 * PainterBase.[hC]: make rectText and buttonText always draw and take
16093 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16095 * ToolbarDefaults.C (read):
16096 * MenuBackend.C (read): allow escaping in all strings
16098 * BufferView_pimpl.C (insertAndEditInset): new method.
16099 (Dispatch): use insertAndEditInset whenever appropriate.
16101 * BufferView_pimpl.C (insertNote): removed
16103 * BufferView_pimpl.C (smartQuote): new method, moved from
16104 BufferView; if an insetquote cannot be inserted, insert a '"'
16107 * BufferView2.C: remove insertCorrectQuote();
16109 * lyxfunc.C (getStatus): Add support for all remaingin
16110 inset-insert lfuns.
16112 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16114 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16115 command (necessary to pass " as parameter of self-insert.
16117 * text.C (selectWordWhenUnderCursor):
16118 (selectWord): add word_location parameter
16119 (selectWordWhenUnderCursor): same + remove special code for word
16121 (selectNextWord): use kind() to guess type of insetspecialchar,
16124 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16125 (insertErtContents): create ert insets as collapsed.
16126 (readInset): better compatibility code for Info inset.
16128 2001-07-20 Juergen Vigna <jug@sad.it>
16130 * lyxfunc.C (dispatch): use always LyXFind now!
16132 * text2.C (init): add a reinit flag so that the LyXText can be
16133 reinited instead of deleted and reallocated (used in InsetText).
16135 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16141 2001-07-18 Juergen Vigna <jug@sad.it>
16143 * text.C (selectNextWord): handle insets inside inset by calling
16144 always the bv->text functions so that we can go up the_locking_inset!
16146 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16147 in strange locations when inside an inset!
16149 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16150 handling to include insets.
16152 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16154 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16156 * LyXAction.C (init):
16158 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16159 LIGATURE_BREAK, since the name is so stupid.
16161 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16163 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16166 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16168 * sp_form.[Ch]: remove.
16170 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16172 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16175 * src/buffer.C (readInset): ditto.
16177 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16179 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16180 menuSeparator(), endOfSentenceDot(), ldots() and
16181 hyphenationPoint(), which are therefore removed.
16182 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16184 * LyXAction.C (init):
16185 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16187 * paragraph.C (getWord): removed.
16189 * BufferView_pimpl.C (Dispatch): use last word or selection for
16190 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16192 * lyx_main.C (queryUserLyXDir): do not ask before creating
16193 user_dir, except if it has been named explicitely.
16195 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16197 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16198 a document of zero size.
16200 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16202 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16203 approriately in the c-tor and in require().
16204 (getPackages): output the appropriate LaTeX for natbib support.
16206 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16207 variables "use_natbib" and "use_numerical_citations" when reading the
16209 (readInset): read the various natbib cite commands.
16210 (validate): white-space change.
16212 * bufferparams.[Ch]: new variables "bool use_natbib" and
16213 "bool use_numerical_citations".
16214 (writeFile): output them in the LyX file.
16216 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16218 * lyxfunc.C (getStatus): add support for all the inset insertion
16221 * text2.C (insertInset):
16222 * paragraph.C (insetAllowed):
16223 * BufferView_pimpl.C (insertInset): update to take in account the
16224 renaming of insertInsetAllowed
16226 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16228 * text2.C (getInset): new method. returns inset at cursor position.
16230 * BufferView_pimpl.C (Dispatch): changes because of this.
16232 * LyXAction.C (init): rename open-stuff to inset-toggle.
16234 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16236 * text2.C (toggleInset): renamed from openStuff; use
16239 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16241 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16243 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16245 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16247 * buffer.C (readLyXformat2): Add filename to the error dialog
16249 2001-07-18 Juergen Vigna <jug@sad.it>
16251 * tabular.C (GetCellNumber): put an assert here instead of the check!
16253 2001-07-17 Juergen Vigna <jug@sad.it>
16255 * BufferView_pimpl.C (toggleSelection): adapted too.
16257 * text.C (selectNextWord): adapted for use with insets.
16258 (selectSelectedWord): ditto
16260 2001-07-17 Juergen Vigna <jug@sad.it>
16262 * sp_spell.C (PSpell): fix initialitation order.
16264 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16266 * paragraph.C: spacing
16268 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16270 * sp_spell.C: repair language selection for pspell
16272 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16274 * lyxfunc.h: change more methods to begin with lower char.
16276 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16278 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16279 for unknown layouts.
16281 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16283 * buffer.C (readLyXformat2): Generate an error dialog if there are
16286 2001-07-16 Juergen Vigna <jug@sad.it>
16288 * sp_spell.C: always compile ISpell part.
16290 * lyxrc.C: added use_pspell entry and it's handling.
16292 2001-07-13 Juergen Vigna <jug@sad.it>
16294 * sp_spell.C: removed double includes.
16296 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16298 Consistent use of Lsstream.h:
16299 * Lsstream.h: added using std::stringstream for consistencies sake.
16301 * buffer.C: removed using std::stringstream
16303 * lyxfont.C (stateText):
16304 * paragraph.C (asString):
16305 * text.C (selectNextWord, selectSelectedWord):
16306 * text2.C (setCounter):
16307 * vspace.C (asString, asLatexString):
16308 std::ostringstream -> ostringstream.
16310 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16312 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16313 * commandtags.h: add LFUN_HELP_ABOUTLYX
16314 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16316 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16318 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16320 * lyx_gui_misc.C: remove spellchecker
16321 * lyxfunc.C: showSpellchecker
16323 * sp_ispell.h: added
16324 * sp_pspell.h: added
16325 * sp_spell.C: added
16326 * sp_form.[Ch]: removed
16327 * spellchecker.[Ch]: removed
16329 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16331 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16333 (simpleTeXSpecialChars): Simply print the input character without
16334 any special translation if pass_thru is set.
16336 * layout.h: Added bool pass_thru to layout class for being able to
16337 implement pass through of a paragraph for Literate Programming.
16339 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16340 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16341 * layout.C (Read): add "passthru" to list of layout tags and add
16342 code to set the pass_thru boolean when it is read.
16344 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16346 * trans_decl.h: remove allowed from KmodInfo
16348 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16349 remove allowed code
16352 * paragraph_pimpl.C (erase): use boost::prior
16354 * Painter.C (text): use data() instead of c_str() when length is
16356 * WorkArea.C (putClipboard): ditto
16357 * font.h (width): ditto
16359 * BufferView2.C: use it-> instead of (*it). for iterators
16361 * paragraph_pimpl.C: ditto
16362 * paragraph.C: ditto
16363 * minibuffer.C: ditto
16364 * language.C: ditto
16366 * encoding.C: ditto
16367 * counters.C: ditto
16368 * converter.C: ditto
16370 * Variables.C: ditto
16371 * TextCache.C: ditto
16372 * MenuBackend.C: ditto
16373 * LyXAction.C: ditto
16375 * FloatList.C: ditto
16376 * DepTable.C: ditto
16377 * ColorHandler.C (LyXColorHandler): ditto
16379 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16381 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16383 * text2.C (openStuff): reintroduce this method (which had been
16384 nuked in NEW_INSETS frenzy).
16386 * lyxfunc.C (Dispatch): when an action has not been handled, use
16387 its name in the error message, not its number.
16389 * paragraph.C (inInset): change method name to begin with lowercase.
16392 * text2.C: updates because of this.
16394 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16396 * ToolbarDefaults.C (add): add spaces in error message
16398 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16400 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16401 (readLyXformat2): rename return_par to first_par, use lyxlex's
16402 pushToken and remove the manual push handling.
16403 (parseSingleLyXformat2Token): add another ert comp. variable:
16404 in_tabular, rename return_par to first_par. handle newlines better
16406 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16408 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16410 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16412 * text2.C (getParFromID): removed
16414 * buffer.C (getParFromID): new method moved form lyxtext.
16415 * BufferView2.C (insertErrors): adjust
16416 (setCursorFromRow): adjust
16417 * BufferView_pimpl.C (restorePosition): adjust
16418 * lyxfunc.C (Dispatch): adjust
16419 * undo_funcs.C (textUndo): adjust
16421 (textHandleUndo): adjust
16422 (textHandleUndo): adjust
16424 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16426 * buffer.C: up' the LYX_FORMAT
16428 * lyxfont.h: turn NO_LATEX on as default
16430 * buffer.C (insertErtContents): new methods of tex style compability.
16431 (parseSingleLyXformat2Token): use it several places.
16432 * tabular.C (OldFormatRead): and here
16434 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16436 * text2.C: remove some commented code.
16439 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16440 * trans.C: changes because of the above.
16442 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16444 * text2.C (setCounter): Fix counters bug with bibliography layout.
16446 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16448 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16449 own member functions
16450 (simpleTeXSpecialChars): ditto
16452 2001-07-06 Juergen Vigna <jug@sad.it>
16454 * a lot of files: changed the access to LyXText::status and the
16455 call of undo-functions.
16457 * undo.[Ch]: added a inset_id to the undo informations.
16459 * undo_funcs.[Ch]: added and moved here all undo functions.
16461 * lyxtext.h: give the status enum a weight, made status_ a private
16462 variable and made accessor functions for it, removed the whole bunch
16463 of undo-functions as they are now in their own file, make some
16464 functions publically available. Added function ownerParagraph with
16467 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16468 made InInset() a const function, added getParFromID() function.
16470 * buffer.[Ch]: added const version for inset_iterator functions,
16471 added getInsetFromID() function.
16473 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16474 changed undo functions for new version.
16476 2001-07-05 Juergen Vigna <jug@sad.it>
16478 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16479 unknow mechanism does not call the proper constructor but only this
16480 one also if I request the other!?
16482 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16484 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16486 * text2.C (LyXText): use initialization lists.
16488 * lyxtext.h (Selection): initialize set_ and mark_
16489 (init): remove method
16491 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16493 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16495 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16497 * screen.[Ch]: change method names to begin with lowercase
16499 * BufferView_pimpl.C (updateScrollbar): simplify further and
16500 hopefully make it a bit faster.
16502 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16504 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16505 calling directly xforms functions.
16507 * Painter.C (Painter):
16508 * lyx_cb.C (MenuWrite):
16509 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16512 * lyx_gui.C: remove bogus guiruntime extern declaration.
16514 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16516 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16518 (redoDrawingOfParagraph): ditto
16519 (redoParagraphs): ditto
16520 (cutSelection): don't create a object for CutAndPaste use the
16521 static method directly
16522 (pasteSelection): ditto
16524 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16527 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16529 * modifications to some other files because of this.
16531 * Makefile.am (lyx_SOURCES): add XFormsView
16533 * XFormsView.[Ch]: new files
16535 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16536 the main window. Move the gui dependent stuff to XFormsView
16538 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16540 * tabular.C (GetCellInset): update cur_cell also in the row/col
16541 version of this function.
16543 * lyxfunc.C: no need to include figure_form.h here.
16549 * lyxvc.C: no need to include forms.h here.
16551 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16553 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16555 * lyxfunc.C (Dispatch):
16557 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16558 constructor argument.
16560 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16562 * paragraph.C (Paragraph): dont't clear, and just set layout.
16563 (makeSameLayout): use params's copy contructor.
16565 * ParagraphParameters.[Ch] (makeSame): delete method
16567 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16569 * Variables.[Ch]: fix indentation, rename set to isSet
16571 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16573 * lyxfunc.C (Dispatch): fix typo
16575 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16577 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16580 * bufferlist.C: include assert.h for emergencyWrite().
16582 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16584 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16585 give up at last (bug #425202) !
16587 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16593 * spellchecker.C: strip spellchecker options and bring up
16594 preferences tab instead
16596 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16598 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16599 the istringstream constructor
16601 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16603 * paragraph.C (getLayout): fix return value
16605 * paragraph.h: do not declare getLayout as inline.
16607 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16609 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16611 * lyxcursor.h (operator<): new func
16612 (operator>): new func
16613 (operator>=): new func
16614 (operator<=): new func
16616 * text.C (changeCase): use selection.start and selection.end
16617 (changeRegionCase): require from to be <= to. Require par to be a
16620 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16622 2001-06-27 Juergen Vigna <jug@sad.it>
16624 * text.C (cursorLeftOneWord): changed to return the cursor and added
16625 overlay with BufferView * parameter which calls this one.
16627 (selectWord): use new getWord function.
16628 (changeCase): renamed from changeWordCase as and extended to work
16629 also on selections.
16631 * lyxtext.h: added enum word_location
16633 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16634 changeCase as this operates now also on selections.
16636 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16638 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16640 * many files: send debug output to Debug::INFO instead of
16643 * converter.C (View):
16645 (Move): send debug output to Debug::FILES instead of console.
16647 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16649 * lyxfunc.C (getStatus): use func_status
16651 * func_status.h: new header, describing the results of
16652 LyXFunc::getStatus;
16654 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16657 2001-06-25 The LyX Project <jug@sad.it>
16659 * buffer.C (sgmlOpenTag):
16661 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16663 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16665 * text2.C: remove some dead code
16667 * tabular.C (GetCellInset): store the last cell checked (gotten)
16669 * tabular.h: add the helper for the speedup
16671 * lyxtext.h: remove some dead code
16673 2001-06-26 The LyX Project <Asger>
16675 * paragraph.C: Change export to LaTeX of alignment to
16676 \begin{center} and family for better roundtrip work with reLyX.
16678 * Tune the math drawing a bit.
16680 2001-06-25 The LyX Project <Asger>
16682 * LColor.C (LColor): New color for math background. New color
16685 2001-06-25 The LyX Project <jug@sad.it>
16687 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16689 * lyxfunc.C (Open):
16690 * bufferlist.C (newFile): do not restrict to files ending with
16693 * BufferView_pimpl.C (MenuInsertLyXFile):
16695 2001-06-24 The LyX Project <jug@sad.it>
16697 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16700 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16702 * lyxtext.h: rename most methods to begin with a small char.
16703 Lots of changes because of this.
16705 * paragraph.C (Paragraph): do not call fitToSize
16706 (erase): call Pimpl::erase
16707 (insertChar): call Pimpl::insertChar
16708 (insertInset): call Pipl::insertInset
16709 (breakParagraph): do not call fitToSize
16710 (breakParagraphConservative): do not call fitToSize
16711 (fitToSize): remove method
16713 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16715 2001-06-24 The LyX Project <Asger>
16717 * Fix Qt compilation^2
16719 2001-06-24 The LyX Project <jug@sad.it>
16721 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16722 depthHook(getDepth()-1).
16725 * ParagraphParameters.h:
16726 * ParameterStruct.h: change type of depth to unsigned int ==
16727 depth_type. Many adaptations to other files before of that.
16729 2001-06-24 The LyX Project <Asger>
16731 * Fix Qt compilation.
16733 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16735 * paragraph.h: renamed several methods to begin with small letter.
16736 several changes to many parts of the code because of this.
16738 2001-06-23 The LyX Project <jug@sad.it>
16740 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16741 rewritten to discard all double spaces when KeepEmpty is off
16742 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16743 to only handle newlines but not fiddle with spaces and friends.
16745 * lyxfunc.C (MenuNew): when doing 'new from template', use
16746 template_path as default directory
16748 2001-06-23 The LyX Project <Asger>
16750 * Clean-up of header file includes all over
16751 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16753 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16755 * paragraph.h: renamed from lyxparagraph.h
16757 2001-06-23 Asger <lyx@violet.home.sad.it>
16759 * Buffer.h: Removed Buffer::resize
16760 * BufferList.h: Removed BufferList::resize
16761 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16762 the document lazily when we change the width, or the font settings.
16764 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16766 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16768 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16770 * buffer.h: remove out of date comment
16772 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16775 * screen.C: fix "theoretical" GC leak
16777 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16779 * LaTeX.C (scanAuxFile):
16780 (deplog): remove trailing \r when reading stream (useful under
16783 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16785 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16786 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16787 and BufferView::theLockingInset(Inset*), so should use them and not
16788 access bv_->text->the_locking_inset directly.
16790 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16792 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16795 * tex-defs.h: remove old unused file
16797 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16799 * BufferView_pimpl.C: fix typo, remove minibuffer message
16800 when buffer has loaded
16802 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16804 * lyxfunc.C (Dispatch): use stringstream
16805 (MenuNew): use stringstream
16806 (Open): use stringstream
16808 * importer.C (Import): use stringstream
16810 * bufferview_funcs.C (CurrentState): use stringstream
16812 * LaTeX.C (run): use stringstream
16814 * BufferView_pimpl.C (savePosition): use stringstream
16815 (restorePosition): use stringstream
16816 (MenuInsertLyXFile): use stringstream
16818 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16831 * vspace.C: removed // -*- C++ -*- as first line.
16834 * version.h: added // -*- C++ -*- as first line.
16836 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16838 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16840 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16843 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16845 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16848 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16850 * gettext.C: include LString.h even when --disable-nls is on.
16852 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16854 * converter.h (Get): changed argument type from int to
16855 FormatList::size_type to avoid unnecessary conversion.
16857 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16860 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16862 * gettext.h: include LString.h even when --disable-nls is on.
16864 2001-06-07 Juergen Vigna <jug@sad.it>
16866 * text.C (BreakAgain): subst spaces with tabs.
16868 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16869 (resizeInsetsLyXText): set force on resizeLyXText.
16871 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16873 * gettext.h (gettext_init):
16874 (locale_init): use a real definition instead of a macro
16876 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16878 * Bufferview_pimpl.C:
16880 * LColor.C: further lcolor tidies
16882 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16884 * BufferView_pimpl.C (updateScrollbar): simplify.
16886 * BufferView2.C: don't include insets/insetinfo.h, change
16887 prototype for insertInset and call the Pimpl version. let
16888 updateInset call Pimpl version.
16890 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16891 gotoInset to BufferView::Pimpl
16893 2001-06-01 Juergen Vigna <jug@sad.it>
16895 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16896 inside a LockingInset (is the update needed at all?).
16898 2001-05-31 Juergen Vigna <jug@sad.it>
16900 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16901 here not the old one otherwise how should we compare it afterwards
16904 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16909 * FontInfo.C: bring C functions into global namespace when
16912 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16914 * LString.h: make sure config.h has been loaded before LString.h.
16916 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16917 (one for each char read by EatLine!).
16919 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16922 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16924 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16925 to the same as the par we break from
16927 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16929 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16931 * MenuBackend.C (expand): also create menu entries for wide
16932 versions of the floats.
16934 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16936 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16938 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16939 frontends/Makefile.am
16945 * tabular.C (getTokenValue): add std::
16947 * tabular-old.C (getTokenValue): add std::
16948 (getTokenValue): ditto
16949 (getTokenValue): ditto
16951 * screen.C (ToggleSelection): adjust
16953 * lyxtext.h: put selection cursors inside a Selection struct.
16955 * lyxfunc.C (moveCursorUpdate): adjust
16957 * lyxfont.C (latexWriteStartChanges): add std::
16959 * lyxfind.C: adjust
16961 * font.h: delete with(char const *, LyXFont const &)
16963 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16965 * FontInfo.C (getFontname): add std::
16967 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16968 (workAreaButtonPress): adjust
16969 (tripleClick): adjust
16971 (moveCursorUpdate): adjust
16974 * BufferView2.C (gotoInset): adjust
16976 2001-05-30 Juergen Vigna <jug@sad.it>
16978 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16979 to check pspell I add this as default as I now have new pspell
16980 libraries and they seem to use this.
16982 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16984 * text2.C (CutSelection): make the cursor valid before the call to
16987 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16989 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16990 relied on 0 terminated strings and other horrors. Bug found due to
16991 the new assert in lyxstring!
16993 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16996 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16998 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17001 * lyxfunc.C (processKeySym): change method of getting to the
17004 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17005 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17006 * BufferView_pimpl.[Ch]: here as private methods.
17008 2001-05-28 Juergen Vigna <jug@sad.it>
17010 * text.C (SetHeightOfRow): added the update() call again as it is
17011 needed to initialize inset dimensions!
17013 2001-05-16 Juergen Vigna <jug@sad.it>
17015 * text2.C (SetCharFont): Add new function with BufferView * and
17016 bool toggleall parameters for setting insets internal fonts.
17017 (SetFont): Freeze the undo as we may change fonts in Insets and
17018 all this change should be inside only one Undo!
17020 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17021 setting font's in insets as for them we have the SetFont function!
17023 2001-05-15 Juergen Vigna <jug@sad.it>
17025 * text2.C (ClearSelection): to be sure we REALLY don't have any
17028 * tabular.C (TeXCellPreamble): fixed the left border problem for
17031 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
17033 * LaTeX.C (deplog): Make sure that the main .tex file is in the
17036 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17038 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17039 LFUN_BREAKPARAGRAPH.
17041 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17042 help test to "internal only", similar for LFUN_INSERT_URL
17044 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17045 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17046 auto_region_delete and deadkeys.
17048 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17051 * LColor.C: remove some dead entries, tidy a little
17053 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17055 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17057 (Dispatch): implement LFUN_ESCAPE
17059 * commandtags.h: add LFUN_ESCAPE
17061 * LyXAction.C (init): add entry for LFUN_ESCAPE
17063 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17064 Remove commented code.
17065 (insertNote): moved here
17066 (open_new_inset): moved here
17068 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17071 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17073 * kbmap.C (findbinding): clean it up and make it work correctly.
17075 * lyx_main.C (init): do not pass argc and argv as parameters
17077 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17079 * buffer.C: fix path for OS/2 & Win32
17083 * lyx_main.C: Added os:: class.
17085 * os2_defines.h: update
17087 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17089 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17090 better by trying again with reduced state.
17092 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17094 * lyxrc.C (read): print error about invalid key sequence only when
17095 debugging (because not all latinX keysyms are known to some X
17098 * kbsequence.C (getiso): add a few std:: qualifiers
17099 (getiso): comment out extra return statement.
17101 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17103 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17105 (Dispatch): enhance the accent inset a bit. (not perfect)
17107 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17109 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17111 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17113 * bufferlist.C (emergencyWrite): fix assert() call
17115 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17117 * text.C (InsertChar): Added trivial patch to only send the "you
17118 can not do multiple spaces this way" message once during a
17121 2001-05-08 Baruch Even <baruch@lyx.org>
17123 * Makefile.am: Changed order of libraries to get LyX to link properly
17124 with the gnome frontend.
17126 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17128 * LaTeXFeatures.h: add a std:: qualifier
17130 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17132 * paragraph.C (String): use stringstream
17134 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17136 * paragraph.C (writeFile): remove footflag arg
17138 * buffer.C (makeLaTeXFile): use stringstream
17139 (latexParagraphs): remove footnot gurba
17141 * LaTeXFeatures.C (getPackages): use stringstream
17142 (getMacros): likewise
17143 (getTClassPreamble): likewise
17144 (getFloatDefinitions): new method
17146 * paragraph.C (writeFile): reindent
17149 * WorkArea.h: revert the xpos + etc changes.
17151 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17153 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17155 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17156 (pasteSelection): likewise
17157 * text2.C (CreateUndo): likewise
17159 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17161 * minibuffer.C (peek_event): temporarily reduce the functionality
17162 of the minibuffer (to allow args on lfuns)
17164 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17165 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17167 * buffer.C (readInset): add compability reading of old float
17168 lists, add reading of new style float list.
17169 (readInset): avoid reevaluation of inscmd.getCmdName()
17170 (getLists): reindent
17172 * MenuBackend.C (MenuItem): implement parsing of
17173 md_floatlistinsert and md_floatinsert.
17174 (expand::LastFiles): move initalizaton of iterators out of loop,
17175 avoid reevaluation.
17176 (expand::Documents): introduce typdedef vector<string> Strings,
17178 (expand::ExportFormats): introduce typedef vector<Format const *>
17179 Formats, and use it.
17180 (expand): implement FloatListInsert and FloatInsert.
17182 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17183 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17184 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17186 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17188 (Dispatch::LFUN_FLOAT_LIST): implement
17190 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17192 * LaTeX.C (run): Fix problem with --export code.
17194 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17196 * BufferView.[Ch] (workarea): removed.
17197 (getClipboard) new method; wrapper for workarea()->getClipboard()
17199 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17202 * WorkArea.h (width, height, xpos, ypos): These methods all
17203 returned the dimensions of the work_area sub-area of WorkArea,
17204 resulting in a position error if the WorkArea were resized. Now
17205 return the dimensions of the entire WorkArea.
17207 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17209 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17211 * LaTeX.C (deplog): correct the syntax of regex reg1
17213 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17215 * undo.C: remove !NEW_INSETS cruft
17217 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17219 * text2.C: remove !NEW_INSETS cruft
17221 * text.C: remove !NEW_INSETS cruft
17223 * tabular.C: remove !NEW_INSETS cruft
17225 * spellchecker.C: remove !NEW_INSETS cruft
17227 * lyxtext.h: remove !NEW_INSETS cruft
17229 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17231 * lyxfunc.C: remove !NEW_INSETS cruft
17233 * lyxfind.C: remove !NEW_INSETS cruft
17235 * lyx_cb.C: remove !NEW_INSETS cruft
17237 * figureForm.C: remove !NEW_INSETS cruft
17239 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17241 * buffer.[Ch]: remove !NEW_INSETS cruft
17243 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17245 * CutAndPaste.C: remove !NEW_INSETS cruft
17247 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17249 * BufferView2.C: remove !NEW_INSETS cruft
17251 * BufferView.h: remove !NEW_INSETS cruft
17253 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17255 * Lsstream.h: include LString.h before the sstream headers to
17256 fix problem with gcc 2.95.3 and lyxstring
17258 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17260 * lyx_main.C: add using directives when needed for C functions
17261 declared in std:: namespace.
17263 2001-04-27 Juergen Vigna <jug@sad.it>
17265 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17266 (SetHeightOfRow): comment out the update call should not be needed!
17268 2001-04-13 Juergen Vigna <jug@sad.it>
17270 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17271 (LyXTabular): tried to minimize operator= operations (and realized
17272 hopfully Lars wish).
17274 2001-04-27 Juergen Vigna <jug@sad.it>
17276 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17278 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17280 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17282 * buffer.C (readInset): hack to make listof algorithm work
17284 * BufferView_pimpl.C: hack to make listof algorithm work
17286 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17288 * LyXAction.C: removed all !NEW_INSETS cruft
17289 (init): moved lfun_item in method
17291 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17293 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17295 * BufferView2.C (theLockingInset): white space.
17297 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17299 * minibuffer.C: include <iostream>
17301 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17303 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17305 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17307 * text.[Ch] (TransposeChars): new method
17309 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17311 * call message directly through LyXView instead of through LyXFunc
17312 * BufferView2.C: adjust
17313 * BufferView_pimpl.C: adjust
17314 * FontLoader.C: adjust
17316 * bufferview_funcs.C: adjust
17317 * converter.C: adjust
17318 * figureForm.C: adjust
17319 * importer.C: adjust
17321 * lyx_gui_misc.C: adjust
17322 * lyxfunc.C: adjust
17325 + more files in subdirs
17327 * lyxparagraph.h (size): move up int file
17330 * adjust all uses of Assert to lyx::Assert.
17332 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17333 lyxfunctional in namespace lyx
17334 * layout.C (hasLayout): ditto
17337 (delete_layout): ditto
17338 (NumberOfClass): ditto
17339 * converter.C (GetFormat): ditto
17344 * bufferlist.C (getFileNames): ditto
17345 (emergencyWriteAll): ditto
17348 * MenuBackend.C (hasSubmenu): ditto
17351 * BufferView_pimpl.C (getInsetByCode): ditto
17353 2001-04-18 Juergen Vigna <jug@sad.it>
17355 * vspace.C (asLatexString): fixed the 100% problem.
17357 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17359 * lyxfunc.C (Dispatch):
17361 * minibuffer.h: add a few std:: qualifiers
17363 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17365 * minibuffer.[Ch]: reimplement so that commands is initiated and
17366 run from lyxfunc, simplified som handling, and made the completion
17367 and history code for complete. wip.
17369 * lyxfunc.C (processKeySym): call message
17370 (miniDispatch): new temporary method
17371 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17372 (LFUN_MESSAGE): implement
17373 (LFUN_MESSAGE_PUSH): implement
17374 (LFUN_MESSAGE_POP): implement
17375 (initMiniBuffer): the initial/defualt minibuffer message.
17377 * lyxfont.[Ch]: inline some more getters
17379 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17381 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17383 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17384 (AutoSave): use LFUN_MESSAGE
17385 (Reconfigure): ditto
17387 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17389 * figureForm.C: use LFUN_MESSAGE
17391 * converter.C (runLaTeX): use LFUN_MESSAGE
17393 * bufferview_funcs.C: use LFUN_MESSAGE
17395 (changeDepth): ditto
17397 * bufferparams.h: use boost::
17399 * bufferlist.h: inherit privately from noncopyable
17401 * bufferlist.C (loadLyXFile): remove some commented code.
17403 * buffer.C (runChktex): use LFUN_MESSAGE
17405 * ShareContainer.h: inherit privately from noncopyable
17407 * ParagraphParameters.[hC] (depth): inline it.
17409 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17411 (message): new method
17412 (messagePush): ditto
17413 (messagePop): ditto
17414 (show): init minibuffer
17415 (showState): direct call
17417 * LaTeX.[Ch]: inherit privately from noncopyable
17418 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17419 instead of WriteStatus.
17421 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17423 * BufferView_pimpl.C (buffer): don't init minibuffer
17424 (workAreaButtonPress): use LFUN_MESSAGE
17425 (workAreaButtonRelease): ditto
17426 (savePosition): ditto
17427 (restorePosition): ditto
17428 (MenuInsertLyXFile): ditto
17429 (workAreaExpose): don't init minibuffer
17430 (update): remove commented code, simplify
17432 * BufferView2.C (openStuff): use LFUN_MESSAGE
17433 (toggleFloat): ditto
17436 (copyEnvironment): ditto
17437 (pasteEnvironment): ditto
17442 (updateInset): remove some commented code
17444 * lastfiles.h: inherit privately from noncopyable
17447 * lyx_main.h: ditto
17449 * lyxlex_pimpl.h: ditto
17451 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17452 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17453 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17455 * LyXAction.h: inherit privately from noncopyable, add methods
17456 func_begin, func_end, returning iterators to the func map.
17458 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17459 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17460 (func_begin): new method
17461 (func_end): new method
17463 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17465 (copySelection): ditto
17466 (pasteSelection): ditto
17468 * BufferView.C: whitespace change
17469 * BufferView.h: inherit privately from noncopyable
17471 2001-04-16 Allan Rae <rae@lyx.org>
17473 * tabular-old.C (l_getline):
17474 * spellchecker.C (sc_check_word):
17475 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17476 an unrecognised preprocessor directive. So ensure they're wrapped.
17478 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17480 * src/exporter.C (Export): Give an error message when path to file
17483 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17485 * LaTeX.C (deplog): Always check that foundfile exists.
17487 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17490 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17492 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17494 * tabular.[Ch] (getLabelList): implement new method
17496 * minibuffer.h: comment ouf setTiimer
17498 * minibuffer.C (ExecutingCB): constify res
17499 (peek_event): constify s
17500 (Set): constify ntext
17501 (Init): constify nicename
17503 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17505 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17506 (savePosition): use two params to Minibuffer::Set
17507 (restorePosition): ditto
17509 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17511 * lyx_main.C: include language.h
17513 * Makefile.am (lyx_main.o): add language.h
17515 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17521 * CutAndPaste.C: include gettext.h
17523 * lyxfont.h: remove old hack with ON and OFF.
17526 * lyxfont.h: do not include language.h...
17531 * bufferview_funcs.C:
17537 * paragraph.C: ... but do it here instead
17539 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17541 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17543 * tabular.C: small reformat
17545 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17548 (BreakParagraph): ditto
17549 (SetOnlyLayout): ditto
17552 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17555 * lastfiles.C: removed most using decl, add std:: where needed
17557 * buffer.C: ws changes
17559 * MenuBackend.C (class compare_format): put into anon namespace
17560 (expand): constify label, names, action, action2
17563 * text.C (SingleWidth): constify font
17564 (IsBoundary): constify rtl2
17565 (GetVisibleRow): constify ww
17567 * LaTeX.C (deplog): constify logfile
17569 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17571 (workAreaExpose): constify widthChange, heightChange
17573 * lyxrow.C (par): moved
17576 * lyxrow.h: as inlines here
17578 * lyxfont.h (shape): moved from lyxfont.C
17579 (emph): moved from lyxfont.C
17581 * lyxfont.C (LyXFont): use initialization list for all
17583 (shape): move to lyxfont.h as inline
17584 (emph): move to lyxfont.h as inline
17587 2001-04-04 Juergen Vigna <jug@sad.it>
17589 * vspace.C: had to include stdio.h for use of sscanf
17591 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17594 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17595 independent of xforms.
17597 2001-04-02 Juergen Vigna <jug@sad.it>
17599 * spellchecker.C: fixed namespace placing!
17601 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17603 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17604 the LyXParagraph * is 0.
17606 2001-03-29 Juergen Vigna <jug@sad.it>
17608 * vspace.C: added support for %, c%, p%, l%.
17609 (stringFromUnit): added helper function.
17610 (asLatexString): changed to give right results for the %-values.
17612 * buffer.C: convert the widthp in a width%.
17614 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17616 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17619 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17620 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17622 * lyx_cb.[Ch]: see above.
17624 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17628 * lyx.[Ch]: replaced by figure_form.[Ch].
17632 * lyxfunc.C: changed headers associated with above changes.
17634 2001-03-27 Juergen Vigna <jug@sad.it>
17636 * BufferView_pimpl.C: set the temporary cursor right!
17638 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17640 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17642 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17644 * LString.h: removed "using std::getline"!
17646 * BufferView_pimpl.C (Dispatch): changes due to changes in
17647 InsetInclude::Params.
17649 * buffer.C (tag_name): removed redundant break statements as they were
17650 producing lots of warnings with my compiler.
17652 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17654 * LString.h: add "using std::getline" when using the real <string>.
17656 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17658 * buffer.C: removed bitset usage.
17659 PAR_TAG moved to an anonymous name space.
17660 (tag_name): new funtion, also in the anonymous namespace.
17661 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17662 (makeDocBookFile): clean code. Completed transition from string arrays
17664 (SimpleDocBookOnePar): code clean.
17666 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17668 * tabular.C: add some comments.
17670 2001-03-22 Juergen Vigna <jug@sad.it>
17672 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17673 compatibility read a bit and fixed bug with minipage in different
17676 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17678 * buffer.C (pop_tag): removed.
17679 (push_tag): removed.
17680 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17681 array replaced with vector. Added support for CDATA sections.
17682 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17684 (makeDocBookFile): XML conformant declaration of CDATA section,
17685 fixed bug related to <emphasis> in the first paragraph char.
17686 (sgmlOpenTag): exclude empty tags.
17687 (sgmlCloseTag): ditto.
17689 * buffer.h (pop_tag): removed.
17690 (push_tag): removed.
17692 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17694 * language.h (Languages): added size_type and size().
17696 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17698 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17699 response on compability reading of minipages. One probliem is that
17700 the old usage of minipages was flertydig
17702 * several files here and in subdirs: don't use static at file
17703 scope use anon namespaces instead.
17705 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17707 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17708 LaTeX output. This is necessary for Literate document
17711 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17713 * buffer.C: insert hfill when needed.
17715 * tabular.C (l_getline): use string::erase, small whitespace change.
17717 * BufferView_pimpl.C: try the anon namespace.
17718 * WorkArea.C: ditto
17720 2001-03-16 Juergen Vigna <jug@sad.it>
17722 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17723 otherwise it won't open options-dialogs.
17725 * buffer.C: honor pextraWidth(p) on converting minipages.
17727 * tabular.C (l_getline): changed the functions to strip trailing \r.
17729 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17731 * BufferView_pimpl.C:
17732 * minibuffer..C: added "using SigC::slot" declaration.
17734 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17736 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17742 * paragraph.C: ditto
17744 * lyxtext.h: NO_PEXTRA
17746 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17748 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17749 * ParameterStruct.h: ditto
17750 * ParagraphParameters.h: ditto
17751 * lyxparagraph.h: ditto
17753 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17755 * buffer.C: add compability for minipage alignment.
17756 (latexParagraphs): remove unwanted pextra check.
17758 * several files: remove CXX_WORKING_NAMESPACES
17760 * buffer.C (pop_tag): tie is in namespace boost
17762 * BufferView.h: noncopyable is in namespace boost
17764 * lyx_main.h: ditto
17767 * lastfiles.h: ditto
17768 * bufferlist.h: ditto
17769 * ShareContainer.h: ditto
17771 * LyXAction.h: ditto
17774 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17776 * Merging changes from BRANCH_MVC back into HEAD.
17778 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17780 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17782 * BufferView_pimpl.C: change from intl.C
17786 * Makefile.am: move combox.*
17792 * intl.C: remove dialog (covered by prefs)
17794 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17796 * lyxfunc.C (Dispatch): removed redundant break statement.
17798 2001-03-14 Juergen Vigna <jug@sad.it>
17800 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17802 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17804 * buffer.C: add hack to fix compability reading of minipages.
17806 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17808 * buffer.C (getLists): Cleanup.
17810 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17812 * lyxfont.C (update): don't honor toggleall on font size.
17814 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17818 * Makefile.am: moved to frontends/xforms/
17822 * BufferView_pimpl.C: changes for moved mathpanel
17824 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17826 * gettext.h: fix gettext_init() in --disable-nls
17828 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17830 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17832 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17835 * lyx.h: strip external form
17837 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17839 * BufferView_pimpl.C: add comment, destroySplash()
17841 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17843 * BufferView_pimpl.C:
17847 * lyxfunc.C: use re-worked insetinclude
17849 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17851 * buffer.C: add using std::stringstream.
17853 * lyx_cb.C: readd using std::ios.
17855 * buffer.C: add using std::map.
17857 * BufferView_pimpl.C: add using std::vector.
17859 * ShareContainer.h: add std:: to swap.
17861 * buffer.h: add some typedefs
17862 * buffer.C (getLists): use them
17863 (getLists): renamed from getTocList.
17864 add a counter for the different float types and use it in the
17866 (getLists): use the same counter for the NEW_INSETS and the "non"
17869 * lyx_cb.h: remove unused items, includes, using etc.
17871 * ShareContainer.h: remove some commented code, add more comments
17872 and "documentation".
17874 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17876 * buffer.C (getTocList): make the list also when NEW_INSETS is
17879 * buffer.h: remove TocType
17881 * buffer.C (getTocList): change to return a map<string,
17882 vector<TocItem> >, implement for dynamic number of list.
17884 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17885 * text2.C (PasteSelection): adjust
17886 * CutAndPaste.C (pasteSelection): adjust
17888 * FloatList.C (FloatList): update from the new_insets branch.
17889 * Floating.[Ch]: ditto
17890 * LaTeXFeatures.C: ditto
17892 * lyxlex_pimpl.C: ditto
17894 * paragraph.C (Last): remove when NEW_INSETS is defined.
17896 * other file: changes because of the above.
17898 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17900 * lyxparagraph.h: rename next to next_, previous to previous_,
17901 make them private for NEW_INSETS. Rename Next() to next(),
17902 Previous() to previous().
17904 * other files: changes because of the above.
17906 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17909 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17912 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17914 * main.C (main): pass lyx_localedir to gettext_init().
17916 * gettext.h: remove locale_init and gettext_init macros
17918 * gettext.C (locale_init): new function
17919 (gettext_init): new function
17921 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17924 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17926 * Moved credits to frontends:
17927 * credits.[Ch]: removed
17928 * credits_form.[Ch]: removed
17929 * lyx_gui_misc.C: remove credits stuff
17932 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17934 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17936 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17937 unneeded destructor.
17939 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17940 a standalone pointer again.
17942 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17944 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17950 * ToolbarDefaults.C:
17959 * BufferView_pimpl.C: use new file dialog in GUII
17962 * lyx_cb.C: remove LayoutsCB to Toolbar
17964 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17966 * ShareContainer.h (get): add std:: qualifier
17968 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17970 * ShareContainer.h: define a proper ShareContainer::value_type
17971 type (and use typename to please compaq cxx)
17973 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17975 * lyxparagraph.h: move serveral local vars to
17976 ParameterStruct/ParagraphParameters., use ShareContainer in
17977 FontTable., make vars in FontTable private and add getter and
17980 * paragraph.C: changes because of the above.
17982 * lyxfont.h: remove copy constructor and copy assignment. (the
17983 default ones is ok), move number inside FontBits. move inlines to
17986 * lyxfont.C: add number to initializaton of statics, move several
17987 inlines here. constify several local vars. some whitespace
17988 cleanup. Dont hide outerscope variables.
17990 * Spacing.h: add two new constructors to match the set methods.
17992 * ShareContainer.h: new file, will perhaps be moved to support
17994 * ParameterStruct.h: new file
17996 * ParagraphParameters.h: new file
17998 * ParagraphParameters.C: new file
18000 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18001 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18003 * BufferView_pimpl.C: ParagraphParameter changes.
18004 * buffer.C: Likewise.
18005 * bufferview_funcs.C: Likewise.
18006 * text.C: Likewise.
18007 * text2.C: Likewise.
18009 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18011 * lyxfind.C (LyXReplace): do not redefine default argument in
18013 (IsStringInText): ditto
18014 (SearchForward): ditto
18015 (SearchBackward): ditto
18017 2001-03-06 Juergen Vigna <jug@sad.it>
18019 * lyxfind.C (IsStringInText): put parentes around expressions.
18021 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
18023 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18025 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
18027 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18029 * stl_string_fwd.h: add comment
18031 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18034 * tabular.C: remove unused DocBook methods
18040 killed DO_USE_DEFAULT_LANGUAGE
18042 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18044 * lyx_gui.C: do not include language.h.
18046 * bufferview_funcs.C (ToggleAndShow): do not provide optional
18047 arguments in function implementation.
18049 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18051 * BufferView_pimpl.C: add <ctime>
18053 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18055 * BufferView_pimpl.C: add using std::find_if
18057 2001-02-27 José Matos <jamatos@fep.up.pt>
18059 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18062 2001-02-11 José Matos <jamatos@fep.up.pt>
18064 * buffer.C (makeDocBookFile): command styles now have a parameter as
18065 "title" by default.
18067 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18069 * layout_forms.[Ch]: removed
18070 * lyx_cb.[Ch]: out character
18071 * lyx_gui.C: out character
18072 * lyx_gui_misc.C: out character
18073 * bufferview_funcs.C: : out character,
18074 added toggleall as parameter in ToggleAndShow
18076 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18078 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18080 * text2.C (SetCurrentFont): Disable number property at boundary.
18082 2001-02-26 Juergen Vigna <jug@sad.it>
18084 * lyxfunc.C (getStatus): added a string argument override function so
18085 that this is correctly called from LyXFunc::Dispatch if it contains a
18086 do_not_use_argument which is used!
18087 (Dispatch): added check for "custom" export and call appropriate func.
18089 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18091 * lyxrc.C: Add language_command_local, language_use_babel and
18092 language_global_options.
18094 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18096 * buffer.C (makeLaTeXFile): Use language_use_babel and
18097 language_global_options.
18099 2001-02-23 Juergen Vigna <jug@sad.it>
18101 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18102 which works with LyXText and putted it inside BufferView. Here now we
18103 only call for that part the BufferView::Dispatch() function.
18105 * BufferView.C (Dispatch): added.
18107 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18108 functions which needs to use a LyXText over from LyXFunc.
18109 (MenuInsertLyXFile): added
18110 (getInsetByCode): added
18111 (moveCursorUpdate): added
18112 (static TEXT): added
18114 2001-02-22 Juergen Vigna <jug@sad.it>
18116 * BufferView_pimpl.C (update): call a status update to see if LyXText
18119 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18121 * vc-backend.C (revert): implement for CVS
18122 (getLog): implement for CVS
18124 2001-02-20 Juergen Vigna <jug@sad.it>
18126 * text2.C (ClearSelection): added BufferView param for inset_owner call
18128 * lyxfunc.C (TEXT): added this function and use it instead of
18129 directly owner->view()-text of getLyXText().
18131 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18133 * src/layout_forms.C: out preamble
18134 * src/layout_forms.h: out preamble
18135 * src/lyx_cb.C: out preamble
18136 * src/lyx_cb.h: out preamble
18137 * src/lyx_gui.C: out preamble
18138 * src/lyx_gui_misc.C: out preamble
18139 * src/lyxfunc.C: connect with guii preamble
18141 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18143 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18145 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18147 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18148 whether to run bibtex.
18150 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18152 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18154 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18156 * Makefile.am (lyx_SOURCES): removed bibforms.h
18158 * vspace.h: doxygen
18160 * text.C (GetVisibleRow): make several local vars const
18162 * tabular.C: small cleanup.
18164 * lyxserver.C (callback): use compare instead of strncmp
18166 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18167 inlines to after class or to paragraph.C
18169 * lyxfont.h: remove friend operator!=
18171 * converter.h: move friend bool operator< to non friend and after
18174 * combox.h: small cleanup
18176 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18177 to inlines after class def.
18179 * buffer.C (pop_tag): use string operations instead of strcmp
18181 * bmtable.c: doxygen, small cleanup
18183 * LaTeX.h: remove friend operator==
18185 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18197 * BufferView_pimpl.C:
18198 * BufferView.[Ch]: remove cruft
18200 2001-02-14 Juergen Vigna <jug@sad.it>
18202 * lyxfunc.C: removed #if 0 unused code
18204 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18206 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18208 * text2.C (SetSelection): added a BufferView * parameter
18210 2001-02-13 Juergen Vigna <jug@sad.it>
18212 * lyxfunc.C (Dispatch): fixed protected blank problem.
18213 * BufferView2.C (protectedBlank): added LyxText * parameter.
18215 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18216 (AppendColumn): same as above for column_info.
18218 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18219 (moveCursorUpdate): use a LyXText param for support of InsetText.
18221 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18222 (tripleClick): ditto
18224 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18226 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18228 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18230 * text2.C (SetSelection): set correct update status if inset_owner
18231 (ToggleFree): ditto
18233 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18235 * tabular.C: remove some commented code.
18237 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18239 * BufferView_pimpl.C: call hideSplash()
18241 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18244 * bibforms.h: remove
18247 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18248 add LFUN_CHILD_CREATE
18250 * counters.h: fix tiny typo
18255 * lyx.C: move splash to frontends/xforms/
18257 * lyx_gui_misc.C: move Include and Bibform to frontends
18259 * lyxvc.h: clarify comment
18261 * vspace.C: tiny housekeeping
18263 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18265 * text.C (PrepareToPrint): RTL Fix.
18267 * paragraph.C (GetUChar): New method.
18268 (String): Use GetUChar.
18270 * buffer.C (asciiParagraph): Use GetUChar.
18272 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18274 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18276 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18279 * buffer.C: rename to getLogName(), handle
18280 build log / latex log nicely
18282 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18285 * MenuBackend.h: remove support for reference menuitem type.
18287 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18289 * BufferView_pimpl.C: housekeeping
18290 * BufferView_pimpl.h:
18295 * minibuffer.h: move Timeout GUI-I
18297 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18299 * lyxrc.C (read): Update converters data-structures.
18301 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18303 * LaTeX.h (operator!=): add operator != for Aux_Info
18305 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18307 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18309 * LaTeXLog.C: deleted, useful code moved to Buffer
18312 * buffer.C: new function getLatexLogName()
18318 * lyxfunc.C: use frontends for LaTeX and VC logs
18320 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18322 * LaTeX.h: yet another std:: that Allan forgot.
18324 * Variables.C (set): renamed from isset(), because this clashes
18325 with some HP-UX macros (grr).
18327 2001-02-06 Allan Rae <rae@lyx.org>
18329 * LaTeX.h: Another bug fix. Missing std:: this time.
18331 2001-02-04 Allan Rae <rae@lyx.org>
18333 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18334 floats problem. I've left it commented out because it's not quite
18335 correct. It should also test that the current object is a table or
18336 figure inset. But I haven't gotten around to figuring out how to do
18337 that. I *think* it'll be something like: "table" == inset.type()
18339 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18342 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18344 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18345 all the citation/databases/styles in the auxilary file.
18346 (run): Rerun latex if there was a babel language error.
18348 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18350 * text.C (Backspace): Preserve the font when changing newline char
18352 (BreakParagraph): If the cursor is before a space, delete the space.
18354 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18356 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18358 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18359 new argument (code).
18360 (ChangeCitationsIfUnique): New method.
18362 * paragraph.C (GetPositionOfInset): Handle bibkey.
18364 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18366 * BufferView_pimpl.h: change type of Position::par_pos to
18367 LyXParagraph::size_type.
18369 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18371 * BufferView_pimpl.C (savePosition, restorePosition): Write
18372 messages to minibuffer.
18374 2001-01-28 José Matos <jamatos@fep.up.pt>
18376 * buffer.C (makeDocBookFile): adds support for document language.
18377 A silly restriction on the name of LatexCommand types where removed.
18378 Added support for CDATA sections, allows to chars unescaped, used
18379 among others in code, to avoid escape < and >.
18381 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18383 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18384 saved positions instrad of a stack. Furthermore, a position is
18385 stored using paragraph id/paragraph position.
18387 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18388 Remove LFUN_REF_BACK.
18390 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18392 * converter.C (dvipdfm_options): New method.
18394 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18396 * vspace.C (isValidLength): Fix for empty input string.
18398 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18400 * LyXAction.C (init): change description of LFUN_FIGURE to
18403 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18405 * LaTeX.C: add using directive
18407 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18409 * MenuBackend.C (expand): Fix the sorting of the formats.
18411 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18413 * lyx_main.C: tiny error message fix
18415 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18417 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18418 calling fl_initialize(). This fixes the problem with ',' as
18419 decimal separator in text files.
18421 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18423 * trans.C (process): Fix the keymap bug.
18425 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18427 * LaTeX.C (scanAuxFiles): New method. Provides support for
18428 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18429 (scanLogFile) Scan for "run BibTeX" messages.
18431 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18432 OT1 font encoding. Also, load the aecompl package if the ae
18435 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18437 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18439 * texrow.C (increasePos): turn two error messages into debug
18442 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18444 * LaTeX.C (scanAux): Handle the \@input macro.
18445 (runBibTeX): Use scanAux().
18447 * language.C (latex_options_): New field.
18449 * LaTeXFeatures.C (getMacros): Add language macros.
18451 * buffer.C (makeLaTeXFile): Small fix.
18453 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18455 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18457 * text2.C: add a using directive.
18459 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18464 * lyxfunc.C: kill LyXBell.
18466 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18468 * text.C (IsBoundary): Remove the error message
18470 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18472 * lyxrc.C (setDefaults): Correct initialization value for
18475 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18477 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18480 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18481 and GotoNextNote().
18483 * src/LyXAction.C: Added reference-next.
18485 * text.C (InsertChar): Use contains instead of strchr.
18487 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18489 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18491 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18492 alignment commands (when needed).
18494 * text.C (InsertChar): Add ':' to number separator chars.