1 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3 * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
4 math insets do not return a proper editable() state yet (bug 2124).
6 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
8 * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for
9 docs containing very large paragraphs.
11 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
13 * cursor.C (selectionBegin, selectionEnd):
14 * text.C (drawSelection): Fix bug 2115: assertion when anchor and
15 cursor at different depths.
17 2005-11-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
19 * bufferview_funcs.C (coordOffset): do not call cursorPos
20 for collapsed collapsables (fix bug 2094).
22 2005-11-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
24 * paragraph.C (fontSpan): make sure that the FontSpan does not
25 span across beginOfBody (bug 1947).
27 2005-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
29 * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
31 2005-11-03 Michael Gerz <michael.gerz@teststep.org>
33 * messages.C: fix crash and localization on MinGW/Windows platform
35 2005-11-02 Angus Leeming <leeming@lyx.org>
38 * lyxtextclass.C: trivial fixes to some MSVS warnings.
40 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
42 * text3.C (getStatus): re-enable disabled code. (bug 2081)
44 * BranchList.h (empty): constify.
46 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
48 * text3.C (getStatus):
49 * MenuBackend.C (expandBranches): take the branch list from the
50 master document (bug 2092).
52 * MenuBackend.C (expandBranches):
53 * bufferparams.C (writeFile): use BranchList type.
55 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
57 * text3.C (dispatch, getStatus):
59 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
61 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
63 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
65 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
67 * text.C (insertChar): do not reset boundary (bug 2061)
69 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
71 * dociterator.C (updateInsets): new method. Updates the inset_
72 cache of all the slices of the iterator.
74 * text2.C (deleteEmptyParagraphMechanism): compare also containing
75 insets when comparing pit/pos; pass the right cursor to
76 recordUndo; when a paragraph has been deleted, compare `old.top()' to
77 the right cursor slice of `cur'; use updateInsets on cur to make
78 sure that the inset caches are correct; general cleanup.
80 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
82 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
83 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
84 containg inset. If this does not work, the same command will be
85 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
87 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
90 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
92 * lyxtextclass.C (Read): convert layout file if the format is wrong
93 * lyxtextclass.C (layout2layout): new, needed for the above
95 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
97 * messages.C: do not forget to include <cerrno>.
99 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
101 * dociterator.h (StableDocIterator): add access to pos().
102 * undo.C (samePar): new method to check if two
103 iterators are in the same paragraph
104 * undo.C (recordUndo): check for samePar instead of cell identity
105 (which includes pos() and is too strict) (fixes bug 2097)
107 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
109 * text.C (setCursorFromCoordinates): return a bool telling whether
112 * text3.C (cursorPrevious): update if needed after
113 setCursorFromCoordinates (when dEPM triggered).
115 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
116 (otherwise the anchor may be completely wrong and make dEPM assert).
118 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
120 * buffer.C: version upgrade to 245.
121 * bufferparams.C: remove \quotes_times (bug 2090).
122 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
123 quotation marks as default.
125 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
127 * CutAndPaste.C (nrOfParagraphs): remove (unused)
128 * CutAndPaste.C (cutSelection): Remove debug message
129 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
130 undo information and only copy if this is a real cut
131 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
133 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
135 * CutAndPaste.C (eraseSelection): prevent cursor corruption
136 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
137 superflous cur.selection() setting
138 * CutAndPaste.[Ch] (grabSelection): take a const cursor
139 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
141 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
143 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
146 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
148 * BufferView_pimpl.C: comment layout change
150 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
154 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
155 by bibliography managers (bug 2071).
157 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
159 * BufferView_pimpl.C (update): choose arguments to update call so
160 that single-par update works most times
161 * text3.C (dispatch): carefully tune updating separately for
162 whole-screen and current-paragraph
163 * rowpainter.C (paintText): 1) replace painting by caching for
164 the two extra paragraphs, because we can;
165 2) suppress greying out of areas below/above drawn area in case of
167 * lyxfunc.C (dispatch): remove superfluous update
168 * LyXAction.[Ch]: introduce SingleParUpdate
170 2005-10-05 Angus Leeming <leeming@lyx.org>
172 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
173 always initialised before use.
175 * text.C (setHeightOfRow): squash warning about comparison
176 of signed and unsigned types.
178 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
180 * text.C (cursorX): two fixes involving RtL text drawing
182 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
184 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
185 items, not only large ones (part of bug 2057)
187 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
189 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
190 argument, use "newcommand".
192 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
194 * cursor.C (setSelection): do not open collapsable insets;
195 the insets do by themselves now (autoopen).
197 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
199 * buffer.C: format is up to 244.
201 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
203 * text.C (redoParagraph): fix calcultation of inset width wrt
204 leftMargin (bug 1957).
206 * text3.C (dispatch): leave inset to the right when hitting ESC
209 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
214 * messages.C: include <boost/current_function.hpp>
216 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
218 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
219 when command is internal. (bug 1941)
221 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
223 * text2.C (cursorRight): do not honor boundary when at the end of
224 a paragraph. (bug 2010 again)
226 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
228 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
230 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
232 * rowpainter.C (paintText): fix RtL space width display bug (2029)
234 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
236 * text2.C (setCursor): remove the unused 'boundary' parameter for
237 the CursorSlice version; adapt the LCursor version.
240 * paragraph_pimpl.C (markErased):
241 * cursor.C (bruteFind2, bruteFond3): fix warnings.
243 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
245 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
246 as is already done for "chapter".
248 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
250 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
251 textclass; do not record undo if nothing is changed.
253 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
255 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
257 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
259 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
261 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
263 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
264 combox, it is necessary to search for the topmost paragraph in the
265 cursor stack (bug 1926)
267 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
269 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
270 end of paragraph. (bug 2010)
272 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
274 * text.C (leftMargin): check for inInset == 0
276 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
278 * text.C (leftMargin): test for insetbase's new neverIndent()
279 bool instead of listing each and every inset that does not
280 wish par indendation.
282 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
284 * buffer_funcs.C (setCounter): put the code to compute enum label
285 here (where it belongs).
287 * counters.C (enumLabel): move code to buffer_funcs.C.
289 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
291 * outputparams.[Ch]: store local_font instead of local_language
292 * paragraph.C (simpleTeXOnePar): adapt to the change above
294 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
297 * counters.[Ch]: clean up special code for Hebrew.
299 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
301 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
304 2005-09-08 Angus Leeming <leeming@lyx.org>
307 * lyxrc.C: correct grammar describing invocation of the
310 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
312 * text.C (read): remove unused variable.
313 (readParToken): remove static Change variable (never good in
314 recursive settings...); add it as a parameter instead.
316 * paragraph_pimpl.C (acceptChange): make debug info conditional.
318 * metricsinfo.C (PainterInfo): add new member erased_.
320 * rowpainter.C (RowPainter): add erased_ member, initialized from
322 (paintInset): pass erased_ to Inset::draw.
324 * lyxfunc.C (lookupChange): new function. Tells whether change
325 tracking is disabled at a given postion.
326 (getStatus): disable some actions when in deleted text with change
329 2005-08-03 John Levon <levon@movementarian.org>
331 * tabular.C (appendColumn, setMultiColumn): adapt to change to
334 * paragraph_pimpl.C (markErased): add bool argument and handle it.
335 Also make sure to mark insets recursively.
336 (rejectChange, erase): be recursive
338 * paragraph.C (markErased): add bool argument.
339 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
341 * lyxfind.C (findNextChange): tiny cleanup.
343 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
344 change tracking with the cursor in an inset; make sure the first
345 change is not skipped.
347 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
349 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
350 tabularStackDirty to work around bug 1919 (tabular needs
351 to know whether its own cell paste buffer or the one of
353 * CutAndPaste.C: mark tabular_stack_ clean after copy.
355 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
357 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
359 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
361 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
362 use old deleteion algorithm when changetracking is on.
364 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
366 * messages.C (get): add debug output.
368 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
370 * text.C (cursorX): fix bug 1965: cursor movement at
371 line end broken in RtL.
372 (drawSelection): fix bug 1970: drawing of single-line
373 selection broken for RtL.
375 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
379 * dociterator.h (clear, push_back, pop_back): change from
382 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
383 and changed to just return the value of the item depth; take a
384 ParIterator as argument; take the itemdepth at outer nesting level
385 in account if necessary; cleanup and comment the code.
386 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
387 and changed to just return true if reset is needed; take a
388 ParIterator as argument; cleanup and comment the code.
389 (setCounter): adapt to above changes.
391 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
393 * text3.C (dispatch): make debug message optional
395 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
397 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
400 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
402 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
404 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
406 * text.C (insertChar):
407 * text2.C (deleteEmptyParagraphMechanism): take care whether
408 a blank has been deleted (in change tracking mode) (bug 1254).
410 2005-07-20 John Levon <levon@movementarian.org>
412 * text2.C (insertStringAsLines): remove old dubious code,
415 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
417 * MenuBackend.C (expandToc): use Floating::listName() as title of
420 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
422 * toc.[Ch]: Do not use translatable strings (bug 1870).
424 2005-07-20 John Levon <levon@movementarian.org>
426 * tabular.C: fix 1748 - setting multicolumn adds
427 left line to the first cell
429 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
432 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
435 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
437 * messages.C: supress some lyxerr messages
439 2005-07-18 Juergen Vigna <jug@lyx.org>
441 * text.C (drawSelection): honor boundary when asking for cursorX.
443 2005-07-17 José Matos <jamatos@fc.up.pt>
445 * tabular.C (recalculateMulticolumns): fix handling of one column
448 2005-07-17 Juergen Vigna <jug@lyx.org>
450 * text.C (Delete, backspace): fixed so that paragraph with the
451 same layout can be merged by Delete/Backspace.
453 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
455 * text.C (readParToken): fix spelling.
457 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
459 * text2.C: fix counter update for DEPM problem reported by
462 2005-07-17 Juergen Vigna <jug@lyx.org>
464 * BufferView_pimpl.C (setBuffer): save/restore the
465 cursor/selection when switching buffers
468 * buffer.C (saveCursor): add saveDocumentIterators to save the
469 cursor when switching buffer.
471 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
474 * buffer.C: clarify message
476 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
478 * dociterator.C (DocIterator): fix initialization order
480 2005-07-17 Juergen Vigna <jug@lyx.org>
482 * text2.C (cursorHome):
483 * text.C (drawSelection, cursorX):
484 * dociterator.C (textRow): add boundary to getRow() call
486 * paragraph.C (getRow): implementation of below
488 * paragraph.h: add parameter boundary for getRow() function
490 2005-07-17 José Matos <jamatos@fc.up.pt>
494 * tex-strings.[Ch]: new file format, remove support for a4.sty,
495 a4wide.sty and a4widemargins.
497 2005-07-17 Juergen Vigna <jug@lyx.org>
499 * text2.C (cursorLeft): fix one of error
501 2005-07-17 Juergen Vigna <jug@lyx.org>
503 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
505 more fixes for boundary handling
507 * text3.C (dispatch): don't reset cursor if boundary has changed
510 2005-07-16 Juergen Vigna <jug@lyx.org>
512 * text2.C (getColumnNearX): hopefully got it right now,
513 check if we are on column 0 for special case.
515 2005-07-16 Juergen Vigna <jug@lyx.org>
517 * text2.C (getColumnNearX): handle special case Newline Inset
519 * text.C (singleWidth): Just remove bogus check
521 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
523 * funcrequest.C (split): avoid reading uninitialized char c
525 2005-07-16 José Matos <jamatos@fc.up.pt>
531 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
532 single papersize variable.
534 2005-07-16 Juergen Vigna <jug@lyx.org>
536 * text3.C (dispatch): honor boundary when checking if a cursor
537 movement has been done
539 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
540 (setCursor, setCursorIntern): fix cursor movement with boundary
542 2005-07-16 Juergen Vigna <jug@lyx.org>
544 * text.C (currentState): output the actual Boundary
546 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
548 * factory.C (createInset): fix bad logic for tabular creation
550 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
552 * lyx_main.C (init): change some reLyX reference to tex2lyx
554 2005-07-16 Juergen Vigna <jug@lyx.org>
556 * dociterator.C (DocIterator): initialize boundary
558 2005-07-16 Juergen Vigna <jug@lyx.org>
560 * text2.C (getColumnNearX): Consider rows without trailing blank.
562 2005-07-16 André Pönitz <poenitz@gmx.net>
564 * lyxfont.h: Change order of declarations to give the compiler
565 a better chance to inline things
567 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
568 questions on unsaved docs for better scritability
570 2005-07-16 André Pönitz <poenitz@gmx.net>
572 * paragraph.h (getChar): remove asserts as the same kind of security
573 can be achieved by using a suitable standard library implementation
574 and the function was in the critical path (25.9% in profiler)
576 2005-07-16 Juergen Vigna <jug@lyx.org>
578 * cursor.C (bruteFind2):
579 * bufferview_funcs.C (coordOffset):
580 * text.C (cursorX,cursorY): Handle cursor position after last char
581 in row before a inset which uses a whole row.
583 2005-07-15 José Matos <jamatos@lyx.org>
585 * output_plaintext.[Ch] (writeFileAscii): control reference title
587 (asciiParagraph): noparbreak was already deal and was incorrectly
590 2005-07-15 Juergen Vigna <jug@lyx.org>
592 * lyxfunc.C (dispatch): save and restore the cursor after a
595 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
597 * text.C (backspace): bug 806 for empty keepempty paragraphs we
598 change the layout to default before letting DEPM do its thing.
600 * paragraph_funcs.C (breakParagraph): dont reset the layout on
603 * text.C (setCursorFromCoordinates): add a debug statement
605 * text2.C (getColumnNearX): bug 1825 make sure that we don't
606 return a pos that is not on the row
608 * output_latex.C (TeXDeeper): get rid of potential dereferencing
609 of past the end iterator
611 2005-07-14 André Pönitz <poenitz@gmx.net>
613 * undo.C (recordUndoFullBuffer): implement undo for
616 2005-07-14 André Pönitz <poenitz@gmx.net>
618 * cursor.C (setSelection): open insets when selection is set there
619 to avoid crashs with cold coord cache
621 2005-07-14 André Pönitz <poenitz@gmx.net>
623 * trans_mgr.C (insert): move cursor to the right after inserting
626 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
628 * BufferView_pimpl.C (update): dampen some of the debug blabbering
629 * factory.C (readInset): ditto
630 * text.C, text2.C: ditto
632 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
634 * buffer.C: format incremented to 242. There is no file format per
635 se, but the "frenchb" language has been removed from lib/language
636 and has to be translated to "french" by lyx2lyx.
638 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
640 * cursor_slice.h, dociterator.h: add some documentation
641 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
643 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
645 * text.C (leftMargin): do not add identation to display() style
646 insets, because they are always centered (bug 1293).
648 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
650 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
651 formatted_time methods in support/lyxtime.
653 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
655 * toc.[Ch]: new method getGuiName, which is used by the frontends
656 to set the toc combo (fixes bug 1870). Make TOC string translatable.
658 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
660 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
661 StableDocIterator const &)
662 * undo.C (recordUndo): use the above instead of cell.size() comparison
663 (fixes bug 1808; instructed by Andr�.
665 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
668 * dociterator.h: Fix the assert when copying rows/cols in math
670 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
672 * BufferView_pimpl.C:
674 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
676 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
677 (findInset): new functions, refactored from goto Inset that return
678 the position of a certain inset without setting the buffer's cursor
680 (gotoInset): rewrite to call findInset and then set the cursor
683 2005-06-16 Angus Leeming <leeming@lyx.org>
685 * lyxrc.C (output, read): wrap all input and output of paths with
686 calls to os::internal_path and os::external_path, respectively.
687 (output): wrap bind_file inside quotes.
689 * format.C (view): enable the viewer to use the '$$s' placeholder.
691 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
693 * LColor.[Ch] (getFromLaTeXName): new
695 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
697 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
699 2005-06-14 Angus Leeming <leeming@lyx.org>
701 * lyx_main.C (init): ensure that the LyX binary dir is the first
702 element in the PATH on non-POSIX builds.
704 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
706 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
708 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
710 * rowpainter.C (paintInset, paintHebrewComposeChar)
711 (paintArabicComposeChar, paintChars): add a LyXFont argument.
712 (paintChars): use getFontSpan to reduce calls to getFont to a
713 minimum; use Paragraph::lookupChange instead of isXXXText.
714 (paintForeignMark): rename LyXFont argument.
715 (paintFromPos): pass a LyXFont object to the various paintXXX
718 * FontIterator.C (FontIterator, operator++): use
719 Paragraph::getFontSpan
721 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
722 version that returns the font span as a pair.
724 2005-06-09 Angus Leeming <leeming@lyx.org>
726 * converter.C (convert): Don't forget "outfile = real_outfile" as
727 the final step in a conversion where the input and output file names
728 are the same. Otherwise, future conversion steps won't work...
730 2005-06-09 Angus Leeming <leeming@lyx.org>
732 * lyxsocket.C: remove stub code as it isn't needed by
733 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
735 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
737 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
738 effectively disabled -x
740 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
742 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
743 when it actually makes sense.
745 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
747 * BufferView_pimpl.C: revert to showCursor in connection with
748 Lars's front-end stack
750 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
752 * text.C (redoParagraph): move cursor right after a bibitem
755 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
757 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
759 * buffer_funcs.C (bufferErrors): fix computation of the end of an
762 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
764 * BufferView.[Ch] (update):
765 * BufferView_pimpl.[Ch] (update, metrics):
766 * dimension.h (operator==):
767 * lyxfunc.C (dispatch):
768 * metricsinfo.h (ViewMetricsInfo):
769 * rowpainter.C (paintText):
771 * text.C (redoParagraph):
772 * text3.C (dispatch): Make LyX only repaint current paragraph in
773 case of character insert --> speedup. Also fix cursor draw
776 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
778 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
779 avoid a crash (bug 1891)
781 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
785 * text2.C (getStringToIndex): constify cur argument.
787 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
788 argument has been given
789 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
790 try to invoke LFUN_INSET_APPLY).
792 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
793 if no inset was created by doInsertInset
794 (doInsertInset): return true if an inset has been inserted.
796 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
798 * vspace.C (asGUIName): new method. A version of the space
799 suitable for showing on screen.
801 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
804 * lyxrc.C: rename "ASCII" to "Plain Text"
806 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
808 * buffer_funcs.C (expandLabel): take a Buffer as argument;
809 translate the labelstring.
810 (setCounter): translate labelstring as needed.
812 * output_docbook.C (makeCommand): fix expandLabel invokation
814 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
816 * BufferView.C: fix dialog title
818 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
820 * lyx_main.C (priv_exec): fix logic error with help from Angus
821 * lyx_main.C (parse_execute): set is_gui = false and remove now
822 obsolete comment about a segfault
824 2005-05-18 Angus Leeming <leeming@lyx.org>
826 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
828 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
830 * tabular.[hC]: added setCellInset to fix tabular paste.
832 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
834 * buffer.C (save): check if destination is writable before trying
837 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
839 * BufferView_pimpl.C (update): fix processEvents -caused update
842 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
844 * buffer_funcs.C (setCounter): fix test for numbering of
847 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
848 depth correctly; use optional argument when it exists
850 * lyxtextclass.C: remove unused MaxCounterTags enum
851 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
852 (max_toclevel, min_toclevel): new methods.
854 * MenuBackend.C (expandToc2): fix case where depth is smaller than
855 the smallest depth in toc.
857 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
858 layouts that should not appear in a table of contents.
860 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
862 * cursor.h (undispatched, noUpdate): add comments from Andr�
863 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
867 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
869 2005-05-07 André Pönitz <poenitz@gmx.net>
871 * cursor.[Ch] (leaveInset): new function
873 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
875 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
877 2005-05-04 Angus Leeming <leeming@lyx.org>
879 * lyxfunc.C (getStatus): disable the spell checker dialog if
880 none of USE_[AIP]SPELL are defined.
882 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
884 * tabular.C (setWidthOfCell): remove obsolete comment
886 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
888 * paragraph.C (bibitem):
889 * buffer_funcs.C (setCounter):
890 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
892 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
894 * text3.C (getStatus): immediately return after setOnOff
896 * rowpainter.C: fix drawing of appendix start
898 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
900 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
901 SwitchBetweenClasses and remove the unused return value.
902 Handle character styles, too
904 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
906 * factory.C (createInset): handle undefined character styles
908 2005-05-02 Angus Leeming <leeming@lyx.org>
910 * buffer.C: protect the #include of utime.h with a preprocessor
913 2005-05-02 Angus Leeming <leeming@lyx.org>
915 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
916 function so that auto-saving works, albeit in a blocking manner.
918 * Makefile.am: make compilation of the client sub directory, of
919 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
920 on conditionals set at configure time.
922 * SpellBase.[Ch]: no longer an abstract base class. Instead,
923 it can be compiled in its own right but has no-op functionality.
925 * aspell.C, pspell.C: remove preprocessor guards. The files should
926 be compiled only if the necessary functionality exists.
928 * lyxserver.C, lyxsocket.C: disable on Windows.
930 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
932 * text.C (leftMargin): Fix the parindent use bug (1764)
935 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
937 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
940 2005-04-25 Angus Leeming <leeming@lyx.org>
948 include <config.h> in .C files, not .h ones.
950 protect headers inside preprocessor guards.
952 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
954 * FuncStatus.h (StatusCodes): document
956 2005-04-21 André Pönitz <poenitz@gmx.net>
958 * FuncStatus.h (enabled, onoff): document
960 2005-04-19 Angus Leeming <leeming@lyx.org>
962 * BufferView_pimpl.C (cursorToggle): no longer test whether
963 any child processes have been reaped before calling
964 handleCompletedProcesses().
966 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
968 * text3.C (dispatch): fix, finally fix, the language problem in
969 new lyxtexts, without disabling on-the-fly font changes (Helge's
972 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
974 * text3.C (dispatch): set cursor on double/triple click events
977 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
979 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
980 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
982 * rowpainter.C (paintFirst): simplify the code a little bit. In
983 particular, remove the test for secnumdepth.
984 * text.C (setHeightOfRow): only allocate space for chapter number
985 when updateCounters provided an actual label, instead of looking
986 at secnumdepth directly.
988 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
990 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
991 paragraphs when secnumdepth is large enough or, for environments,
992 when they are not the first in a sequence.
994 2005-04-17 Angus Leeming <leeming@lyx.org>
996 * buffer.C (makeLaTeXFile): replace code to manipulate a path
997 containing space and '~' characters with a call to latex_path().
999 2005-04-17 Angus Leeming <leeming@lyx.org>
1001 * converter.C (convert): protect all args of convertDefault.sh
1004 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1006 * text3.C (dispatch): change the layout to "Caption" after inserting
1009 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1011 * text3.C (dispatch): fix language problem in newly created
1012 textinsets (and main text) in non-english docs
1014 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1016 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1017 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1018 * text3.C (getStatus): disable LFUN_INSET_MODIFY
1020 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1024 * text2.C (getFont):
1025 * rowpainter.C (getFont): Fix metrics bug introduced by inset
1028 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1030 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1031 output of \item arguments without trailing text.
1033 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1035 * FontIterator.C (operator*): avoid a copy of the font.
1037 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1039 * rowpainter.C (getFont): fix language bug from previous fix
1041 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1043 * rowpainter.C (RowPainter, getFont): fix font inside inset
1046 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1048 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1049 preventing inserted font, deco, delim insets jumping to start of
1052 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1054 * lyxfunc.C (dispatch): translate message before sending it to the
1057 2005-03-29 Angus Leeming <leeming@lyx.org>
1059 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1060 to LyX on the command line.
1062 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1064 * vc-backend.C: use QuoteName to protect file names wherever
1067 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1070 * BranchList.h: fix bugs 1844,1845: document settings don't
1073 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1075 * lyxrc.C (setDefaults, read, output, getDescription): add support
1076 for tex_allows_spaces.
1078 * exporter.C (Export): allows files in directory containing spaces
1079 if tex_allows_spaces is true.
1081 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1082 output it in double quotes.
1084 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1086 * rowpainter.C: use default text height for drawing change tracker
1089 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1091 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1093 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1095 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1096 directory is missing.
1098 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1100 * text2.C: fixed the fix, extended to other case.
1102 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1104 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1106 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1108 * text2.C (cursorUp): get rid of a crash
1109 * text.C (x2pos): add an assert
1111 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1113 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1117 * dociterator.C: include <boost/current_function.hpp>, which is
1118 needed when assertions are disabled.
1120 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1122 * text2.C: fix for stuck cursor when traversing two
1123 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1125 2005-02-25 Andreas Vox <avox@arcor.de>
1127 * output_docbook.C (makeParagraph): suppress trailing newline
1128 after a run of paragraphs
1130 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1132 * paragraph.C: fix for confused change tracker when pasting
1133 text that begins with a lineseparator. [bug 1827]
1134 (setChange(0, Change::INSERTED);)
1136 * paragraph_funcs.C: fix for lost changes on triple-paste
1137 in change tracking mode [bug 1827] (par.setChange()).
1139 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1141 * text2.C (updateCounters, setCounter, expandLabel): move to
1144 * buffer_funcs.C (updateCounters): turn into a free standing
1145 function and add a buffer parameter. Remove dead code for tracking
1147 (setCounter): change into a free-standing function which gets a
1148 dociterator as argument. Use this iterator to fix captions in a
1149 simple way. When no float is found above the caption, use the
1150 labelstring of the caption layout as default.
1152 * text.C (breakParagraph, backspace):
1153 * text2.C (init, setLayout, changeDepth):
1154 * text3.C (dispatch):
1155 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1158 * dociterator.C (forwardPar): make it much faster by calling
1159 forwardPos() only when really necessary.
1161 * output_docbook.C (makeCommand): adapt to expandLabel move.
1163 * cursor.C: remove unused variable
1165 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1167 * paragraph_funcs.C: fix crash when pasting insets in change
1168 tracking mode [bug 1277] (honour change type in moveItem).
1170 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1172 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1174 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1176 * BufferView.C (setCursor): change to use a DocIterator.
1177 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1178 (putSelectionAt): adapt to BufferView::setCursor change.
1180 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1181 moved here from LyXText and rewritten to use proper cursor
1182 methods. Fixes bug 1787, 616 and 835.
1184 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1185 when inside an inset (part of bug 781).
1186 (dispatch): adapt to change of BufferView::setCursor.
1187 (getStatus, dispatch): handle LFUN_GOTOERROR,
1188 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1190 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1191 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1192 * text3.C (gotoNextInset, gotoInset): removed.
1194 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1196 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1198 2005-02-15 Angus Leeming <leeming@lyx.org>
1200 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1201 can be used meaningfully in a comparison.
1203 2005-02-13 André Pönitz <poenitz@gmx.net>
1205 * bufferview_funcs.C (coordOffset): improve cursor drawing
1207 2005-02-13 André Pönitz <poenitz@gmx.net>
1209 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1210 * Cursor.C (dispatch): use fixIfBroken
1211 * lyxfunc.C (getStatus): use fixIfBroken
1213 2005-02-15 Angus Leeming <leeming@lyx.org>
1215 * lyx_main.C (error_handler):
1217 * lyxrc.C (setDefaults):
1219 #include "environment.h".
1221 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1223 2005-02-15 Angus Leeming <leeming@lyx.org>
1225 * lyxserver.C (startPipe): squash MSVC warning "local variable
1226 'fd' used without having been initialized".
1228 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1230 * BufferView_pimpl.C: revert accidental commit.
1232 2005-02-14 André Pönitz <poenitz@gmx.net>
1234 * dociterator.[Ch]: new member forwardPosNoDescent(),
1235 which doesn't enter nested insets.
1236 * text2.C (setFont): use forwardPosNoDescent() instead
1237 of ForwardPos() (fixes crash on font change).
1239 2005-02-13 Angus Leeming <leeming@lyx.org>
1241 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1242 only if lyxrc.path_prefix is not empty.
1244 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1246 * bufferparams.C (readGraphicsDriver): prevent crash
1248 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1250 * text2.C (setCounter): check for inInset() == 0
1252 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1254 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1255 but use update() to get correct screen display; use convert
1256 instead of istringstream.
1257 (getStatus): handle LFUN_GOTO_PARAGRAPH
1259 * lyxfunc.C (dispatch, getStatus): do not handle
1260 LFUN_GOTO_PARAGRAPH here.
1262 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1264 * text3.C (dispatch): size() -> depth()
1266 * text2.C: remove some debug output
1268 * paragraph.C: ws changes only
1270 * lyxfunc.C (getStatus): size() -> depth()
1272 * dociterator.h (clear, push_back, pop_back, internalData,
1273 operator[], resize, empty): new functions
1274 Make StableDocIterator and operator== be friends. Don't inherit
1275 from std::vector use a privat class variable slices_ instead.
1278 * dociterator.C: update because of not inheriting from std::vector
1279 anymore. Call explictly to slices_ instead. Use depth() instead of
1280 size() and top() instead of back()
1282 * cursor.C: chagne size() -> depth and back() -> top(). Also
1283 remove some direct operator[](i) calls in favour of foo[i]
1284 (getFont): remove some dead code
1286 * bufferview_funcs.C (coordOffset): size() -> depth()
1288 * buffer.C: ws changes only
1290 * CutAndPaste.C (eraseSelection): back() -> top()
1292 * BufferView_pimpl.C (selectionRequested): back() -> top()
1294 * BufferView.C (setCursor): size() -> depth()
1296 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1298 * text3.C (cursorPrevious): return true if depm changed something
1300 (dispatch): rename sl to oldTopSlice, remove moving use the new
1301 NoUpdate func attrib instead. Make sure that needsUpdate is set
1302 for function that have NoUpdate, but where depm might have changed
1305 * text2.C (cursorLeft): make us return true if depm changed
1307 (cursorRight): ditto
1308 (cursorUpParagraph): ditto
1309 (curosrDownParagraph): ditto
1310 (cursorUp, cursorDown): ditto, make sure to read comments in code
1311 (deleteEmptyParagraphMechanism): remove an assert, also return
1312 true if just a single char was deleted.
1314 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1315 cursor that we modify, to avoid modifying an active cursor before
1316 we call setCursor. This allows depm to run. Also return true if
1317 depm deleted something.
1319 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1320 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1321 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1322 something was changed in the buffer because of them (ie. depm run)
1324 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1325 debug messages. Make update by default be false. Make sure that
1326 the result of update is retained throught several calls down to
1329 * LyXAction.h: add a new func_attrib: NoUpdate
1331 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1332 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1333 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1335 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1337 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1339 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1340 bv_->owner(), bv_->buffer() by direct references to the private
1342 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1343 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1344 (fitCursor): center() is in BufferView::Pimpl.
1345 (getStatus, trackChanges, dispatch): no need for a temporary buf
1347 (fitCursor, workAreaDispatch): use workarea().workheight()
1349 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1351 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1353 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1355 * buffer.C: format up to 241.
1356 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1357 break if pasting into ERT
1358 * lyxfunc.C (getStatus): suppress mathpanel and
1359 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1361 2005-02-01 Angus Leeming <leeming@lyx.org>
1363 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1365 2005-02-01 Angus Leeming <leeming@lyx.org>
1367 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1368 calling fs::is_directory().
1370 2005-01-31 Angus Leeming <leeming@lyx.org>
1372 * lyx_main.C (priv_exec): specify explicitly the relative location
1373 of the top level build directory when run in-place.
1375 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1377 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1378 LyXText containing the cursor, not the top-level one.
1380 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1382 (insertStringAsLines): rename par to pit; use temporary variable
1383 par to hold a Paragraph; do not store par.layout() in a variable,
1384 since the pointer may die when breaking paragraphs; pass pars to
1385 breakParagraph() instead of Buffer::paragraphs().
1387 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1389 * lyxlex_pimpl.h: #include <fstream>.
1391 * BufferView.[Ch] (getLyXText): add a const version.
1393 * BufferView_pimpl.C: add debug aids.
1398 * paragraph_funcs.h: add commentary explaining what the class does.
1401 * coordcache.[Ch]: add lots of commentary.
1402 (startUpdating, doneUpdating): debug aids.
1403 (arrays, insets, parPos, getParPos): accessors to private data.
1405 * cursor_slice.[Ch] (text): add a const version.
1406 * dociterator.[Ch] (text, innerText): add const versions.
1408 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1411 * paragraph.C (getRow, pos2ros): add asserts.
1413 * paragraph.h: add commentary. Lots of.
1415 * paragraph.[Ch] (metrucs, draw): removed.
1418 * rowpainter.[Ch]: const-correct changes.
1420 * text.C: various obvious clean-ups. Removal of ancient cruft.
1423 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1425 * vc-backend.C (find_file): rewrite to use boost.filesystem
1428 * main.C (main): set default name check for boost.filesystem to
1431 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1434 (actOnUpdatedPrefs): ditto
1436 * lyx_main.C (init): rewrite to use boost.filesystem
1437 (queryUserLyXDir): ditto
1439 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1440 (getContentsOfAsciiFile): ditto
1442 * lastfiles.C (readFile): rewrite to use boost.filesystem
1444 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1446 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1447 (loadLyXFile): ditto
1449 * buffer.C (Buffer): adjust for destroydir
1450 (getLogName): rewrite to use boost.filesystem
1451 (setFileName): ditto
1452 (save): use fs::copy_file (from fs_extras)
1454 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1456 * LaTeX.C (run): rewrite to use boost.filesystem
1457 (scanAuxFiles): ditto
1458 (handleFoundFile): ditto
1460 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1462 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1464 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1466 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1468 * lyxlayout.[Ch]: change some vars from float to double
1470 * buffer.C (readFile): make a local var const
1472 * Several files: use convert<> instead of atoi,strToXXX and friends
1474 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1476 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1477 holds the contents of packages.lst. New functions getAvailable
1478 and isAvailable to parse and check that list, resp.
1482 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1484 * bufferparams.[Ch]: new param output_changes.
1486 * Buffer.C: increase file format to 240.
1487 Use output_changes and isVailable.
1491 * paragraph_pimpl.C: Use output_changes and isVailable.
1493 2005-01-23 Angus Leeming <leeming@lyx.org>
1495 * output_latex.C: #include "insetbibitem.h", rather than
1496 forward declare function bibitemWidest.
1498 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1500 * lyx_main.C (init): make it compile on the Mac.
1502 2005-01-20 Angus Leeming <leeming@lyx.org>
1504 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1505 (setLyXMisc): (char string literal) != (char string literal) is
1506 performing a comparison on the addresses. Convert one operand
1507 explicitly to string to guarantee expected behaviour.
1510 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1513 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1515 * output_plaintext.C: remove unneeded #include gzstream.h.
1517 2005-01-20 Angus Leeming <leeming@lyx.org>
1519 * SpellBase.h: rename some of the elements of the Result enum.
1526 * pspell.C (check): ditto
1528 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1530 * buffer.C: add #include <fstream>.
1532 * lyx_main.C (init): Compile fix.
1534 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1536 2005-01-20 Angus Leeming <leeming@lyx.org>
1538 * mover.h: change commentary to reflect the changed meaning of
1539 the $$s placeholder.
1541 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1543 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1545 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1547 2005-01-20 Angus Leeming <leeming@lyx.org>
1549 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1550 printing diagnostic data by not dereferecing an iterator past the
1553 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1555 * buffer.C (readHeader): use "&&" rather than "and".
1557 * lyxserver.h (inPipeName, outPipeName): make these const.
1559 2005-01-19 Angus Leeming <leeming@lyx.org>
1561 * lyx_main.C (error_handler, init): protect SIGHUP with
1562 #ifdef SIGHUP guards.
1564 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1566 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1568 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1570 * text.C (setHeightOfRow): add a margin at the top and bottom of
1571 the document (bug 1761)
1573 2005-01-17 Angus Leeming <leeming@lyx.org>
1575 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1576 with "python ". Workaround for a brain-dead Windows.
1578 2005-01-16 Angus Leeming <leeming@lyx.org>
1580 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1581 for MacOSX and Windows to use prependEnvPath.
1582 Strip out the hard-coded block to add elements to the PATH for
1583 MacOSX and replace it with a call to prependEnvPath using the
1584 contents of LyXRC::path_prefix.
1585 (queryUserLyXDir): strip out the code to run reconfigure, instead
1586 returning a boolean indicating the necessity to do so.
1587 (reconfigureUserLyXDir): contains the code to reconfigure the
1588 user support directory. Is now called after the various LyXRC data
1589 files have been read.
1591 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1593 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1595 * converter.[Ch] (convert): take a new parameter try_default. Use
1596 a default converter (imagemagick) if try_default is true.
1598 2005-01-13 Angus Leeming <leeming@lyx.org>
1600 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1601 os::cygwin_path_fix.
1602 (write): output LyXRC::cygwin_path_fix as necessary.
1604 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1607 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1609 2005-01-12 Angus Leeming <leeming@lyx.org>
1611 * lyx_main.C (init): set the PATH variable to include the
1612 directory containing the LyX binary when running on Mac or Windows.
1614 2005-01-12 Angus Leeming <leeming@lyx.org>
1616 * lyx_main.C (init): remove cruft that purports to set the locale
1617 dir. It doesn't and is not needed anyway.
1619 2005-01-10 Angus Leeming <leeming@lyx.org>
1621 * Makefile.am: remove the lyx_main.C special casing.
1623 * BufferView_pimpl.C:
1629 * messages.C: use support/package.h to provide the paths to the
1630 various directories used by LyX.
1632 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1634 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1635 layout if pasting into an empty paragraph)
1637 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1639 * tex-accent.C: add <string>
1641 2005-01-06 José Matos <jamatos@lyx.org>
1643 * ParagraphParameters.C (write): put every parameter in its own line.
1644 * paragraph.C (write): reduce number of consecutive empty lines exported.
1645 * buffer.C (LYX_FORMAT): increase file format to 239.
1647 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1649 * everywhere: change support/tostr.h -> support/convert.h
1651 * tabular.C: make all write_attributes templates, tostr -> convert
1653 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1654 (emptyTag): and -> &&, and fix type for ret from getChar
1655 (getFirstWord): fix type for ret from getChar
1656 (onlyText): and -> &&
1657 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1660 * toc.C (goTo, action):
1661 * text3.C (dispatch):
1662 * text.C (currentState):
1663 * tex-accent.C (DoAccent):
1666 * lyxfunc.C (menuNew):
1667 * lyxfinc.C (replace):
1668 * counters.C (laberItem):
1669 * bufferview_funcs.C (font2string):
1670 * bufferparams.C (writeFile):
1671 * buffer.C (readFile):
1673 * MenuBackend.C: tostr -> convert
1675 * LaTeX.C (runMessage): fix format
1676 (scanAuxFiles): tostr -> convert
1678 * BufferView_pimpl.C (savePosition): fix format
1679 (restorePosition): ditto
1682 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1684 * Spacing.[Ch]: New method getValueAsString().
1688 * ParagraphParameters.C:
1691 * text3.C: store/read spacing value as string.
1693 * rowpainter.C: change float value (spacing_val) to double.
1695 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1696 broken custom document spacing).
1698 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1700 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1701 namespace, also more use of temp references and const
1703 * cursor.[Ch] (getStatus): move to lyxfunc.C
1705 * bufferparams.C: reformat slightly
1707 * bufferview_funcs.C (font2string): constify arg
1713 * buffer_funcs.C: (many funcs): constify arg on function
1714 definitions, also make more local vars const, also add ASSERTS on
1717 * buffer.C (LYX_FORMAT): put const in correct place
1718 (many funcs): constify arg on function definitions, also make
1719 more local vars const
1721 * aspell_local.h: remove "struct" from typdef setup
1723 * aspell.C (check): make word_ok const
1724 (nextMiss): simplify slightly
1727 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1729 * lyxrc.[Ch]: store all float values as strings.
1730 use int (not float) for lyxrc.dpi.
1732 2005-01-04 Angus Leeming <leeming@lyx.org>
1734 * lyx_cb.C (Reconfigure):
1735 * lyx_main.C (queryUserLyXDir):
1736 to run the <system_lyxdir>/configure correctly on Windows, prefix
1737 the path to the script with "sh " when generating the string that
1738 is passed to system().
1740 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1742 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1744 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1746 * lyxlength.C (asLatexString): get rid of setprecision
1748 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1750 * text2.C (setLayout): remove unused variable endpit.
1751 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1753 * paragraph.C (onlyText): remove unused variable style.
1755 * cursor.C (bruteFind): remove unused variables beg and end.
1757 * Makefile.am (dist_noinset_DATA): not needed anymore
1759 * cheaders/*: remove.
1761 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1763 * text3.C: fix LFUN_MATH_MODE.
1765 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1767 * buffer_funcs.C (countWords): new function. Counts words between
1770 * BufferView_pimpl.C (getStatus, dispatch): handle
1773 * LyXAction.C (init):
1774 * lfuns.h: add LFUN_WORDS_COUNT.
1776 2004-12-19 Angus Leeming <leeming@lyx.org>
1778 * buffer.C (save): s/slashify_path/internal_path/.
1780 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1782 * lyxfind.C (findChange): do not search for end of pars, because
1783 the change tracker cannot handle this (fixes bug 1719).
1785 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1787 * paragraph.[Ch] (autoBreakRows): remove
1789 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1791 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1792 avoid using the paragraph one
1794 * text2.C (LyXText, insertStringAsLines): adjust
1796 2004-12-16 Angus Leeming <leeming@lyx.org>
1800 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1802 2004-12-14 Angus Leeming <leeming@lyx.org>
1804 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1806 * bufferlist.C (emergencyWrite):
1807 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1810 2004-12-14 Angus Leeming <leeming@lyx.org>
1812 * main.C: (main): no longer pass pointers to os::init.
1814 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1816 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1817 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1819 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1822 * text3.C: remove selection_possible global flag
1824 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1826 * text2.C (getSelectionSpan): remove
1827 (changeDepth, changeDepthAllowed): adjust
1829 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1831 * Makefile.am (BOOST_LIBS): use boost variables
1833 2004-12-03 José Matos <jamatos@lyx.org>
1835 * buffer.C: format up to 238.
1837 2004-12-03 José Matos <jamatos@lyx.org>
1839 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1841 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1843 * cursor.C (goUpDown): remove call to idxUpDown2
1845 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1847 * tabular.[Ch]: use size_t-like types for cell, row and column
1850 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1852 * lyxfunc.C (getStatus): do not lose previous information when
1853 calling BufferView::getStatus; do not set a default "Command
1854 disabled" message at the beginning, but just before returning.
1856 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1858 * cursor.h (getStatus): add better comment from src/cursor.C
1860 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1862 * text3.C (getStatus): return false when the lfun is not handled
1864 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1866 * broken_headers.h: remove
1868 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1870 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1872 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1873 offset_ref accessors
1875 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1876 top_y_, merge fitcursor with update
1877 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1879 (metrics): introduce
1880 (workAreaDispatch): adapt to new coord scheme
1881 (redoCurrentBuffer): remove
1883 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1885 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1888 * coordcache.[Ch]: add paragraph cache and helpers
1890 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1893 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1894 (targetX, setTargetX): introduce
1896 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1897 baseline -> ascent, as the rest of lyx
1899 * lyxtext.h: remove redoParagraphs, updateParPositions,
1900 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1901 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1902 have ascent/descent (ascent is ascent of first par)
1904 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1907 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1909 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1911 * pariterator.C: fix infinite loop introduced in par->pit renaming
1913 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1914 in insets and LyXText, draw two off-screen paragraphs using
1915 NullPainter, and adapt to new coord scheme
1919 * text3.C: adapt lfun handlers to the new coord scheme, which
1920 means: there's only guaranteed coord information for onscreen pars
1921 plus one above and one below. This implies that one can do search
1922 from y coordinates in the range [-1,workHeight]
1924 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1926 * rename a lot of InsetOld to InsetBase
1928 2004-11-25 Angus Leeming <leeming@lyx.org>
1930 * BufferView_pimpl.C:
1932 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1934 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1936 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1937 call BufferView::getStatus if LCursor::getStatus did nothing
1938 (setStatusMessage, getStatusMessage): removed.
1940 * FuncStatus.C (message): new methods. Used to provide an error
1941 message indicating why a command is disabled.
1942 (clear, |=, FuncStatus): update for message.
1944 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1946 * lyxfunc.C (dispatch): always call sendDispatchMessage
1948 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1951 * BufferView_pimpl.C:
1956 * cursor_slice.[Ch]:
1959 * paragraph_funcs.C:
1965 * undo.C: par->pit renaming
1967 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1969 * tabular.C (cellstruct): use initialization, store a shared_ptr
1970 to insettext instead of the insettext directly, adjust to fit.
1971 (operator=): new function
1972 (swap): new function
1973 (rowstruct): use initialization
1974 (columnstruct): use initialization
1975 (ltType): use initialization
1978 * lyxlength.h (swap): new function
1980 * LColor.[Ch] (operator=): use the common semantics
1982 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1984 * lyxfind.C (findNextChange): update the bufferview after setting
1987 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1989 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1990 number of InsetOptArgs has already been inserted.
1992 * output_latex.C (latexOptArgInsets): new method. This outputs all
1993 the optarg insets, up to the limit defined in the layout file.
1994 (optArgInset): removed
1995 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1997 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1999 * paragraph.C (isLetter): remove special spellchecker-related
2000 code; return true also for digits
2001 (isWord, isKomma): remove
2003 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2004 * lyxfind.C (MatchString()): use isLetter instead of isWord
2006 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2008 * pariterator.h (operatir=): comment out un-implemented member
2011 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2014 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2016 * lyxfont.h: include LColor.h to satisfy concept checks.
2018 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2020 * pariterator.h: add typdefs for value_type, difference_type,
2021 pointer and reference to satisfy concept checks. Also add default
2022 constructor for same reason.
2024 * pariterator.C (operator++): add post-increment operator to
2025 satisfy concept checks.
2027 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2030 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2032 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2033 checks. Also rename base_type to BaseType to follow naming
2036 * FloatList.h: include Floating.h to satisfy concept checks.
2038 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2040 * lyxfunc.C (getStatus): when the origin of the request is menu or
2041 toolbar, and the LyXView does not have focus, do as if there was
2042 no buffer (bug 1720)
2044 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2045 FuncRequest to individual entries of LFUN_SEQUENCE
2047 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2049 * output_latex.C (TeXOnePar): override runparams.moving_arg
2050 according to the needprotect value of the current paragraph (bug
2053 * paragraph.C (simpleTeXOnePar): no need to override
2054 runparams.moving_args here
2056 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2058 * vspace.C: fix off-by-one-error, related to fix #1682
2060 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2062 * lengthcommon.C: a more general fix for bug 1682
2064 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2066 * text.C (backspace): fix crash
2068 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2070 * format.[Ch] (getFormatFromFile): new method
2071 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2073 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2075 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2077 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2079 * lyxfunc.C (dispatch): remove the verbose argument
2080 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2083 * kbmap.C (defkey): set the origin of func to KEYBOARD
2085 * MenuBackend.C (MenuItem):
2086 * ToolbarBackend.C (add): set the origin of func to UI
2088 * funcrequest.[Ch]: add origin member, which indicates which part
2089 of LyX requests an action
2091 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2093 * converter.C (move): don't lie in the error message
2094 * converter.h (isReachable, move): document
2096 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2098 * buffer.C: remove unused using lyx::support::atoi
2099 * paragraph_funcs.C: ditto
2101 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2103 * bufferlist.C (exists): use bind and equal_to instead of
2106 * lyxtextclasslist.C (NumberOfClass): ditto
2108 * cursor.C (insert): use for_each instead of explicit for loop
2110 * bufferlist.C (getFileNames): use std::transform and
2111 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2113 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2116 * buffer.C (changeLanguage): use for_each instead of explicit for
2118 (hasParWithID): implement using getParFromID
2120 * LaTeXFeatures.C: ws change only
2122 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2125 * BufferView_pimpl.C (trackChanges): use for_each instead of
2128 2004-11-04 André Pönitz <poenitz@gmx.net>
2131 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2133 * dociterator.C (asDocIterator): use hard assert again.
2135 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2137 * lyxlength.C (asLatexString): rewrite so that it does not use
2140 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2142 * text3.C (specialChar, dispatch): make sure cursor moves to the
2143 right after inserting an inset
2145 2004-11-02 José Matos <jamatos@lyx.org>
2147 * output_docbook.C (docbook):
2148 * paragraph.C (getID):
2149 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2150 garantee that the output is always legal.
2152 * tabular.C (docbook):
2153 * outputprams.[Ch]: remove mixed contents.
2155 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2157 * text2.C (setCounter): prevent endless loop
2159 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2161 * exporter.C (copyFile): use the mover instead of support::copy()
2162 * exporter.C (Export): pass format and latex name to copyFile()
2163 * exporter.h (addExternalFile): document
2164 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2166 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2168 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2170 2004-10-30 José Matos <jamatos@lyx.org>
2172 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2173 text and no inset or font change. This allows to use CDATA
2174 sections just for the whole paragraph.
2176 2004-10-30 José Matos <jamatos@lyx.org>
2178 * paragraph.C (getFirstWord): remove unused variable.
2180 2004-10-30 José Matos <jamatos@lyx.org>
2182 * paragraph.C (getFirstWord): the content should always be escaped
2184 (simpleDocBookOnePar):
2185 * output_docbook.C (makeEnvironment): replace reference to CDATA
2188 2004-10-30 José Matos <jamatos@lyx.org>
2190 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2192 2004-10-30 José Matos <jamatos@lyx.org>
2194 * output_docbook.C (makeParagraphs):
2195 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2196 standard paragraph has only a given type of content drop the wrapper.
2198 2004-10-29 José Matos <jamatos@lyx.org>
2200 * output_docbook.C (makeEnvironment):
2202 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2204 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2206 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2207 (cleanID): sanitize any id.
2209 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2211 * buffer.C, lyxlex_pimpl.C:
2212 * lyxlex_pimpl.C (setFile):
2213 s/getExtFromContents/getFormatFromContents/
2215 2004-10-28 José Matos <jamatos@lyx.org>
2217 * output_docbook.C (makeEnvironment): move id to broadest possible
2220 * sgml.C (openTag): apply substitution of <> for all attributes.
2222 2004-10-28 José Matos <jamatos@lyx.org>
2224 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2225 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2226 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2228 * sgml.[Ch]: new version for open and closeTag for paragraph and
2229 for strings. Now they handle the ids of paragraphs.
2231 2004-10-26 Angus Leeming <leeming@lyx.org>
2233 * Makefile.am: add mover.[Ch].
2235 * converter.C (convert, move): use the new Movers to move external
2236 files to the temp directory.
2238 * lyx_main.C (init): ensure that the global system_movers data
2241 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2244 * mover.[Ch]: new files, defining a Mover as a utility to move an
2245 external file between directories and, if necessary, manipulate this
2246 file using a helper script.
2248 2004-10-25 José Matos <jamatos@lyx.org>
2250 * output_docbook.C (makeCommand): merge two if's that tested the
2253 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2255 * sgml.C (escapeString): fix warning in a better way
2257 2004-10-25 José Matos <jamatos@lyx.org>
2259 * sgml.C (escapeString): import the require boosts header file for
2260 tie, and avoid a signed unsigned comparison.
2262 2004-10-25 José Matos <jamatos@lyx.org>
2264 * sgml.h: add #include <string>
2266 2004-10-25 José Matos <jamatos@lyx.org>
2268 * sgml.[Ch] (escapeString): new function to escape all the string.
2270 2004-10-24 José Matos <jamatos@lyx.org>
2272 * paragraph.[Ch] (getFirstWord): new function to get the first
2273 word. Useful for description.
2274 (simpleDocBookOnePar): remove depth argument, add another that
2275 says where to start the paragraph.
2277 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2278 use the new functions to fix cleanly the support for descriptions.
2280 2004-10-24 José Matos <jamatos@lyx.org>
2282 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2283 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2284 * output_linuxdoc.C (linuxdocParagraphs):
2285 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2286 add buffer as argument.
2288 2004-10-24 José Matos <jamatos@lyx.org>
2290 * output_docbook.C (makeEnvironment, searchEnvironment): place
2291 CDATA inside paragraphs and fix scope for listitems.
2293 2004-10-24 José Matos <jamatos@lyx.org>
2295 * output_docbook.C: remove using statement for stack.
2297 2004-10-23 José Matos <jamatos@lyx.org>
2299 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2300 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2301 docbook. The new scheme is recursive and makes use of iterators, the
2302 same as latex export works.
2303 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2304 directly with the paragraph contents. This code was moved up to
2305 output_docbook.C (docbookParagraphs).
2306 * sgml.C (openTag, closeTag): removed unneeded newlines.
2307 (closeEnvTags) removed.
2309 2004-10-23 André Pönitz <poenitz@gmx.net>
2311 * undo.C (textUndoOrRedo):
2312 * dociterator.C (asDocIterator): work around crash
2314 * cursor.C (getStatus): replace ASSERT by more verbose error message
2315 and manual correction of the problem. Should increase stability
2316 while providing more sensible information.
2318 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2320 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2322 * bufferlist.C (previous, next): new methods
2325 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2327 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2329 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2330 entities to preamble.
2332 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2334 * messages.C (Pimpl): strip off translation context information
2336 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2338 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2339 the cursor is correct (bug 1694)
2341 2004-10-13 José Matos <jamatos@lyx.org>
2343 * output_docbook.C (docbookParagraphs): fix closing tags in the
2344 end of the document.
2346 2004-10-09 José Matos <jamatos@lyx.org>
2348 * buffer.C: format up to 237.
2349 * bufferparams.C (write): use tostr to convert booleans to strings.
2351 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2353 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2355 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2357 * LaTeX.C: implement use of babel language in xindy.
2359 2004-10-05 José Matos <jamatos@lyx.org>
2361 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2362 Add new translators to help reading and writing the lyx file.
2364 2004-10-05 José Matos <jamatos@lyx.org>
2366 * ParagraphParameters.C (read):
2367 * text.C (readParToken): replace nexToken by more appropriate lex
2370 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2372 * LaTeX.C (runMakeIndex):
2373 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2374 (usually 'makeindex') configurable.
2376 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2377 with a variable rather than with a number.
2379 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2381 * output_latex.C (TeXOnePar): make sure font setting is the first
2382 thing that gets output (and the last at the end). Should fix bug
2385 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2387 * pch.h: use proper signal include
2389 * LaTeX.h: Use preferred calling of Boost.Signal
2392 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2394 * pch.h: dont include <boost/function/function0.hpp>
2396 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2398 * paragraph_pimpl.h: remove usage of ShareContainer
2400 * paragraph_pimpl.C: remove initialization of ShareContainer.
2402 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2406 * BufferView.C (putSelectionAt): change the semantics when
2407 backwards == true: now, this just swaps cursor and anchor wrt the
2410 * BufferView.h (putSelectionAt): add some documentation
2412 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2413 make sure backwardChar is done at least once (to avoid getting
2415 (findNextChange): use putSelectionAt in the forward direction
2416 (operator()): use Paragraph::isWord
2418 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2420 * Spacing.C (set): c_str fix
2422 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2424 * lyx_cb.C (Reconfigure): quote the name of configure script in
2425 case it contains spaces
2427 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2431 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2432 (BOOST_LIBS): use top_buildir when looking for the file
2434 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2436 * pch.h: do not use include boost/format.hpp, multiple symbols
2437 will result (gcc bug)
2440 2004-08-23 José Matos <jamatos@lyx.org>
2442 * bufferparams.C (readToken): fix reading of the author field.
2444 2004-08-20 José Matos <jamatos@lyx.org>
2446 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2448 2004-08-20 José Matos <jamatos@lyx.org>
2450 * lyxlex.[Ch] (findToken): remove function.
2452 * ParagraphParameters.C (findToken):
2453 * bufferparams.C (findToken): replace call for previous function
2454 with local copy. This local function has one more argument, the
2455 read string argument.
2457 2004-08-16 José Matos <jamatos@lyx.org>
2459 * ParagraphParameters.C (write):
2460 * Spacing.C (writeFile):
2461 * bufferparams.C (writeLaTeX):
2462 * lyx_cb.C (Reconfigure):
2463 * paragraph.C (write):
2464 * tabular.C (write): remove unnecessary space at end of line.
2467 2004-08-16 José Matos <jamatos@lyx.org>
2469 * text.C (readParagraph): remove debug message.
2471 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2473 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2476 * output_plaintext.C (asciiParagraph): set depth correctly
2478 * outputparams.h: add member depth
2480 * paragraph_funcs.C (ownerPar): remove.
2482 * text2.C (setCounter): remove first_pit; comment out some
2483 non-working code that uses ownerPar
2485 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2488 2004-08-16 José Matos <jamatos@lyx.org>
2490 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2491 For the same level of importance use the same chanel to report problems.
2492 (read): add code to deal with \begin_body and \end_body.
2495 2004-08-15 José Matos <jamatos@lyx.org>
2497 * lyxlex.C (getString): fix comment, buffer::readBody is now
2498 buffer:readDocument.
2500 * tex-strings.C (string_papersize): Default -> default,
2501 Custom -> custom, for consistency with other options.
2503 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2507 * Makefile.am: support pch
2509 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2511 * text.C (readParToken): remove the static LyXFont variable and
2512 pass it as a parameter instead. This fixes a nasty bug where an
2513 inset will be inserted with a bad font in some situations
2514 (readParagraph): adapt
2516 * text2.C (setCounter): reduce number of calls to pars_[pit]
2518 * text.C (singleWidth): add an assert, fix a test
2520 * rowpainter.C (paintText): reduce number of calls to singleWidth
2522 * paragraph.C (isHfill):
2523 (isNewline): ws only
2525 2004-08-14 André Pönitz <poenitz@gmx.net>
2530 * lyxtext.h (several functions): use a Paragraph & argument
2533 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2535 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2537 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2539 * text.C (singleWidth): remove useless test
2541 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2543 * tabular.h: remove bogus comments
2545 * tabular.C (getDescentOfRow):
2546 (isPartOfMultiColumn): add assertions
2548 * lyxlength.C (inPixels): remove #warning
2550 2004-08-14 André Pönitz <poenitz@gmx.net>
2552 * paragraph.h: inline getChar()
2554 * BufferView.h: remove unused declarations
2556 2004-08-14 José Matos <jamatos@lyx.org>
2558 * Buffer.[Ch] (readDocument): new name for old readBody.
2559 * Buffer.C: new file format, new keywords: \begin_document,
2560 \begin_header, \begin_body, \end_body.
2562 * bufferparams.C (readToken): replace all calls to lex.nextToken
2563 by lex.next(). Do the same to eatLine except where really needed.
2565 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2566 line when writing to the lyx file.
2568 * output_plaintext.C (asciiParagraph): fix Bibliography style
2571 * text.C (read): fix end of file handling.
2573 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2575 * MenuBackend.C (Menu::operator[]): new method to access
2576 individual menu items
2577 (Menu::hasFunc): new method. search for an item that corresponds
2579 (MenuBackend::specialMenu): new method
2580 (MenuBackend::expand): if a special menu has been set, skip
2581 entries whose func() appears in this menu
2583 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2585 * text3.C: use Debug::DEBUG a bit more
2587 * text.C (leftMargin): try to simplify a tiny bit change var x to
2588 l_margin. Dont output the wide margins always.
2589 (rightMargin): no margin in inner texts
2591 * rowpainter.h (nestMargin): new func
2592 (changebarMargin): new func
2593 (rightMargin): new func
2595 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2599 * factory.C (createInset): modify setDrawFrame
2601 * cursor.C: use Debug::DEBUG a bit more
2603 2004-08-14 André Pönitz <poenitz@gmx.net>
2606 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2607 cache for all insets in (at least partially) visible (top-level)
2610 * BufferView_pimpl.C: reset external coord cache before every update.
2611 This means the coord cache only contains valid entries.
2613 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2616 * BufferView_pimpl.C (getInsetByCode): move function out of class
2617 and change in to a template in anon namespace. Also fix to do what
2620 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2623 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2625 (breakParagraph): rename par to par_offset and use a local
2626 reference. Add code to keep the language over a rebreak.
2627 (breakParagraphConservative): rename par to par_offset, use a
2629 (mergeParagraph): ditto
2631 (isFirstInSequence): ditto
2632 (outerFont): rename pit to par_offset
2634 * paragraph.C: ws change
2635 * paragraph.h: ditto
2639 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2641 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2644 * paragraph.C (simpleTeXOnePar): when we have a \item with
2645 optional argument, enclose the argument with curly brackets (in
2646 case it contains a closing square bracket)
2650 * text3.C (checkInsetHit): constify
2652 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2654 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2655 documents (bug 1629)
2657 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2659 Fix toggling of collapsable insets with the mouse (bug 1558)
2661 * lyxfunc.C (dispatch): adapt to LCursor changes
2663 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2664 make sure that dispatch is not invoked twice
2666 * cursor.C (needsUpdate): new method
2667 (dispatch): return void
2668 (result): new method, to access the DispatchResult of the cursor.
2670 2004-08-13 José Matos <jamatos@lyx.org>
2672 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2674 2004-08-13 André Pönitz <poenitz@gmx.net>
2676 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2678 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2681 2004-08-12 André Pönitz <poenitz@gmx.net>
2683 * text3.C: take out the 'cursor right' form insertInset and only
2684 do it in those places when it is really needed. Fixes crash on
2687 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2689 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2691 * BufferView_pimpl.C (setBuffer): initialize the current font of
2692 the underlying LyXText
2694 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2696 * kbsequence.C (print): use UI native formatting for menu
2699 * text.C (insertChar): call Paragraph::insertChar with a font
2702 * paragraph.C (insertInset, insertChar): the version that takes a
2703 LyXFont argument is now a wrapper around the other one (the
2704 opposite used to be true).
2706 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2707 argument. Font setting is done in Paragraph now.
2709 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2711 * outputparams.h: add new members intitle and lang.
2713 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2714 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2716 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2718 * text3.C (dispatch): remove special handling of button 4 and 5,
2719 it is now taken care of in the frontend code.
2721 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2723 * Spacing.h: add <string> (STLPort compile fix)
2725 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2727 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2729 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2731 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2734 * converter.C (showMessage): inherit from unary_function, make
2737 * buffer.C (writeFile): initialize retval
2739 * InsetList.h: rename private variable list to list_
2740 * InsetList.[Ch]: adjust accordingly.
2742 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2744 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2745 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2746 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2747 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2748 * ParagraphParameters.C, LaTeXFeatures.C: replace
2749 "support/std_sstream.h" with <sstream>
2751 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2753 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2754 * lyxsocket.C (LyXServerSocket): ditto
2755 (serverCallback): ditto
2757 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2759 * LaTeXFeatures.C: check release date when loading jurabib.
2761 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2763 * lyxserver.C (startPipe): call register_socket_callback
2764 (endPipe): call unregister_socket_callback
2766 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2768 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2769 (LyXServerSocket): register the callback
2770 (LyXServerSocket): unregister the callback
2771 (fd): delete function
2772 (serverCallback): improve error checking and setup the callbacks.
2773 (dataCallback): change arg to fd.
2774 (writeln): new func (copied fro the client socket) used for server
2776 (LyXDataSocket): simplify
2777 (~LyXDataSocket): close ann unregiser callback
2778 (server): delete function
2779 (fd): delete function
2780 (readln): small changes, improve some std::string usage
2781 (writeln): constify a bit
2783 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2785 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2788 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2790 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2791 after it has been populated
2793 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2795 * text2.C (insertInset): move cursor when inserting inset.
2797 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2799 * kbmap.C (findbindings): a couple of new methods. returns a
2800 container of kb_sequence objects. The real work is done by the
2801 private recursive version
2802 (printbindings): uses findbindings to print out a bracketed list
2803 of bindings (renamed from findbinding).
2805 * MenuBackend.C (binding): use kb_keymap::findbindings
2807 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2809 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2811 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2813 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2815 * paragraph.C (isWord): return true on insets that report
2818 * text.C (getWord): use Paragraph::isWord to decide what is in a
2819 word and what is not; fix bug 1609.
2821 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2823 * tex-strings.C: add "none" to string_paperpackages[], fixes
2824 off-by-one-error in the paperpackage selection.
2827 * tex-strings.[Ch]: char const * string[n]
2828 -> char const * const string[]
2830 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2832 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2833 command, return early.
2835 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2837 * debug.h: add DEBUG to enum and fix size of ANY.
2839 * debug.C: add support for Debug::DEBUG
2840 (showTags): cast errorTags.level to unsigned int
2842 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2843 (redoCurrentBuffer): ditto
2844 (updateScrollbar): ditto
2845 * cursor.C (dispatch): ditto
2846 * text2.C (setLayout): ditto
2848 (updateCounters): ditto
2850 (deleteEmptyParagraphMechanism): ditto
2852 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2854 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2855 annotations to cleanup the Makefile slightly.
2857 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2859 * lyxrc.C: do not set user_email to a default value but use empty
2860 instead. The entry used to be translated, which does not work
2861 since at the point where lyxrc is constructed there is no
2862 translation service available
2864 * messages.C (getLocaleDir): remove and use directly
2865 lyx_localedir() instead
2867 2004-06-02 Angus Leeming <leeming@lyx.org>
2869 Fix crash caused by dereferencing null pointer 'exportdata' in
2870 OutputParams by creating a new ExportData variable on the heap,
2871 storing it in a boost::shared_ptr.
2872 The crash was triggered when generating an Instant Preview
2873 of an external inset.
2875 * Makefile.am: add outputparams.C
2877 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2878 (c-tor): allocate memory to it.
2880 * exporter.C (c-tor): associated changes.
2882 2004-06-01 Angus Leeming <leeming@lyx.org>
2884 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2885 contains data before calling isInset(0). (Bug 1513.)
2887 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2889 * exporter.C (checkOverwrite): new method
2890 * exporter.C (copyFile): new method
2891 * exporter.C (Export): copy referenced files to the document dir
2892 * exporter.[Ch]: new class ExportedFile
2893 * exporter.[Ch]: new class ExportData. Contains currently the
2894 names of referenced external files
2895 * outputparams.h: add exportdata member.
2897 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2899 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2902 2004-05-19 Angus Leeming <leeming@lyx.org>
2907 * lyxfunc.C: small changes due to the introduction of namespace
2908 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2910 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2912 * text3.C (dispatch): supress update when only moving the cursor
2913 * cursor.C (selHandle): remove commented code
2915 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2917 * paragraph.C (startTeXParParams): correct column count
2918 * CutAndPaste.C (pasteSelection): remove const_cast
2919 * output_docbook.C (docbookParagraphs): remove const_cast
2920 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2921 const_cast and return ParagraphList::const_iterator
2922 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2923 * output_plaintext.C (writeFileAscii): remove const_cast
2924 * paragraph.[Ch] (simpleTeXOnePar): make const
2925 * paragraph_funcs.C (outerPar): use const iterators
2926 * paragraph_pimpl.C (validate): use const iterators
2927 * text.C (setHeightOfRow): use const iterators
2929 2004-05-17 Angus Leeming <leeming@lyx.org>
2932 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2934 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2935 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2936 if the citation engine has changed.
2938 2004-05-14 José Matos <jamatos@lyx.org>
2940 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2941 if the textclass does not provide it. Have it different for sgml and
2943 support the language of document.
2944 * output_docbook.C (docbookParagraphs):
2945 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2946 first anchor as the id of the paragraph, remove special case code.
2947 * sgml.C (escapeChar): escape only < & >.
2949 2004-05-14 Angus Leeming <leeming@lyx.org>
2951 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2952 dependencies on src/frontends/controllers/biblio.h. Define a
2953 CiteEngine_enum wrapper class to enable the enum to be forward
2956 2004-05-12 Angus Leeming <leeming@lyx.org>
2958 * buffer.C: up LYX_FORMAT to 234.
2959 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2960 use_numerical_citations with a single biblio::CiteEngine cite_engine
2962 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2964 2004-05-13 José Matos <jamatos@lyx.org>
2967 * converter.C (Converter, readFlags): add xml member.
2968 * outputparams.h: add XML flavor.
2969 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2971 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2973 * lyxfunc.C (dispatch):
2974 (getStatus): fix handling of LFUN_SEQUENCE
2976 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2978 * debug.C (showLevel): do not forget the end-of-line marker
2980 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2982 * kbmap.C (read): do not stop parsing a bind file when an error
2985 2004-04-29 Angus Leeming <leeming@lyx.org>
2990 * text2.C: wrap a bunch of #warning statements
2991 inside #ifdef WITH_WARNINGS blocks.
2993 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2995 * buffer.C: increment format to 233.
2997 2004-04-28 Angus Leeming <leeming@lyx.org>
2999 * BufferView_pimpl.C:
3002 s/updateToolbar()/updateToolbars()/
3003 s/Toolbar.h/Toolbars.h/
3005 2004-04-28 Angus Leeming <leeming@lyx.org>
3007 * BufferView.[Ch] (c-tor):
3008 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3009 No longer passes these data to the WorkArea generator.
3011 2004-04-28 Angus Leeming <leeming@lyx.org>
3013 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3015 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3017 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3019 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3021 * output_latex.C (TeXEnvironment): make sure that there is a line
3022 break before \end{foo} for the last paragraph of a document
3023 (TeXOnePar): if the paragraph is at the end of the document (or
3024 inset) and the language has to be reset, then make sure that the
3025 line break is _before_ the language command, not after (fixes bug
3026 1225); also make sure that the language reset command is the first
3027 thing after the paragraph (to ensure proper nesting of
3028 environments and thus fix bug 1404)
3030 2004-04-21 John Levon <levon@movementarian.org>
3033 * ToolbarBackend.C: make "name" be a programmatic name
3034 and a gui_name field.
3036 * lyxfunc.C: display the minibuffer on M-x
3038 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3040 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3043 2004-04-19 Angus Leeming <leeming@lyx.org>
3045 * BufferView_pimpl.C (setBuffer): changed preview interface.
3047 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3050 2004-04-19 John Levon <levon@movementarian.org>
3052 * BufferView_pimpl.C:
3053 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3055 2004-04-05 Angus Leeming <leeming@lyx.org>
3057 * text.C (redoParagraphs): add call to updateCounters(), thereby
3058 fixing the missing "Figure #:" label from the caption of a
3061 2004-04-13 Angus Leeming <leeming@lyx.org>
3063 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3064 cursor is clicked out of an inset.
3066 2004-04-13 Angus Leeming <leeming@lyx.org>
3068 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3069 than an InsetOld one.
3071 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3073 * format.[Ch]: add editor to Format
3074 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3075 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3077 2004-04-08 André Pönitz <poenitz@gmx.net>
3079 * metricsinfo.h: remove PainterInfo::width member
3081 2004-04-08 Angus Leeming <leeming@lyx.org>
3083 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3084 "\providecommand" rather than "\newcommand", thereby preventing
3085 clashes with packages that define "\boldsymbol" themselves.
3088 2004-04-08 Angus Leeming <leeming@lyx.org>
3090 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3091 thereby squashing an unnecessary warning.
3093 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3095 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3098 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3100 * BufferView.C (setCursor): call redoParagraph (some insets could
3102 (putSelectionAt): remove the 'double update' trick
3104 * BufferView_pimpl.C (fitCursor): call refreshPar
3105 (workAreaDispatch): remove an uneeded update call
3106 (dispatch): remove some manual update calls
3108 * cursor.[Ch]: remove cached_y_, updatePos
3109 (selHandle): set noUpdate when appropriate
3111 * lyxfunc.C (dispatch): track if we need an update
3113 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3115 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3116 (paintSelection): cheap optimization, do not call cursorX when not
3118 (paintPars): change signature
3121 (paintTextInset): adjust
3125 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3127 * lengthcommon.C: compilation fix: remove explicit array size from
3128 unit_name[] and friends
3130 2004-04-05 Angus Leeming <leeming@lyx.org>
3132 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3134 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3135 present only for the preferences dialog.
3136 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3138 2004-04-05 Angus Leeming <leeming@lyx.org>
3140 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3141 to enable the frontends to export changes to lyxrc correctly.
3143 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3145 2004-04-07 André Pönitz <poenitz@gmx.net>
3147 * cursor.[Ch] (selClear, adjust): remove math
3149 * cursor_slice.C: more agressive assert
3152 * BufferView_pimpl.C: rework mouse event dispatch
3159 2004-04-05 André Pönitz <poenitz@gmx.net>
3161 * cursor.[Ch] (valign, halign...): remove unneeded functions
3163 2004-04-05 Angus Leeming <leeming@lyx.org>
3165 * lyxlength.[Ch] (unit_name et al.): const-correct.
3167 2004-04-05 Angus Leeming <leeming@lyx.org>
3169 * BufferView_pimpl.C:
3178 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3180 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3182 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3184 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3186 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3187 * BufferView_pimpl.[Ch] (getStatus)
3188 * BufferView.[Ch] (getStatus): add
3189 * lyxfunc.C (getStatus): move lfuns handled in
3190 BufferView::dispatch to te function above
3191 * Cursor.C (setSelection): set selection() = true
3193 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3195 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3197 2004-03-31 Angus Leeming <leeming@lyx.org>
3199 * lyxfunc.C (dispatch): Fall through to the generic
3200 Dialogs::show("preamble").
3202 2004-03-31 Angus Leeming <leeming@lyx.org>
3204 * lyxfunc.C (dispatch): Fall through to the generic
3205 Dialogs::show("spellchecker").
3207 2004-03-31 Angus Leeming <leeming@lyx.org>
3209 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3212 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3217 * insetiterator.[Ch]:
3222 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3224 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3226 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3227 insets where we are putting the cursor.
3229 2004-03-31 Angus Leeming <leeming@lyx.org>
3232 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3234 * lyxrc.[Ch] (read, write): overloaded member functions taking
3235 a std::[io]stream arguments.
3237 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3239 2004-03-31 Angus Leeming <leeming@lyx.org>
3241 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3242 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3244 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3245 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3247 2004-03-31 Angus Leeming <leeming@lyx.org>
3249 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3250 the LFUN_ALL_INSETS_TOGGLE code.
3252 2004-03-30 Angus Leeming <leeming@lyx.org>
3254 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3255 has died. Fall through to the generic Dialogs::show("document").
3257 2004-03-30 Angus Leeming <leeming@lyx.org>
3260 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3261 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3263 * lyxfunc.C (getStatus, dispatch): define the actions for these
3264 lfuns. Little more than a cut and pste job from ControlDocument.C
3266 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3268 2004-03-30 Angus Leeming <leeming@lyx.org>
3271 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3272 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3274 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3275 open/closed state of ollapsable insets. Usage:
3277 all-inset-toggle <state> <name>, where
3278 <state> == "open" || "closed" || "toggle" and
3279 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3281 * lyxtext.h, text2.C (toggleInset): removed.
3283 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3284 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3285 now passes LFUN_INSET_TOGGLE to the found inset.
3287 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3288 is now invoked as "all-insets-toggle toggle branch".
3290 2004-03-30 Angus Leeming <leeming@lyx.org>
3294 * pariterator.[Ch]: added/corrected header blurb.
3296 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3298 * dociterator.[Ch]: add an inset_ member
3299 (backwardPos): implemented
3300 (backwardPos, forwardPos): use inset_ when the stack is empty.
3301 (doc_iterator_begin, doc_iterator_end): implemented
3302 * pariterator.[Ch]: adjust, add begin, end
3303 * insetiterator.[Ch]: adjust, add begin, end
3307 * BufferView_pimpl.C:
3308 * CutAndPaste.C: adjust
3310 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3312 * buffer.C: increment file format to 232.
3313 * LaTeXFeatures.C: add bibtopic package.
3314 * bufferparams.[Ch]: param \use_bibtopic.
3316 * lyxrc.[Ch]: add lyxrc bibtex_command
3317 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3319 * buffer.C: increment file format to 231.
3321 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3323 * dociterator.C: implement forwardPar
3324 * iterators.[Ch]: remove, replaced by
3325 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3327 * BufferView_pimpl.C:
3330 * bufferview_funcs.C:
3336 * Makefile.am: adjust
3338 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3340 * CutAndPaste.C (pasteSelection): fix 2 crashes
3341 (eraseSelection): fix a crash
3342 * paragraph_funcs.C: remove a warning
3344 2004-03-28 Angus Leeming <leeming@lyx.org>
3347 * LyXAction.C (init): new LFUN_PRINT.
3349 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3351 2004-03-27 Angus Leeming <leeming@lyx.org>
3354 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3356 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3358 2004-03-27 Angus Leeming <leeming@lyx.org>
3360 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3361 insetlist always contains non-null pointers to insets.
3363 2004-03-26 Angus Leeming <leeming@lyx.org>
3365 * src/BufferView_pimpl.C:
3366 * src/CutAndPaste.C:
3369 * src/output_plaintext.C:
3370 * src/outputparams.h:
3371 * src/paragraph_funcs.C:
3375 * src/frontends/controllers/ControlErrorList.C:
3376 * src/frontends/gtk/FileDialogPrivate.C:
3377 * src/frontends/gtk/GPainter.C:
3378 * src/frontends/gtk/GToolbar.C:
3379 * src/frontends/qt2/QRef.C:
3380 * src/mathed/math_scriptinset.C: squash compiler warnings.
3382 2004-03-26 Angus Leeming <leeming@lyx.org>
3384 * ispell.C (LaunchIspell::start):
3385 * lyx_cb.C (AutoSaveBuffer::start):
3386 invoke run(DontWait) rather than runNonBlocking().
3388 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3390 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3392 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3394 * kbsequence.C (print): adjust
3396 * kbmap.C (printKeySym): rename and change signature
3397 (printKey): use LyXKeySym::print()
3399 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3401 * undo.C: add using std::advance to compile for stlport
3403 2004-03-24 Angus Leeming <leeming@lyx.org>
3405 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3406 it leads to a crash when no buffer is present.
3408 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3409 Martin Vermeer <martin.vermeer@hut.fi>
3411 * lyxfunc.C (dispatch):
3412 * bufferparams.C (readToken): use the new LColor::setColor
3414 * LColor.[Ch] (setColor): new version that takes two strings as
3415 argument and creates a new color entry if necessary
3417 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3419 * buffer.C (makeLaTeXFile): if the main latex file that is
3420 processed is usually a subdocument of some master, then pretend
3421 for a while that it is actually the master
3423 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3425 * buffer.C (getLabelList):
3426 (getBibkeyList): use getMasterBuffer()
3427 (getMasterBuffer): new method. Returns the main document in the
3428 case where one is using included documents.
3430 2004-03-25 André Pönitz <poenitz@gmx.net>
3434 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3436 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3438 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3439 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3441 * ParameterStruct.h: merge with ParagraphParameters
3443 * lyxtext.h: remove LyXText::parOffset() and getPar()
3445 * text3.C: Remove all 'manual' update calls. We do now one per user
3446 interaction which is completely sufficient.
3450 * BufferView_pimpl.C:
3451 * FontIterator.[Ch]:
3453 * ParagraphParameters.[Ch]:
3458 * cursor_slice.[Ch]:
3465 * output_docbook.[Ch]:
3466 * output_latex.[Ch]:
3467 * output_linuxdoc.[Ch]:
3468 * output_plaintext.[Ch]:
3470 * paragraph_funcs.[Ch]:
3471 * paragraph_pimpl.[Ch]:
3479 * frontends/controllers/ControlDocument.C:
3480 * frontends/controllers/ControlErrorList.C:
3481 * frontends/controllers/ControlSpellchecker.C:
3484 * insets/insetbase.h:
3485 * insets/insetbibitem.C:
3486 * insets/insetbox.C:
3487 * insets/insetbranch.C:
3488 * insets/insetcaption.C:
3489 * insets/insetcharstyle.C:
3490 * insets/insetcharstyle.h:
3491 * insets/insetcollapsable.C:
3492 * insets/insetcollapsable.h:
3493 * insets/insetert.C:
3494 * insets/insetfloat.C:
3495 * insets/insetfoot.C:
3496 * insets/insetmarginal.C:
3497 * insets/insetnote.C:
3498 * insets/insetoptarg.C:
3499 * insets/insettabular.C:
3500 * insets/insettext.C:
3501 * insets/insettext.h:
3502 * insets/insetwrap.C:
3503 * mathed/math_mboxinset.C:
3504 * mathed/math_nestinset.C:
3505 * mathed/math_scriptinset.C:
3506 * mathed/math_scriptinset.h:
3509 2004-03-24 Angus Leeming <leeming@lyx.org>
3511 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3512 deal with any child processes that have finished but are waiting to
3513 communicate this fact to the rest of LyX.
3515 2004-03-24 Angus Leeming <leeming@lyx.org>
3517 64-bit compile fixes.
3519 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3520 (c-tor): pass lyx::pos_types rather than ints.
3522 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3525 * text.C (Delete): compile fix.
3526 (getPar): ensure that function declaration is the same as that in
3529 2004-03-23 Angus Leeming <leeming@lyx.org>
3531 * ispell.C (LaunchIspell):
3532 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3533 a boost::shred_ptr rather than a std::auto_ptr.
3535 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3537 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3538 handle LFUN_FILE_INSERT_*
3540 * lyxrc.C (setDefaults, getDescription, output, read):
3541 * lyxrc.h: remove ps_command
3543 2004-03-22 Angus Leeming <leeming@lyx.org>
3545 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3546 Ensure that error_handler is processed once only and that all data
3547 is saved before attempting to output any warning messages.
3549 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3551 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3553 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3555 2004-03-19 André Pönitz <poenitz@gmx.net>
3557 * cursor.[Ch] (reset): take main text inset as argument
3559 * BufferView: adjust
3560 * BufferView_pimpl.C: adjust
3562 * paragraph.[Ch]: fix completely broken operator=()
3564 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3566 * LColor.C (getFromLyXName): make sure that the color name is used
3569 2004-03-17 Angus Leeming <leeming@lyx.org>
3572 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3574 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3575 dialog and to kill a forked process.
3577 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3579 * text2.C (setCursorFromCoordinates): fix font problem
3581 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3583 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3584 bogus "rebuild cursor" code
3586 2004-03-11 André Pönitz <poenitz@gmx.net>
3588 * buffer.[Ch]: use InsetText instead of LyXText as container for
3591 * dociterator.[Ch]: drop the BufferView * member which is not needed
3592 anymore after the change to buffer.C
3594 * paragraph_funcs.C:
3598 * BufferView_pimpl.[Ch]:
3600 * cursor_slice.[Ch]: adjust
3602 * text3.C: fix bug in mathDispatch
3604 2004-03-08 André Pönitz <poenitz@gmx.net>
3606 * undo.[Ch]: use 'StableDocumentIterator' as base for
3609 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3612 * bufferparams.[Ch]: add jurabib support and param.
3614 * LaTeX.C: add FIXME/comment.
3616 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3618 * buffer.C: increment file format to 230.
3620 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3622 * cursor.C (dispatch): avoid infinite loops
3624 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3626 * rowpainter.C (paintSelection): fix x coordinates
3628 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3630 * text.C (rowBreakPoint): fix breaking before displayed insets
3632 2004-03-01 André Pönitz <poenitz@gmx.net>
3634 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3636 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3640 * BufferView_pimpl.C:
3648 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3654 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3655 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3657 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3659 * Bidi.[Ch] (computeTables): const correctness
3660 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3661 fill_hfill, fill_label_hfill and x from Row
3662 * lyxtext.h: prepareToPrint returns a RowMetrics
3663 * rowPainter.C: adjust
3664 * text.C (prepareToPrint): use width, not textWidth. adjust
3665 (redoParagraphInternal, cursorX): adjust
3666 * text2.C (getColumnNearX): adjust
3667 (init): put a default value to the top LyXText::width
3669 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3671 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3673 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3675 * lyxtext.h: add FontIterator class
3677 * text.C (FontIterator, operator*, operator->, operator++): add
3678 (rowBreakPoint, setRowWidth): adjust (fixing a
3681 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3683 * BufferView_pimpl.C (workAreaDispatch): allow also
3684 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3686 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3688 * text.C (rowBreakPoint): fix a bug showing with very large insets
3690 2004-02-25 André Pönitz <poenitz@gmx.net>
3693 * cursor.[Ch]: move some mathed specific code to mathed
3695 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3697 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3698 use_tempdir in preferences
3699 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3701 * lyx_main.C: ensure that tempdir is valid
3702 * lyxlex.h: correct typo
3703 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3704 * paragraph.[Ch] (isMultiLingual): make const
3705 * cursor.[Ch] (openable): make const
3707 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3709 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3711 2004-02-20 André Pönitz <poenitz@gmx.net>
3713 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3715 * cursor.[Ch]: prepare for localized getStatus()
3721 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3723 2004-02-20 André Pönitz <poenitz@gmx.net>
3725 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3727 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3729 * text2.C (setCursorFromCoordinates): switch to absolute coords
3731 (cursorDown): adjust
3732 * text3.C (dispatch): adjust
3734 2004-02-16 André Pönitz <poenitz@gmx.net>
3736 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3739 * cursor_slice.[Ch]: remove unneeded acessor function
3741 * lyxtext.h: rename rtl() to isRTL()
3749 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3751 * rowpainter.C (paintSelection): coord fix
3753 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3755 * Spacing.C: compile fix
3757 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3759 * cursor.C (dispatch): restore current_ before returning
3761 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3763 * text2.C (cursorUp, cursorDown): fix coords
3766 2004-02-12 André Pönitz <poenitz@gmx.net>
3771 * text3.C: add LCursor & parameter to most cursor movement functions
3772 remove usage of LyXText::cursorRow() and cursorPar()
3774 * cursor.[Ch]: add textRow() needed members
3777 * BufferView_pimpl.C:
3780 * BufferView_pimpl.C: adjust
3782 2004-02-11 André Pönitz <poenitz@gmx.net>
3786 * BufferView_pimpl.C: shift undo/redo handling
3788 * cursor.[Ch]: fix mathed crash
3791 * lyxtext.h: move selectionAsText to LCursor
3799 * rowpainter.C: fix excessive drawing
3801 2004-02-06 André Pönitz <poenitz@gmx.net>
3804 * BufferView_pimpl.[Ch]:
3805 * text3.C: move some text specific LFUN handling
3807 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3809 * text3.C (checkInsetHit): adjust coords
3810 * text2.C (getColumnNearX): adjust coords
3811 (edit): adjust coords
3812 * text.C (getRowNearY): add two asserts
3814 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3817 * format.C: add using std::distance to compile on gcc 2.95/stlport
3819 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3821 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3823 2004-02-04 André Pönitz <poenitz@gmx.net>
3825 * BufferView.[Ch] (insertInset):
3826 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3831 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3833 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3834 on the default clause of the switch
3835 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3836 wasn't catched by LCursor::dispatch
3838 2004-02-03 André Pönitz <poenitz@gmx.net>
3841 * cursor.[Ch]: some additional asserts
3843 * undo.[Ch]: remove LyXText dependency in interface
3847 * lyxtext.h (firstPar, lastPar): remove dead functions
3852 * paragraph.[Ch]: adjust
3854 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3856 * lyxfind.C (find): fix argument order in call to ::find
3858 2004-02-02 André Pönitz <poenitz@gmx.net>
3860 * cursor.[Ch]: remove direct access to anchor
3862 * text.C: remove findText() hack
3864 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3866 * iterators.[Ch] (lockPath): remove in favour of...
3867 * BufferView.[Ch] (setCursor): this addition
3868 * BufferView.C (putSelectionAt): adjust
3869 * undo.C (performUndoOrRedo): adjust
3870 * lyxfunc.C (dispatch): adjust
3872 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3874 * iterators.C (lockPath): add a missing slice
3875 * undo.C (performUndoOrRedo): remove redundant positioning code
3877 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3879 * vc-backend.C (scanMaster): ";" -> ';'
3881 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3883 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3884 std::binary_function
3886 * lyxtextclass.C (compare_name): rename to...
3887 (LayoutNamesEqual): ...this
3889 * lyxlex_pimpl.C (compare_tags): inherit from
3890 std::binary_function, put back into anon namespace
3892 * lyxfind.C (MatchString): inherig from std::binary_function
3893 (findChange): use empty() istead of !size()
3895 * format.C (FormatNamesEqual): new functor
3902 * converter.C (compare_Converter): rename to...
3903 (ConverterEqual): ...this, and fixup a bit.
3904 (getConverter): use it, and make function const
3905 (getNumber): use it, and make function const
3909 * bufferlist.C: add using boost::bind
3911 * MenuBackend.C (MenuNamesEqual): new functor
3912 (hasMenu): use it, and make function const
3913 (hasSubmenu): use nested bind to get rid of compare_memfun.
3915 2004-01-30 André Pönitz <poenitz@gmx.net>
3917 * BufferView_pimpl.C:
3920 * cursor_slice.[Ch]:
3923 * paragraph_funcs.C:
3924 * paragraph_funcs.h:
3928 * text3.C: move some of the edit(x,y) handling to the insets
3929 some coordinate changes.
3931 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3933 * text.C: add using statements for std::advance and std::distance
3935 * paragraph.C: add using statement for std::distance
3937 * lyxfind.C: add using statement for std::advance
3939 * cursor.C (region): remove std:: from swap
3940 (openable): use nucleus in stead of operator->
3942 * BufferView.C: add using statements for std::distance and std::swap
3944 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3946 * iterators.C: Remove the pimple, move the needed structures to
3947 the header file. Create accessor for the positions stack.
3948 (asPosIterator): remove function
3950 * PosIterator.C (PosIterator): move constructors to top of file
3951 (PosIterator): reimplement the constructor taking a ParIterator in
3953 (setFrom): new function
3954 (operator!=): inline it
3956 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3958 * lyxfind.C (replaceAll): use std::advance
3960 * iterators.h: inherit from std::iterator.
3962 * PosIterator.C (advance, distance): remove
3963 * PosIterator.h: interit from std::iterator.
3965 2004-01-26 André Pönitz <poenitz@gmx.net>
3968 * BufferView_pimpl.[Ch]:
3972 * bufferview_funcs.C:
3982 * output_linuxdoc.C:
3983 * output_plaintext.C:
3985 * paragraph_funcs.[Ch]:
3986 * paragraph_pimpl.[Ch]:
3992 * text3.C: more IU: dumps most of the rest of the mathcursor
3993 implementation into cursor.[Ch]; "globalize" a bit of it.
3995 2004-01-25 Angus Leeming <leeming@lyx.org>
3997 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3999 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4001 * LaTeXFeatures.h: add nice_ and nice() const
4002 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4004 2004-01-20 André Pönitz <poenitz@gmx.net>
4007 * BufferView_pimpl.C:
4009 * bufferview_funcs.C:
4011 * cursor_slice.[Ch]:
4022 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4023 LCursor and mathcursor parts to LCursor and InsetBase.
4025 2004-01-15 André Pönitz <poenitz@gmx.net>
4027 * cursor_slice.[Ch]: add a few covienience functions
4029 * funcrequest.[Ch]: remove BufferView * member
4031 * BufferView_pimpl.C:
4038 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4040 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4042 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4043 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4045 2004-01-13 André Pönitz <poenitz@gmx.net>
4048 * lyxtext.h: hide cursor and selection anchor behind accessor function
4051 * BufferView_pimpl.[Ch]:
4053 * bufferview_funcs.C:
4063 * cursor_slice.[Ch]: some integer type changes for inset unification
4065 * lyxcursor.[hC]: remove, it's CursorSlice now.
4068 * BufferView_pimpl.[Ch]:
4069 * bufferview_funcs.C:
4075 * textcursor.[Ch]: adjust
4077 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4079 * text2.C (undoSpan): add and use
4080 * text.C (breakParagraph): use undoSpan (fix bug 578)
4083 2004-01-08 Angus Leeming <leeming@lyx.org>
4085 * BufferView_pimpl.C (MenuInsertLyXFile):
4086 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4087 * lyxfunc.C (menuNew, open, doImport):
4088 FileFilterList change to the FileDialog open and save functions.
4090 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4092 * ShareContainer.h: make isEqual and isUnique adaptable
4094 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4096 2004-01-07 Angus Leeming <leeming@lyx.org>
4099 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4101 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4103 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4104 functions replacing find, replace and replaceAll.
4106 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4107 LFUN_WORDFIND(FORWARD|BACKWARD).
4109 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4111 * text.C (breakParagraph): remove an outdated #warning
4113 2004-01-07 André Pönitz <poenitz@gmx.net>
4115 * lyxfind.C: somewhat clearer logic
4117 * text.C: prevent crash in cursorX on unitialized row cache
4119 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4121 * lyxcursor.[Ch] (operator>): add
4122 * textcursor.C (selStart, selEnd): use std::min and std::max
4124 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4126 * Chktex.C: include boost/format.hpp
4128 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4130 * InsetList.C: replace functor MathcIt with adaptable functor
4132 (insetIterator): modify accordingly
4134 * BranchList.h: move the BranchNamesEqual functor here from...
4135 * BranchList.C: ... to here
4137 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4139 (add): replace a finding loop with std::find_if.
4141 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4143 * output_docbook.C: moving LatexParam functionality into
4146 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4148 * buffer.C: increment format to 229.
4150 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4153 * lyx_sty.[Ch]: remove minipageindent_def
4159 * text3.C: remove LFUN_INSET_MINIPAGE
4161 2003-12-28 Angus Leeming <leeming@lyx.org>
4163 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4165 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4167 * text2.C (setParagraph): fix off-by-one crash
4169 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4171 * output_docbook.C: header stuff for AGU
4173 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4175 * text2.C (redoCursor): remove
4178 * BufferView_pimpl.C: remove calls to redoCursor and
4179 setCursor(cursor.par(), cursor.pos()) all around
4181 2003-12-15 Angus Leeming <leeming@lyx.org>
4183 * buffer.C: up the format to 228.
4185 2003-12-15 André Pönitz <poenitz@gmx.net>
4187 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4192 * BufferView_pimpl.C:
4201 2003-12-15 Angus Leeming <leeming@lyx.org>
4203 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4204 than getFromGUIName to manipulate the color.
4206 2003-12-14 Angus Leeming <leeming@lyx.org>
4208 * BranchList.[Ch]: minimize the API.
4209 (Branch::getBranch, getColor): now return a 'const &'.
4210 (Branch::setSelected) now returns a bool set to true if the
4211 selection status changes.
4212 (BranchList::clear, size, getColor, setColor, setSelected,
4213 allBranches, allSelected, separator): removed.
4214 (BranchList::find): new functions, returning the Branch with
4216 (BranchList::add, remove): return a bool indicating that
4217 the operation was successful.
4219 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4220 new InsetBranch::isBranchSlected member function.
4222 * LColor.[Ch]: mimimize the API.
4223 (fill): renamed as addColor and made private.
4224 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4225 versions of these functions taking a string arg have been removed.
4227 * bufferparams.C (readToken):
4228 * lyxfunc.C (dispatch):
4229 * lyxrc.C (read): changes due to the altered BranchList and
4232 * factory.C (createInset, readInset): changes due to altered
4235 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4238 * lyxfunc.C: remove insetminipage. "minipage-insert"
4239 now produces a frameless minipage box inset.
4241 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4243 * textcursor.[Ch] (selStart,selEnd): add new methods
4244 remove selection::start, end, use LyXCursor::operator<
4245 * lyxcursor.[Ch] (operator<): add
4246 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4247 * BufferView.[Ch] (unsetXSel): add
4248 * text2.C (clearSelection): use unsetXSel,adjust
4251 * rowpainter.C: adjust
4252 * bufferview_funcs.C (put_selection_at): adjust
4254 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4256 * BufferView_pimpl.C: small coord. correction
4258 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4260 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4261 dragging over the splash screen.
4263 2003-12-11 Angus Leeming <leeming@lyx.org>
4265 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4266 as it is now handled in LyXText::dispatch.
4268 * text3.C (doInsertInset): remove a level of nesting.
4270 2003-12-11 Angus Leeming <leeming@lyx.org>
4272 * factory.C (createInset): changes due to the changed interface to
4273 InsetCommandMailer::string2params.
4275 2003-12-10 Angus Leeming <leeming@lyx.org>
4277 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4278 'dialog-show-new-inset <inset name>'
4280 2003-12-10 Angus Leeming <leeming@lyx.org>
4282 * buffer.C: up the format to 227.
4284 * factory.C: the box inset is now identified simply by 'Box'.
4286 2003-12-10 Angus Leeming <leeming@lyx.org>
4288 * buffer.C: up the format to 226.
4290 * factory.C: the note inset is now identified simply by 'Note'.
4292 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4294 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4295 when a pit is enough. Standarize a couple of loops.
4297 2003-12-05 Angus Leeming <leeming@lyx.org>
4299 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4300 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4301 data to the re-worked "log" dialog.
4303 2003-12-03 André Pönitz <poenitz@gmx.net>
4309 * paragraph_funcs.C:
4311 * text2.C: use Inset::getText instead of Inset::getParagraph
4313 2003-12-03 André Pönitz <poenitz@gmx.net>
4317 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4318 InsetText::read() as LyXText::read()
4320 2003-12-02 Angus Leeming <leeming@lyx.org>
4322 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4323 type. Add a comment in the implementation that the function uses
4324 the stream's bad() function rather than fail() as the std::streams
4327 2003-12-02 André Pönitz <poenitz@gmx.net>
4329 * lyxlex.[Ch]: make interface more similar to std::stream
4331 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4333 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4335 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4337 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4339 * vspace.[Ch]: remove VSpace::NONE
4341 2003-12-01 André Pönitz <poenitz@gmx.net>
4344 * lyxtext.h: move ParagraphList member to LyXText
4345 rename LyXText::ownerParagraphs to LyXText::paragraph
4348 * bufferview_funcs.C:
4358 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4360 * undo.C: fix cursor positioning
4362 2003-12-01 John Levon <levon@movementarian.org>
4364 * BufferView_pimpl.C: fix a crash on exit with
4367 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4369 * BranchList.C: fix setSelected() method.
4371 2003-11-28 André Pönitz <poenitz@gmx.net>
4373 * ParagraphParameters.[Ch]:
4374 * ParameterStruct.h: remove space above/below from Paragraph to
4377 * BufferView_pimpl.C:
4383 * paragraph_funcs.C:
4389 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4391 * factory.C: Syntax change for CharStyles
4393 2003-11-28 André Pönitz <poenitz@gmx.net>
4398 * buffer.[Ch]: move LyXText member
4400 2003-11-28 André Pönitz <poenitz@gmx.net>
4402 * BufferView.[Ch]: make LyXText * text a private member
4404 * BufferView_pimpl.C:
4415 * output_plaintext.C: cleanup
4417 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4420 * lyxtextclass.[Ch]: parametrize SGML document header
4422 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4425 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4428 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4430 * text2.C (setFont): rework using PosIterator (no more recursive)
4431 (setCharFont): no more needed
4432 (setLayout): no more selection cursors fiddling (done by redoCursor)
4433 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4434 destroy remaining ones)
4436 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4438 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4440 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4443 * text3.C: adjust + re-allow multi par depth changes
4444 * textcursor.C: simplify a bit
4446 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4452 * src/output_docbook.C:
4453 * src/output_latex.C:
4458 * src/text2.C: Introducing a number of tags parametrizing various
4459 XML formats that we may want to support
4461 2003-11-25 André Pönitz <poenitz@gmx.net>
4463 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4465 * lyxtext.h (leftMargin/rightMargin): simplify interface
4472 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4474 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4475 master file to any child files. Fixes bug 546.
4477 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4479 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4481 2003-11-24 André Pönitz <poenitz@gmx.net>
4483 * rowpainter.C: simplification
4485 * text2.C (updateCounters): remove call to redoParagraph on
4486 changed labels as this is far too expensive.
4488 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4490 * converter.C (convert): fix a crash: this function gets
4491 called with buffer == 0 from importer code.
4493 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4495 * text3.C (cursorPrevious): make sure that we do not compare
4496 iterators form different containers.
4499 * rowpainter.C (paintSelection): make sure that we do not compare
4500 iterators from different containers.
4502 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4503 iterators from different ParagraphList containers.
4506 * text2.C (LyXText): change order of initialization slightly
4507 (operator=): new function. copy all variables except cache_par_
4508 (moveUp): make sure that we do not compare iterators from
4509 different ParagraphList constainers.
4512 * text.C (firstPar): new function
4513 (lastPar): new function
4514 (endPar): new function
4516 * lyxtext.h: move things around and group public functions, public
4517 variables, private functions, private variables
4519 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4521 * factory.C: change call to InsetERT constructor to avoid
4522 additional invocation of method status
4523 * text2.C (toggleInset): remove redundant update() call
4524 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4525 instead of a Bufferview pointer
4527 2003-11-21 André Pönitz <poenitz@gmx.net>
4529 * rowpainter.C: simplification
4531 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4533 * text3.C (dispatch): make possible to extend a word/row selection
4536 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4538 * lyxtext.h: x0_,y0_ -> xo_,yo_
4539 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4540 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4541 * rowpainter.C (paintRows): paint full paragraphs
4543 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4545 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4548 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4550 * lyxtext.h: add x0_, y0_
4551 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4552 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4554 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4556 * text2.C (setCursorIntern): move the x_target update here *
4557 * text3.C: change some bv() to true/false in calls to
4558 cursorUp/Down/Right/Left
4559 * cursor.C: use helper function.
4561 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4563 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4564 * paragraph_funcs.[Ch]: correct comment
4565 * rowpainter.C: do not paint selections away from bv->cursor()
4566 Fix a long standing selection painting bug.
4567 * text3.C: generalize mouse-selection code to LyXTexts other that
4569 * textcursor.C: do not use y coords if we can use par offsets
4571 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4573 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4574 cursor position after e.g. inset insert)
4576 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4578 * lyxfind.C (replace): adjust to locking removal + some
4581 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4583 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4586 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4589 * output_docbook.C: XML sanitation: new layout
4590 parameters InnerTag and CommandDepth
4592 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4594 * BufferView_pimpl.C:
4596 * text3.C: Fix the insertion and modification of button-style
4599 2003-11-13 André Pönitz <poenitz@gmx.net>
4601 * InsetList.[Ch]: remove deleteLyXText
4603 * paragraph.[Ch]: cache beginOfBody position
4608 * text3.C: remove superfluous update() calls
4612 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4614 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4615 * BufferView.C (fitLockedInsetCursor): remove
4616 * cursor.[Ch] (getDim): add
4617 * text.C (getRowNearY): add faster version
4618 * text3.C: remove some update calls
4620 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4632 * text3.C: The Character Style /XML short element patch.
4634 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4637 * factory.C: Small step to solving 'unable to insert some insets'
4640 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4642 * cursor.[Ch] (updatePos): new function for updating the y
4643 position of the tip inset
4644 * bufferview_funcs.C (put_selection_at):
4645 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4647 2003-11-11 André Pönitz <poenitz@gmx.net>
4649 * text.C: remove big comment on invalid Paragraph pointers as it is
4652 2003-11-11 André Pönitz <poenitz@gmx.net>
4654 * text_funcs.[Ch]: merge with ...
4662 * Makefile.am: remove text_funcs.[Ch]
4664 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4666 * cursor.C (getPos): return absolute cached y coord
4668 * BufferView_pimpl.C (fitCursor): new simplistic code
4669 (workAreaDispatch): add a fitCursor call
4671 2003-11-10 André Pönitz <poenitz@gmx.net>
4674 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4676 2003-11-10 André Pönitz <poenitz@gmx.net>
4678 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4679 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4680 indicate that the cursor needs to leave an inset
4682 * lyxtext.h: remove inset locking
4684 * cursor.[Ch]: re-implement functionality provided by inset locking
4687 * BufferView_pimpl.[Ch]:
4689 * bufferview_funcs.[Ch]:
4701 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4703 * PosIterator.[Ch]: replace the stack with a vector, add inset
4705 * iterators.[C]: adjust
4707 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4709 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4711 * paragraph_funcs.C (readParToken): put the correct id in the
4712 error item, not the id of the top paragraph
4714 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4716 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4717 * bufferview_funcs.C (put_selection_at): use the above
4719 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4721 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4723 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4725 * output_linuxdoc.h:
4726 * output_plaintext.h:
4728 * output_docbook.h: add #include statements
4730 2003-11-05 José Matos <jamatos@lyx.org>
4732 * output_docbook.[Ch]:
4733 * output_latex.[Ch]:
4734 * output_linuxdoc.[Ch]:
4735 * output_plaintext.[Ch]: New files for output formats.
4736 * output.[Ch]: New file for helper functions.
4739 * paragraph_funcs.[Ch]: output functions moved to new files.
4741 * outputparams.h: rename of latexrunparams.h
4749 * paragraph_funcs.[Ch]:
4750 * paragraph_pimpl.[Ch]:
4751 * tabular.[Ch]: rename ascii to plaintext
4752 and LatexRunParams to OutputParams.
4754 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4756 * iterators.[Ch] (text): require bv argument
4757 * undo.C (recordUndo):
4758 * lyxfunc.C (dispatch):
4759 * bufferview_funcs.C (put_selection_at): adjust
4761 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4763 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4765 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4767 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4770 2003-11-04 André Pönitz <poenitz@gmx.net>
4772 * cursor.[Ch]: restructure
4775 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4777 * iterators.[Ch] (asCursor): remove
4779 * lfuns.h: remove LFUN_INSET_EDIT
4785 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4787 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4789 * lyxfind.[Ch]: complete overhaul
4790 * BufferView_pimpl.C:
4792 * paragraph.[Ch] (insert): add
4794 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4798 * text.C: remove dead spellcheck code
4800 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4802 * dispatchresult.h: add a val setter
4804 * cursor.C (dispatch): use a tempvar for data_[i]
4806 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4808 * PosIterator.[Ch]: compile fix
4810 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4812 * text.C (cursorPar): deactivate the cursor cache
4814 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4816 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4818 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4820 * text3.C (dispatch): adjust for new DisptchResult semantics.
4822 * lyxfunc.C (dispatch): handle update when return from
4823 Cursor::dispatch, adjust for new DispatchResult semantics.
4825 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4826 DispatchResult(true) mean to not update. Add class functions for
4827 setting dispatched and update, as well as reading.
4829 * cursor.C (dispatch): don't handle update here
4831 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4833 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4834 * trans_mgr.C: adjust
4836 * paragraph_funcs.C (readParToken): exception safety
4838 * lyxvc.h: store the vcs pointer in a scoped_ptr
4841 * lyxsocket.C (serverCallback): exception safety
4843 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4845 * ispell.C (clone): make it return a auto_ptr
4847 * factory.C (createInset): exception safety
4848 (readInset): exception safety
4850 * bufferlist.C (newBuffer): exception safety
4852 * Thesaurus.C (Thesaurus): use initialization for aik_
4854 * MenuBackend.C (expandToc): exception safety.
4856 2003-11-03 André Pönitz <poenitz@gmx.net>
4860 * bufferview_funcs.C: remove getInsetFromId()
4863 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4869 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4871 * PosIterator.C (distance, advance): new
4872 * bufferview_funcs.[Ch] (put_selection_at): new
4873 * iterators.[Ch] (lockPath): new
4875 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4877 * iterators.[Ch] (asPosIterator): added
4878 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4879 * PosIterator.[Ch]: added
4881 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4885 * cursor.C (dispatch):
4886 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4888 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4889 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4890 contructor, add a class function dispatched. Remove operator>=
4892 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4894 * debug.C: only use the default constructor for debugstream
4897 * main.C (main): include debug.h and setup the lyxerr streambuf
4900 2003-10-31 José Matos <jamatos@lyx.org>
4902 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4904 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4905 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4906 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4907 * paragraph_pimpl.C (simpleTeXSpecialC):
4908 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4909 add LatexRunParams argument.
4911 * exporter.C (Export): change call accordingly.
4913 * latexrunparams.h: add new member to take care of the other backends.
4914 2003-10-30 José Matos <jamatos@lyx.org>
4916 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4917 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4918 factorise code for paragraph output.
4920 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4923 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4925 * text3.C (dispatch):
4926 * lyxfunc.C (dispatch):
4927 * cursor.C (dispatch):
4928 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4930 * dispatchresult.h: make the dispatch_result_t ctor explicit
4932 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4935 * buffer.C: small refactoring of docbook stuff
4937 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4939 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4942 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4944 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4945 operator dispatch_result_t, and operators for == != and >=
4947 * cursor.C (dispatch): adjust for operator dispatch_result_t
4948 removal. comment out call to update
4950 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4952 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4960 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4963 * dispatchresult.h: new file, DispatchResult broken out of
4966 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4968 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4970 * text.C (rowBreakPoint): put a hack inside #if 0
4972 2003-10-28 André Pönitz <poenitz@gmx.net>
4976 * paragraph_funcs.C:
4979 * text2.C: general cleanup (lots of small stuff)
4981 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4983 * text2.C (cursorEnd): simple fix to the "end key goes to one
4984 before the end on last row" bug
4986 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4988 * text.C (backspace): fix the "zombie characters"
4990 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4992 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4994 2003-10-27 André Pönitz <poenitz@gmx.net>
4996 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4998 * factory.C: handle new InsetPagebreak, InsetLine
5000 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5001 and move handling into new InsetPagebreak, InsetLine
5003 * BufferView_pimpl.C:
5005 * ParagraphParameters.C:
5006 * ParameterStruct.h:
5011 * paragraph_funcs.C:
5012 * paragraph_pimpl.C:
5018 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5021 * lyxrow_funcs.[Ch]:
5027 * text3.C: remove lastPos uses in favour of Row::endpos
5029 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5031 * undo.C (performUndoOrRedo): fix two crashes by setting a
5032 cursor by hand and reordering some calls. Use bv->lockInset instead
5033 of inset->edit because the latter loses cursor information
5035 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5037 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5039 (rowBreakPoint): fix width. change point to point + 1.
5040 Add a missing check.
5042 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5045 * lyxfunc.C: fix (at least partly) the problems
5046 with the Nav menu and headers inside branch insets
5049 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5051 * paragraph.C (getChar): add strong asserts
5053 * lyxrow_funcs.C (lastPos): remove hideous hack
5055 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5056 (fill): adjust to that (avoid an infinite loop)
5058 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5060 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5062 2003-10-23 André Pönitz <poenitz@gmx.net>
5064 * RowList_fwd.h: change list<> to vector<> to gain speed
5065 after suggestion from Alfredo
5067 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5069 * lyxtext.h: move the bidi stuff from here...
5072 * Bidi.[Ch]: ... to here
5074 2003-10-23 André Pönitz <poenitz@gmx.net>
5077 * text.C (isLastRow, isFirstRow): new functions
5079 * paragraph.h: new width cache member
5081 * rowpainter.C: replace RowList::iterator with Row & where possible
5083 * lyxfunc.C: replace several view()->text with a single call
5085 * toc.C: fix 'unused' warning
5087 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5089 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5090 when woring with stream::pos_type
5091 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5093 2003-10-22 André Pönitz <poenitz@gmx.net>
5096 * text.C: use Row & instead of RowList::iterator
5098 * lyxrow.h: rename end() to endpos()
5104 2003-10-22 Angus Leeming <leeming@lyx.org>
5106 * buffer.[Ch] (fully_loaded): new member function, returning true
5107 only when the file has been loaded fully.
5108 Used to prevent the premature generation of previews and by the
5109 citation inset to prevent computation of the natbib-style label.
5111 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5112 templates are all set up.
5114 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5116 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5118 * text.C: fixed an "oops" in the "is a bit silly"
5121 2003-10-21 André Pönitz <poenitz@gmx.net>
5123 * FuncStatus.[Ch]: small stuff, whitespace
5125 * lyxfont.[Ch]: operator<<() for debug reasons
5129 * lyxtext.h: whitespace, spelling
5131 * paragraph.C: naming of variables
5134 * text2.C: small stuff
5137 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5139 * text.C: (1) finish off the inset display() work;
5140 (2) fix the "is a bit silly" bug (accessing char
5143 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5145 * text.C: re-introduce display() for insets, fixing the
5146 various bugs (stretch of line above, math inset
5149 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5151 * text.C (rightMargin): remove spurious semicolon
5153 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5156 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5158 * text3.C: fix one crash due to wrong cursor def
5160 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5162 * vc-backend.C (scanMaster): make the regex static
5164 * LaTeX.C (scanAuxFile): make the regexs static
5166 * text3.C (doInsertInset, dispatch, dispatch):
5167 * text2.C (cursorUp, cursorDown):
5168 * text.C (selectNextWordToSpellcheck):
5169 * BufferView_pimpl.C (dispatch):
5170 * lyxfunc.C (dispatch): localDispatch -> dispatch
5172 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5174 * lyxsocket.C: include <cerrno>
5176 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5178 * lyxfunc.C (dispatch): remove textcache stuff
5180 * bufferlist.C (release): remove textcache stuff
5183 * TextCache.C: delete file
5184 * TextCache.h: delete file
5186 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5188 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5189 delete of the bv_->text.
5190 (resizeCurrentBuffer): remove texcache stuff
5191 (workAreaResize): ditto
5193 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5195 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5198 2003-10-16 André Pönitz <poenitz@gmx.net>
5205 * text3.C: speed up by storing y positions per paragraph plus per-row
5206 offset instead of having a 'full' y position in the row.
5208 2003-10-15 André Pönitz <poenitz@gmx.net>
5212 * undo.[Ch]: make undo aware of inner insets
5214 2003-10-14 Angus Leeming <leeming@lyx.org>
5216 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5217 static member functions LyX::ref() and LyX::cref.
5218 (lastfiles): new accessor functions for the new lastfiles_ member var.
5219 (addLyXView, views_): add a new LyXView to the list of views_.
5220 (updateInset): loop over all LyXViews to call their own updateInset
5221 member function, returning a pointer to the Buffer owning the inset.
5223 * BufferView_pimpl.C (loadLyXFile):
5224 * MenuBackend.C (expandLastfiles):
5225 * bufferlist.C (MenuWrite, QuitLyX):
5226 lastfiles is no longer a global variable.
5227 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5229 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5230 static function. Access through LyX::cref().emergencyCleanup().
5232 2003-10-14 André Pönitz <poenitz@gmx.net>
5234 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5236 * undo.[Ch]: restoring part of 'undo in insets'
5239 * undo_funcs.[Ch]: merge with undo.[Ch]
5241 * tabular.C: small cleansing stuff
5243 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5245 * paragraph_funcs.C (readParToken): report unknown insets as error
5246 boxes. Use the outer paragraph as location (also for unknown
5249 * factory.C (readInset): do not abort on reading an unknown inset.
5250 Eat it and return 0.
5252 2003-10-13 Angus Leeming <leeming@lyx.org>
5254 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5256 * lyxrc.C: displayTranslator is now a function,
5257 declared in GraphicsTypes.h.
5259 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5261 * format.C: new placeholder $$a to pass the socket address.
5263 * bufferlist.[Ch]: new function getBufferFromTmp.
5265 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5266 files in the temporary dir.
5268 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5270 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5272 * Makefile.am: add lyxsocket.[Ch].
5274 * lyx_main.C (error_handler): handle SIGPIPE.
5276 2003-10-13 André Pönitz <poenitz@gmx.net>
5278 * BufferView_pimpl.C:
5283 * undo_funcs.[Ch]: use paroffset_type instead of
5284 ParagraphList::iterators to prevent multiple conversion
5285 (and get a more robust interface)
5287 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5289 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5291 * text3.C (dispatch): ditto
5293 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5295 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5296 move the onlyfile, use onlyfile instead of foundfile in a couple
5299 * DepTable.C (update): flush the error stream a bit more
5301 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5303 * lyxserver.C (callback): adjust
5305 * lyxfunc.C (getStatus): add a missing brace in commented code
5306 (ensureBufferClean): reindent
5307 (dispatch): delete version taking a string
5309 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5311 * LaTeX.C (deplog): move found file handlig from here...
5312 (handleFoundFile): .. to new function here.
5313 (deplog): make sure to discover several files mentioned on the
5316 2003-10-10 André Pönitz <poenitz@gmx.net>
5323 * text3.C: fix some of the tabular crashes
5325 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5327 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5329 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5331 2003-10-09 André Pönitz <poenitz@gmx.net>
5333 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5336 * BufferView_pimpl.C:
5337 * bufferview_funcs.C:
5348 * undo_funcs.C: adjust
5350 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5352 * text2.C (incrementItemDepth): new function, use a backtracking
5353 algorithm to discover the correct item depth.
5354 (resetEnumCounterIfNeeded): new function, use a backtracking
5355 algorithm to discover if counter reset is needed.
5356 (setCounter): use them. Simplify a bit. Add different labels for
5357 different item depths for itemize.
5359 * paragraph.C (Paragraph): remove initialization of enumdepth
5362 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5363 enumerate and itemize. Change the type of itemdepth to signed char.
5365 2003-10-08 André Pönitz <poenitz@gmx.net>
5367 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5372 * tabular.[Ch]: fix crash after 'row-insert'
5374 2003-10-08 Angus Leeming <leeming@lyx.org>
5376 Fix doxygen warnings.
5378 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5379 Remove CutAndPaste:: prefix from header file declaration.
5381 * LColor.h (fill): remove LColor:: prefix from declaration.
5383 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5384 use lyx::depth_type rather than Paragraph::depth_type so that
5385 header file and .C file match.
5387 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5389 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5390 * aspell.C: \file aspell_local.C -> \file aspell.C
5391 * gettext.C: \file gettext.C -> \file src/gettext.C
5392 * gettext.h: \file gettext.h -> \file src/gettext.h
5393 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5394 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5395 * text.C: \file text.C -> \file src/text.C
5397 * toc.C: move comment so that doxygen is not confused.
5399 2003-10-07 Angus Leeming <leeming@lyx.org>
5401 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5403 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5406 * aspell_local.h: add forgotten std::string's.
5408 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5415 * text3.C: The Box patch. Fancybox support, minipage, parbox
5417 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5423 * ParagraphParameters.h:
5433 * lyxtextclasslist.h:
5436 * paragraph_pimpl.C:
5437 * textcursor.h: add <string> and other small fixes to make Lars'
5438 std::string patch compile with STLport.
5440 2003-10-06 Angus Leeming <leeming@lyx.org>
5442 * LColor.h: Add missing #include <string>.
5444 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5446 * All most all file in all subdirs: Make <string> be the prefered
5447 way of getting to std::string, add using declarations.
5449 2003-10-06 André Pönitz <poenitz@gmx.net>
5451 * metricsinfo.C: initialize LyXFont before changing attribute.
5452 (fixes the 'math in \emph is upright' bug)
5454 2003-10-06 André Pönitz <poenitz@gmx.net>
5456 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5458 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5461 * paragraph_pimpl.C: Small fixes to build using STLport
5463 2003-10-02 André Pönitz <poenitz@gmx.net>
5466 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5468 2003-10-01 André Pönitz <poenitz@gmx.net>
5470 * factory.C: assert early
5472 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5474 * lyx_main.C: remove the global debug object
5476 * debug.h: adjust for new debugstream
5478 * debug.C: adjust for new debugstream and keep the global debug
5481 2003-09-22 Angus Leeming <leeming@lyx.org>
5483 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5484 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5485 an incomplete class LyXFont.
5487 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5489 * factory.C: bug fix in branches
5491 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5493 * lyxfunc.C (processKeySym): adjust
5495 (dispatch): change arg name from ev to func, adjust
5496 (sendDispatchMessage): ditto
5498 * lyx_main.C (defaultKeyBindings): adjust keybindings
5499 (deadKeyBindings): ditto
5501 * kbsequence.C (addkey): return a FuncRequest
5503 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5505 * kbmap.C (bind): take a FuncRequest as arg, adjust
5508 (defkey): change to take a FuncRequest as arg, adjust
5509 (findbinding): take a FuncRequest as arg, adjust.
5511 * funcrequest.h (operator=): added
5513 * funcrequest.C (FuncRequest): default kb_action changed from
5514 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5516 * buffer.C (dispatch): simplify
5517 (dispatch): adjust to take a FuncRequest as arg, adjust
5519 * boost.C (assertion_failed): change assertion message slightly
5521 * ToolbarBackend.C (read): simplify
5523 * MenuBackend.C (binding): adjust call to findbinding, add a
5524 message if no binding is found.
5526 (expandToc): correct by adding a empty FuncRequest
5528 * LyXAction.C: include <boost/assert.hpp>
5529 (isPseudoAction): delete function
5530 (LookupFunc): change name to...
5531 (lookupFunc): this. change return type to FuncRequest.
5532 (getActionName): take kb_action as arg, simplify
5533 (funcHasFlag): add an assert, simplify.
5535 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5537 * toc.C (action): return a FuncRequest, simplify
5539 * lyxfunc.C (processKeySym): adjust
5540 (getStatus): delete version that takes an int.
5542 (dispatch): delete version that takes action as int
5544 (sendDispatchMessage): simplify and adjust
5546 * funcrequest.C (getArg): take unsigned int as arg
5548 * ToolbarBackend.C (read): adjust
5549 (add): delete version that takes func as a string.
5550 (getIton): take a FuncRequest as arg
5552 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5555 * MenuBackend.C (MenuItem): add a new construct that only takes a
5556 Kind, simplify the constructor use for submenus.
5558 (expandLastfiles): adjust
5559 (expandDocuments): adjust
5560 (expandFormats): adjust
5561 (expandFloatListInsert): adjust
5562 (expandFloatInsert): adjust
5563 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5565 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5566 Remove class variables lyx_pseudo_map and lyx_arg_map
5568 * LyXAction.C (searchActionArg): delete function
5569 (getPseudoAction): delete function
5570 (retrieveActionArg): delete function
5571 (LookupFunc): make it return kb_action, simplify.
5572 (getActionName): simplify
5574 * factory.C (createInset): fix new bug
5576 2003-09-19 Angus Leeming <leeming@lyx.org>
5578 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5579 masterFilename_ parameter in the include inset.
5581 * factory.C (createInset): changes due to the changes to InsetInclude.
5583 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5585 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5587 2003-09-18 Angus Leeming <leeming@lyx.org>
5590 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5591 Inset::fillWithBibKeys.
5592 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5594 2003-09-18 Angus Leeming <leeming@lyx.org>
5596 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5598 (ctor): pass and store a 'Buffer const &'
5599 (buffer): new member function.
5601 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5602 '*this' to the LaTeXFeatures ctor.
5604 2003-09-18 Angus Leeming <leeming@lyx.org>
5610 * text.C: rename EnumLColor as LColor_color.
5612 2003-09-18 Angus Leeming <leeming@lyx.org>
5614 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5615 remove #include "insets/insetbase.h" from cursor.h.
5617 2003-09-18 Angus Leeming <leeming@lyx.org>
5619 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5620 InsetOld_code to remove #include "inset.h".
5622 * iterators.C: add #include "insets/inset.h"
5624 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5626 * BufferView.C: remove more locking stuff that apparently doesn't
5627 do anything sensible.
5629 2003-09-16 André Pönitz <poenitz@gmx.net>
5632 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5635 2003-09-16 Angus Leeming <leeming@lyx.org>
5637 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5639 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5642 * paragraph.h: remove #include "lyxfont.h". Forward declare
5645 2003-09-16 Angus Leeming <leeming@lyx.org>
5647 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5648 of support/textutils.h.
5649 (isWord): move the contents of support/textutils.h's IsWordChar here.
5655 * text2.C: add #include "paragraph.h".
5658 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5660 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5666 * LaTeX.C: use namespace alias for lyx::support::os
5668 2003-09-16 Angus Leeming <leeming@lyx.org>
5671 * bufferview_funcs.C:
5674 * paragraph_pimpl.C:
5676 * text.C: add #include "LColor.h".
5678 2003-09-16 Angus Leeming <leeming@lyx.org>
5680 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5681 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5683 Store the FontBits::color variable as an int rather than as an
5684 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5687 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5688 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5689 string calls together.
5691 * lyxrc.C: add #include "LColor.h".
5693 2003-09-15 Angus Leeming <leeming@lyx.org>
5695 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5698 2003-09-15 Angus Leeming <leeming@lyx.org>
5700 * LColor.h: add an EnumLColor wrapper for LColor::color.
5702 * lyxfont.[Ch] (color, setColor, realColor):
5703 * lyxtext.h, text.C (backgroundColor):
5704 pass EnumLColor args to/from the functions, rather than LColor::color
5708 * lyxtext.h: forward declare EnumLColor.
5710 * lyx_main.C: add #include "LColor.h".
5712 2003-09-15 Angus Leeming <leeming@lyx.org>
5714 * .cvsignore: add lyx-gtk.
5716 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5721 * ParagraphParameters.C
5725 * bufferview_funcs.C
5735 * vc-backend.C: remove usage of STRCONV
5737 2003-09-15 Angus Leeming <leeming@lyx.org>
5739 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5740 explicitly define the color passed to the painter.
5742 2003-09-15 Angus Leeming <leeming@lyx.org>
5744 * bufferparams.C (BufferParams): reorder member initializers to avoid
5747 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5749 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5750 * text.C (updateRowPositions): remove an unusual nop
5752 2003-09-12 André Pönitz <poenitz@gmx.net>
5754 * BufferView_pimpl.C:
5763 * Counters.[Ch]: finish the 'automatic counters' job
5765 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5767 * aspell.C: include <boost/assert.cpp> (compile fix)
5769 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5771 * boost.C (assertion_failed): use lyx::support::abort instead of
5774 2003-09-10 Angus Leeming <leeming@lyx.org>
5776 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5777 with their _fwd progeny.
5779 2003-09-09 Angus Leeming <leeming@lyx.org>
5781 134 files throughtout the source tree: replace 'using namespace abc;'
5782 directives with the appropriate 'using abc::xyz;' declarations.
5784 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5786 * boost.C (emergencyCleanup): moved here from LAssert.c
5787 (assertion_failed): new function, called by BOOST_ASSERT
5789 * several files: change Assert to BOOST_ASSERT
5791 2003-09-09 Angus Leeming <leeming@lyx.org>
5793 * buffer.[Ch]: Add an Impl class and move Buffer's member
5794 variables into it. As a result move several header files out of
5797 Add header files to lots of .C files all over the tree as a result.
5799 2003-09-09 Angus Leeming <leeming@lyx.org>
5801 * buffer.[Ch]: make Buffer's member variables private. Add
5804 Lots of changes all over the tree as a result.
5806 2003-09-08 Angus Leeming <leeming@lyx.org>
5808 * graph.C: #include <config.h>.
5810 2003-09-08 Angus Leeming <leeming@lyx.org>
5814 * BufferView_pimpl.C:
5843 * toc.C: remove redundant using directives.
5845 2003-09-07 Angus Leeming <leeming@lyx.org>
5847 * LaTeXFeatures.h: remove #include "support/types.h".
5848 * ToolbarBackend.h: remove #include <algorithm>.
5849 * changes.h: remove #include <ctime>.
5850 * debug.h: remove #include <iosfwd>.
5851 * graph.h: remove #include "support/std_string.h".
5852 * lyx_main.h: remove #include <csignal>.
5853 * lyxlex_pimpl.h: remove #include <fstream>.
5854 * sgml.h: remove #include <algorithm>, <utility>.
5855 * toc.h: remove #include "support/std_ostream.h".
5856 Add #include <iosfwd>.
5858 2003-09-07 Angus Leeming <leeming@lyx.org>
5860 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5862 * converter.h: forward declare LatexRunParams.
5863 * encoding.h: remove #include "lyxrc.h".
5864 * lyxtext.h: remove #include "LColor.h".
5865 * lyxtextclass.h: remove #include "support/types.h".
5866 * trans.h: remove #include "tex-accent.h".
5867 * trans_mgr.h: remove #include "tex-accent.h".
5868 * insets/inset.h: remove #include "support/types.h", <vector>.
5869 * insets/insetcollapsable.h: remove #include "LColor.h".
5870 * insets/insetinclude.h: remove #include "dimension.h".
5871 * insets/insetlatexaccent.h: remove #include "dimension.h".
5872 * insets/insetoptarg.h:: remove #include "insettext.h".
5873 * insets/insettext.h: remove #include "dimension.h",
5874 <boost/shared_ptr.hpp>
5876 * insets/renderers.h: add #include "dimension.h".
5877 * insets/updatableinset.h: add #include "support/types.h".
5879 * many .C files: Associated changes.
5881 2003-09-06 Angus Leeming <leeming@lyx.org>
5883 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5884 one, inside testInvariant.
5886 * PrinterParams.C: new file.
5887 * PrinterParams.[Ch]: move the function bodies out of line.
5889 2003-09-06 Angus Leeming <leeming@lyx.org>
5891 * ParagraphParameters.h: forward declare ParameterStruct rather than
5892 including its header file.
5893 (depth): moved out-of-line.
5895 2003-09-06 Angus Leeming <leeming@lyx.org>
5897 * BufferView_pimpl.h:
5900 * lyxfunc.h: forward declare LyXKeySym rather than
5901 #include "frontends/LyXKeySym.h".
5903 * BufferView_pimpl.C:
5906 * lyxfunc.C: associated changes.
5908 2003-09-06 Angus Leeming <leeming@lyx.org>
5910 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5911 As a result, can remove the #include "insets/inset.h" from BufferView.h
5913 2003-09-06 Angus Leeming <leeming@lyx.org>
5915 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5916 As a result, can remove the #include "insets/inset.h" from BufferView.h
5918 2003-09-06 Angus Leeming <leeming@lyx.org>
5924 * bufferview_funcs.C:
5925 * BufferView_pimpl.C:
5930 * ParagraphParameters.C:
5935 * frontends/controllers/ControlDocument.C:
5936 * insets/insetcaption.C: rearrange the #includes into some sort of
5939 * buffer.h: remove #includes ErrorList.h, undo.h
5941 2003-09-06 Angus Leeming <leeming@lyx.org>
5943 * support/types.h: add a 'depth_type' typedef, used to store the
5944 nesting depth of a paragraph.
5947 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5948 defining explicitly.
5951 * paragraph_funcs.h:
5952 * ParagraphParameters.h:
5953 * sgml.h: use lyx::depth_type rather than Paragraph or
5954 ParameterStruct's depth_type.
5957 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5960 * BufferView_pimpl.C:
5962 * ParagraphParameters.C:
5965 * bufferview_funcs.C:
5972 * frontends/LyXView.C:
5973 * frontends/controllers/ControlDocument.C:
5974 * frontends/controllers/ControlErrorList.C:
5975 * insets/insetbibitem.C:
5976 * insets/insetbranch.C:
5977 * insets/insetcaption.C:
5978 * insets/insetcollapsable.C:
5979 * insets/insetenv.C:
5980 * insets/insetert.C:
5981 * insets/insetfloat.C:
5982 * insets/insetfoot.C:
5983 * insets/insetfootlike.C:
5984 * insets/insetnewline.C:
5985 * insets/insetquotes.C:
5986 * insets/insettabular.C:
5987 * insets/insettext.C:
5988 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5990 * frontends/controllers/ControlChanges.C: #include "changes.h".
5992 2003-09-06 Angus Leeming <leeming@lyx.org>
5994 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5995 than #including paragraph.h.
5998 * RowList.h: deleted. Superfluous.
6008 * insets/insettext.h: use ParagraphList_fwd.h rather than
6011 * paragraph.h: don't forward declare ParagraphList.
6014 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6015 rather than ParagraphList.h. paragraph.h is still needed for the
6016 Paragraph::depth_type parameters.
6018 * textcursor.h: enable it to compile stand-alone in light of the
6021 * bufferview_funcs.C:
6033 * frontends/controllers/ControlParagraph.C:
6034 * frontends/controllers/ControlTabular.C:
6035 * insets/insetmarginal.C:
6036 * insets/insetminipage.C:
6037 * insets/insetnote.C:
6038 * insets/insetoptarg.C: add header files needed to compile again.
6040 2003-09-06 Angus Leeming <leeming@lyx.org>
6042 * RowList_fwd.h: new file, forward-declaring Row rather than
6043 #including lyxrow.h.
6048 * insets/insettext.h: use it instead of RowList.h
6050 * bufferview_funcs.C:
6057 * text3.C: #include "RowList.h".
6059 2003-09-05 Angus Leeming <leeming@lyx.org>
6061 * factory.C (createInset):
6062 * vspace.C (c-tor): replace sscanf call with an istringstream.
6063 * ispell.C: re-add missing HP/UX headers.
6064 * lyxserver.C: re-add missing os2 headers.
6066 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6075 * text3.C: re-add missing system headers, needed for 2.95.2.
6077 2003-09-05 Angus Leeming <leeming@lyx.org>
6079 Changes most place everywhere due to the removal of using directives
6080 from support/std_sstream.h.
6082 2003-09-05 Angus Leeming <leeming@lyx.org>
6084 Replace LString.h with support/std_string.h,
6085 Lsstream.h with support/std_sstream.h,
6086 support/LIstream.h with support/std_istream.h,
6087 support/LOstream.h with support/std_ostream.h.
6089 Changes resulting throughout the tree.
6091 2003-09-05 Angus Leeming <leeming@lyx.org>
6093 * sgml.h: ensure that the header file can be compiled stand-alone.
6094 * *.C: strip out redundant #includes. (320 in total.)
6096 2003-09-04 Angus Leeming <leeming@lyx.org>
6098 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6099 here (from getPackages).
6101 * debug.[Ch]: add a new EXTERNAL tag.
6103 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6105 * text2.C (cursorEnd): simplify
6107 (getColumnNearX): adjust
6109 * text.C (computeBidiTables): adjust
6112 * rowpainter.C (paintChars): adjust
6113 (paintSelection): adjust
6114 (paintChangeBar): adjust
6117 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6119 (numberOfSeparators): adjust
6121 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6127 * text3.C: Restricts the mouse click functionality
6128 of insets like bibtex, include, toc and floatlist to the visible
6129 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6130 up the dialogs. Cursor has to be in front of the inset (i.e.
6131 start of row) for this to function.
6133 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6135 * bufferview_funcs.C (currentState): output row information
6137 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6139 * bufferview_funcs.C (currentState): output paragraph position
6141 2003-09-04 Angus Leeming <leeming@lyx.org>
6143 * FloatList.h: move out #include "Floating.h".
6144 * LaTeX.h: move out #include "DepTable.h".
6145 * LyXAction.h: move out #include "funcrequest.h".
6146 * buffer.h: move out #include "author.h", "iterators.h".
6147 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6148 * lyx_main.h: move out #include "errorlist.h".
6149 * lyxfunc.h: move out #include "FuncStatus.h".
6150 * lyxtext: move out #include "lyxcursor.h".
6151 * paragraph_pimpl.h: move out #include "counters.h".
6153 2003-09-03 Angus Leeming <leeming@lyx.org>
6155 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6156 preamble_snippets list, enabling us to add snippets to the preamble
6157 only if the snippet was not there already.
6159 2003-09-04 Angus Leeming <leeming@lyx.org>
6161 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6163 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6165 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6168 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6170 * BranchList.C: point fix, earlier forgotten
6172 2003-09-02 Angus Leeming <leeming@lyx.org>
6174 * box.C (contains): renamed from 'contained' after a fantastic
6177 2003-09-02 John Levon <levon@movementarian.org>
6183 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6185 2003-09-02 John Levon <levon@movementarian.org>
6187 * text2.C: simplification of cursorEnd(), including partial
6190 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6192 * buffer.C (readFile): add a space
6194 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6196 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6198 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6200 * buffer.C (readFile): new function, take a filename and a
6201 ParagraphList::iterator
6203 (readFile): adjust, make it private. don't use setStream, make
6204 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6205 always contain the filename.
6207 * BufferView.C (insertLyXFile): simplify and make it work for
6210 2003-08-30 John Levon <levon@movementarian.org>
6212 * Makefile.am: fix dist (from Kayvan)
6214 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6216 * most files: change to use const Buffer refs
6218 2003-08-27 André Pönitz <poenitz@gmx.net>
6220 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6221 on top of ownerPar().
6223 2003-08-27 John Levon <levon@movementarian.org>
6225 * funcrequest.C: properly initialise POD members
6227 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6229 * lyxtext.h (top_y): move top_y from here
6234 * BufferView_pimpl.[Ch]: to here
6235 * frontends/screen.C:
6236 * insets/insettabular.C:
6237 * insets/insettext.C: adjust
6238 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6240 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6243 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6245 2003-08-26 André Pönitz <poenitz@gmx.net>
6247 * paragraph_func.[Ch] (outerPar): new function
6250 * paragraph_funcs.C:
6251 * paragraph_funcs.h:
6252 * paragraph_pimpl.C:
6253 * text2.C: remove Inset::par_owner
6255 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6260 * text2.C: eliminates the needFullRow/display() stuff
6261 altogether, putting the logic in metrics/draw in the insets.
6263 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6265 * text2.C (redoParagraphInternal, redoParagraphs):
6266 * text.C (redoParagraph): add a call to updateRowPositions at the
6267 end of each 'metrics-like' call. Remove all others.
6268 (getRow): remove the 'y-computing' version.
6269 (getRowNearY): do not compute nor return the real y. Solve the
6270 'y < 0' problem and simplify.
6272 2003-08-22 Angus Leeming <leeming@lyx.org>
6274 * *.[Ch]: clean-up of licence and author blurbs.
6275 Also move config.h out of a few .h files and into a few .C files.
6277 2003-08-22 André Pönitz <poenitz@gmx.net>
6279 * lyxrow.[Ch]: add x_ and *fill_ members
6284 * text2.C: adjust/remove prepareToPrint() calls
6286 2003-08-22 André Pönitz <poenitz@gmx.net>
6288 * lyxrow.[Ch]: add end_ member
6290 * lyxrow_funcs.C: use LyXRow::end_
6292 * lyxtext.h (singleWidth): add LyXFont parameter
6295 * text2.C: adjust LyXText::singleWidth() calls
6297 * text.C (redoParagraph): simplify row breaking logic
6300 2003-08-19 André Pönitz <poenitz@gmx.net>
6302 * funcrequest.C: initialize button_ member
6305 * rowpainter.[Ch]: interface consolidation
6307 2003-08-18 André Pönitz <poenitz@gmx.net>
6310 * BufferView_pimpl.C:
6312 * paragraph_funcs.C:
6314 * text3.C: remove LyXScreen::draw() and fitCursor calls
6316 * BranchList.h: remove spurious semicolons
6318 * MenuBackend.C: fix branchlist related crash
6320 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6328 * bufferparams.[Ch]:
6332 * text3.C: implements the 'branch inset'
6333 idea. This allows the output of various versions of a document
6334 from a single source version, selectively outputing or suppressing
6335 output of parts of the text.
6336 This implementation contains a 'branch list editor' in a separate
6337 tab of the document settings dialog. Branches are user definable
6338 and have a "display colour" to distinguish them on-screen.
6340 ColorHandler was somewhat cleaned up.
6341 (1) make possible a dynamically growing LColor list by allowing
6342 the graphic context cache to grow along (vector);
6343 (2) eliminate an IMHO unnecessary step in colour allocation.
6345 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6347 * BufferView_pimpl.C: compile fix
6349 2003-08-15 André Pönitz <poenitz@gmx.net>
6351 * rowpainter.C: remove extra metrics calls
6353 * lyxtext.h: merge the two constructors into a single one,
6354 pass reference to owner's par list
6356 * BufferView_pimpl.C:
6360 2003-08-15 André Pönitz <poenitz@gmx.net>
6362 * lyxrow_funcs.[Ch]:
6365 * paragraph_funcs.C:
6370 * text_funcs.C: split LyXText::rowlist_ into individual
6371 Paragraph::rows_ chunks
6374 * BufferView_pimpl.[Ch]:
6377 * text3.C: remove toggleSelection()
6379 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6381 * bufferlist.C: beautify two alerts (shorter text of buttons)
6382 * buffer.C: Remove redundant ' ' from message
6384 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6385 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6386 rename VALIGN_CENTER to VALIGN_MIDDLE
6388 2003-08-11 André Pönitz <poenitz@gmx.net>
6390 * lyxtext.h (getPar):
6391 * text.C: new function
6393 2003-08-11 André Pönitz <poenitz@gmx.net>
6396 * tracer.[Ch]: remove unneeded files
6398 * InsetList.[Ch]: remove resizeInsetsLyXText()
6403 * text3.C: merge insertParagraphs() and appendParagraph()
6404 remove breakAgain(), update()
6406 * BufferView_pimpl.[Ch]:
6407 * bufferview_funcs.[Ch]:
6411 * tabular.C: adjust after text & InsetList changes.
6413 2003-08-08 André Pönitz <poenitz@gmx.net>
6415 * text.C (insertChar, backspace): replace rowlist fiddling
6416 with rebreak of full par
6419 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6420 checkParagraph, updateInset): removed
6422 2003-08-07 André Pönitz <poenitz@gmx.net>
6425 * text3.C: merge some LFUN handlers, remove dead code
6427 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6429 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6431 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6433 * text2.C (DEPM): fix part of bug 1255 and 1256
6435 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6437 * BufferView_pimpl.C (workAreaDispatch): change to use
6438 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6439 that are no mouse related.
6441 2003-08-05 André Pönitz <poenitz@gmx.net>
6444 * BufferView_pimpl.[Ch]:
6445 * bufferview_funcs.C:
6447 * text3.C: rip out "deep update"
6449 * textcursor.[Ch] (last_sel_cursor): remove unused member
6451 2003-08-04 André Pönitz <poenitz@gmx.net>
6454 * BufferView_pimpl.[Ch]:
6455 * ParagraphParameters.C:
6456 * bufferview_funcs.C:
6462 * text3.C: replace "complicated" BufferView::update(...) calls with
6465 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6467 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6469 * Makefile.am (lyx_SOURCES): add paper.h
6471 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6473 * Makefile.am: move things around so that both lyx-qt and
6474 lyx-xforms can be built (according to --with-frontend). Then lyx
6475 is a symbolic link to lyx-[firstfrontend]
6477 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6479 * Always use std::endl with lyxerr
6481 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6483 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6485 2003-08-01 André Pönitz <poenitz@gmx.net>
6488 * BufferView_pimpl.[Ch]:
6490 * text3.C: merge BufferView::repaint() and BufferView::update()
6492 2003-08-01 José Matos <jamatos@lyx.org>
6494 * buffer.[Ch]: file_format is no longer a buffer data element.
6496 2003-08-01 André Pönitz <poenitz@gmx.net>
6501 * text2.C: make redoParagraph more independent of current cursor
6503 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6505 * text2.C: remove unneeded members
6507 2003-07-30 André Pönitz <poenitz@gmx.net>
6509 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6511 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6512 create a single function...
6514 * paragraph_funcs.C (moveItem): ... here.
6517 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6519 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6521 * LColor.[Ch]: Add comment and greyedout logical colors.
6523 2003-07-30 André Pönitz <poenitz@gmx.net>
6525 * tabular.C: don't use Assert too heavily. This crashes where it
6528 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6530 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6531 is disabled (bug 1232)
6533 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6535 * factory.C: limited 'arg' scope
6537 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6539 * factory.C: fixed Note submenu issues
6541 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6543 * factory.C: submenu for Note/Comment/Greyedout
6545 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6548 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6550 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6553 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6554 greyedout. Patch provided by Jürgen Spitzmüller.
6556 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6558 * kbmap.C (read): fix error message when reading bind files
6560 2003-07-29 Angus Leeming <leeming@lyx.org>
6562 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6563 certainly does not do what it purports to do. I am doing it, and
6564 us, a favour by killing it.
6566 2003-07-28 José Matos <jamatos@lyx.org>
6568 * buffer.C (readBody, do_writeFile):
6569 * paragraph.C(readParagraph): \end_document replaces \the_end.
6571 2003-07-29 André Pönitz <poenitz@gmx.net>
6574 * BufferView_pimpl.[Ch]:
6578 * textcursor.[Ch]: remove toggleToggle & Co
6580 2003-07-28 José Matos <jamatos@fep.up.pt>
6582 * buffer.C (readParagraph):
6583 * params_func (readParToken, readParagraph):
6584 * paragraph.C (write): \layout -> \begin_layout.
6586 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6588 * lyxlex_pimpl.C (setFile): clean up slightly.
6590 * bufferparams.h: add compressed var
6592 * buffer_funcs.C (readFile): adjust for LyXLex change
6593 (newFile): ditto + simplify
6595 * buffer.C (writeFile): handle writing of compressed files
6597 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6598 Check if the file is compressed and set a bufferparm if so.
6600 * Makefile.am (lyx_LDADD): remove explicit -lz
6602 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6604 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6605 makeDocBookFile): put the real LyX version in the first line of
6609 * version.C.in: remove lyx_docversion
6611 * tabular.C (write_attribute): add a template-based version to
6612 write enums properly
6614 2003-07-28 André Pönitz <poenitz@gmx.net>
6619 * text3.C: use doubles again for x-coordinates. They are needed.
6621 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6623 * messages.C (getLocaleDir): use lyx_localedir()
6625 * lyxlex_pimpl.C (setFile): compress stuff
6627 * buffer.C (writeFile): add some compression stuff
6628 (do_writeFile): new func, dont call expliti close... will this
6631 * Makefile.am (lyx_LDADD): add -lz
6633 2003-07-28 José Matos <jamatos@fep.up.pt>
6635 * buffer.C: increment file format.
6636 * paragraph_funcs (readParagraph, readParToken):
6637 * paragraph.C (readParagraph): add \end_layout.
6639 2003-07-27 Angus Leeming <leeming@lyx.org>
6641 * Makefile.am: remove special casing for configure-time setting of
6642 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6644 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6645 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6647 2003-07-26 André Pönitz <poenitz@gmx.net>
6649 * paragraph_func.[Ch]:
6650 * paragraph.C (realizeFont): inline it whereever it is used
6655 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6658 2003-07-26 André Pönitz <poenitz@gmx.net>
6662 * text2.C: get rid of LyXText::need_break_row
6664 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6666 * toc.[Ch]: put namespace toc inside namespace lyx
6668 * MenuBackend.C (expandToc2): adjust for lyx::toc
6671 * lyxfunc.C (dispatch): adjust for lyx::find
6673 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6674 lyx::find instead. Reorganize a bit.
6675 (LyXReplace): rename to replace
6676 (LyXFind): rename to find
6678 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6681 2003-07-26 André Pönitz <poenitz@gmx.net>
6683 * text.C (setHeightOfRow): restrict scope of temporary variable
6685 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6686 code (never has been used?)
6688 2003-07-27 Asger Alstrup <alstrup@local>
6690 * text.C (fill): Optimise algorithm to exploit that we can reuse
6691 the LyXFont for many characters.
6692 (setHeightOfRow): Same thing.
6693 (rowBreakPoint): Same thing.
6695 2003-07-26 Asger Alstrup <alstrup@local>
6697 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6699 * text.C (singleWidth): Spurious font copying in hot-spot
6700 singleWidth avoided. Reorder tests for arabic for efficiency.
6702 * text.C (fill): handle empty paragraphs better.
6704 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6707 * encoding.h: add includes
6709 * lyxrc.C: remove reading of bind files
6711 * lyx_main.C (init): setup bindings and menus only if we have a
6714 * kbmap.C (read): new method. Do the actual reading of bind
6717 * converter.C (dvipdfm_options):
6720 (output): adapt PAPER_* enums.
6722 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6724 * bufferparams.h: remove paper-related enums from there
6726 * paper.h: New file. A trivial header file to hold paper-related
6727 enums. It should later expand to contain many paper-related
6730 * lyxrc.C: declare extern displayTranslator
6732 2003-07-27 José Matos <jamatos@fep.up.pt>
6734 * tabular.[Ch] (linuxdoc): add support for tables and figures
6737 2003-07-27 José Matos <jamatos@fep.up.pt>
6739 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6740 consistency in both functions.
6741 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6743 2003-07-26 Asger Alstrup <alstrup@local>
6745 * rowpainter.C (paintRows): Change algorithm to work directly on
6746 the insets rather than asking every character in the document
6747 whether its an inset.
6749 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6751 * buffer.C (openFileWrite): factorize some code
6753 2003-07-26 Angus Leeming <leeming@lyx.org>
6756 * lyx_main.[Ch]: replace occurances of system_tempdir with
6759 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6761 * rename Inset to InsetOld
6763 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6765 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6766 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6767 which I think is a bit clearer. EDIT is gone, since it was
6768 premature optimisation, and broken for mathed anyway.
6769 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6770 with cursor positioning in insets as well (math insets still do not
6771 work, but that's a different story anyway.) It mysteriously
6772 crashes sometimes with undo in the first paragraph, but I'm fairly
6773 confident that this is a compiler bug.
6775 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6777 * paragraph.C (Paragraph): adjust for new clone return type
6779 (copyIntoMinibuffer): ditto
6781 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6783 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6784 by not having a special case, and always doing a full rebreak of
6785 the document after undo.
6787 2003-07-23 Angus Leeming <leeming@lyx.org>
6789 * factory.C (createInset): InsetExternal::setParams now takes a
6792 2003-07-23 Angus Leeming <leeming@lyx.org>
6794 * factory.C (createInset): changed interface to the external and
6795 graphics mailers' string2params functions.
6797 2003-07-23 Angus Leeming <leeming@lyx.org>
6799 * factory.C (createInset): pass a
6800 Buffer const * parameter to InsetExternalMailer's string2params.
6802 2003-07-22 John Levon <levon@movementarian.org>
6804 * Thesaurus.h: include the right aiksaurus header
6806 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6808 * MenuBackend.C (expand): check menu shortcuts unconditionally
6810 2003-07-21 Angus Leeming <leeming@lyx.org>
6812 * factory.C (createInset): pass a
6813 buffer_path parameter to InsetGraphicsMailer's string2params.
6815 2003-07-21 Angus Leeming <leeming@lyx.org>
6817 * BufferView_pimpl.C (buffer):
6820 * lyxfunc.C (dispatch):
6821 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6822 rather than the grfx shortcut.
6824 2003-07-21 André Pönitz <poenitz@gmx.net>
6826 * rowpainter.C: remove unused variables
6829 * tabular_funcs.h: move to tabular.C
6830 * Makefile.am: adjust
6832 * tabular.[Ch]: basic optical cleaning
6834 * author.h: pass references, not values
6836 2003-07-18 André Pönitz <poenitz@gmx.net>
6844 * text3.C: two-phase drawing for InsetText and InsetTabular
6845 some float -> int changes.
6847 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6849 * lyx_main.C: fix the fix
6851 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6853 * lyx_main.C: fix a crash in batch mode if no files specified
6856 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6858 * format.[Ch] (papersize): moved to BufferParams
6859 * converter.[Ch] (dvips_options): moved to BufferParams
6860 (dvipdfm_options): moved to anon namespace
6861 * bufferparams.[Ch]: added above functions.
6863 2003-07-17 André Pönitz <poenitz@gmx.net>
6867 * text2.C: don't call inset->update() anymore
6869 * metricsinfo.[Ch]: add convenience constructor
6871 2003-07-16 André Pönitz <poenitz@gmx.net>
6876 * text2.C: replace the LyXCursor::irow_ member with
6877 on-demand computation of the value
6879 2003-07-16 John Levon <levon@movementarian.org>
6881 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6883 2003-07-15 André Pönitz <poenitz@gmx.net>
6886 * text2.C: remove no more needed refresh_row
6888 2003-07-15 André Pönitz <poenitz@gmx.net>
6893 * text3.C: refresh_status tristate -> need_update bool
6895 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6897 * lyxtext.h (init): remove reinit argument (act as if always true)
6898 * text2.C: adjust to that
6900 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6902 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6903 * text3.C: use it to delete selections in some cases
6904 (bugs 441, 673, 702, 954).
6906 2003-07-14 André Pönitz <poenitz@gmx.net>
6908 * rowpainter.[Ch]: reduce interface
6910 2003-07-14 André Pönitz <poenitz@gmx.net>
6912 * BufferView_pimpl.C:
6913 * text2.C: adjust after removing unused BufferView * argument
6915 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6917 * text2.C (init): fix a crash fired on resize
6919 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6921 * buffer.[Ch]: added new closing signal
6922 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6923 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6924 BufferView::Pimpl via the closing the signal
6926 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6928 * buffer.[Ch]: take out all bv-related from buffer
6930 * BufferView_pimpl.[Ch]: connect to new signals
6931 * CutAndPaste.C: removed useless asserts
6932 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6935 * lyxfunc.C: moved view-related funciontality from vc here
6936 * paragraph.C: removed outdated comments
6939 2003-07-10 André Pönitz <poenitz@gmx.net>
6941 * BufferView_pimpl.C:
6945 * text2.C: remove InsetText::InnerCache, clean up consequences
6947 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6949 * ispell.C: fix two typos in error messages
6951 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6953 * Extend Note inset to other forms of annotation like Comment
6954 and Greyedout. Right button click gives dialog.
6956 Files modified or added (+):
6960 * ControlNote.[Ch] +
6962 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6963 frontends/controllers
6967 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6969 * aspell.C: add missing namespace lyx::support
6971 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6973 * BufferView.[Ch] (newFile): Add
6974 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6975 * LaTeX.[Ch] (message): added this signal and use it
6976 * buffer.[Ch] (busy, message): added these signals and use them
6977 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6981 * importer.C: use buffer signals instead of direct bv calling
6982 * lyx_cb.[Ch] (ShowMessage): removed
6985 * paragraph_funcs.C:
6986 * text2.C: use buffer signals
6988 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6990 * introduce namespace lyx::graphics
6992 2003-07-02 André Pönitz <poenitz@gmx.net>
6994 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6996 2003-07-01 André Pönitz <poenitz@gmx.net>
7003 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7004 text*.C to text_func.C
7006 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7008 * introduce namespace lyx::support
7010 2003-06-30 André Pönitz <poenitz@gmx.net>
7015 * text.C: re-enable --with-included-string
7017 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7019 * textcursor.C: add <config.h>
7021 * text.C (getWord): remove const from word_location arg
7023 * lyxvc.C (getLogFile): fix const type order
7025 * lyxtext.h: remove const from word_location arg, add arg name
7027 * lyxlayout.h: currect type on labeltype.
7029 * importer.C: correct \file
7031 * converter.C (intToFormat): use std:: on ret val, ws changes
7033 * bufferlist.h: correct \file
7035 * buffer.C (makeLinuxDocFile): fix const type order
7036 (makeDocBookFile): ditto
7037 (fillWithBibKeys): use std:: on stdlib args.
7039 * CutAndPaste.C: fix authors.
7040 (availableSelections): use std:: on return vector
7042 2003-06-27 André Pönitz <poenitz@gmx.net>
7044 * BufferView_pimpl.C:
7045 * bufferview_funcs.C:
7053 * text3.C: remove LyXCursor::row_ member
7056 * text.C: rename fullRebreak() to partialRebreak() and implement
7057 a fullRebreak() that really bereks fully
7059 * textcursor.h: new struct for cursor-related data
7061 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7063 * lyx_main.C (LyX): get full path of document loaded on the
7066 2003-06-26 André Pönitz <poenitz@gmx.net>
7068 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7069 remove unused/broken operator>,<,>=.
7071 * text.C: remove only use of broken operator<= in an Assert().
7073 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7075 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7076 moved errorlist_.clear to showErrorList
7078 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7080 * converter.C (scanLog, runLaTeX):
7081 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7082 move the bv->showErrorList call to the callers
7083 * lyxfunc.C: i.e. here...
7085 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7086 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7087 namespace, the second to...
7088 * buffer_funcs (BufferFormat, parseErrors): added
7089 * errorlist.C (ErrorList(TeXErrors const &)): removed
7091 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7093 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7095 2003-06-24 "Garst R. Reese" <reese@isn.net>
7099 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7101 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7103 * version.C.in: change docversion to 1.4
7105 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7107 * buffer.C: fix a bug just introduced
7109 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7111 * buffer.[Ch]: added the parseError signal and use it, removed
7113 * BufferView.[Ch] (addError): moved to ...
7114 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7115 to the Buffer::parseError signal to catch (guess what) parse errors
7116 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7118 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7120 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7121 ability to create a buffer and to return an existing one from
7122 the list. Moved these functions to...
7123 * buffer_funcs.[Ch]: added
7124 * BufferView.[Ch] (loadLyXFile): added
7125 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7126 job removed from bufferlist::loadLyXFile.
7127 * buffer.C (setReadOnly): make it work without view
7128 (i.e added an if (users))
7130 2003-06-19 Angus Leeming <leeming@lyx.org>
7133 * LyXAction.C (init):
7134 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7135 with LFUN_DIALOG_SHOW <name> <data>.
7137 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7139 * CutAndPaste.C (availableSelections): small compilation fix for
7140 ancient (gcc 2.9x) compilers
7142 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7144 * text3.C (cursorNext): add tmp var
7146 * text2.C (updateCounters): for function calling out of for clause
7147 (replaceSelectionWithString): ditto
7148 (insertStringAsParagraphs): ditto
7149 (getColumnNearX): add tmp var
7150 (setCursorFromCoordinates): add tmp var
7151 (cursorDownParagraph): add tmp var
7152 (deleteEmptyParagraphMechanism): add tmp var
7154 * text.C (insertChar): add tmp var
7156 * rowpainter.C (paintDepthBar): add tmp var
7158 * CutAndPaste.C (availableSelections): potentially check all
7159 paragraphs in a cut to fill the shown strings.
7161 2003-06-18 André Pönitz <poenitz@gmx.net>
7163 * kbmap.[Ch]: use vector<> instead of list<>
7165 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7167 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7168 pasteSelection with index
7170 * text2.C (pasteSelection): modify, call pasteSelection with index
7172 * paragraph.C (asString): reimplement version with no interval to
7173 call the one with interval.
7175 * lyxtext.h: add index arg to pasteSelection
7177 * MenuBackend.C (MenuItem): handle PasteRecent
7178 (Menu::read::Menutags): add md_pasterecent
7180 (expandPasteRecent): new function
7183 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7185 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7187 (availableSelections): new function
7189 2003-06-17 Angus Leeming <leeming@lyx.org>
7191 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7193 2003-06-17 Angus Leeming <leeming@lyx.org>
7196 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7198 * lyxfunc.C (dispatch): invoke it.
7200 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7202 * iterators.C (operator++, ParPosition): reintroduce some
7203 const_cast for the benefit of older compilers.
7205 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7207 * text3.C (dispatch): do not modify clipboard when doing
7208 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7209 LFUN_DELETE_SKIP on a selection selection
7211 2003-06-16 André Pönitz <poenitz@gmx.net>
7217 * tabular.[Ch]: IU of clone() and getLabelList();
7219 2003-06-13 André Pönitz <poenitz@gmx.net>
7221 * tabular.h: compactification
7223 2003-06-12 André Pönitz <poenitz@gmx.net>
7227 * tabular_funcs.h: some renaming plus whitespace
7229 2003-06-12 André Pönitz <poenitz@gmx.net>
7232 * BufferView_pimpl.C:
7238 * toc.C: Return a Paragraph & for ParIterator::operator*()
7240 2003-06-11 John Levon <levon@movementarian.org>
7244 * ToolbarBackend.C: add "Toolbars" section and
7247 2003-06-10 Angus Leeming <leeming@lyx.org>
7250 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7252 * lyxfunc.C (dispatch): invoke it.
7254 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7256 * main.C: protect <ios> with HAVE_IOS
7257 (main): protect sync_with_stdio with HAVE_IOS
7259 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7261 * text2.C (cutSelection): adjust
7262 (pasteSelection): adjust
7264 * messages.C: handle get of empty string
7266 * main.C (main): use sync_with_stdio(false)
7268 * lyxfunc.C (dispatch): adjust
7270 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7271 (WriteAs): remove unneeded BufferView arg.
7273 * bufferparams.h: use correct types on papersize, papersize2 and
7276 * bufferparams.C (readToken): adjust for type
7277 (writeLaTeX): add missing cases to switch.
7279 * bufferlist.C (quitWriteBuffer): adjust
7282 * buffer.C (asciiParagraph): remove some commented code.
7284 * CutAndPaste.C: remove current_view extern variable.
7285 (cutSelection): add BufferParams arg.
7286 (eraseSelection): add BufferParams arg.
7287 (pasteSelection): add Buffer const & arg
7289 2003-06-07 John Levon <levon@movementarian.org>
7292 * paragraph_funcs.C:
7293 * paragraph_pimpl.C:
7297 * paragraph.C: allow InsetERT to freely space lines,
7298 and some consolidation of code
7300 2003-06-06 José Matos <jamatos@fep.up.pt>
7302 * buffer.C (makeDocBookFile): fix bug #821
7304 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7306 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7308 2003-06-04 Angus Leeming <leeming@lyx.org>
7310 * buffer.C: bump format to 224.
7312 2003-06-05 André Pönitz <poenitz@gmx.net>
7314 * text2.C (redoParagraphs): remove two const_cast<>
7316 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7318 * ParagraphList.h: remove last remnants of NO_STD_LIST
7320 2003-06-03 Angus Leeming <leeming@lyx.org>
7322 * factory.C (createInset): small change to the way InsetExternal's params
7325 2003-06-04 André Pönitz <poenitz@gmx.net>
7327 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7329 * paragraph_pimpl.h:
7330 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7332 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7334 * undo_funcs.C: make some simple cases of undo work again
7336 2003-06-03 John Levon <levon@movementarian.org>
7338 * ispell.C: HPUX doesn't have sys/select.h
7341 2003-06-03 John Levon <levon@movementarian.org>
7343 * CutAndPaste.C: update tabular and include inset
7348 * paragraph.C: remove owningBuffer(), don't pass Buffer
7351 * factory.C: insetGraphicsParams changed
7353 2003-06-02 John Levon <levon@movementarian.org>
7359 * text3.C: remove insetparent
7361 2003-06-02 John Levon <levon@movementarian.org>
7364 * buffer.C: fix inset_iterator.end(), move out of line
7367 2003-06-01 John Levon <levon@movementarian.org>
7369 * text3.C: use a proper cut/paste when doing inset
7370 insert (from Jürgen Spitzmüller)
7372 2003-06-01 John Levon <levon@movementarian.org>
7374 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7376 2003-05-30 André Pönitz <poenitz@gmx.net>
7378 * rowpainter.C: unify second drawing phase
7380 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7382 * trans_mgr.C: remove one case of current_view
7384 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7386 * paragraph_funcs.h: remove paragraph.h include
7388 * paragraph.h: delete NO_STD_LIST stuff
7390 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7392 * buffer.h: remove paragraph.h include
7394 * ParagraphList.C: delete file
7396 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7398 * toc.C (getTocList): adjust
7400 * paragraph_pimpl.C (validate): adjust
7402 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7404 * paragraph.C (Paragraph): adjust
7405 (getPositionOfInset): use const_iterator, adjust
7406 (bibitem): use const_iterator, adjust
7407 (setInsetOwner): adjust
7409 * iterators.C (operator++): adjust
7411 * InsetList.[Ch]: Replace selfmade iterator with standard
7412 vector::iterator also introduce const_iterator. Remove getPos,
7413 getInset and setInset from InsetTable. Adjust accordingly.
7415 * BufferView.C (lockInset): adjust
7416 (ChangeInsets): adjust
7418 * tabular.[Ch]: delete commented same_id functions
7420 2003-05-28 John Levon <levon@movementarian.org>
7422 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7424 2003-05-28 André Pönitz <poenitz@gmx.net>
7426 * metricsinfo.[Ch]: remove 'fullredraw' member
7428 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7430 * lyxtextclass.C (operator): remove caching.
7432 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7436 * text2.C (cursorBottom): adjust
7437 (setCounter): use ParagraphList::find, adjust
7439 * text.C (workWidth): use ParagraphList::find, adjust
7441 * lyxcursor.C (LyXCursor): adjust
7443 * buffer.C (inset_iterator): adjust
7445 * ParagraphList.h: make iterator(value_type) private, make
7446 ParagraphList a friend of iterator.
7448 * ParagraphList.C (find): new function
7450 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7452 2003-05-27 André Pönitz <poenitz@gmx.net>
7454 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7456 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7458 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7460 2003-05-26 John Levon <levon@movementarian.org>
7462 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7464 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7466 * remove same_id from function signatures, adjust.
7468 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7470 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7472 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7474 * paragraph.C (Paragraph): get rid of same_ids parameter
7476 * ParagraphList.C (insert): adjust
7479 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7481 * paragraph_funcs.C (breakParagraph): adjust
7482 (breakParagraphConservative): adjust
7484 * buffer.C (readParagraph): adjust
7486 * ParagraphList.C (insert): take a reference instead of a pointer
7489 * paragraph.[Ch] (id): new function
7491 * bufferlist.C (newFile): adjust
7493 * ParagraphList.C (ParagraphList): adjust
7495 (push_back): take a reference instead of a pointer.
7497 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7499 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7502 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7503 set else use old code.
7505 * ParagraphList.C: remove all NO_NEXT code and only compile this
7506 code of NO_STD_LIST is set.
7508 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7510 * BufferView_pimpl.C:
7520 * graphics/GraphicsConverter.C:
7521 * graphics/PreviewLoader.C: header adjustment
7523 2003-05-23 Angus Leeming <leeming@lyx.org>
7525 * LaTeXFeatures.[Ch] (useBabel): new method.
7526 * bufferparams.C (writeLaTeX): use it.
7528 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7530 * ParagraphList.h (set): remove unused function.
7532 2003-05-23 André Pönitz <poenitz@gmx.net>
7535 * BufferView_pimpl.C:
7539 * undo_funcs.C: setUndo reworked
7541 * iterators.[Ch]: add access to topmost ParagraphList
7543 * lyxtext.[Ch] (workWidth): add a const
7545 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7547 * texrow.[Ch] (increasePos): remove function
7548 * exporter.C (export): removed unused var and outdated comment
7550 2003-05-23 Angus Leeming <leeming@lyx.org>
7552 * latexrunparams.h: rename fragile as moving_arg.
7553 * paragraph.C (simpleTeXOnePar): ditto.
7554 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7556 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7558 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7560 (textUndoOrRedo): comment out a currently unused var.
7562 * paragraph.h (NO_NEXT): enable NO_NEXT
7564 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7566 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7568 * exporter.C (Export): adjust for removeAutoInsets removal.
7570 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7572 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7574 * BufferView.[Ch] (removeAutoInsets): delete function
7576 2003-05-22 Angus Leeming <leeming@lyx.org>
7578 * latexrunparams.h: add a free_spacing variable.
7580 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7581 to pass moving_arg, as the data is stored in runparams.fragile.
7583 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7584 to Inset::latexOptional or to simpleTeXOnePar.
7586 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7587 free_spacing arg to Inset::latexOptional.
7589 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7592 2003-05-22 Angus Leeming <leeming@lyx.org>
7594 * latexrunparams.h: add fragile and use_babel variables.
7596 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7597 * buffer.C (makeLaTeXFile): store this returned value in
7598 runparams.use_babel, thus passing it to the inset::latex methods.
7600 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7601 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7603 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7604 longer has a fragile arg, as it is stored in runparams.fragile.
7606 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7607 moving_arg parameter as the data is stored in runparams.fragile.
7609 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7610 a fragile parameter as the data is stored in runparams.fragile.
7612 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7614 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7616 2003-05-22 Angus Leeming <leeming@lyx.org>
7618 * latexrunparams.h: add a 'bool nice' which defaults to false.
7620 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7621 now encapsulated within runparams.
7623 * bufferlist.C (updateIncludedTeXfiles):
7624 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7626 2003-05-22 Angus Leeming <leeming@lyx.org>
7628 * latexrunparams.h: new file containing struct LatexRunParams.
7629 * Makefile.am: add new file.
7631 * LaTeX.[Ch] (c-tor, run):
7632 * buffer.[Ch] (makeLaTeXFile):
7633 * bufferlist.[Ch] (updateIncludedTeXfiles):
7634 * converter.C (convert, scanLog):
7635 * converter.[Ch] (runLaTeX):
7636 * exporter.C (Export):
7637 * paragraph.[Ch] (simpleTeXOnePar):
7638 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7639 * paragraph_funcs.[Ch] (latexParagraphs):
7640 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7641 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7642 pass around a LatexRunParams parameter.
7644 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7646 * paragraph.[Ch]: remove unused constructor
7648 * ParagraphList.C (erase): new function, taking two iterators
7650 2003-05-22 André Pönitz <poenitz@gmx.net>
7652 * undo_funcs.C: remove duplicated code
7654 * iterator.[Ch]: operator=
7656 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7658 * tabular.C (SetMultiColumn): ws changes
7660 * rowpainter.C (paintFirst): get rid of a ->previous
7662 * lyx_cb.C (getPossibleLabel): parlist simplification
7664 * BufferView.C (ChangeInsets): simplify slightly.
7666 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7668 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7669 * lfuns.h: new LFUN_SPACE
7670 * lyxfunc.C: protected space has a new lfun
7671 * paragraph_funcs.C: read new space insets
7673 * factory.C: handle new space insets
7675 2003-05-22 André Pönitz <poenitz@gmx.net>
7678 * BufferView_pimpl.C:
7681 * undo_funcs.C: return a ParIterator from getParFromID.
7683 * iterators.[Ch]: add two const's
7685 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7687 * toc.C (getTocList): adjust
7689 * iterators.[Ch]: rework for parlist
7691 * buffer.C (par_iterator_begin): adjust
7692 (par_iterator_end): adjust
7694 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7696 * BufferView.C (removeAutoInsets): adjust
7697 (ChangeInsets): adjust
7699 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7701 * text.C (top_y): fix bug 1110
7703 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7705 * errorlist.[Ch]: added
7708 * BufferView_pimpl.C:
7709 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7712 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7714 * Makefile.am: ensure that lyx is relinked upon changes to the
7715 various "convenience" libs.
7717 2003-05-20 Angus Leeming <leeming@lyx.org>
7719 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7720 files are compiled in alphabetical order again.
7722 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7724 2003-05-19 Angus Leeming <leeming@lyx.org>
7726 * gettext.[Ch]: remove "char const * _(char const *)".
7728 2003-05-19 André Pönitz <poenitz@gmx.net>
7730 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7739 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7741 2003-05-19 André Pönitz <poenitz@gmx.net>
7745 * lyxtextclass.[Ch]:
7747 * paragraph_funcs.[Ch]:
7749 * text3.C: more insetenv work
7751 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7753 * ParagraphParameters.C (params2string): small bug fixed
7755 2003-05-16 André Pönitz <poenitz@gmx.net>
7758 * bufferview_funcs.C: patch from Kornel Benko to prevent
7759 crash when _(...) is called twice in a statement
7761 2003-05-16 André Pönitz <poenitz@gmx.net>
7768 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7770 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7772 * lyx_main.C (init): remove spurious static_cast
7774 2003-05-14 André Pönitz <poenitz@gmx.net>
7776 * BufferView.C: fix format string
7778 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7780 * BufferView.[Ch] (insertErrors): removed
7781 * BufferView.[Ch] (showErrorList): added
7782 * buffer.C (runChkTeX):
7783 * converter.C (scanLog): call showErrorList instead of inserterrors
7785 2003-05-13 André Pönitz <poenitz@gmx.net>
7787 * BufferView_pimpl.C:
7789 * bufferview_func.C:
7796 * tabular_funcs.h: tostr() from its own header
7798 * ParagraphParameters.C:
7803 * text3.C: STRCONV()
7805 2003-05-12 André Pönitz <poenitz@gmx.net>
7808 * BufferView_pimpl.C:
7812 * ParagraphParameters.C:
7816 * bufferview_funcs.C:
7829 * paragraph_funcs.C:
7833 * text3.C: boost::format -> bformat all over the place
7836 2003-05-09 André Pönitz <poenitz@gmx.net>
7838 * LColor.[Ch]: Pimpl the #include <map> away
7840 2003-05-09 John Levon <levon@movementarian.org>
7842 * bufferlist.C: never remove emergency saves
7844 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7846 * Makefile.am: better lib building
7848 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7850 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7852 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7853 (simpleTeXSpecialChars): adjust
7854 (simpleTeXSpecialChars): adjust
7855 * paragraph.C (simpleTeXOnePar): adjust
7856 * buffer.C (makeLaTeXFile): adjust
7858 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7860 * text2.C (changeDepth): parlist cleanup
7861 (getColumnNearX): ditto
7863 * rowpainter.C (getLabelFont): parlist cleanup
7865 * bufferlist.C (newFile): parlist cleanup
7867 * CutAndPaste.C (eraseSelection): parlist cleanup
7869 * BufferView_pimpl.C (trackChanges): parlist cleanup
7872 * BufferView.C (lockInset): parlist cleanup.
7873 (ChangeInsets): ditto
7875 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7877 * CutAndPaste.h: Update file header.
7879 * CutAndPaste.C: Update file header.
7880 Store the parts cut out of the Document in a limited_stack.
7881 (copySelection): adjust
7882 (pasteSelection): new function, takes the index in the limited stack.
7883 (nrOfParagraphs): adjust
7884 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7885 simplify error inset insertion.
7886 (checkPastePossible): adjust
7888 2003-05-06 John Levon <levon@movementarian.org>
7890 * text2.C: don't cast wrap inset to float
7892 2003-05-05 André Pönitz <poenitz@gmx.net>
7895 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7897 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7898 few naked Paragraph *.
7900 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7902 * bufferparams.C: Output warning if a document with missing
7903 TeX document class is loaded
7904 * exporter.C: Disable TeX exports if the document class is missing
7907 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7908 isTeXClassAvailable()
7910 2003-05-03 John Levon <levon@movementarian.org>
7913 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7914 explicit cursor show/hide
7916 * BufferView_pimpl.h:
7917 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7918 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7920 * lyxfunc.C: hide cursor before dispatching.
7925 * text3.C: remove explicit cursor hides
7927 2003-05-02 André Pönitz <poenitz@gmx.net>
7929 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7932 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7935 * text2.C: tiny whitespace
7937 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7939 * undo_funcs.C: almost only ws changes.
7941 * ParagraphList.C (splice): just return if pl is empty.
7943 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7945 * ParagraphList.C (splice): new function.
7947 * CutAndPaste.C (pasteSelection): use it
7949 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7951 * CutAndPaste.C (pasteSelection): remove the last next and
7952 previous from this file.
7954 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7956 * CutAndPaste.C (pasteSelection): more clean up, user proper
7957 ParagraphList functions for pasteing.
7959 * ParagraphList.C (insert): new function, three arg insert
7961 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7963 * ParagraphList.C (insert): new function, three arg insert
7965 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7968 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7970 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7972 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7974 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7976 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7978 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7979 (copySelection): clean up a bit.
7980 (pasteSelection): use make_pair
7982 * ParagraphList.C (ParagraphList): implement copy constructor
7983 (operator=): implement, base on copy constructor.
7986 * paragraph.C (erase): return a bool
7988 * paragraph_pimpl.C (erasePos): remove function, move contents...
7989 (erase): ... here. Return a bool.
7990 (erase): call erase instead of erasePos.
7992 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7994 * ParagraphList.h: define PitPosPair
7995 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7996 ParagraphList, fix a bug on pasting multiple pars
7997 * text2.C: change interface to C&P
7999 2003-04-30 André Pönitz <poenitz@gmx.net>
8001 * undo_func.C: revert part of yesterday's patch 2
8003 2003-04-30 John Levon <levon@movementarian.org>
8005 * LColor.C: s/tabular/table/
8007 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8009 * text3.C (dispatch): do not convert iterator -> pointer
8010 * undo_funcs.C (setCursorParUndo): ditto
8011 * text_funcs.C (transposeChars): ditto
8013 * text2.C (setLayout): ws changes only
8015 * text.C (breakParagraph): do not convert iterator -> pointer
8017 (acceptChange): ditto
8018 (rejectChange): ditto
8023 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8026 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8028 * text3.C (gotoInset): YABG (yet another bad getChar)
8030 2003-04-29 André Pönitz <poenitz@gmx.net>
8032 * paragraph.h: make operator= private unimplemented as long as
8035 * ParagraphList.C: whitespace
8038 * paragraph_pimpl.[Ch]:
8039 * paragraph_funcs.C:
8041 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8044 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8046 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8048 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8049 * paragraph.[Ch] (erase):
8050 * paragraph_pimpl.[Ch] (erase): change return type and value
8051 * text2.C (cutSelection): some rework
8053 2003-04-28 John Levon <levon@movementarian.org>
8055 * bufferlist.C: changes for unsaved changes dialog
8057 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8059 * bufferlist.C (newFile): set language (messages_) for new
8062 * buffer.C (readFile): ws changes only.
8064 2003-04-28 André Pönitz <poenitz@gmx.net>
8069 * BufferView_pimpl.C:
8070 * BufferView.C: getParFromID related ParagraphList::iterator changes
8072 2003-04-28 André Pönitz <poenitz@gmx.net>
8074 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8077 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8079 * messages.C: remove one more localedir class variable.
8081 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8083 * messages.C (getLocaleDir): singleton generation function
8085 (Messages): add a default constructor.
8087 * main.C (main): do not setup localedir here, do not call
8090 * gettext.C (_): use it.
8091 (gettext_init): delete funciton
8093 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8095 * gettext.C (getLyXMessages): new singleton generating function.
8097 * buffer.C (updateDocLang): adjust
8099 * Makefile.am (messages.o): add target
8100 (main.o): remove target
8102 2003-04-27 John Levon <levon@movementarian.org>
8107 * lyxvc.C: specify cancel button in Alert::prompt
8109 2003-04-26 John Levon <levon@movementarian.org>
8114 * LyXAction.C: add LFUN_INSET_SETTINGS
8116 * lyxfunc.C: don't enable tabular-feature when there's
8117 just any locking inset
8119 2003-04-26 John Levon <levon@movementarian.org>
8121 * bufferlist.C: re-add Cancel to buffer close question
8123 * lyxfunc.C: fix import UI a bit
8125 2003-04-25 John Levon <levon@movementarian.org>
8127 * gettext.C: remove the broken asserts for now
8129 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8131 * messages.C: make case where setlocale cannot comply work better.
8133 * buffer.C (updateDocLang): new function
8134 (changeLanguage): use it
8137 * text2.C (setCounter): use B_ a bit.
8139 * lyxlayout.C (Read): be sure to trim the label strings.
8141 * messages.C (Messages): fix typo in comment
8143 * buffer.C (readFile): set message_ after file is loaded.
8144 (makeDocBookFile): remove double return
8145 (changeLanguage): reset message_ upon language change.
8146 (B_): new func, use this to get translated buffer strings.
8148 * main.C: add myself and Jean Marc as authors.
8150 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8152 * messages.[hC]: pimplify Messages, and three different pimpls to be
8153 used in different circumstances.
8155 * gettext.[Ch]: change for use with new message code.
8157 2003-04-24 André Pönitz <poenitz@gmx.net>
8159 * factory.C: support for eqref
8161 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8163 * messages.[Ch]: add missing char
8165 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8167 * messages.[Ch]: New files
8169 2003-04-18 John Levon <levon@movementarian.org>
8173 * BufferView_pimpl.C:
8177 * text2.C: remove layout-copy/paste (bug 778)
8179 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8181 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8183 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8185 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8186 if they succeed. Act accordingly.
8188 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8190 * text2.C (setCharFont): adjust
8191 (setCounter): adjust
8192 (insertStringAsLines): adjust
8194 * text.C (leftMargin): adjust
8195 (setHeightOfRow): adjust
8197 * rowpainter.C (paintFirst): adjust
8200 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8202 (isFirstInSequence): ditto
8203 (getEndLabel): ditto
8206 * paragraph.C (getParLanguage): comment out some hard stuff.
8208 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8210 (simpleDocBookOnePar): ditto
8211 (makeDocBookFile): use ParagraphList::iterator
8213 * CutAndPaste.C (pasteSelection): adjust
8215 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8217 * text2.C (getFont): adjust
8218 (getLayoutFont): adjust
8219 (getLabelFont): adjust
8221 * paragraph_funcs.C (TeXOnePar): adjust
8223 * buffer.C (simpleLinuxDocOnePar): adjust
8224 (simpleDocBookOnePar): adjust
8226 * CutAndPaste.C (pasteSelection): adjust
8228 * BufferView.C (getEncoding): adjust
8230 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8232 2003-04-16 John Levon <levon@movementarian.org>
8234 * lyxfind.C: use parlist stuff for search/changes
8236 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8238 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8240 * text2.C (deleteEmptyParagraphMechanism): adjust
8242 * text2.[Ch] (ownerParagraph): delete func (both of them
8244 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8246 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8248 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8250 * ParagraphList.C: prepare for NO_NEXT
8252 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8254 * text2.C (getFont): adjust
8255 (getLayoutFont): adjust
8256 (getLabelFont): adjust
8258 * paragraph.C (getFont): adjust
8259 (getLabelFont): adjust
8260 (getLayoutFont): adjust
8262 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8264 2003-04-15 John Levon <levon@movementarian.org>
8268 * lyx_main.C: handle Include in .ui files
8270 2003-04-15 John Levon <levon@movementarian.org>
8272 * MenuBackend.C: make the doc files length shorter
8275 * ToolbarBackend.C: handle toolbar placement flags,
8278 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8280 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8283 * paragraph_funcs.C (TeXOnePar): adjust
8285 * paragraph.C (getLabelFont): add outerfont arg, adjust
8286 (getLayoutFont): ditto
8287 (simpleTeXOnePar): adjust
8289 * paragraph_pimpl.C (realizeFont): delete func
8291 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8293 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8294 row argument, constify cur argument.
8296 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8298 * text2.C (getFont): adjust
8299 (getLayoutFont): adjust
8300 (getLabelFont): adjust
8302 * paragraph_funcs.C (TeXOnePar): adjust
8303 (outerFont): new func...
8304 (realizeFont): ...moved out from here, changed this to facilitate
8307 * paragraph.C (getFont): take outerfont as arg, adjust
8308 (simpleTeXOnePar): add outerfont arg, adjust
8310 * buffer.C (simpleLinuxDocOnePar): adjust
8311 (simpleDocBookOnePar): adjust
8313 * CutAndPaste.C (pasteSelection): adjust
8315 * BufferView.C (getEncoding): adjust
8317 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8319 * text2.C (setCharFont): adjust
8320 (setCounter): adjust
8322 * text.C (leftMargin): adjust
8323 (setHeightOfRow): adjust
8325 * rowpainter.C (paintFirst): adjust
8328 * paragraph_pimpl.C (realizeFont): adjust
8330 * paragraph.C (isFirstInSequence): move from here...
8331 * paragraph_funcs.C (isFirstInSequence): ...to here
8333 * paragraph.C (outerHook): move from here...
8334 * paragraph_funcs.C (outerHook): ...to here
8336 * paragraph.C (depthHook): move from here...
8337 * paragraph_funcs.C (depthHook): ...to here
8339 * paragraph.C (getEndLabel): move from here...
8340 * paragraph_funcs.C (getEndLabel): ...to here
8342 * text2.C (realizeFont): move from here...
8343 * paragraph_funcs.C (realizeFont): ...to here
8345 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8347 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8349 2003-04-14 Angus Leeming <leeming@lyx.org>
8351 * LColor.[Ch]: scrap LColor mathcursor.
8353 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8355 * lyxlex.[Ch] (text): delete function
8356 * trans.C (Load): adjust
8357 * paragraph_funcs.C (readParToken): adjust
8359 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8361 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8362 vector<char> instead of a char[].
8364 * lyxlex_pimpl.C (getString): adjust
8366 (lex): use getString
8370 * lyxlex.C (text): use pimpl_->getString()
8374 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8376 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8377 (makeFontEntriesLayoutSpecific): temp var for par.size()
8378 (setLayout): temp var for ownerParagraphs().end()
8379 (fullRebreak): temp var for rows().end()
8380 (selectionAsString): temp var for boost::next(startpit), realize
8381 that the while really is a regular for loop.
8382 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8383 setCursor in one place.
8384 (setParagraph): temp vr for ownerParagraphs().end()
8385 (updateCounters): make the while loop a for loop
8386 (cutSelection): temp var for ownerParagraphs().end()
8387 (updateInset): make the do {} while() a regular for loop
8388 (getCursorX): use temp vars
8389 (setCurrentFont): use temp vars
8390 (getColumnNearX): use temp vars
8392 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8394 * text.C (transformChar): use temp var for getChar
8395 (computeBidiTables): use temp var for row->par()
8396 (fill): move temp vars for row->par() and pit->layout() earlier in
8398 (labelFill): use temp var for row->par()
8399 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8400 asc and desc, realize that pit never changes and that firstpit is
8401 just a duplicate and not needed. Exchange rit->par() with pit in a
8403 (breakAgain): use a temp var for boost::next(rit)
8404 (breakAgainOneRow): ditto
8405 (breakParagraph): use a temp var for rows().begin()
8406 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8407 (cursorRightOneWord): use temp var for cursor.par() and
8408 cursor.pos(), remove usage of tmpcursor.
8409 (cursorLeftOneWord): use temp var for cursor.par() and
8410 cursor.pos() only set cur at end of function.
8412 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8414 * text.C, text2.C: exchange all usage of Paragraph::next with
8415 boost::next(ParagraphList::iterator)
8417 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8419 * text2.C (cursorTop): simplify implementation
8420 (cursorBottom): ditto
8421 (setParagraph): use ParagraphList::iterator
8422 (setCurrentFont): adjust
8423 (getColumnNearX): adjust
8424 (cursorRight): adjust
8425 (cursorLeft): remove usage of Paragraph::previous
8426 (cursorUpParagraph): ditto
8427 (deleteEmptyParagraphMechanism): slight cleanup
8429 * text.C (isBoundary): take a Paragraph const & instead of a
8431 (addressBreakPoint): ditto
8432 (leftMargin): remove usage of Paragraph::previous.
8433 (setHeightOfRow): ditto
8434 (cursorLeftOneWord): ditto
8435 (selectNextWordToSpellcheck): ditto
8438 (breakParagraph): remove one usage of Paragraph::next
8439 (redoParagraph): ditto
8440 (acceptChange): ditto
8441 (insertChar): adjust
8442 (rowBreakPoint): adjust
8444 * bufferview_funcs.C (toggleAndShow): adjust
8446 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8448 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8449 methods to access it.
8451 * text.C: Added updateRowPositions to compute all row positions.
8452 Make top_y and getRowNearY() to use the cached y position
8454 2003-04-11 John Levon <levon@movementarian.org>
8456 * text.C (rowBreakPoint): reintroduce the labelEnd
8457 checks, code copied from the row fill stuff. Deep voodoo.
8459 * text.C (fill): add a comment and debugging for the
8462 2003-04-11 John Levon <levon@movementarian.org>
8464 * text.C: make sure fullrow insets get wrapped to the next line,
8465 even when they're in a manual label
8467 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8469 * text2.C (insertParagraph): make it take ParagraphList::iterator
8471 (setLayout): make it return ParagraphList::iterator
8472 (redoParagraphs): ditto
8474 (checkParagraph): ditto
8476 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8478 * text2.C: adjust several funcs.
8479 (realizeFont): take a ParagraphList::iterator as arg.
8480 (getLayoutFont): ditto
8481 (getLabelFont): ditto
8482 (setCharFont): ditto
8484 * text.C: adjust several funcs.
8486 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8488 * text.C (selectNextWordToSpellcheck): don't accidentally
8491 2003-04-10 John Levon <levon@movementarian.org>
8493 * ToolbarBackend.C (getIcon): special handling for
8496 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8498 * text2.C (cursorRight): a getChar assert fixed
8500 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8502 * text2.C (getFont): change to take a ParagraphList::iterator
8503 instead of Paragraph*
8504 Adjust several functions.
8506 * text.C (transformChar): change to take a ParagraphList::iterator
8507 instead of Paragraph*
8508 (singleWidth): ditto
8509 Adjust several functions.
8511 * rowpainter.C: adjust several functions
8512 * rowpainter.h:store a ParagraphList::iterator and not a
8516 2003-04-09 John Levon <levon@movementarian.org>
8521 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8522 and the "help" bits as well
8524 2003-04-09 John Levon <levon@movementarian.org>
8527 * ToolbarBackend.C: allow multiple toolbars
8529 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8531 * undo_funcs.C (setCursorParUndo): adjust
8533 * text_funcs.C (transposeChars): adjust
8535 * text3.C (gotoNextInset): adjust
8538 * text2.C (setLayout): adjust
8539 (changeDepth): adjust
8541 (redoParagraphs): adjust
8542 (selectionAsString): adjust
8543 (setParagraph): adjust
8544 (insertInset): adjust
8545 (cutSelection): adjust
8546 (copySelection): adjust
8547 (pasteSelection): adjust
8548 (insertStringAsLines): adjust
8549 (updateInset): adjust
8550 (setCursor): change to take a ParagraphList::iterator parameter
8551 (setCursorIntern): change to take a ParagraphList::iterator parameter
8552 (setCurrentFont): adjust
8553 (cursorLeft): adjust
8554 (cursorRight): adjust
8555 (deleteEmptyParagraphMechanism): adjust
8557 * text.C (breakParagraph): adjust
8558 (insertChar): adjust
8559 (acceptChange): adjust
8560 (rejectChange): adjust
8561 (selectNextWordToSpellcheck): adjust
8562 (changeCase): adjust
8566 * lyxfind.C (SearchForward): adjust
8567 (SearchBackward): adjust
8568 (nextChange): adjust
8570 * lyxcursor.C (par): adjust
8572 * lyxcursor.h: store a ParagraphList::iterator instead of a
8575 * lyx_cb.C (getPossibleLabel): adjust
8577 * bufferview_funcs.C (toggleAndShow): adjust
8579 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8582 * BufferView.C (removeAutoInsets): adjust
8583 (lockedInsetStoreUndo): adjust
8585 2003-04-09 John Levon <levon@movementarian.org>
8587 * ToolbarBackend.C: try icon without argument
8588 if with argument fails
8590 2003-04-08 John Levon <levon@movementarian.org>
8593 * ToolbarBackend.C: add getIcon(), handle tooltip,
8594 and change from "Icon" to "Item".
8596 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8598 * BufferView.C (lockInset): another bad getchar crunched
8600 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8602 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8605 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8607 * lyxfind.C (searchForward, searchBackwards): bug 782
8609 2003-04-07 John Levon <levon@movementarian.org>
8611 * paragraph.C: remove dead comment
8613 * text.C: remove troublesome depth-fiddling code
8614 in leftMargin() and rightMargin() (bug 1017)
8616 * text.C: fix breaking of rows in nested lists
8619 * text2.C (updateCounters): fix up depth values
8622 2003-04-07 John Levon <levon@movementarian.org>
8624 * BufferView_pimpl.C: clear message when doc finishes resizing,
8625 and after a mouse event
8627 * lyxfunc.C: clear message after exiting inset
8629 2003-04-07 John Levon <levon@movementarian.org>
8631 * bufferview_funcs.C: show math status not outside
8632 status in the statusbar
8634 2003-04-07 John Levon <levon@movementarian.org>
8636 * lyxfunc.C: note status changed after a depth change
8638 2003-04-04 Angus Leeming <leeming@lyx.org>
8640 * LaTeX.h: move AuxInfo operator==, != out of line.
8641 Remove LaTeX virtual destructor; nothing derives from it.
8642 Move operator()() out of public area and rename it startscript().
8643 Change protected for private.
8645 2003-04-04 Angus Leeming <leeming@lyx.org>
8648 * text2.C: remove unneeded #includes.
8650 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8652 * text2.C (dEPM): fix the heigth of the next row
8654 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8656 * text.C: squashed an invalid getChar requester + some ws changes
8658 2003-04-03 John Levon <levon@movementarian.org>
8660 * bufferview_funcs.h:
8661 * bufferview_funcs.C:
8664 * text2.C: make getStatus work for the env depth lfuns
8666 2003-04-03 John Levon <levon@movementarian.org>
8668 * bufferview_funcs.h:
8669 * bufferview_funcs.C:
8672 * text2.C: parlistize decDepth(), by merging it with incDepth()
8674 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8676 * lyxrow.h: store a ParagraphList::iterator instead of a
8677 Paragraph* and adjust other class functions to suit.
8679 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8682 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8684 * text2.C (setCursor): do not anchor to cursor row for the time being
8686 2003-04-02 John Levon <levon@movementarian.org>
8693 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8695 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8697 * paragraph.h: make ParagraphList and ParagraphList::iterator
8698 friends of Paragraph.
8700 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8702 * ParagraphList.C: Use the private next_ and previous_ from
8705 2003-04-01 John Levon <levon@movementarian.org>
8709 * Makefile.am: rename, remove defaults gunk
8712 * MenuBackend.C: remove defaults gunk
8715 * Languages.C: remove defaults gunk
8718 * lyx_main.C: error out if files couldn't be found.
8720 2003-04-02 John Levon <levon@movementarian.org>
8722 * text2.C: make incDepth() use parlist
8724 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8726 * undo_funcs.C (firstUndoParagraph): adjust
8728 * text3.C (gotoInset): adjust
8729 (dispatch): adjust, and rewrite loop.
8731 * text2.C (init): adjust, and rewrite loop.
8732 (redoParagraphs): adjust
8733 (updateInset): adjust, and rewrite loop.
8734 (deleteEmptyParagraphMechanism): adjust
8736 * tabular.C (LyXTabular): adjust
8737 (SetMultiColumn): adjust
8740 * lyxtext.[Ch] (ownerParagraph): delete function
8741 (ownerParagraphs): new function returns a ParagraphList.
8743 * BufferView.C (removeAutoInsets): adjust
8744 (insertErrors): adjust
8745 (setCursorFromRow): adjust
8747 2003-04-01 Angus Leeming <leeming@lyx.org>
8749 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8752 2003-04-02 John Levon <levon@movementarian.org>
8758 * text_funcs.C: make transposeChars a free function
8760 * lyxrow_funcs.C: remove wrong comment
8762 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8765 * rowpainter.C: adjust
8770 * lyxrow_funcs. [Ch]: new files
8772 * lyxrow.[Ch]: remove next and previous pointers
8773 (next,previous): remove accessor functions
8774 (isParEnd): move to lyxrow_funcs
8775 (lastPos): move to lyxrow_funcs
8776 (nextRowIsAllInset): move to lyxrow_funcs
8777 (lastPrintablePos): move to lyxrow_funcs
8778 (numberOfSeparators): move to lyxrow_funcs
8779 (numberOfHfills): move to lyxrow_funcs
8780 (numberOfLabelHfills): move to lyxrow_funcs
8781 (hfillExpansion): move to lyxrow_funcs
8785 * bufferview_funcs.C (toggleAndShow): adjust
8787 * RowList.h: Remove class RowList from file leave just a
8790 * RowList.C: delete file
8792 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8795 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8797 * text3.C (cursorPrevious): adjust
8798 (cursorNext): adjust
8801 * text2.C (redoHeightOfParagraph): adjust
8802 (redoDrawingOfParagraph): adjust
8805 * text.C (breakParagraph): adjust
8806 (insertChar): adjust
8809 * rowpainter.C (RowPainter): adjust
8810 (leftMargin): simplify and adjust
8811 (most rowpainter functions): adjust.
8813 * rowpainter.h: store the row as RowList::iterator not as Row*
8815 * lyxcursor.C (row): taka RowList::iterator as arg
8818 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8821 2003-04-01 Angus Leeming <leeming@lyx.org>
8823 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8824 stuff like bool Bool.
8826 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8828 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8831 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8833 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8836 * lyxtext.h (rows): drop one version and leve a const variant that
8837 returns a RowList::iterator.
8839 2003-03-31 Angus Leeming <leeming@lyx.org>
8841 * text.C (fill): ensure that the signature is the same as that in the
8844 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8846 * text2.C (redoParagraphs): adjust
8847 (updateCounters): adjust
8848 (checkParagraph): adjust
8849 (getColumnNearX): adjust and reformat a bit.
8851 * text.C (top_y): adjust
8853 (leftMargin): adjust
8854 (prepareToPrint): adjust
8856 (getRowNearY): adjust
8858 * lyxtext.h: make rowlist_ mutable.
8860 * RowList.h: add const_iterator
8861 * RowList.C: adjust for RowList::const_iterator.
8863 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8866 2003-03-31 John Levon <levon@movementarian.org>
8869 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8871 * lyx_main.C: set default fonts from using lyx_gui funcs
8873 * exporter.C: pdf_mode moved from lyxrc
8876 * lyxfunc.C: changes from above
8878 2003-03-31 John Levon <levon@movementarian.org>
8880 * lyx_main.C: fix to the last fix
8882 2003-03-31 John Levon <levon@movementarian.org>
8884 * bufferlist.C: "Load original" -> "Load Original"
8890 * format.C: more Alert cleanups
8892 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8894 * text2.C (removeParagraph): make it take a RowList::iterator as
8896 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8897 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8899 * text.C (anchor_row): make it take a RowList::iterator as arg,
8901 (computeBidiTables): make it take a const reference to Row instead
8902 of Row pointer, adjust.
8903 (leftMargin): make it take a RowList::iterator as arg, adjust.
8904 (rowBreakPoint): adjust
8905 (breakAgainOneRow): make it take a RowList::iterator as arg,
8907 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8909 * bufferview_funcs.C (toggleAndShow): adjust
8911 2003-03-30 John Levon <levon@movementarian.org>
8915 * boost-inst.C: moved to support
8917 * several files: changes as a result
8919 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8921 * text2.C (LyXText): adjust.
8923 (removeRow): make it take a RowList::iterator as arg, adjust.
8924 (fullRebreak): adjust
8925 (deleteEmptyParagraphMechanism): adjust
8926 (clearPaint): adjust
8929 * text.C (top_y): adjust
8930 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8931 (breakAgain): make it take a RowList::iterator as arg, adjust.
8932 (breakParagraph): adjust
8933 (insertChar): adjust
8936 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8937 need_break_row, and refresh_row.
8939 * text3.C (dispatch): adjust
8941 * text2.C (checkParagraph): adjust
8943 (setCursorFromCoordinates): adjust
8945 * text.C (top_y): adjust
8947 (getRow): make it return a RowList::iterator, adjust
8948 (getRowNearY): make it return a RowList::iterator, adjust
8950 * text2.C (init): adjust
8951 (insertRow): remove function
8952 (insertParagraph): adjust
8953 (redoParagraphs): adjust
8954 (fullRebreak): adjust
8955 (updateCounters): adjust
8957 * text.C (top_y): rewrite to use RowList iterators.
8959 (setHeightOfRow): rewrite to sue RowList iterators.
8960 (appendParagraph): adjust
8961 (breakAgain): adjust
8962 (breakAgainOneRow): adjust
8963 (breakParagraph): adjust
8965 (getRowNearY): adjust, and remove commented code.
8967 * lyxtext.h (firstRow): delete function
8968 (lastRow): delete function
8969 (rows): new function (const and non-const versions.)
8970 (insertRow): delete function
8972 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8974 2003-03-29 John Levon <levon@movementarian.org>
8976 * BufferView_pimpl.C: always update scrollbar top
8977 because pasting text when we're anchored could mean we
8978 miss an update altogether
8980 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8982 * text2.C (init): use rowlist_.end() and not 0.
8983 (insertRow): change to take a RowList::iterator as arg, adjust
8985 (insertParagraph): change to take a RowList::iterator as arg,
8987 (redoParagraphs): remove some debug msgs.
8989 * text.C (appendParagraph): change to take a RowList::iterator
8990 arg, adjust for this.
8991 (breakAgain): add an assert
8992 (breakAgainOneRow): ditto
8994 2003-03-29 John Levon <levon@movementarian.org>
8996 * text2.C: do not clear selection after inc/decDepth
8999 2003-03-29 John Levon <levon@movementarian.org>
9002 * buffer.C: fix broken strerrors according to Lars
9004 2003-03-29 John Levon <levon@movementarian.org>
9006 * converters.C: more Alert cleanups
9008 2003-03-29 John Levon <levon@movementarian.org>
9010 * bufferview_funcs.C: remove pointless Alert
9012 * buffer.C: fix confusing error message when
9013 a template is chmoded 000
9015 2003-03-29 John Levon <levon@movementarian.org>
9019 * BufferView_pimpl.C: Alert fixes
9023 * tabular-old.C: remove unused table compat reading
9025 2003-03-29 John Levon <levon@movementarian.org>
9030 * lyx_cb.C: more Alert cleanups
9032 * lyxfunc.C: don't allow chktex if not latex document
9034 2003-03-29 John Levon <levon@movementarian.org>
9038 * buffer.C: warnings pushed down from support/,
9041 2003-03-29 John Levon <levon@movementarian.org>
9043 * lyxfunc.C: safety check for C-r (revert)
9045 2003-03-29 John Levon <levon@movementarian.org>
9048 * bufferlist.C: several UI fixes using Alert::prompt.
9049 Fix the pointless looping quit code. Fix stupid revert
9054 * lyx_cb.C: use Alert::prompt
9056 * lyx_main.C: remove a silly question
9058 * lyxfunc.C: remove a couple of silly questions,
9061 2003-03-28 John Levon <levon@movementarian.org>
9063 * text2.C: fix bug 974 (End on empty par)
9065 2003-03-28 John Levon <levon@movementarian.org>
9067 * BufferView_pimpl.C:
9069 * lfuns.h: remove do-nothing math greek lfuns
9071 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9073 * lyxgluelength.h (isValidGlueLength): add default arg on
9074 parameter 2. Remove default arg from friend in class.
9076 * lyxlength.h (isValidLength): add default arg on parameter 2.
9077 Remove default arg from friend in class.
9079 * text2.C (LyXText): adjust, initialize refresh_row.
9083 (insertParagraph): adjst
9084 (redoParagraphs): adjust
9085 (fullRebreak): adjust
9086 (updateCounters): adjust
9087 (deleteEmptyParagraphMechanism): first attempt at fixing a
9090 * text.C (top_y): adjust
9091 (setHeightOfRow): adjust
9093 (getRowNearY): adjust
9095 * lyxtext.h: include RowList.h
9096 (~LyXText): not needed anymore, deleted.
9097 (firstRow): modify for RowList
9098 (lastRow): new function
9099 Delete firstrow and lastrow class variables, add a Rowlist
9100 rowlist_ class variable.
9102 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9105 * RowList.C (insert): fix case where it == begin().
9107 2003-03-26 Angus Leeming <leeming@lyx.org>
9109 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9110 the thesaurus dialog.
9112 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9114 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9116 * RowList.[Ch]: new files
9118 * ParagraphList.C (erase): handle the case where it == begin
9121 2003-03-25 John Levon <levon@movementarian.org>
9125 * aspell.C: add new aspell support
9128 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9131 2003-03-25 Angus Leeming <leeming@lyx.org>
9134 * LyXAction.C (init): new LFUN_INSET_INSERT.
9136 * BufferView_pimpl.C (dispatch): split out part of the
9137 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9139 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9142 2003-03-25 Angus Leeming <leeming@lyx.org>
9144 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9146 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9149 * text3.C: remove useless row->height(0)
9151 2003-03-25 John Levon <levon@movementarian.org>
9155 * text3.C: rename the refreshing stuff to better names
9157 2003-03-24 John Levon <levon@movementarian.org>
9159 * BufferView_pimpl.h:
9160 * BufferView_pimpl.C: update layout choice on a mouse
9163 2003-03-23 John Levon <levon@movementarian.org>
9165 * Makefile.am: fix commandtags.h reference
9167 2003-03-22 John Levon <levon@movementarian.org>
9169 * BufferView_pimpl.C:
9174 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9176 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9179 * text.C: take the rtl methods out of line
9181 2003-03-21 André Pönitz <poenitz@gmx.net>
9183 * metricsinfo.[Ch]: new files containing structures to be passed around
9184 during the two-phase-drawing...
9186 2003-03-21 André Pönitz <poenitz@gmx.net>
9188 * lyxtextclass.C: read 'environment' tag.
9190 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9192 * text2.C (removeRow): fix bug 964
9194 2003-03-20 John Levon <levon@movementarian.org>
9198 * text2.C: paint cleanups. Inset::update() dropped font
9201 2003-03-19 John Levon <levon@movementarian.org>
9203 * lyxfunc.C: only fitcursor/markDirty if available()
9205 2003-03-19 John Levon <levon@movementarian.org>
9207 * commandtags.h: rename to ...
9209 * lfuns.h: ... this, and renumber / cleanup
9211 2003-03-19 John Levon <levon@movementarian.org>
9213 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9214 fit the cursor after an lfun
9218 * BufferView_pimpl.h:
9219 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9221 * LyXAction.C: layout-character should have ReadOnly
9223 * ParagraphParameters.C:
9225 * bufferview_funcs.C:
9232 * undo_funcs.C: changes from above
9234 2003-03-18 John Levon <levon@movementarian.org>
9236 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9237 remove it from update()
9239 * lyxfunc.C: update layout choice after an lfun
9241 * text3.C: remove extra updateLayoutChoice()s
9243 2003-03-18 John Levon <levon@movementarian.org>
9245 * text.C: top_y change means full repaint, fix
9246 a drawing bug with cursor movement
9248 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9252 * text2.C: anchor row on setCursor
9254 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9256 * lyxtext.h: remove almost all mutable keywords
9259 * text3.C: remove const keywords accordingly
9261 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9263 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9265 (TeXEnvironment): ditto
9268 2003-03-17 John Levon <levon@movementarian.org>
9270 * text.C (rowBreakPoint): remove attempt to fix displayed
9271 math insets inside a manual label
9273 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9275 * lyxtext.h: remove BufferView* as first arg from almost all class
9277 * other files: adjust.
9279 2003-03-17 John Levon <levon@movementarian.org>
9283 * text2.C: more paint cleanups
9285 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9288 * rowpainter.C: remove "smart" background painting code
9290 2003-03-16 John Levon <levon@movementarian.org>
9295 * text3.C: add helper functions for setting refresh_row/y
9297 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9299 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9300 newline inset which *can* get inserted in the pass_thru layouts.
9301 This is primarily for literate documents.
9303 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9305 * buffer.C: increment LYX_FORMAT to 223
9307 2003-03-14 André Pönitz <poenitz@gmx.net>
9309 * textclass.h: prepare for environment handling, ws changes
9310 * lyxlayout.C: read latexheader and latexfooter tags
9312 2003-03-14 John Levon <levon@movementarian.org>
9314 * text2.C: rewrite ::status() a bit
9316 2003-03-13 John Levon <levon@movementarian.org>
9318 * lyxtext.h: add some docs
9320 2003-03-13 John Levon <levon@movementarian.org>
9325 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9327 2003-03-13 John Levon <levon@movementarian.org>
9329 * text3.C: fix appendix redrawing
9331 2003-03-13 John Levon <levon@movementarian.org>
9333 * text.C (setHeightOfRow):
9335 * rowpainter.C: make appendix mark have the text
9336 "Appendix" so the user knows what it is
9339 * LColor.C: s/appendixline/appendix/ from above
9341 2003-03-13 John Levon <levon@movementarian.org>
9343 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9345 * text.C: fix a getChar(pos) bug properly
9347 2003-03-13 Angus Leeming <leeming@lyx.org>
9350 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9351 Probably only temporary. Let's see how things pan out.
9353 * BufferView.C (unlockInset):
9354 * BufferView_pimpl.C (fitCursor):
9355 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9357 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9358 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9360 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9361 new functions that convert ParagraphParameters to and from a string.
9363 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9364 BufferView::Pimpl's dispatch.
9365 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9367 2003-03-13 André Pönitz <poenitz@gmx.net>
9371 * factory.C: make it aware of InsetEnv
9373 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9375 * text2.C (setCursor): never ask for one past last
9376 (setCursor): add some debugging messages.
9378 * text.C (singleWidth): never ask for one past last
9379 (singleWidth): ditto
9381 (rightMargin): ditto
9382 (rowBreakPoint): ditto
9383 (setHeightOfRow): ditto
9384 (prepareToPrint): ditto
9386 * rowpainter.C (paintBackground): never ask for one past last
9387 (paintText): never ask for one past last
9389 * paragraph_pimpl.C (getChar): make the assert stricter, never
9390 allow the one past last pos to be taken
9392 * paragraph.C (getChar): ws changes only
9394 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9395 (numberOfSeparators): ditto
9396 (numberOfHfills): ditto
9398 2003-03-12 John Levon <levon@movementarian.org>
9404 * paragraph_funcs.C: fix per-buffer authorlists
9406 2003-03-12 John Levon <levon@movementarian.org>
9408 * text.C: fix newline in right address
9410 2003-03-12 Angus Leeming <leeming@lyx.org>
9412 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9413 duplicate those in LyXFunc::dispatch.
9417 * ToolbarDefaults.C:
9418 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9419 Add LFUN_FONTFREE_UPDATE.
9421 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9422 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9424 * bufferview_func.[Ch]: several new functions to facilliate
9425 transfer of data to and from the character dialog.
9427 2003-03-12 John Levon <levon@movementarian.org>
9432 * paragraph_funcs.C:
9433 * paragraph_pimpl.C:
9437 * text3.C: remove META_NEWLINE in favour of an inset
9440 * rowpainter.C: remove paintNewline (done by inset)
9442 2003-03-12 John Levon <levon@movementarian.org>
9444 * paragraph_pimpl.C: complain about bad getChar()s
9445 for a while at least
9447 2003-03-12 John Levon <levon@movementarian.org>
9450 * buffer.C: move paragraph read into a separate function,
9451 a little renaming to reflect that.
9454 * bufferparams.C: remove the author_ids map, not necessary now
9457 * factory.C: moved Buffer::readInset to here
9459 * paragraph_funcs.h:
9460 * paragraph_funcs.C: readParagraph free function moved from
9463 * tabular.C: name change
9465 2003-03-12 John Levon <levon@movementarian.org>
9468 * ParagraphParameters.C: move par params input to
9471 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9472 behave like a normal read from the stream wrt reading
9473 a line vs. a \\token
9475 2003-03-12 John Levon <levon@movementarian.org>
9478 * ParagraphParameters.h:
9479 * ParagraphParameters.C: move output code to a
9482 2003-03-12 John Levon <levon@movementarian.org>
9484 * BufferView.C (insertLyXFile):
9487 * tabular.C: use a parlist iterator for creating the
9490 2003-03-12 John Levon <levon@movementarian.org>
9492 * buffer.C: make current_change static local not
9495 2003-03-12 John Levon <levon@movementarian.org>
9497 * buffer.C: fix insertStringAsLines for change tracking
9499 2003-03-12 John Levon <levon@movementarian.org>
9506 * bufferparams.C: move author list into params. Rename some
9507 functions. Move the header reading into a separate token
9508 loop. Move the header token reading into BufferParams.
9510 2003-03-12 John Levon <levon@movementarian.org>
9512 * changes.C: put debug inside lyxerr.debugging() checks
9514 2003-03-11 André Pönitz <poenitz@gmx.net>
9516 * factory.C: make it aware of InsetHFill
9518 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9520 * buffer.C (latexParagraphs): move function from here...
9521 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9524 2003-03-10 Angus Leeming <leeming@lyx.org>
9526 * LyXAction.C (init): fix bug in poplating array with multiple entries
9527 with the same LFUN (spotted by JMarc).
9529 2003-03-10 John Levon <levon@movementarian.org>
9532 * text2.C: move getColumnNearX() near its
9535 2003-03-10 John Levon <levon@movementarian.org>
9537 * text.C: fix break before a minipage
9539 2003-03-10 John Levon <levon@movementarian.org>
9541 * text.C: fix the last commit
9543 2003-03-09 John Levon <levon@movementarian.org>
9547 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9548 bug 365 (don't break before insets unless needed). Don't
9549 return a value > last under any circumstances.
9551 2003-03-09 Angus Leeming <leeming@lyx.org>
9553 * BufferView_pimpl.C (trackChanges, dispatch): call
9554 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9556 2003-03-09 Angus Leeming <leeming@lyx.org>
9558 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9559 than Dialogs::showAboutlyx().
9561 2003-03-09 Angus Leeming <leeming@lyx.org>
9563 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9564 than Dialogs::showTabularCreate().
9566 2003-03-09 John Levon <levon@movementarian.org>
9570 * text2.C: 3rd arg to nextBreakPoint was always the same.
9573 2003-03-08 John Levon <levon@movementarian.org>
9580 * text2.C: Remove the "main" bit from the "main body"
9583 2003-03-08 John Levon <levon@movementarian.org>
9585 * text.C (leftMargin): The left margin of an empty
9586 manual label paragraph should not include the label width
9589 * text.C (prepareToPrint): don't attempt to measure hfills
9590 for empty manual label paragraphs - the answer should be 0
9592 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9594 * CutAndPaste.C: remove commented code and reindent.
9596 2003-03-08 John Levon <levon@movementarian.org>
9599 * lyxfunc.C: move reloadBuffer()
9602 * BufferView.C: to here
9604 * lyxvc.C: add comment
9607 * vc-backend.C: call bv->reload() to avoid
9608 getStatus() check on MENURELOAD
9610 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9612 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9613 to an old format .dep file.
9615 2003-03-07 Angus Leeming <leeming@lyx.org>
9617 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9618 when the LFUN_MOUSE_RELEASE should have been handled by
9619 inset->localDispatch.
9621 2003-03-07 Angus Leeming <leeming@lyx.org>
9623 * BufferView_pimpl.C (dispatch):
9624 * LyXAction.C (init):
9625 * ToolbarDefaults.C (init):
9627 * lyxfunc.C (getStatus):
9628 remove LFUN_INSET_GRAPHICS.
9630 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9632 2003-03-07 Angus Leeming <leeming@lyx.org>
9635 * LyXAction.C (init):
9636 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9638 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9641 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9643 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9644 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9646 2003-03-07 Angus Leeming <leeming@lyx.org>
9648 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9651 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9653 * ParagraphList.C (front): new function
9656 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9658 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9659 and top_row_offset_. removed var first_y.
9661 * text2.C (LyXText, removeRow):
9663 * BufferView_pimpl.C:
9664 use these methods instead of using first_y
9666 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9668 * text2.C (pasteSelection): adjust for checkPastePossible
9670 * CutAndPaste.C: remove Paragraph * buf and replace with
9671 ParagraphList paragraphs.
9672 (DeleteBuffer): delete
9673 (cutSelection): change the tc type to textclass_type
9674 (copySelection): change the tc type to textclass_type
9675 (copySelection): adjust for ParagraphList
9676 (pasteSelection): change the tc type to textclass_type
9677 (pasteSelection): adjust for Paragraphlist
9678 (nrOfParagraphs): simplify for ParagraphList
9679 (checkPastePossible): simplify for ParagraphList
9680 (checkPastePossible): remove unused arg
9682 * ParagraphList.C (insert): handle the case where there are no
9685 * CutAndPaste.h: make CutAndPaste a namespace.
9687 * text3.C (dispatch): adjust
9689 * text.C (breakParagraph): add a ParagraphList as arg
9691 * paragraph_funcs.C (breakParagraph): change to take a
9692 BufferParams and a ParagraphList as args.
9693 (breakParagraphConservative): ditto
9694 (mergeParagraph): ditto
9695 (TeXDeeper): add a ParagraphList arg
9696 (TeXEnvironment): ditto
9699 * buffer.C (readLyXformat2): adjust
9700 (insertStringAsLines): adjust
9701 (latexParagraphs): adjust
9703 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9704 (cutSelection): adjust
9705 (pasteSelection): adjust
9707 * BufferView_pimpl.C (insertInset): adjust
9709 2003-03-05 Angus Leeming <leeming@lyx.org>
9712 * LyXAction.C (init):
9713 * BufferView_pimpl.C (dispatch):
9714 * lyxfunc.C (getStatus):
9715 remove LFUN_CHILD_INSERT.
9717 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9719 2003-03-05 Angus Leeming <leeming@lyx.org>
9722 * LyXAction.C (init):
9723 * src/factory.C (createInset):
9724 * lyxfunc.C (getStatus):
9725 * text3.C (dispatch):
9726 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9728 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9730 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9732 * ParagraphList.C (insert): handle insert right before end()
9733 (erase): fix cases where it can be first or last paragraph.
9735 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9737 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9738 Paragraph::next and Paragraph::previous
9741 * text.C (breakParagraph): adjust
9743 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9744 BufferParams& as arg.
9745 (breakParagraph): use ParagraphList::insert
9746 (breakParagraphConservative): take a Buffer* instead of a
9747 BufferParams& as arg.
9748 (breakParagraphConservative): use ParagraphList::insert.
9750 * buffer.C (insertStringAsLines): un-const it
9751 (insertStringAsLines): adjust
9753 * ParagraphList.C (insert): new function
9755 * CutAndPaste.C (pasteSelection): adjust
9757 * text.C (backspace): adjust
9759 * tabular.C (SetMultiColumn): adjust
9761 * CutAndPaste.C (cutSelection): adjust
9762 (pasteSelection): adjust
9764 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9765 Buffer const * as arg
9767 * ParagraphList.C (erase): new function
9768 * paragraph_funcs.C (mergeParagraph): use it
9769 (mergeParagraph): make it take a Buffer* instead of a
9770 BufferParams* as arg
9772 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9774 (breakParagraphConservative): ditto
9776 * paragraph.h: remove the breakParagraph friend
9778 * paragraph.C (eraseIntern): new function
9779 (setChange): new function
9781 * paragraph_funcs.C (mergeParagraph): make it take a
9782 ParagraphList::iterator instead of a Paragraph *, adjust
9785 * paragraph.h: move an #endif so that the change tracking stuff
9786 also works in the NO_NEXT case.
9788 2003-03-04 Angus Leeming <leeming@lyx.org>
9791 * LyXAction.C: new LFUN_INSET_MODIFY.
9793 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9794 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9796 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9798 * several files: ws changes only
9800 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9801 (TeXEnvironment): ditto
9804 * buffer.C (makeLaTeXFile): adjust
9805 (latexParagraphs): make it take ParagraphList::iterator as args
9807 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9809 * buffer.C (latexParagraphs): adjust
9811 * paragraph.C (TeXOnePar): move function...
9812 (optArgInset): move function...
9813 (TeXEnvironment): move function...
9814 * paragraph_pimpl.C (TeXDeeper): move function...
9815 * paragraph_funcs.C: ...here
9817 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9819 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9821 * buffer.C (readInset): remove compability code for old Figure and
9824 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9826 * buffer.C: ws changes
9829 * BufferView_pimpl.C: ditto
9832 * bufferlist.h: ditto
9836 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9838 * converter.[Ch]: split into itself +
9841 * Makefile.am: += graph.[Ch] + format.[Ch]
9848 * lyxrc.C: added #include "format.h"
9850 2003-02-27 Angus Leeming <leeming@lyx.org>
9852 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9855 * factory.C (createInset): add "label" to the factory.
9857 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9858 string and do no more.
9860 2003-02-27 Angus Leeming <leeming@lyx.org>
9863 * LyXAction.C (init):
9864 * factory.C (createInset):
9865 * BufferView_pimpl.C (dispatch):
9866 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9868 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9870 * lyxfunc.C (dispatch):
9871 * text3.C (dispatch): pass name to params2string.
9873 2003-02-26 Angus Leeming <leeming@lyx.org>
9875 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9877 Rearrange the ~includes. Strip out the unnecessary ones.
9879 * factory.C (createInset): reformat.
9880 create new insets for the various LFUN_XYZ_APPLY lfuns.
9882 2003-02-26 John Levon <levon@movementarian.org>
9885 * lyxrow.C: add isParStart,isParEnd helpers
9887 * paragraph.h: make isInserted/DeletedText take refs
9889 * paragraph_funcs.h:
9890 * paragraph_funcs.C: remove #if 0'd code
9895 * text.C: use lyxrow helpers above.
9896 Move draw and paint routines to RowPainter.
9897 Make several methods use refs not pointers.
9898 Make backgroundColor() const.
9899 Add markChangeInDraw(), isInInset().
9900 Merge changeRegionCase into changeCase.
9901 Make workWidth() shouldn't-happen code into an Assert.
9904 * rowpainter.C: new class for painting a row.
9907 * vspace.C: make inPixels take a ref
9909 2003-02-26 Angus Leeming <leeming@lyx.org>
9911 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9914 2003-02-25 John Levon <levon@movementarian.org>
9916 * ispell.C: give the forked command a more accurate name
9918 2003-02-22 John Levon <levon@movementarian.org>
9921 * toc.C: make TocItem store an id not a Paragraph *
9924 2003-02-21 Angus Leeming <leeming@lyx.org>
9926 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9927 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9928 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9929 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9930 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9931 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9933 * BufferView_pimpl.C (dispatch):
9934 * LyXAction.C (init):
9935 * factory.C (createInset):
9936 * lyxfunc.C (getStatus, dispatch):
9937 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9939 2003-02-21 Angus Leeming <leeming@lyx.org>
9941 * BufferView_pimpl.C (MenuInsertLyXFile):
9942 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9943 * lyxfunc.C (menuNew, open, doImport):
9944 no longer pass a LyXView & to fileDlg.
9946 2003-02-21 Angus Leeming <leeming@lyx.org>
9948 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9949 * LyXAction.C: change, BIBKEY to BIBITEM.
9950 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9951 Change InsetBibKey to InsetBibitem.
9952 Change BIBKEY_CODE to BIBITEM_CODE.
9953 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9954 * factory.C: replace insetbib.h with insetbibitem.h.
9955 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9956 * paragraph.C: replace insetbib.h with insetbibitem.h.
9957 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9958 Change bibkey() to bibitem().
9959 * text.C: remove insetbib.h.
9960 * text2.C: replace insetbib.h with insetbibitem.h.
9961 change bibkey() to bibitem().
9962 * text3.C: remove insetbib.h.
9963 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9965 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9967 * lyxrc.C (output): enclose user email in quotes (in case there are
9970 2003-02-18 John Levon <levon@movementarian.org>
9972 * buffer.h: add std::
9974 2003-02-17 John Levon <levon@movementarian.org>
9980 * pspell.C: reworking. Especially in ispell, a large
9981 number of clean ups and bug fixes.
9983 * lyxfunc.C: fix revert to behave sensibly
9985 2003-02-17 André Pönitz <poenitz@gmx.net>
9988 * commandtags.h: new LFUN_INSERT_BIBKEY
9998 * paragraph_func.C: remove special bibkey handling
10000 2003-02-17 John Levon <levon@movementarian.org>
10002 * text.C (Delete): fix case where delete at the end of
10003 the very first paragraph would not merge the pars
10005 2003-02-17 John Levon <levon@movementarian.org>
10007 * lyxrow.C: fix lastPrintablePos()
10009 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10011 * bufferparams.C (writeLaTeX): add a std:here
10013 * buffer.C: and remove a using directive there
10015 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10017 * buffer.C (makeLaTeXFile): move the code that generates the
10020 * bufferparams.C (writeLaTeX): ... in this new method
10022 * LaTeXFeatures.C (getEncodingSet): make const
10023 (getLanguages): make const
10025 * MenuBackend.C (binding): returns the binding associated to this
10027 (add): sets the status of each item by calling getStatus. Adds
10029 (read): add support for OptSubMenu
10030 (expand): remove extra separator at the end of expanded menu
10032 2003-02-15 John Levon <levon@movementarian.org>
10035 * BufferView_pimpl.C:
10037 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10038 inset code that had no actual effect. Remove unneeded status
10041 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10043 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10046 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10048 * text.C (drawLengthMarker): also draw an arrow marker for
10049 symbolic lengths (medskip...)
10051 2003-02-14 John Levon <levon@movementarian.org>
10054 * tabular.C: better method names
10056 2003-02-14 John Levon <levon@movementarian.org>
10058 * BufferView_pimpl.C:
10063 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10064 it's a more accurate name. Remove some pointless uses.
10066 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10068 * text2.C (LyXText): change order of initilizers to shut off
10071 2003-02-14 John Levon <levon@movementarian.org>
10073 * buffer.C: use ParIterator for getParFromID()
10077 * paragraph_pimpl.h:
10078 * paragraph_pimpl.C: remove unused getParFromID()
10080 2003-02-14 John Levon <levon@movementarian.org>
10082 * buffer.C: remove some very old #if 0'd parse code
10084 2003-02-13 John Levon <levon@movementarian.org>
10088 * text2.C: move hfillExpansion(), numberOfSeparators(),
10089 rowLast(), rowLastPrintable(), numberofHfills(),
10090 numberOfLabelHfills() ...
10093 * lyxrow.C: ... to member functions here.
10098 * text.C: remove LyXText::beginningOfMainBody(), and call
10099 p->beginningOfMainBody() directly. Move the check for
10100 LABEL_MANUAL into the latter.
10107 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10113 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10114 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10116 2003-02-13 John Levon <levon@movementarian.org>
10118 * CutAndPaste.C: remove debug
10120 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10122 * paragraph.C (asString): remove two unused variables
10124 * lyxtextclass.C (readTitleType):
10126 (LyXTextClass): handle new members titletype_ and titlename_
10128 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10130 2003-02-09 John Levon <levon@movementarian.org>
10133 * buffer.C: replace hand-coded list with a map for the dep clean
10135 2003-02-08 John Levon <levon@movementarian.org>
10137 * LaTeX.C: consolidate code into showRunMessage() helper
10139 2003-02-08 John Levon <levon@movementarian.org>
10144 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10145 and pass the size in explicitly
10147 * BufferView_pimpl.h:
10148 * BufferView_pimpl.C:
10150 * BufferView.C: add getCurrentChange()
10152 * BufferView_pimpl.h:
10153 * BufferView_pimpl.C: handle change lfuns
10155 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10156 for changes. Mark pasted paragraphs as new.
10158 * support/lyxtime.h:
10159 * support/lyxtime.C:
10160 * DepTable.C: abstract time_t as lyx::time_type
10163 * LColor.C: add colours for new text, deleted text, changebars
10165 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10166 package use "usenames" option.
10170 * LyXAction.C: add change lfuns
10174 * author.C: author handling
10177 * buffer.C: add a per-buffer author list, with first entry as
10178 current author. Handle new .lyx tokens for change tracking. Output
10179 author list to .lyx file. Output dvipost stuff to .tex preamble.
10180 Bump lyx format to 222.
10183 * bufferlist.C: add setCurrentAuthor() to reset current author details
10187 * bufferparams.C: add param for tracking
10189 * bufferview_funcs.C: output change info in minibuffer
10193 * changes.C: add change-tracking structure
10196 * debug.C: add CHANGES debug flag
10199 * lyxfind.C: add code for finding the next change piece
10202 * lyxrc.C: add user_name and user_email
10205 * lyxrow.C: add a metric for the top of the text line
10208 * text.C: implement accept/rejectChange()
10211 * text.C: paint changebars. Paint new/deleted text in the chosen
10212 colours. Strike through deleted text.
10216 * paragraph_pimpl.h:
10217 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10218 in the current change to the insert functions. Rework erase to
10219 mark text as deleted, adding an eraseIntern() and a range-based
10220 erase(). Implement per-paragraph change lookup and
10223 * paragraph_funcs.C: Fixup paste for change tracking.
10225 * tabular.C: mark added row/columns as new.
10227 * text.C: fix rowLast() to never return -1. Don't allow
10228 spellchecking of deleted text. Track transpose changes. Don't
10229 allow paragraph break or merge where appropriate.
10231 * text2.C: leave cursor at end of selection after a cut.
10233 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10235 * text.C (getLengthMarkerHeight):
10236 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10237 visible on screen too.
10239 2003-02-07 John Levon <levon@movementarian.org>
10241 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10243 2003-02-05 Angus Leeming <leeming@lyx.org>
10245 * lyxserver.C (read_ready): revert my patch of 11 September last year
10246 as it sends PC cpu through the roof. Presumably this means that
10247 the lyxserver will no longer run on an Alpha...
10249 2003-01-30 Angus Leeming <leeming@lyx.org>
10251 * factory.C (createInset): create an InsetCommandParam of type "index"
10252 and use it to 'do the right thing'.
10254 * text2.C (getStringToIndex): ensure that cursor position is always
10255 reset to the reset_cursor position.
10257 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10259 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10262 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10266 * lyxfunc.C: Output messages with identical spelling, punctuation,
10269 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10271 * MenuBackend.C (expandFormats): List only viewable export formats
10274 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10277 * lyxfunc.C (getStatus): Make sure that formats other than
10278 "fax" can also be disabled
10280 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10282 * text3.C (dispatch): put the lfuns that insert insets in 3
10283 groups, and call doInsertInset with appropriate arguments.
10284 (doInsertInset): new function, that creates an inset and inserts
10285 it according to some boolean parameters.
10287 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10289 * buffer.C (readFile): remember to pass on 'par' when calling
10290 readFile recursively.
10292 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10294 * MenuBackend.C (expandFormats): add "..." to import formats.
10296 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10298 * paragraph.C (asString): Remove XForms RTL hacks.
10300 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10301 * buffer.C: fix typo
10303 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10305 * Makefile.am (LIBS): delete var
10306 (lyx_LDADD): add @LIBS@ here instead.
10308 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10310 * Clarify the meaning of "wheel mouse jump"
10312 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10314 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10317 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10319 * importer.C (Loaders): do not preallocate 3 elements in the
10320 vector, since one ends up with 6 elements otherwise
10322 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10324 * DepTable.C (write): write the file name as last element of the
10325 .dep file (because it may contain spaces)
10326 (read): read info in the right order
10328 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10330 * paragraph_pimpl.C (simpleTeXBlanks):
10331 (simpleTeXSpecialChars):
10332 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10334 * tabular.C (latex): add some missing case statements. Reindent.
10336 * MenuBackend.C (expandToc): remove unused variable.
10338 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10347 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10350 2003-01-05 John Levon <levon@movementarian.org>
10353 * BufferView.C: add getEncoding()
10356 * kbsequence.C: do not store last keypress
10359 * lyxfunc.C: store last keypress here instead. Pass encoding
10362 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10364 * lyx_main.C (init): remove annoying error message when following
10365 symbolic links (bug #780)
10367 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10369 * text.C (insertChar):
10370 * lyxrc.C (getDescription): remove extra spaces
10372 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10374 * lyxrc.C (getDescription): remove extra spaces
10376 2002-12-20 John Levon <levon@movementarian.org>
10378 * text3.C: hack fix for page up/down across tall rows
10380 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10382 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10385 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10387 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10388 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10389 thesaurus is not compiled in
10391 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10393 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10395 2002-12-16 Angus Leeming <leeming@lyx.org>
10398 * lyx_main.C (init): remove override_x_deadkeys stuff.
10400 2002-12-12 John Levon <levon@movementarian.org>
10402 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10403 insert. Only remove shift modifier under strict
10406 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10408 * MenuBackend.C (expandToc): fix crash.
10410 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10412 * MenuBackend.C (expandToc): gettext on float names.
10414 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10416 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10417 implement bool empty() [bug 490]
10419 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10421 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10423 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10425 * several files: ws changes
10427 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10429 * text2.C (setCounter): clean up a bit, use boost.format.
10430 (updateCounters): initialize par upon declaration.
10432 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10433 if the layout exists. We do not just store the layout any more.
10434 (SwitchLayoutsBetweenClasses): use boost.format
10436 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10438 * converter.C (convert): if from and to files are the same, use a
10439 temporary files as intermediary
10441 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10444 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10446 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10448 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10450 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10452 * tabular.C (asciiPrintCell): use string(size, char) instead of
10455 * sgml.C (openTag): fix order of arguments to string constructor
10458 * lyxfunc.C (dispatch): use boost.format
10460 * lots of files: change "c" -> 'c'
10462 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10464 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10466 2002-11-25 Angus Leeming <leeming@lyx.org>
10468 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10470 * lyx_main.C (init): compile fix.
10472 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10474 * lyx_cb.C (start): boost.formatify
10475 do not include <iostream>
10477 * lengthcommon.C: ws only
10479 * boost-inst.C,BoostFormat.h: add more explict instantations
10481 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10483 * lots of files: handle USE_BOOST_FORMAT
10485 2002-11-21 John Levon <levon@movementarian.org>
10487 * pspell.C: fix compile
10489 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10491 * lyxfunc.C (dispatch): use boost::format
10495 * lyxfont.C (stateText): use boost::format
10497 * lyx_main.C (LyX): use boost::format
10499 (queryUserLyXDir): ditto
10500 (readRcFile): ditto
10502 (typedef boost::function): use the recommened syntax.
10504 * importer.C (Import): use boost::format
10506 * debug.C (showLevel): use boost::format
10508 * converter.C (view): use boost::format
10513 * bufferview_funcs.C (currentState): use boost::format
10515 * bufferlist.C (emergencyWrite): use boost::format
10517 * buffer.C (readLyXformat2): use boost::format
10518 (parseSingleLyXformat2Token): ditto
10520 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10522 * LaTeX.C (run): use boost::format
10524 * Chktex.C (scanLogFile): use boost::format
10526 * BufferView_pimpl.C (savePosition): use boost::format
10527 (restorePosition): ditto
10528 (MenuInsertLyXFile): ditto
10530 * BoostFormat.h: help file for explicit instation.
10532 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10534 * tabular.C (latex): Support for block alignment in fixed width
10537 2002-11-17 John Levon <levon@movementarian.org>
10539 * BufferView_pimpl.C:
10541 * lyxfunc.C: split filedialog into open/save
10543 2002-11-08 Juergen Vigna <jug@sad.it>
10545 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10546 by my last patch (hopefully).
10548 2002-11-08 John Levon <levon@movementarian.org>
10557 * toc.C: ParConstIterator, and use it (from Lars)
10559 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10561 * lyxtextclass.[Ch]: revise and add doxygen comments
10563 2002-11-07 John Levon <levon@movementarian.org>
10565 * text.C: fix progress value for spellchecker
10567 * toc.C: fix navigate menu for insetwrap inside minipage
10569 * paragraph_funcs.C: added FIXME for suspect code
10571 2002-11-07 John Levon <levon@movementarian.org>
10573 * BufferView_pimpl.C: fix redrawing of insets
10576 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10578 * text2.C (updateCounters): fix bug 668
10580 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10582 * text3.C (dispatch): Do not make the buffer dirty when moving the
10585 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10587 * vc-backend.C: STRCONV
10588 (scanMaster): ditto
10590 * text2.C (setCounter): STRCONV
10592 * paragraph.C (asString): STRCONV
10594 * lyxlength.C (asString): STRCONV
10595 (asLatexString): ditto
10597 * lyxgluelength.C (asString): STRCONV
10598 (asLatexString): ditto
10600 * lyxfunc.C (dispatch): STRCONV
10603 * lyxfont.C (stateText): STRCONV
10605 * importer.C (Import): STRCONV
10607 * counters.C (labelItem): STRCONV
10608 (numberLabel): ditto
10609 (numberLabel): remove unused ostringstream o
10614 * bufferview_funcs.C (currentState): STRCONV
10616 * buffer.C (readFile): STRCONV
10617 (asciiParagraph): ditto
10618 (makeLaTeXFile): ditto
10620 * Spacing.C (writeEnvirBegin): STRCONV
10622 * LaTeXFeatures.C (getLanguages): STRCONV
10623 (getPackages): ditto
10625 (getBabelOptions): ditto
10626 (getTClassPreamble): ditto
10627 (getLyXSGMLEntities): ditto
10628 (getIncludedFiles): ditto
10632 (scanAuxFile): ditto
10635 * LString.h: add the STRCONV macros
10637 * BufferView_pimpl.C (savePosition): STRCONV
10638 (restorePosition): ditto
10639 (MenuInsertLyXFile): ditto
10641 * vc-backend.C (scanMaster): change from submatch[...] to
10644 * funcrequest.C: include config.h
10646 * factory.C: include config.h
10648 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10650 * box.C: include config.h
10652 * LaTeX.C (scanAuxFile): change from submatch[...] to
10656 2002-10-25 Angus Leeming <leeming@lyx.org>
10658 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10660 * ispell.[Ch] (setError): new method.
10661 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10662 Use setError() insetead of goto END.
10664 * lyx_cb.C (AutoSave): move out child process into new class
10667 2002-10-30 John Levon <levon@movementarian.org>
10669 * text3.C: make start appendix undoable
10671 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10673 * lyxlength.C (inPixels): Fix returned value.
10675 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10678 2002-10-24 Angus Leeming <leeming@lyx.org>
10680 * lyxgluelength.h: no need to forward declare BufferParams
10681 or BufferView, so don't.
10683 2002-10-21 John Levon <levon@movementarian.org>
10685 * BufferView.C: menuUndo ->undo, redo
10687 * BufferView.h: document, remove dead, make some methods private
10689 * paragraph_funcs.h:
10690 * paragraph_funcs.C:
10691 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10696 * sgml.C: move sgml open/close tag into sgml.C
10698 * bufferview_funcs.h: unused prototype
10701 * lyxfunc.C: remove unused
10704 * text.C: remove unused
10706 2002-10-21 John Levon <levon@movementarian.org>
10710 * BufferView_pimpl.h:
10711 * BufferView_pimpl.C: fix mouse wheel handling based on
10712 patch from Darren Freeman
10714 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10716 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10718 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10720 * lyxlength.C (inPixels): Fix hanfling of negative length.
10721 Fix LyXLength::MU case.
10723 2002-10-16 John Levon <levon@movementarian.org>
10725 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10727 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10729 * converter.C (view): add support for $$i (file name) and $$p
10730 (file path) for the viewer command. If $$i is not specified, then
10731 it is appended to the command (for compatibility with old syntax)
10733 2002-10-14 Juergen Vigna <jug@sad.it>
10735 * undo_funcs.C (textHandleUndo): alter the order in which the
10736 new undopar is added to the LyXText, as we have to set first
10737 the right prev/next and then add it as otherwise the rebuild of
10738 LyXText is not correct. Also reset the cursor to the right paragraph,
10739 with this IMO we could remove the hack in "redoParagraphs()".
10741 2002-10-09 Angus Leeming <leeming@lyx.org>
10743 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10744 to turn off an optimisation if a new inset is to be inserted.
10746 2002-10-11 André Pönitz <poenitz@gmx.net>
10748 * lyxtext.h: make some functions public to allow access
10749 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10751 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10753 * text3.C (dispatch): when changing layout, avoid an infinite loop
10756 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10758 * lyxrc.C (read): treat a viewer or converter command of "none" as
10761 * MenuBackend.C (expandFormats): for an update, also allow the
10762 formats that are not viewable
10764 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10765 script if it is newer than the lyxrc.defaults in user directory
10767 2002-10-07 André Pönitz <poenitz@gmx.net>
10769 * text.C: Vitaly Lipatov's small i18n fix
10771 2002-09-25 Angus Leeming <leeming@lyx.org>
10773 * ispell.h: doxygen fix.
10775 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10777 * buffer.h (readFile): Add a new argument to the method, to allow
10778 reading of old-format templates.
10780 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10782 * toc.C (getTocList): Get TOC from InsetWrap.
10784 2002-09-16 John Levon <levon@movementarian.org>
10786 * lyxfunc.C: check tabular for cut/copy too
10788 2002-09-12 John Levon <levon@movementarian.org>
10790 * LyXAction.C: tidy
10793 * factory.C: add header
10795 * paragraph_funcs.h:
10796 * paragraph_funcs.C: cleanup
10798 2002-09-11 John Levon <levon@movementarian.org>
10800 * PrinterParams.h: odd/even default to true
10802 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10804 * PrinterParams.h: update printer parameters for new xforms dialog
10806 2002-09-11 Angus Leeming <leeming@lyx.org>
10808 * lyxserver.C (read_ready): re-write to make it more transparent
10809 and to make it work in coherent fashion under Tru64 Unix.
10811 2002-09-11 André Pönitz <poenitz@gmx.net>
10815 * text3.C: implement LFUN_WORDSEL
10817 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10819 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10820 make floatlist_ a boost::shared_ptr<FloatList>
10822 * lyxtextclass.C: include FloatList.h
10823 (LyXTextClass): initialize floatlist_
10824 (TextClassTags): add TC_NOFLOAT
10825 (Read): match "nofloat" to TC_NOFLOAT and use it.
10826 (readFloat): modify call to floatlist_
10830 * FloatList.[Ch] (FloatList): remove commented out float
10832 (erase): new function
10834 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10836 * MenuBackend.C (expandToc): fix crash when there is no document
10839 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10841 * many files: Add insetwrap.
10843 2002-09-09 John Levon <levon@movementarian.org>
10845 * text2.C: remove confusing and awkward depth wraparound
10847 2002-09-09 John Levon <levon@movementarian.org>
10849 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10852 * buffer.C: remove getIncludeonlyList()
10855 * lyxfunc.C: remove headers
10857 2002-09-09 Juergen Vigna <jug@sad.it>
10859 * text.C (getColumnNearX): fix form Michael this is most
10860 probably a cut&paste bug.
10862 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10864 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10866 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10867 references, ws changes.
10869 * text2.C (init): update counters after init
10870 (insertParagraph): no need to set counter on idividual paragraphs.
10871 (setCounter): access the counters object in the textclass object
10872 on in the buffer object.
10873 (updateCounters): ditto
10875 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10876 shared_ptr<Counters> to avoid loading counters.h in all
10878 (LyXTextClass): initialize ctrs_
10879 (TextClassTags): add TC_COUNTER, and ...
10880 (Read): use it here.
10881 (CounterTags): new tags
10882 (readCounter): new function
10883 (counters): new funtion
10884 (defaultLayoutName): return a const reference
10886 * counters.C (Counters): remove contructor
10887 (newCounter): remove a couple of unneeded statements.
10888 (newCounter): simplify a bit.
10889 (numberLabel): some small formatting changes.
10891 * buffer.[Ch]: remove all traces of counters, move the Counters
10892 object to the LyXTextClass.
10894 2002-09-06 Alain Castera <castera@in2p3.fr>
10896 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10897 package to set the horizontal alignment on fixed width columns.
10900 * lyx_sty.h: added tabularnewline macro def.
10902 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10904 2002-09-06 John Levon <levon@movementarian.org>
10906 * LyXAction.C: tooltips for sub/superscript
10908 * MenuBackend.C: a bit more verbose
10910 * lyxfunc.C: tiny clean
10912 * undo_funcs.C: document undo_frozen
10914 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10916 * counters.C (Counters): add missing algorithm counter.
10918 * text2.C (setCounter): lookup the counter with layouts latexname
10919 instead of by section number.
10920 (setCounter): use a hackish way to lookup the correct enum
10922 a float name->type change
10923 reset enum couners with counter name directly instead of depth value.
10925 * counters.C (Counters): remove the push_backs, change to use the
10926 float type not the float name.
10927 (labelItem): remove unused string, float name->type change
10929 * counters.h: don't include vector, loose the enums and sects vectors
10931 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10933 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10934 (Read): add float->TC_FLOAT to textclassTags
10935 (Read): and handle it in the switch
10936 (readFloat): new function
10938 * FloatList.C (FloatList): comment out the hardcoded float
10941 * lyxlayout.h: ws change.
10943 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10945 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10947 2002-09-03 Angus Leeming <leeming@lyx.org>
10949 * BufferView_pimpl.h: qualified name is not allowed in member
10950 declaration: WorkArea & Pimpl::workarea() const;
10952 * factory.C: added using std::endl directive.
10954 * text3.C: added using std::find and std::vector directives.
10956 2002-08-29 André Pönitz <poenitz@gmx.net>
10959 * text2.C: remove unused member number_of_rows
10962 * BufferView2.C: remove file, move contents to...
10963 * BufferView.C: ... here
10965 * BufferView_pimpl.C:
10966 * factory.C: move more inset creation to factory
10968 * vspace.C: avoid direct usage of LyXText, ws changes
10971 don't provide direct access to WorkArea, use two simple
10972 acessors haveSelction() and workHeight() instead
10975 2002-08-29 John Levon <levon@movementarian.org>
10977 * BufferView_pimpl.C (dispatch): do not continue when
10980 2002-08-28 André Pönitz <poenitz@gmx.net>
10982 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10985 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10987 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10989 * buffer.C: increment LYX_FORMAT to 221
10991 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10992 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10994 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10996 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10998 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11000 * factory.C (createInset): use LyXTextClass::floats
11002 * MenuBackend.C (expandFloatListInsert):
11003 (expandFloatInsert):
11006 * text2.C (setCounter):
11008 * LaTeXFeatures.C (useFloat):
11009 (getFloatDefinitions):
11011 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11013 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11014 floatlist_, with accessor floats().
11016 * FloatList.h: remove global FloatList
11018 2002-08-26 André Pönitz <poenitz@gmx.net>
11020 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11024 * BufferView_pimpl.C:
11025 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11027 2002-08-25 John Levon <levon@movementarian.org>
11029 * LyXAction.C: fix margin note description
11031 2002-08-24 John Levon <levon@movementarian.org>
11035 * bufferview_funcs.C:
11037 * undo_funcs.C: cleanups
11039 * lyxfunc.C: disable CUT/COPY when no selection
11041 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11043 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11044 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11046 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11047 Add backward compatibility to "mono", "gray" and "no".
11049 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11051 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11052 (and file_format >= 200).
11054 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11056 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11058 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11060 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11062 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11064 * BufferView_pimpl.C:
11071 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11072 inset and code to make it work with the paragraph code. The inset
11073 can be anywhere in the paragraph, but will only do the expected
11074 thing in LaTeX if the layout file contains the parameter line
11076 (or more generally, a nonzero value) for that layout.
11078 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11080 * paragraph.h: remove the declaration of undefined counters class
11083 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11085 * text2.C (setCounter): fixed enumeration mis-count as reported by
11086 Dr. Richard Hawkins.
11088 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11090 * paragraph_funcs.h: remove some unneeded includes
11092 * text.C (backspace): pasteParagraph now in global scipe
11094 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11095 (pasteSelection): ditto
11097 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11098 * paragraph_funcs.C (pasteParagraph): ... here
11100 2002-08-20 André Pönitz <poenitz@gmx.net>
11102 * commandtags.h: new LFUNs for swapping/copying table row/colums
11105 * lyxfunc.C: support for new lfuns
11107 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11110 * buffer.[Ch]: remove NO_COMPABILITY stuff
11112 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11114 * boost.C (throw_exception): new file, with helper function for
11115 boost compiled without exceptions.
11120 * ParameterStruct.h:
11121 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11123 * bufferlist.C (emergencyWriteAll): use boost bind
11125 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11127 * text.C: include paragraph_funcs.h
11128 (breakParagraph): breakParagraph is now in global scope
11130 * paragraph_funcs.[Ch]: new files
11132 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11135 * buffer.C: include paragraph_funcs.h
11136 (insertStringAsLines): breakParagraph is now in global scope
11138 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11141 * CutAndPaste.C: include paragraph_funcs.h
11142 (cutSelection): breakParagraphConservative is now in global scope
11143 (pasteSelection): ditto
11145 * buffer.h: declare oprator== and operator!= for
11146 Buffer::inset_iterator
11148 * bufferlist.C (emergencyWrite): don't use fmt(...)
11150 * text3.C: add using std::endl
11152 * BufferView.C (moveCursorUpdate): remove default arg
11154 2002-08-20 André Pönitz <poenitz@gmx.net>
11156 * buffer.[Ch]: move inline functions to .C
11159 * BufferView_pimpl.C:
11161 * buffer.[Ch]: use improved inset_iterator
11164 * paragraph.[Ch]: write one paragraph at a time
11166 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11168 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11169 style if style is not specified.
11171 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11173 * text2.C (setCounter): when searching for right label for a
11174 caption, make sure to recurse to parent insets (so that a caption
11175 in a minipage in a figure float works) (bug #568)
11177 2002-08-20 André Pönitz <poenitz@gmx.net>
11179 * text3.C: new file for LyXText::dispatch() and helpers
11181 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11183 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11185 2002-08-19 André Pönitz <poenitz@gmx.net>
11188 * text.C: new LyXText::dispatch()
11190 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11192 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11194 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11196 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11199 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11201 * Makefile.am: use $(variables) instead of @substitutions@
11203 2002-08-15 André Pönitz <poenitz@gmx.net>
11206 * BufferView_pimpl.C: streamlining mathed <-> outer world
11210 * LyXAction.C: remove unused LFUN_MATH
11212 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11214 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11216 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11218 * paragraph.C (Paragraph): reformat a bit
11219 (cutIntoMinibuffer): use builtin InsetList function instad of
11223 * buffer.C: include boost/bind.hpp, add using std::for_each
11224 (writeFileAscii): use ParagraphList iterators
11225 (validate): use for_each for validate traversal of paragraphs
11226 (getBibkeyList): use ParagraphList iterators
11227 (resizeInsets): use for_each to resizeInsetsLyXText for all
11229 (getParFromID): use ParagraphList iterators
11231 * BufferView2.C (lockInset): use paragraph list and iterators
11233 2002-08-14 John Levon <levon@movementarian.org>
11235 * lyxserver.C: remove spurious xforms include
11237 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11239 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11241 2002-08-13 André Pönitz <poenitz@gmx.net>
11244 * lyxfunc.C: further cleaning
11246 2002-08-13 André Pönitz <poenitz@gmx.net>
11248 * funcrequest.h: new constructor
11250 * funcrequest.C: move stuff here from .h
11253 * BufferView_pimpl.C:
11256 * lyxfunc.C: subsequent changes
11258 * lyxfunc.h: new view() member function
11260 * lyxfunc.C: subsequent changes
11262 2002-08-13 Angus Leeming <leeming@lyx.org>
11265 * BufferView_pimpl.C:
11273 changes due to the changed LyXView interface that now returns references
11274 to member variables not pointers.
11276 2002-08-13 Angus Leeming <leeming@lyx.org>
11278 * WordLangTuple (word, lang_code): return references to strings,
11283 * lyxtext.h: forward-declare WordLangTuple.
11288 * text.C: #include "WordLangTuple.h".
11291 * text.C: (selectNextWordToSpellcheck): constify return type.
11293 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11299 * paragraph_pimpl.h:
11302 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11303 suggested by Angus.
11304 Made updateCounter always count from start of buffer, and removed
11305 second argument (par).
11306 Reverted floats number display to '#'. Perhaps I'll try again when the
11307 code base is sanitized a bit.
11309 2002-08-12 Angus Leeming <leeming@lyx.org>
11311 * buffer.[Ch] (getLabelList): constify.
11313 2002-08-07 André Pönitz <poenitz@gmx.net>
11315 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11317 * funcrequest.h: extension to keep mouse (x,y) position
11319 2002-08-12 Juergen Vigna <jug@sad.it>
11321 * BufferView2.C (insertErrors): forbid undo when inserting error
11324 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11326 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11328 * ParagraphList.[Ch]: new files
11330 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11332 * BufferView2.C (lockInset): ParagraphList changes
11335 * bufferlist.C: ditto
11339 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11341 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11342 unused class variable counter_,
11344 * paragraph.[Ch] (getFirstCounter): delete unused function
11346 * counters.C: include LAssert.h
11347 (reset): add a new function with no arg, change other version to
11348 not have def. arg and to not allow empty arg.
11350 * text2.C (setCounter): remove empty arg from call to Counters::reset
11352 2002-08-11 John Levon <levon@movementarian.org>
11354 * Makefile.am: add WordLangTuple.h
11356 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11358 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11359 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11361 * insets/insettext.C: InsetList changes
11363 * graphics/GraphicsSupport.C (operator()): InsetList changes
11365 * toc.C (getTocList): InsetList changes
11367 * paragraph_pimpl.[Ch]: InsetList changes
11369 * paragraph.[Ch]: InsetList changes
11371 * buffer.C (inset_iterator): InsetList changes
11372 (setParagraph): ditto
11373 * buffer.h (inset_iterator): ditto
11374 * iterators.C (operator++): ditto
11375 * iterators.h: ditto
11377 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11379 * InsetList.[Ch]: new files, most InsetList handling moved out of
11382 * BufferView2.C (removeAutoInsets): InsetList changes
11384 (ChangeInsets): ditto
11386 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11388 * paragraph_pimpl.h (empty): new function
11390 * paragraph.[Ch] (empty): new function
11392 * other files: use the new Paragraph::empty function
11394 2002-08-09 John Levon <levon@movementarian.org>
11396 * lyxtext.h: remove unused refresh_height
11398 2002-08-09 John Levon <levon@movementarian.org>
11405 * paragraph.C: move sgml char escaping out of paragraph
11408 * paragraph.C: remove id setter
11412 * paragraph_pimpl.C: remove dead tex_code_break_column
11414 * bufferview_funcs.C: small cleanup
11416 * lyxfunc.C: remove dead proto
11418 * lyxtext.h: make some stuff private. Remove some dead stuff.
11420 * lyxgluelength.C: make as[LyX]String() readable
11422 2002-08-08 John Levon <levon@movementarian.org>
11427 * ToolbarDefaults.C:
11430 * toc.C: lyxaction cleanup
11432 2002-08-08 John Levon <levon@movementarian.org>
11434 * BufferView2.C: small cleanup
11437 * lyxfind.C: move unnecessary header into the .C
11439 2002-08-08 John Levon <levon@movementarian.org>
11441 * funcrequest.h: just tedious nonsense
11444 * lyx_main.C: cleanups
11447 * vspace.C: remove dead header lyx_main.h
11449 2002-08-07 Angus Leeming <leeming@lyx.org>
11452 * paragraph_pimpl.h:
11453 Forward declare class Counters in paragraph.h by moving the ctrs member
11454 variable into Paragraph::Pimpl.
11455 (counters): new method, returning a reference to pimpl_->ctrs.
11457 * text2.C: ensuing changes.
11459 2002-08-07 John Levon <levon@movementarian.org>
11461 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11463 * BufferView_pimpl.C: announce X selection on double/triple
11466 * lyx_main.C: use correct bool in batch dispatch
11468 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11470 2002-08-07 André Pönitz <poenitz@gmx.net>
11472 * funcrequest.h: new class to wrap a kb_action and its argument
11475 * BufferView_pimpl[Ch]:
11479 * lyxrc.C: subsequent changes
11482 2002-08-07 John Levon <levon@movementarian.org>
11484 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11485 document options change.
11487 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11492 * makefile.am: move counters functionality over from
11493 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11495 2002-08-06 John Levon <levon@movementarian.org>
11497 * WordLangTuple.h: new file for word + language code tuple
11508 * BufferView2.C: use WordLangTuple
11511 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11513 2002-08-06 John Levon <levon@movementarian.org>
11515 * lyx_main.C: fix cmdline batch handling
11517 2002-08-06 André Pönitz <poenitz@gmx.net>
11519 * lyxrc.C: set default for show_banner to true
11521 2002-08-06 John Levon <levon@movementarian.org>
11523 * pspell.C: fix a crash, and allow new aspell to work
11525 2002-08-06 John Levon <levon@movementarian.org>
11528 * kbmap.C: small cleanup
11531 * vspace.C: add const
11533 2002-08-05 John Levon <levon@movementarian.org>
11535 * LyXAction.C: back to tabular-insert
11537 2002-08-04 John Levon <levon@movementarian.org>
11540 * BufferView.C: cosmetic change
11542 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11552 * BufferView2.C: purge all "Lyx" not "LyX" strings
11555 * lyxcursor.C: attempt to add some documentation
11560 * ToolbarDefaults.C:
11561 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11562 merge with LFUN_TABULAR_INSERT
11569 * pspell.C: split up i/pspell implementations into separate
11570 files, many cleanups
11572 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11574 * text2.C: some cleanup
11576 * lyxfunc.C: don't check for isp_command == "none" any more, it
11577 didn't make any sense
11579 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11584 * makefile.am: move counters functionality over
11585 from text2.C/paragraph.[Ch] to counters.[Ch], and
11587 2002-08-02 John Levon <levon@movementarian.org>
11589 * buffer.C: s/lyxconvert/lyx2lyx/
11591 2002-08-02 Angus Leeming <leeming@lyx.org>
11593 * lyxlex.C: revert John's change as it breaks reading of the user
11596 2002-08-02 Angus Leeming <leeming@lyx.org>
11598 * importer.C (Import):
11599 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11600 changes due to LyXView::view() now returning a boost::shared_ptr.
11602 2002-08-02 John Levon <levon@movementarian.org>
11604 * lyxlex.C: small cleanup
11606 2002-08-02 John Levon <levon@movementarian.org>
11608 * text2.C (status): small cleanup, no logic change
11610 2002-08-01 John Levon <levon@movementarian.org>
11613 * buffer.C (writeFile): don't output alerts, caller
11617 * lyx_cb.C: from above
11619 * lyxfunc.C: allow to open non-existent files
11621 2002-07-31 John Levon <levon@movementarian.org>
11623 * lyxserver.C: don't let incidental errors get
11626 2002-07-30 John Levon <levon@movementarian.org>
11628 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11630 2002-07-30 John Levon <levon@movementarian.org>
11633 * lyxserver.C: remove I/O callback too
11635 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11637 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11640 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11642 * many files: strip,frontStrip -> trim,ltrim,rtrim
11644 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11646 * PrinterParams.h: remove extern containsOnly, and include
11647 support/lstrings.h instead.
11649 * LaTeX.C (scanAuxFile): modify because of strip changes
11651 * buffer.C (makeLaTeXFile): ditto
11652 * bufferparams.C (writeFile): ditt
11653 * lyxfont.C (stateText): ditto
11654 * lyxserver.C (read_ready): ditto
11655 * vc-backend.C (scanMaster): ditto
11657 * BufferView_pimpl.h: ws changes
11659 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11661 2002-07-26 André Pönitz <poenitz@gmx.net>
11663 * kb_sequence.C: remove unnedred usings
11665 2002-07-26 Juergen Vigna <jug@sad.it>
11667 * lyxfind.C (LyXReplace): we have to check better if the returned
11668 text is not of theLockingInset()->getLockingInset().
11670 2002-07-25 Juergen Vigna <jug@sad.it>
11672 * lyxfind.C (LyXReplace): don't replace if we don't get the
11675 * undo_funcs.C (createUndo): remove debugging code.
11677 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11679 * buffer.C (parseSingleLyXformat2Token): Use default placement
11680 when reading old floats.
11682 * FloatList.C (FloatList): Change the default placement of figure
11683 and tables to "tbp".
11685 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11687 * MenuBackend.C: using std::max
11689 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11691 * MenuBackend.C (expandToc):
11692 (expandToc2): code moved from xforms menu frontend. It is now
11693 generic and TOCs are transparent to menu frontends.
11695 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11697 * toc.C (getTocList): protect against buf=0
11699 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11700 Menu as first parameter. Now, this calls itself recursively to
11701 expand a whole tree (this will be useful for TOC handling)
11702 (expandFloatInsert): remove 'wide' version of floats
11704 * MenuBackend.h (submenuname): returns the name of the submenu.
11705 (submenu): returns the submenu itself, provided it has been
11706 created by MenuBackend::expand
11708 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11710 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11711 insets which have noFontChange == true. (bug #172)
11713 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11715 * BufferView_pimpl.C: add connection objects and use them...
11718 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11720 * MenuBackend.C (expandLastfiles):
11723 (expandFloatListInsert):
11724 (expandFloatInsert):
11725 (expand): split expand in parts
11727 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11729 * lyx_gui.C: use lyx_gui::exit()
11731 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11733 * LyXAction.C: show the failing pseudo action
11735 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11737 * buffer.C (readFile): Run the lyxconvert script in order to read
11740 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11744 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11746 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11750 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11752 2002-07-22 Herbert Voss <voss@lyx.org>
11755 * lyxlength.[Ch]: add support for the vertical lengths
11757 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11759 * toc.[Ch]: std:: fixes
11761 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11763 * lyxrc.C: do not include lyx_main.h
11765 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11771 * BufferView2.C: include "lyxlex.h"
11774 * bufferparams.h: do not #include "lyxlex.h"
11776 * lyxtextclasslist.C (Add): remove method
11777 (classlist): renamed to classlist_
11779 * paragraph_pimpl.C:
11783 * bufferview_funcs.C:
11788 * toc.C (getTocList): use BufferParams::getLyXTextClass
11790 * toc.C (getTocList): use InsetFloat::addToToc
11792 * toc.[Ch]: new files, containing helper functions to handle table
11795 * lyxfunc.C (dispatch): no need to remove spaces around command
11797 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11798 first command of the sequence; it is not very clever, but I do not
11799 have a better idea, actually
11801 * LyXAction.C (LookupFunc): make sure to remove space at the
11802 beginning and end of the command
11804 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11806 * MenuBackend.C (getMenubar): new method: return the menubar of
11808 (read): treat differently reading of menu and menubar (in
11809 particular, the menubar has no name now)
11810 (Menu::menubar): remove
11812 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11815 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11817 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11818 a bibitem inset in a RTL paragraph.
11820 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11822 * paragraph_pimpl.C: constify
11824 * BufferView_pimpl.C:
11826 * lyxfunc.C: fix dispatch in a nicer way
11828 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11830 * lyxfunc.C (dispatch):
11831 * BufferView_pimpl.C:
11832 * BufferView_pimpl.h:
11834 * BufferView.h: rename Dispatch() to dispatch()
11836 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11838 * lyxlayout.C (Read): honor DependsOn tag
11840 * lyxlayout.[Ch] (depends_on): new method
11842 * version.C.in: update lyx_docversion
11844 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11846 * paragraph.C (validate): remove from here...
11847 * paragraph_pimpl.C (validate): ... and move here
11848 (isTextAt): make it const
11850 * buffer.C (getLists): ws cleanup
11852 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11854 * language.C (read): Use iso8859-1 encoding in latex_lang
11855 (this prevents LyX from crashing when using iso10646-1 encoding).
11857 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11859 * text2.C (toggleInset): if cursor is inside an inset, close the
11860 inset and leave cursor _after_ it
11862 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11864 * lyxfunc.C: move minibuffer completion handling out of here
11866 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11868 * BufferView_pimpl.C:
11869 * LaTeX.C: fix dispatch calls
11871 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11873 * text.C (drawChars): Fix Arabic text rendering.
11875 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11879 * lyxfunc.C: remove message-push/pop
11883 * lyxfunc.C: rationalise some code by removing verboseDispatch
11884 in favour of a bool argument to dispatch()
11886 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11888 * lyx_main.C (init): make sure to read symlinks as absolute paths
11890 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11893 * lyxfunc.C: no need for commandshortcut to be a member
11895 2002-07-15 André Pönitz <poenitz@gmx.net>
11897 * converter.C: add support for $$s (scripts from lib/scripts dir)
11898 * lyx_main.C: white space
11900 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11904 * lyxrc.C: remove second exit confirmation
11906 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11911 * BufferView_pimpl.h:
11912 * BufferView_pimpl.C:
11913 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11915 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11917 * MenuBackend.C (expand): add numeric shortcuts to document menu
11919 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11921 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11923 * lyxfont.C (setLyXFamily):
11930 * buffer.C (asciiParagraph): use ascii_lowercase
11932 2002-07-15 Mike Fabian <mfabian@suse.de>
11934 * lyxlex_pimpl.C (search_kw):
11935 * lyxlex.C (getLongString):
11936 * converter.h (operator<):
11937 * converter.C (operator<):
11938 * buffer.C (parseSingleLyXformat2Token):
11940 * ToolbarDefaults.C (read):
11941 * MenuBackend.C (checkShortcuts):
11943 * LColor.C (getFromGUIName):
11944 (getFromLyXName): use the compare_ascii_no_case instead of
11945 compare_no_case, because in turkish, 'i' is not the lowercase
11946 version of 'I', and thus turkish locale breaks parsing of tags.
11948 2002-07-16 Angus Leeming <leeming@lyx.org>
11950 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11951 now takes a Buffer const & argument.
11953 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11955 * BufferView.C (resize): check there's a buffer to resize
11957 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11959 * lyxfunc.C: remove dead code
11962 * lyxserver.C: use lyx_guii::set_read_callback
11964 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11966 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11967 an inset in a RTL paragraph.
11969 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11971 * lyxfunc.C: repaint after a font size update
11973 2002-07-15 André Pönitz <poenitz@gmx.net>
11975 * lyxlength.C: inBP should be able to return negative values
11977 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11979 * lyxfunc.C: use lyx_gui::update_fonts()
11981 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11983 * lyxfunc.C: use lyx_gui::update_color()
11985 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11991 * lyxrc.C: remove file->new asks for name option, and let
11992 buffer-new take an argument
11994 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11996 * BufferView_pimpl.C: remove unneeded extra repaint()
11998 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
12000 * LyXAction.C: allow command-sequence with NoBuffer
12002 * lyxfunc.C: don't insist on trailing ';' for command-sequence
12004 2002-07-10 Angus Leeming <leeming@lyx.org>
12006 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12008 2002-07-09 Angus Leeming <leeming@lyx.org>
12010 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12012 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12014 * lengthcommon.h: whitespace
12016 * lyxfunc.C: update scrollbar after goto paragraph
12018 * lyxtext.h: factor out page break drawing, and fix it so
12019 page break/added space paints as selected nicely
12021 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12023 * BufferView_pimpl.C: add FIXMEs, clean up a little
12025 2002-07-09 André Pönitz <poenitz@gmx.net>
12027 * lyxfont.[Ch]: support for wasy symbols
12029 2002-07-08 André Pönitz <poenitz@gmx.net>
12031 * BufferView_pimpl.C: apply John's patch for #93.
12033 2002-07-05 Angus Leeming <leeming@lyx.org>
12035 * BufferView_pimpl.C (buffer): generate previews if desired.
12037 * LColor.h: add "preview" to the color enum.
12039 * LColor.C (LColor): add a corresponding entry to the items array.
12041 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12044 2002-07-05 Angus Leeming <leeming@lyx.org>
12046 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12047 The body of the code is now in the method that is passed an ostream &
12048 rather than a file name.
12049 Pass an additional only_preamble parameter, useful for the forthcoming
12052 2002-07-03 André Pönitz <poenitz@gmx.net>
12054 * lyxfunc.C: simplify getStatus() a bit for math stuff
12056 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12058 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12060 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12062 * text.C (changeRegionCase): do not change case of all the
12063 document when region ends at paragraph end (bug #461)
12065 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12067 * paragraph.C (startTeXParParams):
12068 (endTeXParParams): add \protect when necessary
12070 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12072 * BufferView_pimpl.C (workAreaExpose): remove warning
12074 2002-06-27 Angus Leeming <leeming@lyx.org>
12076 * Makefile.am: add lyxlayout_ptr_fwd.h.
12078 2002-06-26 André Pönitz <poenitz@gmx.net>
12080 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12082 2002-06-25 Angus Leeming <leeming@lyx.org>
12084 * lyxfunc.C (dispatch): Comment out the call to
12085 grfx::GCache::changeDisplay. The method no longer exists now that the
12086 pixmap generation part of the graphics loader has been moved into
12089 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12091 * text2.C: layout as layout
12093 * text.C: layout as layout
12095 * tabular.C (OldFormatRead): layout as layout
12097 * paragraph_pimpl.C (TeXDeeper): layout as layout
12098 (realizeFont): layout as layout
12100 * paragraph.C (writeFile): layout as layout
12101 (validate): layout as layout
12102 (getFont): layout as layout
12103 (getLabelFont): layout as layout
12104 (getLayoutFont): layout as layout
12105 (breakParagraph): layout as layout
12106 (stripLeadingSpaces): layout as layout
12107 (getEndLabel): layout as layout
12108 (getMaxDepthAfter): layout as layout
12109 (applyLayout): layout as layout
12110 (TeXOnePar): layout as layout
12111 (simpleTeXOnePar): layout as layout
12112 (TeXEnvironment): layout as layout
12113 (layout): layout as layout
12114 (layout): layout as layout
12116 * lyxtextclass.C (compare_name): new functor to work with
12117 shared_ptr, layout as layout
12118 (Read): layout as layout
12119 (hasLayout): layout as layout
12120 (operator): layout as layout
12121 (delete_layout): layout as layout
12122 (defaultLayout): layout as layout
12124 * lyxlayout_ptr_fwd.h: new file
12126 * lyxlayout.C (Read): layout as layout
12128 * lyx_cb.C (MenuInsertLabel): layout as layout
12130 * bufferlist.C (newFile): layout as layout
12132 * buffer.C (readLyXformat2): layout as layout
12133 (parseSingleLyXformat2Token): layout as layout
12134 (insertStringAsLines): layout as layout
12135 (asciiParagraph): layout as layout
12136 (latexParagraphs): layout as layout
12137 (makeLinuxDocFile): layout as layout
12138 (simpleLinuxDocOnePar): layout as layout
12139 (makeDocBookFile): layout as layout
12140 (simpleDocBookOnePar): layout as layout
12141 (getLists): layout as layout
12143 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12145 * CutAndPaste.C (cutSelection): layout as layout
12146 (pasteSelection): layout as layout
12147 (SwitchLayoutsBetweenClasses): layout as layout
12149 * BufferView_pimpl.C (Dispatch): layout as layout
12150 (smartQuote): layout as layout
12152 * BufferView2.C (unlockInset): layout as layout
12154 2002-06-24 André Pönitz <poenitz@gmx.net>
12156 * lyxfunc.C: fix #487
12158 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12162 * lyxfunc.C: remove display_shortcuts, show_banner
12164 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12166 * Buffer_pimpl.C: oops, update on resize
12168 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12175 * BufferView.C: use repaint()
12177 * BufferView_pimpl.h:
12178 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12179 as it's a clearer description. Remove superfluous
12182 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12184 * text.C: fix bug 488. Not ideal, but getting
12185 getWord() to work properly for the insets that
12186 matter is more difficult ...
12188 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12190 * BufferView_pimpl.C:
12193 * lyxfunc.C: remove the six million index lyxfuncs to just
12194 one, and DTRT (bug 458)
12196 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12200 * BufferView_pimpl.h:
12201 * BufferView_pimpl.C: clean up resize() stuff,
12202 and unnecessary updateScreen()s
12204 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12208 * BufferView_pimpl.h:
12209 * BufferView_pimpl.C:
12212 * minibuffer.C: remove focus management of workarea,
12213 not needed. Use screen's greyOut()
12215 2002-06-17 Herbert Voss <voss@lyx.org>
12217 * converter.C: (convert) do not post a message, when converting
12218 fails, let the calling function decide what to do in this case
12220 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12222 * lyxfunc.C: tidy up a little
12224 2002-06-16 <alstrup@diku.dk>
12226 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12227 Got rid of FORMS_H_LOCATION include. Now we are
12230 2002-06-15 LyX Development team <lyx@rilke>
12232 * buffer.[Ch] (sgmlOpenTag):
12233 (sgmlCloseTag): Added support for avoiding pernicious mixed
12234 content. Return number of lines written.
12236 (makeLinuxDocFile):
12237 (makeDocBookFile): Fixed calls to sgml*Tag.
12238 Simple white space clean.
12240 (simpleDocBookOnePar): Simple white space clean.
12242 * tabular.[Ch] (docBook): Renamed to docbook and got another
12243 argument to related with the pernicious mixed content.
12245 (docbookRow): Fixed calls for docbook inset method.
12247 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12249 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12250 so it's X11 independent.
12254 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12256 2002-06-15 Lyx Development team <lyx@electronia>
12258 * intl.h: Renamed getTrans to getTransManager.
12260 2002-06-14 Angus Leeming <leeming@lyx.org>
12262 * Makefile.am: nuke forgotten stl_string_fwd.h.
12264 2002-06-12 Angus Leeming <leeming@lyx.org>
12266 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12268 2002-06-13 Angus Leeming <leeming@lyx.org>
12271 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12273 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12275 * kbmap.C (getiso): add support for cyrillic and greek
12277 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12281 * BufferView_pimpl.h:
12282 * BufferView_pimpl.C: move bogus scrolling logic
12285 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12288 * BufferView_pimpl.C: view->resize() change
12290 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12292 * BufferView_pimpl.C: topCursorVisible
12295 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12299 * lyx_gui.C: move to frontends/
12303 * lyx_main.C: changes from above
12305 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12312 * lyx_main.C: minor tidy
12314 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12316 * BufferView_pimpl.h:
12317 * BufferView_pimpl.C:
12319 * BufferView.C: make painter() const,
12322 * BufferView2.C: use screen() accessor
12325 * lyx_main.C: some minor cleanup
12327 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12329 * BufferView_pimpl.h:
12330 * BufferView_pimpl.C: remove enter/leaveView,
12333 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12338 * BufferView_pimpl.h:
12339 * BufferView_pimpl.C: only construct screen once,
12342 * lyxrc.C: remove pointless comment
12344 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12347 * BufferView.C: remove active() and belowMouse()
12349 * BufferView_pimpl.h:
12350 * BufferView_pimpl.C: use workarea() not workarea_,
12351 and make it use a scoped_ptr instead
12353 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12355 * lyx_gui.C: add debug message on BadWindow
12357 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12359 * sp_spell.C: fdopen is not part of the C++ standard.
12361 * paragraph.C (InsetIterator): use >= instead of ==
12363 2002-06-07 Angus Leeming <leeming@lyx.org>
12365 Fixes needed to compile with Compaq cxx 6.5.
12366 * BufferView_pimpl.C:
12373 * lyxtextclasslist.C:
12378 all c-library variables have been moved into namespace std. Wrap
12379 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12384 Add a using std::abs declaration.
12386 * kbmap.h (modifier_pair):
12387 * paragraph.h (InsetTable, InsetList):
12388 * lyxfont.h (FontBits):
12389 type definition made public.
12391 * bufferlist.C (emergencyWriteAll): the compiler complains that
12392 there is more than one possible lyx::class_fun template to choose from.
12393 I re-named the void specialisation as lyx::void_class_fun.
12395 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12397 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12398 the compiler is is unable to find tostr in write_attribute.
12400 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12402 * buffer.C (sgmlError): hide #warning
12404 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12406 * xtl/*: get rid of xtl, which is not in use anyway
12408 * LyXAction.C (init):
12409 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12410 were unimplemented xtl experimentation
12412 2002-06-04 André Pönitz <poenitz@gmx.net>
12414 * lyxfunc.C: disable array operation on simple formulae
12416 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12418 * converter.C: constify a bit
12420 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12422 * lyx_gui.C: check xforms version correctly
12424 2002-04-30 Herbert Voss <voss@lyx.org>
12426 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12429 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12431 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12432 attempt to register it with a VCS)
12434 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12436 * lyx_main.C (init): honor variables LYX_DIR_13x and
12439 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12443 * lyx_main.C: fix a crash on bad command line,
12444 and give a useful exit status on error
12446 * lyxfunc.C (doImport): allow -i lyx to work
12448 2002-03-30 André Pönitz <poenitz@gmx.net>
12450 * lyxfunc.C: mathed font changes
12452 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12467 * trans_mgr.h: srcdocs, and some minor cleanups
12469 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12471 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12472 call getFont all the time)
12474 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12476 * switch from SigC signals to boost::signals
12478 2002-05-29 André Pönitz <poenitz@gmx.net>
12480 * paragraph_pimpl.C (getChar): don't call size() too often...
12482 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12484 * paragraph_pimpl.C (insertChar): do not try to update tables when
12485 appending (pos == size())
12487 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12488 in order to reduce drastically the number of comparisons needed to
12489 parse a large document
12491 2002-05-29 André Pönitz <poenitz@gmx.net>
12497 * textclasslist.[Ch]:
12498 * sp_ispell.h: whitespace change
12500 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12502 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12503 lyxaction directly now.
12505 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12509 * lyxvc.C: remove unused headers
12511 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12518 * undo_funcs.C: some cleanups. Use shared_ptr
12519 and a template for the undo stacks.
12521 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12523 * BufferView_pimpl.h:
12524 * BufferView_pimpl.C:
12531 * text2.C: use key_state/mouse_state
12533 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12535 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12538 * chset.C: change include order
12539 (loadFile): use boost regex and get rid of LRegex and LSubstring
12541 * Makefile.am (BOOST_LIBS): new variable
12542 (lyx_LDADD): use it
12544 * LaTeX.C: change include order.
12545 (scanAuxFile): use boost regex and get rid of LRegex and
12549 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12554 * FontInfo.C: moved to frontends/xforms/
12557 * FontLoader.C: moved into frontends for GUIIzation
12562 * lyxfunc.C: changes from above
12564 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12566 * LColor.C: remove spurious X include
12568 * BufferView_pimpl.C:
12573 * text2.C: move font metrics to frontends/
12575 2002-05-24 Juergen Vigna <jug@sad.it>
12577 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12578 setting the undo_cursor.
12580 * ParagraphParameters.h: include local includes first.
12582 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12584 * BufferView_pimpl.C:
12585 * BufferView_pimpl.h:
12589 * screen.C: move WorkArea into frontends/
12595 * BufferView2.C: move LyXScreen into frontends/
12599 * lyx_gui.C: move lyxlookup into frontends/xforms/
12601 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12604 * BufferView_pimpl.C:
12614 * bufferview_funcs.C:
12627 * vc-backend.C: move LyX/XFormsView into frontends/
12629 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12641 * text2.C: move Painter to frontends/
12643 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12645 * buffer.C: comment out some some code that depend upon lyx_format
12648 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12649 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12651 * buffer.h (NO_COMPABILITY): turn off compability
12653 * ColorHandler.C: include scoped_array.hpp
12655 * font.C: Use more specific smart_ptr header.
12658 * ShareContainer.h: ditto
12659 * lyx_main.h: ditto
12661 * FontInfo.h: ditto
12662 * BufferView_pimpl.h: ditto
12663 * ColorHandler.h: ditto
12665 * kbmap.C (defkey): change call to shared_ptr::reset
12667 2002-05-21 Juergen Vigna <jug@sad.it>
12669 * buffer.C (insertErtContents): fix to insert ert asis if it is
12670 non empty. Skip it completely if it contains only whitespaces.
12672 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12674 * BufferView_pimpl.C:
12675 * BufferView2.C: clear selection on paste (bug 393)
12677 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12679 * DepTable.C: include ctime
12681 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12683 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12685 2002-05-14 Juergen Vigna <jug@sad.it>
12687 * text.C (breakParagraph): fixed function to honor the keepempty
12688 layout in the right maner and also to permit the right breaking
12689 algorithm on empty or non empyt keepempty paragraphs.
12691 * paragraph.C (breakParagraph): we have to check also if the par
12692 is really empty (!size()) for isempty otherwise we do the wrong
12695 2002-05-10 Juergen Vigna <jug@sad.it>
12697 * buffer.[Ch] : The following are only changes to the ert
12698 compatibility read reading old LaTeX layout and font stuff and
12699 convert it to ERTInsets.
12701 * buffer.h: added isErtInset().
12703 * buffer.C (struct ErtComp): add a fromlayout bool to check
12704 if we're inside a LaTeX layout.
12705 (isErtInset): new helper function.
12706 (insertErtContents): look for other ert insets before this one
12707 and insert the contents there, so that we don't have subsequent
12708 ERT insets with nothing between them. This way we create only one
12709 inset with multiple paragraphs. Also check if we don't insert only
12710 spaces ' ' as they are ignored anyway afterwards in the .tex file
12711 so if we have only spaces we will ignore this latex part in the
12713 (parseSingleLyXformat2Token \\layout): better compatibility when
12714 reading layout-latex stuff.
12715 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12717 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12718 stuff after reading the inset only get the information back from
12721 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12723 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12725 * LaTeXFeatures.C (getBabelOptions): New method.
12727 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12729 * BufferView_pimpl.C (Dispatch): work around missing argument for
12732 2002-05-08 Juergen Vigna <jug@sad.it>
12734 * text.C (leftMargin): handle paragraph leftindent.
12736 * paragraph.C (writeFile): write the new \\leftindent tag.
12737 (validate): handle leftindent code.
12738 (TeXEnvironment): handle paragraphleftindent code again.
12740 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12742 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12743 for paragrap_extra indent code and new token \\leftindent.
12744 (latexParagraphs): handle the leftindent as environment.
12746 * ParameterStruct.h: added leftindent support.
12748 * ParagraphParameters.C (leftIndent): added support functions for
12749 the paragraph left indent.
12751 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12754 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12756 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12759 * text.C (computeBidiTables): No bidi in insetERT.
12761 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12764 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12766 * version.C.in: pre 5
12768 2002-05-02 José Matos <jamatos@fep.up.pt>
12769 * buffer.C (makeDocBookFile): white space changes, add newline to
12771 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12773 * tabular.C (docBook): fix typo.
12775 2002-05-03 Juergen Vigna <jug@sad.it>
12777 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12778 change in LyXText as we can not be sure it was not freed.
12779 (drawOneRow): remove unused code.
12781 * text.C (drawInset): redo the calculation of the need_break_row as
12782 it could have a row which was already freed.
12783 (draw): look at the return value of drawInset and return false if
12784 it also returned false.
12785 (paintRowText): look at the return value of draw and return false if
12786 it also returned false.
12788 * lyxtext.h: added bool return type to drawInset() and draw() so that
12789 if we have a change in the row so that the rowbreak has to be redone
12790 we abort drawing as it will be called again.
12792 2002-05-02 Juergen Vigna <jug@sad.it>
12794 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12795 a change in the maintext also if we're inside an inset.
12796 (Dispatch): set the cursor again after a break line and after the
12797 screen has been updated as it could be we're in a different row.
12799 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12800 to set the cursor behind the pargraph with > size().
12801 (setCursor): check also for the same paragraph when checking where
12802 to put the cursor if we have a NFR inset.
12804 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12805 parts of layout read further up as it still was in the wrong
12808 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12810 * screen.C (drawFromTo): change sine fullRebreak always return
12813 * buffer.C (parseSingleLyXformat2Token): reindent some
12815 * BufferView_pimpl.C (update): change since fullRebreak always
12817 (Dispatch): git rid of the last hardcoded "Standard"s.
12819 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12821 * text2.[Ch] (fullRebreak): make it return void now that we always
12824 2002-04-30 Juergen Vigna <jug@sad.it>
12826 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12827 ert compatibility check for "latex" layout.
12829 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12831 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12832 minipages: use col% instead of p%, and also use the current font.
12833 (makeLaTeXFile): Fix use babel condition.
12834 (parseSingleLyXformat2Token): Correct font when reading old floats.
12836 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12838 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12839 inserting list of floats.
12841 2002-04-25 Herbert Voss <voss@lyx.org>
12843 * MenuBackend.C (expand): don't add the graphics extensions to the
12846 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12848 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12849 non-existing layout, do not complain if it was the default layout
12850 of the original class (bug #342)
12852 2002-04-24 Juergen Vigna <jug@sad.it>
12854 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12855 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12857 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12859 * buffer.C (getBibkeyList): If using \bibliography, return the
12860 option field with the reference itself. Enables us to provide natbib
12861 support when using \bibliography.
12863 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12865 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12867 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12868 natbib is provided by the LaTeX class.
12870 2002-04-23 Juergen Vigna <jug@sad.it>
12872 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12875 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12877 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12879 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12881 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12882 ensuremath around textordmasculine, textordfeminine and
12885 2002-04-19 Juergen Vigna <jug@sad.it>
12887 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12888 reinitializing the buffer otherwise row-dimensions may be wrong.
12889 (update): reset also the selection cursors if they do exits otherwise
12890 their x/y positions may be wrong.
12892 * text2.C (cursorDown): don't enter the inset if we came from a row
12893 above and are one row over the inset.
12895 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12896 really leaving an inset.
12898 2002-04-18 Juergen Vigna <jug@sad.it>
12900 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12901 of the selected paragraph does not have the selected layout also if
12904 * text2.C (setLayout): fixed bug which did not change last selected
12907 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12908 changed the read and substituted \\end_float with \\end_inset!
12910 * BufferView_pimpl.C (cursorPrevious):
12911 (cursorNext): fixed to make it work with rows heigher than the work
12912 area without moving the cursor only the draw of the row.
12913 (workAreaMotionNotify): fix jumping over high rows.
12915 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12917 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12920 2002-04-16 Juergen Vigna <jug@sad.it>
12922 * text2.C (setCursor): set also the irow().
12923 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12925 (cursorDown): support for locking an inset if the x_fix value goes
12926 inside it. That way I can transverse insets too with cursor up/down.
12928 * lyxrow.h: added irow helper function same as other (i) functions.
12930 * BufferView_pimpl.C (cursorPrevious):
12931 (cursorNext): fixed for insets!
12933 2002-04-15 Juergen Vigna <jug@sad.it>
12935 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12936 position otherwise it is wrong in some cases.
12938 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12939 inside the inset before the call.
12941 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12943 * buffer.[Ch] (getBibkeyList): make it const.
12945 2002-04-12 Juergen Vigna <jug@sad.it>
12947 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12949 * text2.C (getCursorX): new helper function
12950 (setCursor): compute also ix_
12951 (setCursorFromCoordinates): set also ix.
12953 * lyxcursor.h: added ix_ and helper functions.
12955 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12957 * buffer.C (insertStringAsLines): dont break paragraph if the this
12958 paragraph is inside an inset which does not permit it!
12960 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12961 also with no chars on this paragraph.
12962 (paintRowText): only paint stuff if it's inside the workarea!
12964 * paragraph.C (breakParagraph): honor keepempty flag and break the
12965 paragraph always below not above.
12967 * BufferView2.C (unlockInset): update the paragraph layout on inset
12968 unlock as we changed paragraph in such a case.
12970 * lyxfind.C (LyXFind): clear the former selection if not found!
12972 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12973 again called in insertChar().
12975 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12976 an inset which uses the whole row!
12977 (rightMargin): ditto.
12978 (insertChar): force a rebreak if we inserted an inset!
12980 2002-03-28 Herbert Voss <voss@lyx.org>
12982 * lyxlength.[Ch]: add inBP() to get the right PS-point
12983 units (BigPoint). With inPixels we have rounding errors
12985 2002-04-11 Juergen Vigna <jug@sad.it>
12987 * text2.C (setCursorFromCoordinates): set iy to the right value.
12988 (setCursor): add check if row->previous exists!
12990 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12991 an old float_type as this was the case in the old code!
12993 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12995 * BufferView2.C (showLockedInsetCursor): use iy
12996 (fitLockedInsetCursor): ditto
12998 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12999 locked insets as there we have the right value now.
13001 * lyxcursor.C: added iy_ variable and iy functions to set to the
13002 baseline of cursor-y of the locked inset.
13004 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13005 (setCursor): fixed for insets which need a full row.
13007 * text.C (rowLastPrintable): don't ignore the last space when before
13008 an inset which needs a full row.
13009 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13010 as last character of a row when before a inset which needs a full row.
13012 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13014 * version.C.in: update date
13016 * text2.C (fullRebreak): try to always return true and see what
13019 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13021 * MenuBackend.C (expand): use Floating::listName
13023 * FloatList.C (FloatList): add listName argument to the built-in
13026 * Floating.[Ch]: add listName member, which is the 'List of XXX'
13027 text associated with the float.
13029 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13031 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13033 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13035 * ShareContainer.h: add a couple of missing typenames.
13037 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13039 * lyxrc.C (getDescription): use _() correctly rather than N_().
13041 2002-03-28 Herbert Voss <voss@lyx.org>
13043 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13044 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13046 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13048 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13049 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13051 2002-03-29 Juergen Vigna <jug@sad.it>
13053 * lyxfunc.C (dispatch): add a missing fitCursor call.
13055 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13056 it was scrolled by a cursor move, so return the bool status.
13058 * BufferView.C (fitCursor): return the bool flag also to the outside
13059 world as this is needed.
13061 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13063 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13064 call the edit() as it is not needed (and wrong) IMO.
13065 (workAreaButtonPress): set the screen_first variable before evt.
13066 unlock the inset as this may change screen_first and then we have
13067 a wrong y position for the click!
13069 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13071 * MenuBackend.C (expand): another translation that I missed
13073 2002-03-28 Juergen Vigna <jug@sad.it>
13075 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13077 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13079 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13081 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13083 * MenuBackend.C (expand): fix export/view/update when there is no
13086 2002-03-27 Herbert Voss <voss@lyx.org>
13088 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13091 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13093 * bufferview_funcs.C (currentState): only show paragraph number
13094 for is DEVEL_VERSION is set.
13096 * lyxfunc.C (dispatch): put warning in INFO channel
13098 * MenuBackend.C (expand): translate the name of floats
13100 * FloatList.C (FloatList): mark the float names for translation
13102 * converter.C (convert): use LibScriptSearch
13104 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13106 * MenuBackend.C (defaults): fix default menu (we might as well get
13109 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13111 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13114 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13116 * lyxvc.C: reorder includes.
13118 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13120 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13123 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13125 * CutAndPaste.C: change layouts earlier on paste
13126 to avoid crashing when calling getFont()
13128 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13130 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13133 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13135 * WorkArea.C: remove 'Pending' debug message.
13137 * most files: ws cleanup
13139 * buffer.[Ch]: ws changes
13141 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13143 2002-03-21 Juergen Vigna <jug@sad.it>
13145 * tabular.C (SetMultiColumn): collapse also the contents of the
13146 cells and set the last border right. Added a Buffer const * param.
13148 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13150 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13153 2002-03-19 Juergen Vigna <jug@sad.it>
13155 * text2.C (clearSelection): reset also xsel_cache.
13157 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13158 where it needs to be called (John tells us to do so too :)
13159 (selectionLost): reset sel_cache.
13161 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13163 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13165 * text2.C (setCursorIntern): put debuging code in INSETS channel
13167 2002-03-19 André Pönitz <poenitz@gmx.net>
13169 * lyxfunc.C: tiny whitespace change
13171 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13173 * ToolbarDefaults.C (init):
13174 * LyXAction.C (init):
13176 * BufferView_pimpl.C (Dispatch):
13177 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13179 2002-03-19 Allan Rae <rae@lyx.org>
13181 * exporter.C (Export): removeAutoInsets before doing anything else.
13182 While I've just introduced a dependency on BufferView this really is
13183 the best place to clean the buffer otherwise you need to cleanup in
13184 a dozen places before calling export or cleanup in a dozen functions
13187 * converter.C (runLaTeX):
13188 (scanLog): Better handling of removeAutoInsets and screen updates.
13190 * lyxfunc.C (dispatch): small whitespace changes
13192 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13194 * WorkArea.C (C_WorkAreaEvent): return a value.
13195 (event_cb): return 1 if we handled the event, 0 otherwise.
13197 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13199 2002-03-18 Juergen Vigna <jug@sad.it>
13201 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13202 (GetAdditionalWidth): ditto.
13203 (RightLine): ditto.
13206 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13207 inset if we're there actually (probably not used right now but this
13208 is the direction to go for unifying code).
13209 (paste): disable code to clear the selection.
13211 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13212 inside an InsetText and move the check further up as it is in the
13215 * text2.C (pasteSelection): set a selection over the pasted text.
13217 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13219 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13220 and libgraphics to build on Cygwin.
13222 2002-03-15 Juergen Vigna <jug@sad.it>
13224 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13225 inserting an Inset into the paragraph. I know this is not the best
13226 fix but we already use current_view in CutAndPaste so we will remove
13227 all of it's using at the same time.
13229 * buffer.C (sgmlError): deactivated function till it is rewritten in
13230 the right mode, now it can create problems.
13232 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13233 before accessing it.
13235 2002-03-14 Juergen Vigna <jug@sad.it>
13237 * undo_funcs.C (textHandleUndo): do the right thing when updating
13238 the inset after the undo/redo.
13240 * text2.C (setCursor): just some testcode for #44 not ready yet.
13242 * undo_funcs.C (textHandleUndo): set the next() and previous()
13243 pointers of the paragraph to 0 before deleting otherwise we have
13244 problems with the Paragraph::[destructor].
13246 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13247 on a paragraph insertion.
13249 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13251 * buffer.C (asciiParagraph): use += operator for char append to
13254 * paragraph.C (getFontSettings): compare >= not just >
13255 (highestFontInRange): ditto
13258 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13260 * paragraph.C: change several algorithm to be more appripriate for
13261 the problem domain. This is lookip in FontList and in the InsetList.
13263 2002-03-13 André Pönitz <poenitz@gmx.net>
13266 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13268 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13273 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13275 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13277 * Painter.C (display): anon helper function, adjust code for this
13279 (pixmap): remove function.
13281 * Painter.h: remove private display variable.
13283 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13285 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13287 * WorkArea.[Ch]: remove figinset_canvas cruft.
13289 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13291 * lyxtextclass.C (operator): add one item cache optimization.
13293 * bufferlist.h: doxy changes
13295 * bufferlist.C: ws changes
13297 * DepTable.[Ch] (ext_exist): place const in the right spot.
13299 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13301 (workAreaExpose): call resizeInsets when the with BufferView changes.
13302 (Dispatch): adjust for protectedBlank removal
13303 (specialChar): call updateInset if the insert went ok.
13305 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13306 specialChar instead.
13308 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13310 * BufferView.h: doxy change
13312 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13314 * lyxtextclass.C (operator[]): remove non-const version
13315 (defaultLayout): remove non-const version
13317 2002-03-12 Juergen Vigna <jug@sad.it>
13319 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13320 did resize the LyXText too.
13322 * buffer.C (readLyXformat2): set layout information on newly allocated
13325 * tabular.C (OldFormatRead): set layout information on the paragraph.
13327 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13329 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13331 2002-03-11 Juergen Vigna <jug@sad.it>
13333 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13335 (resizeCurrentBuffer): force also the insets to resize themselfes.
13336 (moveCursorUpdate): fixed up for InsetText.
13338 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13341 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13342 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13343 value of Dialogs::tooltipsEnabled().
13344 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13346 2002-03-08 Juergen Vigna <jug@sad.it>
13348 * BufferView_pimpl.C (updateInset): update inset inside inset also
13349 if it isn't inside theLockingInset().
13351 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13353 * buffer.C (asciiParagraph): redo some of the word and line length
13355 (getLists): look for Caption instead of caption.
13357 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13359 * buffer.C (Buffer): initialize niceFile to true
13361 (makeLinuxDocFile):
13362 (makeDocBookFile): make sure niceFile is true on exit
13364 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13366 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13368 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13370 * LyXSendto.C: remove.
13371 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13372 * lyx_gui.C: remove now-redundant comment.
13373 * ColorHandler.h: remove forward declaration of class WorkArea.
13374 * lyxfunc.C: remove #include "WorkArea.h".
13376 2002-03-07 Juergen Vigna <jug@sad.it>
13378 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13379 got moved away with the DEPM and also set the inset_owner always
13380 right which before could have been omitted.
13382 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13384 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13385 wanted layout is not found.
13387 2002-03-07 Juergen Vigna <jug@sad.it>
13389 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13391 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13393 * paragraph.C (breakParagraph): use default layout not layout of
13395 (Paragraph): clear ParagraphParameters.
13397 2002-03-06 Juergen Vigna <jug@sad.it>
13399 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13400 otherwise it would not be a valid lenght. Fixed a special case in
13401 the minipage compatibility read where we end the document with a
13404 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13405 was set as it could be 0 for InsetTexts first entry.
13407 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13409 * paragraph.C (writeFile): if layout is empty write out
13410 defaultLayoutName().
13412 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13413 file without named layout we set layout to defaultLayoutName().
13415 2002-03-06 Juergen Vigna <jug@sad.it>
13417 * CutAndPaste.C (copySelection): set layout for new paragraph.
13419 * text.C (prepareToPrint): leave ERT inset left aligned
13420 (leftMargin): don't indent paragraphs inside ERT insets
13422 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13424 * paragraph.C (breakParagraph): dont call clear do the work manually
13426 * paragraph.[Ch] (clear): remove function
13428 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13430 * paragraph.C (Paragraph): dont call clear, the work has already
13433 * lyxtextclass.C (operator): assert if n is empty
13435 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13436 work manually instead.
13438 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13440 * BufferView_pimpl.C: protect selectionLost against text == 0
13442 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13444 * text.C (breakParagraph): fix a setting layout to '0' problem.
13446 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13448 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13449 final location of file, for the included files, and graphics.
13451 2002-03-05 Juergen Vigna <jug@sad.it>
13453 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13455 2002-03-04 Juergen Vigna <jug@sad.it>
13457 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13459 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13460 last column of multicolumn cells.
13461 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13463 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13465 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13466 file if it doesn't go to a temporary file.
13468 * buffer.C (sgmlOpenTag):
13469 (sgmlCloseTag): remove extra newline insertion.
13471 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13473 * text.C (getRowNearY): comment out debug msg
13475 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13477 * text2.C: first -> first_y
13479 * text.C (getRowNearY): add some attemts at a possible
13480 optimization, not working.
13482 * tabular.[Ch]: add BufferParams to several function so that newly
13483 created paragraph can be initialized to he default layotu for the
13486 * tabular-old.C (ReadOld): add buf->params to call of Init
13488 * screen.C: rename text->first to text->first_y
13490 * paragraph.C (breakParagraph): always set layout in the broken
13493 * lyxtextclass.C (Read): remove lowercase
13496 (delete_layout): ditto
13498 * lyxtext.h: rename first -> first_y
13500 * lyxlayout.C (Read): remove lowercase
13503 (obsoleted_by): ditto
13505 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13507 * buffer.C (insertErtContents): add params are to InsetERT
13508 (parseSingleLyXformat2Token): add code to check if a paragraphs
13509 layout really exist.
13510 (parseSingleLyXformat2Token): add params to several inset
13512 (asciiParagraph): remove lowercase, do the layout comparisons with
13515 * BufferView_pimpl.C (cursorNext): first -> first_y
13516 (resizeCurrentBuffer): first -> first_y
13517 (updateScrollbar): first -> first_y
13518 (scrollCB): first -> first_y
13519 (workAreaMotionNotify): first -> first_y
13520 (workAreaButtonPress): first -> first_y
13521 (checkInsetHit): first -> first_y
13522 (cursorPrevious): first -> first_y
13523 (cursorNext): first -> first_y
13524 (Dispatch): add buffer_->params to severl inset contructors
13526 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13528 * lyxlayout.C (Read): remove some debug info that I forgot.
13530 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13531 clean up the code slightly.
13532 (makeLinuxDocFile): ditto
13533 (makeDocBookFile): ditto
13535 * text2.C: layout as string
13537 * text.C: layout as string
13539 * paragraph_pimpl.C: layout as string
13541 * paragraph.[Ch]: layout as string
13543 * lyxtextclasslist.[Ch]: layout as string
13545 * lyxtextclass.[Ch]: layout as string
13547 * lyxtext.h: layout as string
13549 * lyxlayout.[Ch]: layout as string
13551 * lyx_cb.C: layout as string
13553 * bufferview_funcs.C: layout as string
13555 * bufferparams.C: layout as string
13557 * buffer.C: layout as string
13559 * LyXView.[Ch]: layout as string
13561 * LaTeXFeatures.[Ch]: layout as string
13563 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13565 * BufferView_pimpl.C: change current_layout to string, remove
13570 (workAreaButtonRelease): layout as string
13572 * BufferView2.C (unlockInset): adjust
13574 * vspace.C (asLatexCommand): use an explict temp variable.
13576 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13578 * Makefile.am: use FRONTEND_*
13580 2002-03-01 Juergen Vigna <jug@sad.it>
13582 * tabular.C (SetWidthOfMulticolCell): changed to something better
13583 I hope but still work in progress.
13584 (recalculateMulticolumnsOfColumn): renamed function from
13585 recalculateMulticolCells as it is more appropriate now.
13586 (SetWidthOfCell): calculate multicols better.
13588 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13590 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13592 * lyxfunc.C (processKeySym): print sequence also if it is
13593 `deleted' (complete)
13595 * kbsequence.C (print): print sequence even if it is deleted
13596 (complete would be a better word, actually).
13598 * lyxfunc.C (dispatch): print complete options after a prefix key
13600 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13602 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13604 * text2.C (setCharFont): eliminate setCharFont code duplication.
13606 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13608 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13609 LFUN_TABULAR_FEATURE (bug #177)
13611 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13613 * Makefile.am: remove figure.h
13615 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13617 * Bufferview_pimpl.C:
13629 * text2.C: remove #include "lyx_gui_misc.h".
13631 * LaTeX.C: added #include <cstdio>
13633 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13635 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13636 that the paragraph following this one can have.
13638 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13640 * vspace.C (asLatexCommand): fix bogus gcc warning
13642 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13644 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13646 * text2.C (setLayout): get rid of redundant code
13648 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13650 * text2.C (incDepth): make sure depth cannot be increased beyond
13653 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13655 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13656 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13658 * PainterBase.h (image):
13659 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13660 a LyXImage const *.
13662 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13666 * BufferView_pimpl.C:
13667 * BufferView_pimpl.h:
13687 * sp_spell.C: remove fig inset, and the crap house of
13688 cards that follows it
13690 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13695 * os2_errortable.h:
13696 * nt_defines.h: move .h into support/
13698 * vms_defines.h: remove
13700 * WorkArea.C: add space in debug output
13704 * buffer.C: add WITH_WARNINGS
13708 * bufferlist.C: s/retrive/retrieve/, add docs
13717 * chset.C: add docs
13719 * lyxgui.C: add ID to X error handler
13721 * lyxtestclass.c: fix typo
13723 2002-02-26 Juergen Vigna <jug@sad.it>
13725 * tabular_funcs.C (write_attribute): changed so that some default
13726 attributes are not written at all.
13727 (getTokenValue): set default values before trying to read the
13728 value so we have the return value always set as default if we don't
13729 find the token we search for.
13731 * tabular.C (Write): write bools as bools not as strings!
13733 2002-02-22 Juergen Vigna <jug@sad.it>
13735 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13736 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13738 * text.C (leftMargin): don't add an indent for paragraphs inside
13739 tabular cells (fix #208).
13741 2002-02-21 José Matos <jamatos@fep.up.pt>
13743 * tabular.C (docBook): fixed support for long tables.
13745 2002-02-20 Juergen Vigna <jug@sad.it>
13747 * text2.C (getFont): get the drawing font of the Inset if this
13748 paragraph is inside an inset (only important for InsetERT for now).
13750 * buffer.C (insertErtContents): use new lanugage params in ERT
13753 * CutAndPaste.C: commenting out seemingly uneeded code.
13755 2002-02-19 Allan Rae <rae@lyx.org>
13757 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13758 Iterators might be simple to use but they also get invalidated.
13759 (removeAutoInsets): renamed saved cursor tracking variables and added
13760 some comments to clarify what everything does.
13762 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13769 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13770 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13773 * vc-backend.h: remove #include "support/syscall.h"
13777 * converter.C: rearrange #includes in Lars' approved fashion.
13779 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13780 forward declare class Timeout in the header file.
13782 * XFormsView.C: changes due to the above.
13784 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13785 similar to LyXView.
13787 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13788 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13790 2002-02-18 José Matos <jamatos@fep.up.pt>
13792 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13795 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13797 * a lot of small ws changes
13798 * add a lot of using std::XXX
13799 * use std construcs some places where approp.
13800 * use some exisint stuff from lyxfunctional where approp.
13801 * Make file changes to use partial linking (lets test this now...)
13803 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13807 remove #include "support/syscontr.h" as it's redundant. Always has been.
13815 change Systemcalls::System to Systemcalls::Wait and
13816 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13817 No change of functionality, just reflects the stripped down Systemcalls
13820 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13822 * debug.[Ch]: add a GRAPHICS type to the enum.
13824 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13826 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13828 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13831 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13833 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13834 match the changes below.
13836 * text2.C (toggleInset): if there is not editable inset at cursor
13837 position, try to see if cursor is _inside_ a collapsable inset
13840 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13842 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13843 document menu has a nice checkbox
13845 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13847 * lyxlength.C (asLatexString): change PW to output as percent of
13850 * lengthcommon.C: change '%' to 't%'
13852 * lyxfunc.C (dispatch): a few comments from Martin
13854 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13858 * BufferView_pimpl.h:
13859 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13862 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13864 * vspace.C (inPixels): fix compiler warning
13866 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13868 * lyxfunc.C (getStatus): fix status message for disabled commands.
13870 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13872 * BufferView_pimpl.C: fix crash on close buffer
13873 during selection (#227)
13875 2002-01-27 Herbert Voss <voss@lyx.org>
13877 * buffer.C: link old Figure to new graphic inset
13879 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13881 * FontLoader.C (getFontinfo): Change the latex font names in order
13882 to match the names of type1inst.
13884 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13886 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13888 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13889 (extchanged): ditto
13891 (remove_files_with_extension): ditto
13892 (remove_file): ditto
13895 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13896 document is smaller than the work area height. Do not initialize
13897 static variables to 0.
13899 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13901 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13903 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13904 LFUN_LAYOUT_PARAGRAPHS.
13906 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13907 tabular. It is possible to provide a possible cell, which will
13908 typically be the actcell from the corresponding insettabular
13910 * lyxfunc.C (getStatus): small cleanup; disable
13911 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13914 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13916 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13918 * paragraph.C (startTeXParParams):
13919 (endTeXParParams): new methods. The LaTeX code to
13920 start/end paragraph formatting
13921 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13922 empty (fixes bug #200)
13924 * vspace.C (inPixels): adapt to the change below
13925 (inPixels): [later] more cleanups (remove unused variables)
13927 * lyxlength.C (inPixels): change to use a width and a height as
13930 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13932 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13933 Replaced with \paperwidth
13935 * DepTable.C (insert): add std:: qualifier
13937 2002-01-18 Allan Rae <rae@lyx.org>
13939 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13942 * text.C (drawInset): Turned out I didn't know enough about how
13943 rebreaking worked. This fixes most of the redraw problems. I see
13944 an occasional cursor trail when a line is broken now and the cursor
13945 placement can seem out by a few pixels also after a rebreak.
13947 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13949 * buffer.C (parseSingleLyXformat2Token): update because minipage
13950 width is now a LyXLength
13952 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13954 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13957 2002-01-17 Juergen Vigna <jug@sad.it>
13959 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13961 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13962 is set correctly and the inset is updated correctly.
13964 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13966 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13967 the beginning of the loop.
13969 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13971 * lyxrc.C: improve help for use_scalable_fonts
13973 2002-01-17 Allan Rae <rae@lyx.org>
13975 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13977 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13979 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13980 make sure to set their inset_owner to the right value (bug #171)
13982 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13985 * DepTable.C: Implement mtime checking to reduce time spent doing
13988 2002-01-16 Juergen Vigna <jug@sad.it>
13990 * tabular.C (GetAdditionalHeight): one of error fixed.
13992 * lyxrc.C (output): small fix in writing use_pspell.
13994 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13996 * sp_base.h: #include LString.h
13998 2002-01-16 Allan Rae <rae@lyx.org>
14000 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
14001 Can someone check this please?
14003 * text.C (drawInset): It was possible that p.row would be removed by
14004 breakAgainOneRow upsetting a few other settings. There may be another
14005 small tweak possible by setting need_break_row = 0 when p.row has been
14006 removed but I don't know enough about the logic here.
14008 2002-01-15 Allan Rae <rae@lyx.org>
14010 * text.C (insertChar): removed conditional truism.
14012 * BufferView2.C (removeAutoInsets): More tweaks.
14013 cur_par_prev could be a stray pointer. Check for trailing empty line
14014 in case last line was cur_par and only had an error inset on it.
14016 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14018 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14021 * vc-backend.C (most methods):
14022 * exporter.C (Export):
14023 * converter.C (convert):
14025 * LyXSendto.C (SendtoApplyCB):
14026 * lyxfunc.C (dispatch):
14030 * lyx_cb.C (AutoSave):
14032 * BufferView_pimpl.C (MenuInsertLyXFile):
14033 * buffer.C (runChktex): use Buffer::filePath().
14035 * buffer.h: rename filename to filename_; rename filepath to
14036 filepath_ and make it private
14037 (filePath): new method
14039 * buffer.C (writeFile): use fileName()
14042 * lyx_main.C (init): fix starting of LyX when the binary is a
14043 link from so,ewhere else.
14045 * minibuffer.C: include <cctype> for isprint
14047 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14049 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14050 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14051 name clash with InsetCollapsable's width function.
14053 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14055 * lastfiles.C: include <iterator>
14057 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14059 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14062 * buffer.C (makeLaTeXFile): ditto.
14063 Also make loop operation more transparent.
14065 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14067 * ToolbarDefaults.C: remove trailing comma closing namespace.
14069 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14071 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14074 * trans.C (Load): comment out unused variable, allowed.
14076 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14078 * minibuffer.[Ch] (append_char): new method to recieve input from the
14079 drop-down completion browser. If a key was pressed, then recieve this
14080 char and append it to the existing string.
14081 (peek_event): modify the positioning data passed to the completion
14082 browser so that it can be placed above the minibuffer rather than below.
14083 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14085 * LyXAction.C (init): alloe error-next for readonly documents.
14087 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14090 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14092 * bufferlist.C (readFile): create the buffer _after_ checking that
14095 * lyxfunc.C (verboseDispatch): fix handling of arguments
14097 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14099 * lyxrc.C: use string::erase() instead of initializing to "".
14102 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14104 * BufferView_pimpl.h:
14105 * BufferView_pimpl.C:
14108 * text2.C: tell X when we have made a selection for copying
14110 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14112 * BufferView_pimpl.C (MenuInsertLyXFile):
14113 * lyxfunc.C (menuNew):
14115 (doImport): add shortcuts to directory buttons
14117 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14120 * lyxfunc.C (setStatusMessage):
14121 (getStatusMessage): new methods
14122 (getStatus):use setStatusMessage instead of setErrorMessage
14123 (dispatch): when function is disabled, set error message here
14124 [instead of in getStatus previously]
14126 * BufferView_pimpl.C (workAreaButtonRelease): update
14127 toolbar/menubar here too.
14129 2002-01-13 Allan Rae <rae@lyx.org>
14131 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14132 Now seems indestructible. Remaining task is to audit all other
14133 code affected by deleteEmptyParagraphMechanism. One small quirk
14134 left is that an empty document with an error in the preamble can
14135 be made to report an error but no error box appears. I don't know
14137 (removeAutoInsets): Improved comments.
14139 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14142 * Thesaurus.C: update for Aiksaurus 0.14
14144 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14146 * text2.C (firstParagraph): removed member function, all uses
14147 replaces with ownerParagraph
14148 (redoParagraphs): here
14149 (updateInset): here
14150 (toggleAppendix): here
14151 * BufferView2.C (insertErrors): here
14152 (setCursorFromRow): here
14154 2002-01-13 Allan Rae <rae@lyx.org>
14156 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14157 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14158 There is still a way to segfault this although you may have to do this
14159 multiple times: Have an InsetERT with an unknown command in it.
14160 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14161 <down-arrow>, <Enter> again, View->DVI, BANG!
14163 * text2.C (setCursor):
14164 (deleteEmptyParagraphMechanism):
14165 * lyxtext.h (setCursor):
14166 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14167 Making use of the return value may help fix other bugs.
14169 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14171 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14173 * LyXView.C (updateMenubar): call MenuBar::update here
14174 (updateToolbar): but not here
14175 (showState): do not update toolbar/menubar
14177 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14178 should need to care about that.
14180 * lyxfunc.C (verboseDispatch): simplify a bit
14181 (getStatus): have a version which takes a pseudoaction, and
14182 another which requires a (kb_action,string).
14184 * LyXAction.C (retrieveActionArg): make it work also when action
14185 is not a pseudo-action.
14186 (getActionName): simplify a bit
14189 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14191 * lyxfunc.C (verboseDispatch): new families of methods with
14192 several ways to specify a command and a bool to indicate whether
14193 the command name and shortcut should be displayed in minibuffer
14194 (eventually, we could extend that to a finer bitmask like
14195 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14196 (dispatch): the pristine dispatch command which just, well,
14197 dispatchs! Note it still sets its result to minibuffer; I'm not
14200 * lyxfunc.h: remove setHintMessage
14202 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14204 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14206 * BufferView_pimpl.C (specialChar): delete new inset if we have
14207 not been able to insert it.
14209 * kbmap.C: revert to using int instead of kb_action, since all we
14210 are dealing with is pseudo-actions.
14212 * LyXAction.C (searchActionArg): change to return int instead of
14213 kb_action, since the result is a pseudoaction.
14215 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14217 * buffer.C (insertErtContents): Fix (partially) the font bug.
14219 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14221 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14222 as the other one is broken on my machine!
14224 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14227 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14229 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14231 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14232 reflect their actual use. Provide compatibility code for older lyxrc
14235 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14237 change names of popup font variables in line with the changes to lyxrc.C
14239 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14241 * buffer.C (asciiParagraph): avoid outputing a word twice after
14244 * lyxrc.C (getDescription): document that document_path and
14245 template_path can be empty.
14247 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14249 * LaTeXFeatures.C (getMacros):
14250 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14252 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14254 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14256 (getPackages): rename feature "floats" to "float". Use an array to
14257 iterate over 'simple' features (i.e. just a \usepackage). Add
14258 handling of "amsmath" (renamed from "amsstyle").
14260 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14262 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14265 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14267 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14268 FuncStaus::FuncStatus & FuncStaus::some_method().
14270 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14272 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14273 of the func_satus stuff. Edited and massaged in various ways by
14276 * lyxfunc.C (getStatus): use FuncStatus
14278 2002-01-08 Juergen Vigna <jug@sad.it>
14280 * text.C (nextBreakPoint): use function Inset::isChar().
14282 * paragraph.C (TeXOnePar): use function
14283 Inset::forceDefaultParagraphs.
14285 * buffer.C (latexParagraphs): use function
14286 Inset::forceDefaultParagraphs.
14288 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14290 * lyx_gui.C (init): set the style of the menu popups to
14291 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14293 2002-01-07 Juergen Vigna <jug@sad.it>
14295 * text.C (setHeightOfRow): small fix
14296 (prepareToPrint): don't look at alignment if we don't have the place
14299 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14301 * box.C: New file. Move the Box methods and functions out of box.h,
14302 following Lars' suggestion.
14304 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14306 * box.h: #include "support/LOstream.h", needed for inlined function.
14309 * lyxtextclasslist.C: added some using std declarations.
14311 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14313 * box.h: make signed dimensions to allow insets wider than
14314 the screen (bug #162)
14316 * BufferView_pimpl.C: add some insetHit debug
14318 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14320 * vc-backend.C: add FIXME
14322 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14324 * lyxfunc.C (getStatus): enable code for showing math font status
14327 2002-01-07 Juergen Vigna <jug@sad.it>
14329 * text.C (nextBreakPoint): removed debug output not needed anymore.
14331 2002-01-06 Juergen Vigna <jug@sad.it>
14333 * text.C (nextBreakPoint): fixed up this function we had this bug
14334 since ever but now hopefully we break row better.
14335 (insertChar): we have to check if an inset is the next char as it
14336 could now happen that a large inset is causing a break.
14338 2002-01-05 Juergen Vigna <jug@sad.it>
14340 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14341 if it doesn't like to be drawed.
14343 2002-01-04 Juergen Vigna <jug@sad.it>
14345 * BufferView2.C (lockInset): forgot to set a cursor.
14347 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14349 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14351 * FormMathsPanel.C:
14354 * form_maths_panel.C:
14355 * form_maths_panel.h:
14356 * form_maths_panel.fd: implemented sub- and super- buttons in math
14359 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14360 (or ^ space) to be used as in TeX (req'd by Andr�.
14362 * lyxfunc.C: Allow ^ and _ again to be used both as
14363 super/subscript (mathed) and as themselves (in text).
14365 2002-01-03 Allan Rae <rae@lyx.org>
14367 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14368 "LyX" or the filename of the current buffer if it has one. This is a
14369 modified form of John Levon's patch.
14371 * XFormsView.C (setWindowTitle): also set icon title.
14373 * LyXView.h (setWindowTitle): signature changed.
14374 * XFormsView.h (setWindowTitle): ditto.
14376 2002-01-02 Juergen Vigna <jug@sad.it>
14378 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14380 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14382 * screen.C (topCursorVisible): introduce a temp var for
14383 text->cursor.row(), handle the case where this row is null. (kindo
14386 * text2.C (setCursor): add a couple of asserts.
14388 * paragraph.h (inset_iterator): add -> operator
14390 * paragraph.[Ch] (autoDeleteInsets): remove member function
14392 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14393 cursor pos correctly and handle inset deletion by itself.
14394 (insertErrors): move iterator declaration out of for expression
14396 * lyxtextclass.C: add <algorithm>
14398 * Makefile.am: added the new files to sources, removed layout.C
14400 * layout.C: removed file
14402 * layout.h: remove LYX_DUMMY_LAYOUT
14404 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14408 * lyxtextclass.[Ch]:
14409 * lyxtextclasslist.[Ch]: new files
14411 * include order changes to a lot of files, also changes because of
14414 2001-12-27 Juergen Vigna <jug@sad.it>
14416 * buffer.C (asciiParagraph): more fixes.
14418 * tabular.C (ascii): make ascii export support export of only the
14419 data separated by a column-delimiter.
14420 (ascii): better support for ascii export.
14422 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14424 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14426 * tabular_funcs.C: use a "using std::getline" instead of the
14427 previous fix from Angus (necessary for cxx + lyxstring)
14429 2001-12-24 Juergen Vigna <jug@sad.it>
14431 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14433 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14434 problems. First check a minipage also if we have some ert-contents
14435 (not only on par->size(), second set the right depth of the paragraph
14436 on the relink to the root-paragraph-list!
14438 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14439 which then did not anymore update the main paragraphs on undo/redo!
14441 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14443 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14444 code. Support all font-changing funcs (even those which are not in
14445 menu currently). Support for reporting font settings in
14446 mathed (disabled until Andre provides a function on mathed's side).
14448 * func_status.h (toggle): small helper function to set toggle
14451 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14453 * tabular_funcs.C: getline -> std::getline
14455 2001-12-21 Juergen Vigna <jug@sad.it>
14457 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14458 accessed and could be 0 (I couldn't generate this but it seems
14461 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14463 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14464 * tabular_funcs.h: here and include iosfwd
14466 2001-12-20 Juergen Vigna <jug@sad.it>
14468 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14469 inside inset but undo_par was.
14471 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14473 * Thesaurus.C: always include <config.h> in sources.
14477 * box.h: do not include <config.h> in header files
14479 * text.C (paintLastRow): remove unused variable
14481 * text.C (transformChar):
14483 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14485 * Painter.C (text):
14486 * font.C (width): rewrite to use uppercase() instead of
14489 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14491 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14493 * lyxfind.C: clean up of find failure position change
14495 2001-12-20 Juergen Vigna <jug@sad.it>
14497 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14499 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14500 (TeXRow): added to LaTeX a single tabular row.
14501 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14502 (Latex): simplified and finally good LT-h/f support.
14503 (various_functions): just small adaptions for LT-h/f support.
14505 * tabular_funcs.[hC]: added and moved here all not classfunctions
14508 2001-12-19 Juergen Vigna <jug@sad.it>
14510 * tabular.[Ch]: better support for longtabular options (not finished
14513 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14515 * text.C (paintLastRow): use the label font instead of the font of
14516 the last character to compute the size of *_BOX. This makes more
14517 sense and avoids a crash with empty paragraphs.
14518 Use Painter::rectangle to draw EMPTY_BOX.
14520 2001-12-19 Juergen Vigna <jug@sad.it>
14522 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14523 the paragraphs if the replaced paragraph is not the first one!
14524 Tried to delete not used paragraphs but does not work yet so for
14525 now it's inside #ifdef's and by default off!
14527 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14529 * MenuBackend.C: include "lyx_main.h" instead of declaring
14530 lastfiles (actually was declared as LastFiles* instead of a
14533 2001-12-17 Juergen Vigna <jug@sad.it>
14535 * tabular.C (AppendColumn): applied John's fix
14537 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14541 * BufferView_pimpl.h:
14542 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14545 * box.h: new start of class for above
14547 * lyxfunc.C: ignore space-only minibuffer dispatches.
14548 Show the command name when it doesn't exist
14550 * minibuffer.C: don't add empty lines to the history
14552 * minibuffer.C: add a space on dropdown completion
14554 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14556 * text.C: fix line above/below drawing in insets
14558 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14560 * lyxlength.C (LyXLength): Initialize private variables.
14562 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14564 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14565 when inserting error insets.
14567 2001-12-13 Juergen Vigna <jug@sad.it>
14569 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14570 actually sometimes the before-paragraph.
14571 (setUndo): don't clear the redostack if we're not actually undoing!
14573 2001-12-06 Juergen Vigna <jug@sad.it>
14575 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14576 and fixed redoing of main paragraph, so we can use it now ;)
14578 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14580 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14582 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14585 2001-12-13 André Pönitz <poenitz@gmx.net>
14588 * undo_func.C: minor cleanup
14590 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14592 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14593 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14594 font in urw-fonts package which is marked as -urw-fontspecific and
14595 does not work (incidentally, changing the encoding in the
14596 fonts.dir of this package to -adobe-fontspecific fixes the
14599 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14600 is a crash when undoing first paragraph (Juergen, please take a
14601 look). THis does not mean the undo fix is wrong, just that it
14604 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14605 the (Paragraph*) version when needed instead of duplicating the
14608 * text.C (workWidth): use Inset::parOwner to find out where the
14609 inset has been inserted. This is a huge performance gain for large
14610 documents with lots of insets. If Inset::parOwner is not set, fall
14611 back on the brute force method
14613 * paragraph_pimpl.C (insertInset):
14614 * paragraph.C (Paragraph):
14615 (cutIntoMinibuffer): set parOwner of insets when
14616 inserting/removing them
14618 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14620 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14626 * mathed/formulabase.C:
14627 * mathed/math_cursor.[Ch]:
14628 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14631 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14633 * lyxlength.[Ch] (operator!=): new function
14635 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14637 * text.C (workWidth): use Inset::parOwner to find out where the
14638 inset has been inserted. This is a huge performance gain for large
14639 documents with lots of insets. If Inset::parOwner is not set, fall
14640 back on the brute force method
14642 * paragraph_pimpl.C (insertInset):
14643 * paragraph.C (Paragraph):
14644 (cutIntoMinibuffer): set parOwner of insets when
14645 inserting/removing them
14647 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14649 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14651 * tabular-old.C (getTokenValue):
14652 * tabular.C (getTokenValue):
14653 (write_attribute): new versions for LyXLength
14654 (everywhere): adjust the use of widths
14656 * tabular.h: change the type of widths from string to LyXLength
14658 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14660 * paragraph.C: fixed missing line number count when exporting
14661 Environments to LaTeX file
14663 * buffer.C: added informational message for checking line numbers.
14665 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14667 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14668 paragraph, do the 'double space' part, but not the 'empty
14671 * text.C (workWidth): small optimization
14672 (getLengthMarkerHeight): use minimal size for negative lengths.
14674 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14676 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14678 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14680 2001-12-11 André Pönitz <poenitz@gmx.net>
14683 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14685 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14687 * text2.C: keep selection on a setFont()
14689 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14691 * lyx_cb.C: another bv->text misuse, from insert label
14693 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14696 * kbsequence.C: re-instate nmodifier mask
14698 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14700 * lyx_main.h: make lyxGUI private.
14702 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14704 * lyxfind.C: place the cursor correctly on failed search
14706 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14708 * text.C (getLengthMarkerHeight): for small heights, the arrows
14709 are not always on top/bottom of the text
14710 (drawLengthMarker): smaller arrows; take the left margin in
14711 account; draw also vfills.
14713 (paintLastRow): remove special code for vfill and standard spaces,
14714 since everything is handled in drawLengthMarker now.
14716 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14718 * buffer.C (insertErtContents): try to handle font and language
14719 interaction a bit better.g
14721 * ColorHandler.C (updateColor): change the hash to cover the whole
14722 LColor enum, ws cleanup
14723 (getGCLinepars): ditto
14724 (getGCLinepars): only lookup in the linecache once.
14726 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14728 * iterators.C (operator++): Make the iterator more robust
14730 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14732 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14734 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14737 * text.C: better added space drawing
14739 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14742 * BufferView2.C: fix layout combo update on inset unlock
14744 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14746 * Makefile.am: don't compile unused files
14748 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14752 * LyXAction.C: remove old LFUN_LAYOUTNO
14754 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14756 * paragraph_pimpl.h:
14757 * paragraph_pimpl.C: isTextAt() doesn't need font param
14759 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14762 * lyxlex.C: little cleanup
14764 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14766 * BufferView_pimpl.C: fix insertAscii for insets
14768 2001-12-05 Juergen Vigna <jug@sad.it>
14770 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14771 set the right font on the "multi" paragraph paste!
14773 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14779 * lyxlength.C: remove out-commented code.
14781 * BufferView_pimpl:
14795 * vc-backend.C: change "while(" to "while ("
14797 * lyxlength.[Ch]: add zero function to check if length is zero or
14799 * lyxgluelength.C: use it
14801 2001-12-05 Allan Rae <rae@lyx.org>
14803 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14804 Works for 2.95.3, from what I understand of Garst's reports this should
14805 work for other g++ versions. We're screwed if the abs(int) definition
14806 changed between bugfix releases of gcc.
14808 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14810 * text.C: fix chapter label offset !
14812 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14815 * text.C: fix hfill at end of line, clean up
14817 2001-12-04 Juergen Vigna <jug@sad.it>
14819 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14820 that we force an update of the inset and it's owners if neccessary.
14822 2001-12-03 Juergen Vigna <jug@sad.it>
14824 * text.C (rowLast): simplified code
14826 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14828 * lyxfunc.C: fix show options on timeout
14830 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14832 * screen.C (topCursorVisible): scroll half a page when the cursor
14833 reached top of bottom of screen
14835 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14837 * minibuffer.C: deactivate on loss of focus
14839 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14841 * vspace.[Ch] (operator!=): add operator.
14843 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14845 * BufferView_pimpl.C: refuse to open an inset when
14846 there's a selection.
14848 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14850 * BufferView_pimpl.C: allow to click on RHS of full row insets
14852 2001-11-30 Juergen Vigna <jug@sad.it>
14854 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14855 insets for undo reasons.
14857 2001-11-28 André Pönitz <poenitz@gmx.net>
14859 * vspace.[Ch]: cosmetical changes
14861 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14871 * kbsequence.C: part re-write of old kb code
14874 * WorkArea.C: remove Lgb_bug_find_hack
14876 2001-11-30 José Matos <jamatos@fep.up.pt>
14878 * buffer.C (makeDocBookFile): add a comment to point a hack.
14879 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14880 Fixed a double write of labels.
14882 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14885 * LaTeX.h Fixed bug in LaTeX class where it would not
14886 re-run latex if no depfiles were changed, but the .dvi was removed.
14888 2001-11-28 André Pönitz <poenitz@gmx.net>
14890 * all the files from the change on 2001/11/26:
14891 use lyx::layout_type instead of LyXTextClass::size_type
14892 use lyx::textclass_type instead of LyXTextClassList::size_type
14894 2001-11-29 Juergen Vigna <jug@sad.it>
14896 * text.C: added support for paragraph::isFreeSpacing()
14898 * buffer.C: same as above
14900 * paragraph.h: inserted isFreeSpacing() function to enable
14901 FreeSpacing inside InsetERT.
14903 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14904 of the paragraph's in the cut/copy buffer to 0!
14906 * text2.C (removeRow): remove the assert as it can!
14908 * lyxtext.h: added helper function firstRow returning firstrow and
14909 made firstrow private again.
14911 * BufferView2.C (lockInset): don't relock if we're already locked!
14913 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14914 the only paragraph.
14915 (removeRow): added Assert::(firstrow)
14917 * debug.C: forgot to add INSETTEXT here.
14919 2001-11-28 Juergen Vigna <jug@sad.it>
14921 * sp_spell.C (initialize): changed error text to more general
14922 spellchecker command use (not only ispell!)
14924 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14926 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14928 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14930 * vspace.C: initialise lyxgluelength on failure
14932 2001-11-28 Allan Rae <rae@lyx.org>
14934 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14935 declaration & definition that looks like a function declaration.
14937 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14939 * BufferView2.C (copy):
14940 (copyEnvironment): do not clear the selection when doing a copy.
14942 * text.C (paintFirstRow): compilation fix
14944 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14946 * tabular.C (Latex): correct line count when writing latex.
14948 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14950 * paragraph_pimpl.h:
14951 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14954 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14958 * LColor.C: change vfillline->added_space
14960 * text.C: add markers and text for added space
14962 * vspace.C: fix comment
14964 2001-11-28 André Pönitz <poenitz@gmx.net>
14966 * paragraph.C: whitespace changes
14967 * all the other files from the change on 2001/11/26:
14968 change *::pos_type into lyx::pos_type
14970 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14972 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14973 language of the document when inserting error insets.
14975 2001-11-26 André Pönitz <poenitz@gmx.net>
14977 * BufferView_pimpl.[Ch]:
14985 * paragraph_pimpl.[Ch]:
14988 * text2.C: reduce header dependencies, introduce type for positions
14990 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14992 * <various>: change to use Alert.h
14994 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14996 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14997 when encountering an unknown token.
14998 (readLyXformat2): Show an error message if there were unknown tokens.
15000 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
15003 * BufferView_pimpl.C:
15007 * text2.C: use par->isInset()
15009 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15011 * paragraph_pimpl.h:
15012 * paragraph_pimpl.C: cleanup
15014 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15016 * text2.C (removeRow):
15017 * text.C (setHeightOfRow): remove useless (and costly) call to
15020 2001-11-20 Allan Rae <rae@lyx.org>
15022 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15023 Now need Inset*::checkInsertChar() to return true for appropriate
15024 cases so that the characters in the minibuffer will actually be
15027 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
15029 * text.C: change the order of the includes.
15030 (workWidth): initialize it at once.
15031 (workWidth): make maxw unsigned
15032 (setHeightOfRow): remove unused variable (inset)
15033 (selectSelectedWord): remove unused variable (inset)
15034 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15036 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15038 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15039 server is not running.
15041 (closeConnection): add debug info when server is disabled.
15043 * ColorHandler.C (getGCForeground): send debug message to GUI
15046 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15048 * kbmap.C (bind): modify because return conventions of
15049 kb_sequence::parse have changed.
15051 * kbsequence.C (parse): only ignore spaces and not any stupid
15052 control character. This avoids tests like s[i] <= ' ', which are
15053 guaranteed to fail with 8bit characters and signed chars.
15054 Change return code to string::npos when there have been no error
15055 (0 was a bad idea when error is at first character)
15057 2001-11-14 José Matos <jamatos@fep.up.pt>
15060 * buffer.C (simpleDocBookOnePar): removed unused argument.
15062 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15064 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15065 insets which are part of a word. Paragraph::isLetter takes care of
15066 that now. Use Paragraph::isInset to identify insets.
15067 (selectSelectedWord): do not test for hyphenation break.
15069 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15070 that protected spaces are considered as spaces.
15072 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15075 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15078 * lyxserver.C: fix it. and small cleanup.
15080 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15082 * BufferView_pimpl.C: use inline helpers
15085 * LaTeXFeatures.C: fix typos
15088 * Spacing.C: move spacing_string into class
15090 * ToolbarDefaults.C: move stuff into namespace anon
15092 * layout.h: update enum
15094 * lyxfunc.C: use better debug
15096 * minibuffer.h: fix typo
15100 * WorkArea.C: add and use Debug::WORKAREA
15104 * text2.C: code re-organisation, inline helpers
15106 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15108 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15109 std::vector.empty().
15111 2001-11-09 Allan Rae <rae@lyx.org>
15113 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15114 '\n's after tables. Tabular and ERT inset work now makes this no
15117 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15120 * minibuffer.C: fix crash, improve drop-down completion
15122 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15125 * lyxserver.C: invalidate fd's when doing endPipe()
15127 2001-11-08 José Matos <jamatos@fep.up.pt>
15129 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15130 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15133 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15135 2001-11-07 José Matos <jamatos@fep.up.pt>
15138 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15141 * buffer.C (sgmlOpenTag):
15142 * buffer.C (sgmlCloseTag): removed debug info.
15144 * buffer.h (sgmlOpenTag):
15145 * buffer.h (sgmlCloseTag): made public.
15147 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15149 * buffer.C (saveParamsAsDefaults):
15150 * lyx_cb.C (MenuLayoutSave): remove
15152 * LyXAction.C (init):
15154 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15156 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15158 * buffer.C (setPaperStuff): removed from here...
15160 * bufferparams.C (setPaperStuff): ... and moved there.
15162 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15166 * XFormsView.C: add support for drop-down completion
15168 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15170 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15173 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15175 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15178 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15180 * lyx_main.C: change ref to known bugs
15182 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15184 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15185 to work around older babel problems.
15187 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15189 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15191 2001-10-24 Juergen Vigna <jug@sad.it>
15193 * tabular-old.C (ReadOld): below variable changes reflected.
15195 * tabular.[Ch]: added ltType struct for longtable header/footer
15196 defines and changed all instances where they are used. Added
15197 future support for double top/bottom rows.
15199 2001-10-24 José Matos <jamatos@fep.up.pt>
15201 * buffer.h (docbookHandleCaption):
15202 * buffer.C (docbookHandleCaption): removed unused function.
15203 (makeDocBookFile): moved docbook supported version to v4.1.
15205 2001-10-24 José Matos <jamatos@fep.up.pt>
15208 * tabular.C (docbookRow): new function to export docbook code of a row.
15209 (DocBook): now honors the longtable flags.
15211 2001-10-23 José Matos <jamatos@fep.up.pt>
15214 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15215 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15217 * buffer.C (makeLinuxDocFile):
15218 (makeDocBookFile): reworked the preamble, more clean, and with
15219 support for lyx defined entities. Changed the document declaration
15220 to be more XML friendly.
15222 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15223 if we need to output XML that should be done with a filter.
15225 2001-10-22 Juergen Vigna <jug@sad.it>
15227 * sp_pspell.h (class PSpell): add alive function needed in the
15228 controller to see if the spellchecker could be started.
15230 2001-10-22 Juergen Vigna <jug@sad.it>
15232 * buffer.C (insertStringAsLines): modify the font for inserting
15233 chars in certain conditions by calling checkInsertChar(font).
15235 2001-10-19 Juergen Vigna <jug@sad.it>
15237 * text.C (workWidth): use getRow instead of wrong algorithm.
15238 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15240 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15245 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15247 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15249 * text.C (workWidth): do not search for the exact row when
15250 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15251 optimization for big documents.
15253 2001-10-18 Juergen Vigna <jug@sad.it>
15255 * text.C (workWidth): new function with added Inset * parameter.
15257 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15259 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15261 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15262 change return type of getColumnNearX.
15265 * text.C (changeRegionCase): use uppercase/lowercase instead of
15268 (rightMargin): simplify code by factoring out the uses of
15273 (appendParagraph): use Paragraph::size_type
15275 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15277 * vspace.C (asLatexString): add a missing break
15279 2001-10-15 Herbert Voss <voss@perce.de>
15281 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15283 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15285 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15288 2001-10-10 André Pönitz <poenitz@gmx.net>
15290 * lyxfunc.C: removed greek_kb_flag.
15292 2001-10-10 Herbert Voss <voss@perce.de>
15294 * lyx_main.C: delete global string help_lyxdir.
15296 2001-10-09 Herbert Voss <voss@perce.de>
15298 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15300 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15302 * lyx_main.C: added global string help_lyxdir.
15304 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15306 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15308 * lyxrc.C (set_font_norm_type): support iso8859-4
15310 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15312 * LaTeX.C (deplog): add another regex for MikTeX
15314 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15316 * lyxrc.C (set_font_norm_type): support iso8859-3
15318 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15320 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15322 * LaTeXFeatures.C: remove special case of french and index
15324 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15325 before \begin{document}). This solves several incompatibilities.
15327 2001-10-03 Garst Reese <reese@isn.net>
15329 * lyx_cb.C: change CheckTex error msg.
15331 2001-10-03 José Matos <jamatos@fep.up.pt>
15333 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15335 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15337 * .cvsignore: update
15339 * lyx_main.C (commandLineVersionInfo): use new style version info.
15341 * buffer.C (writeFile):
15343 (makeLinuxDocFile):
15344 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15346 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15348 * version.h: update to use stuff in version.C
15350 * version.C.in: new file. Contains version information determined
15351 at compile time. This is a merging of version.h and
15354 2001-10-03 Juergen Vigna <jug@sad.it>
15356 * BufferView_pimpl.C (update): don't change "dirty" status in
15359 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15361 * WorkArea.C (c-tor): re-position version string slightly.
15363 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15365 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15366 revert to previous code.
15368 WorkArea.[Ch]: (show, destroySplash): methods removed.
15370 WorkArea.C: rework code so that it's an amalgam of the codes before and
15371 after the splash screen was moved to WorkArea.
15373 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15376 * vspace.C (inPixels):
15379 * buffer.C (insertStringAsLines):
15380 (asciiParagraph): fix types to be large enough
15382 * lyxlex_pimpl.h: change member status from short to int
15384 * layout.h: fix type of endlabeltype
15387 * kbsequence.C (parse): change return type to string::size_type
15389 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15392 * Bullet.C (bulletSize):
15393 (bulletEntry): do not use short ints as parameters
15395 * BufferView2.C (insertLyXFile): change a char to an int.
15397 * WorkArea.C (WorkArea): remove unneeded floats in computation
15399 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15401 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15403 * paragraph.C (asString): Do not ignore newline/hfill chars when
15404 copying to the clipboard.
15406 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15408 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15409 after a multi-line inset.
15411 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15413 * paragraph.C (validate): Set NeedLyXFootnoteCode
15415 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15417 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15418 and decrease-error to decrease.
15420 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15422 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15423 it more readable (should be equivalent)
15425 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15427 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15429 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15431 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15432 of a cursor (row, etc.) after a character has been deleted
15433 (deleteEmptyParagraphMechanism): call the method above on _all_
15434 cursors held by the LyXText when a double space has been
15437 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15439 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15441 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15443 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15444 background. Use greyOut() and the new show() methods to toggle between
15445 the foreground and background. Add code to remove the splash after
15446 its initial showing.
15448 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15449 (create_forms): no longer call Dialogs::showSplash.
15451 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15453 * .cvsignore: add version_info.h
15455 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15457 * version_info.h.in: new file
15459 * Makefile.am: add version_info.h.in
15461 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15462 version_info.h instead of VERSION_INFO
15464 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15466 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15467 The ERT inset now returns string().
15469 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15471 * lyxtext.h, text.C (selectNextWord): renamed as
15472 selectNextWordToSpellcheck.
15474 * text.C (selectNextWordToSpellcheck): Modified to not select
15475 words inside an ERT inset.
15477 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15479 * lyx_cb.C (MenuLayoutSave): change a bit the question
15481 * sp_base.h: include <sys/types.h>
15483 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15485 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15487 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15489 * several files: fix typos in user-visible strings
15491 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15493 * text2.C (pasteSelection): do not set the selection, since it
15494 will be cleared later. Actually, the intent was to fix the way the
15495 selection was set, but I figured rmoving the code was just as good.
15497 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15499 * FontLoader.C (available): Check if font is available without
15502 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15504 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15506 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15508 * lyxrc.[Ch]: added display_graphics variable and associated code.
15510 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15512 * bufferparams.C (hasClassDefaults): new method. Returns true if
15513 the buffer parameters correspond to known class defaults
15515 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15517 * XFormsView.C (show): set minimum size to the main window.
15519 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15521 * text2.C (copySelection):
15523 * lyxfind.C (LyXReplace):
15524 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15525 LyXText::selectionAsString.
15527 * paragraph.C (asString): add "label" argument to the second form
15529 * text2.C (selectionAsString): add "label" argument and pass it to
15530 Paragraph::asString.
15532 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15534 * lyx_main.C (commandLineHelp): remove version information
15536 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15538 * lyx_main.C: add -version commandline option
15540 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15542 * paragraph.h: make the optional constructor arg required instead.
15543 some modifications to other files because of this.
15545 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15547 * lyxserver.C (C_LyXComm_callback): make it static
15549 * lyx_main.C (error_handler): make it static
15551 * lyx_gui.C (LyX_XErrHandler): make it static
15553 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15555 * WorkArea.C: make the extern "C" methods static.
15557 * Makefile.am (lyx_LDADD): simplify
15559 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15561 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15562 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15564 * LyXAction.C (init):
15565 * lyxfunc.C (dispatch): associated code removal.
15567 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15569 * lyxfont.h (isSymbolFont): shut off warning
15571 * text.C (setHeightOfRow):
15572 (getVisibleRow): fix crash with empty paragraphs which have a
15575 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15577 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15580 2001-09-04 José Matos <jamatos@fep.up.pt>
15583 * tabular.C (docbook): rename docBook method to docbook.
15585 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15587 * Makefile.am: add dependencies to main.o.
15589 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15591 * FontLoader.C (available): Return false if !lyxrc.use_gui
15593 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15595 * FontInfo.C (query):
15596 * converter.C (view):
15597 * importer.C (Import):
15598 * exporter.C (Export): Can not -> cannot.
15600 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15602 * BufferView_pimpl.C: allow to create index inset even if
15605 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15607 * buffer.C (getLists): replace boost::tie code with an explicit pair
15608 as boost::tie can break some compilers.
15610 * iterators.h: Added a std:: declaration to the return type of
15613 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15615 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15618 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15620 * iterators.[Ch]: New files. Provide paragraph iterators.
15622 * buffer.C (changeLanguage): Use paragraph iterators.
15623 (isMultiLingual): ditto
15625 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15627 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15629 * FontLoader.C: Support for cmr font.
15631 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15633 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15634 (available): New method.
15636 * FontInfo.C (getFontname): Use scalable fonts even when
15637 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15640 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15642 * converter.C (Formats::view): reverted! Incorrect fix.
15644 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15646 * converter.C (Formats::view): only output the -paper option
15647 if the dvi viewer is xdvi, thereby fixing bug #233429.
15649 2001-08-23 Herbert Voss <voss@perce>
15651 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15653 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15655 * Spacing.h (Spacing): Set space to Default on in the default
15658 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15660 * vc-backend.h (RCS::versionString): add RCS to version
15661 (CVS::versionString): add CVS to version
15663 * vc-backend.C (scanMaster): do not add CVS to version.
15664 (scanMaster): do not add RCS to version
15666 * lyxvc.C (versionString): new method
15668 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15670 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15672 * Spacing.C (set): initialize fval
15674 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15676 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15679 2001-08-16 Juergen Vigna <jug@sad.it>
15681 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15683 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15685 * BufferView_pimpl.C:
15688 * text2.C: setParagraph takes linespacing now
15690 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15692 * LyxAction.C: add internal LFUN_CITATION_INSERT
15694 * LyXView.C: actually apply fix
15696 * bufferlist.C: fix open non-existent file
15698 * lyxfind.C: fix indentation
15700 * lyxfunc.C: remove unneeded assert, fix typo
15702 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15704 * MenuBackend.C: use "Floatname List"
15706 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15708 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15709 when converting LaTeX layout to insetERT.
15710 Generate a non-collapsed float when reading old float
15712 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15714 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15717 2001-08-13 Juergen Vigna <jug@sad.it>
15719 * text.C (fill): return 0 instead of 20 as this seems to be the more
15722 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15724 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15727 2001-08-13 Juergen Vigna <jug@sad.it>
15729 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15731 (SearchBackward): comment out the unlocking of the inset_owner this
15732 should not be needed!
15734 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15736 * Many files: Remove inherit_language, and add latex_language
15738 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15739 collapsible insets.
15741 2001-08-10 Juergen Vigna <jug@sad.it>
15743 * text.C (prepareToPrint): fixed hfill-width in draw!
15745 * BufferView2.C (selectLastWord): save the selection cursor as this
15746 now is cleared in the function LyXText::clearSelection!
15748 2001-08-08 Juergen Vigna <jug@sad.it>
15750 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15751 BACKSPACE type functions.
15753 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15754 is only cutted from the document but not put in the cut-buffer, where
15755 still the old stuff should be.
15757 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15759 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15761 * tabular.C (SetWidthOfCell): fixed special case where the width
15763 (LeftLine): handle '|' in align_special.
15765 (LeftAlreadyDrawed): ditto
15766 (SetWidthOfCell): ditto
15768 2001-08-07 Juergen Vigna <jug@sad.it>
15770 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15772 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15774 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15775 * lyxlex.[hC]: ditto
15777 2001-08-06 Juergen Vigna <jug@sad.it>
15779 * text.C (getVisibleRow): fix up row clearing a bit.
15781 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15783 * minibuffer.C: make sure the X server sees the changes in the input.
15785 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15787 * paragraph.C (getFont): split into...
15788 (getLabelFont): this
15789 (getLayoutFont): and this
15790 * paragraph_pimpl.C (realizeFont): calling this
15792 * text2.C (getFont): split into...
15793 (getLayoutFont): this
15794 (getLabelFont): and this
15795 (realizeFont): all three calling this
15797 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15800 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15802 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15804 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15806 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15807 layouts from the Quote inset insertion.
15809 2001-08-03 Juergen Vigna <jug@sad.it>
15811 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15813 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15814 only if status not is already CHANGED_IN_DRAW (second level).
15816 * text.C (draw): don't set the need_break_row when inside an
15819 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15821 * buffer.C (parseSingleLyXformat2Token): handle more latex
15824 * bufferview_funcs.[hC]: change function names to
15825 begin with small char, adjust other files.
15827 2001-08-02 André Pönitz <poenitz@gmx.net>
15830 BufferView_pimpl.C: remove broken special code for math-greek
15832 2001-08-02 Juergen Vigna <jug@sad.it>
15834 * BufferView_pimpl.C (update): redone this function so that we
15835 update the text again if there was a CHANGE_IN_DRAW.
15837 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15838 (drawFromTo): added a new internal bool which is used by draw() and
15840 (general): some cursor drawing problems fixed.
15842 2001-08-01 Juergen Vigna <jug@sad.it>
15844 * lyxfind.C (LyXFind): fixed
15845 (SearchForward): ditto
15846 (SearchBackward): ditto
15848 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15849 spurius drawing of the cursor in the main area.
15851 * text2.C (status): small fix which could lead to a segfault!
15852 (clearSelection): remove unneeded BufferView param.
15854 2001-08-01 André Pönitz <poenitz@gmx.net>
15856 * lyxfunc.C: small change due to changed mathed interface
15858 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15860 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15862 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15864 * lyxfunc.c: fail gracefully if file doesn't exist
15869 * BufferView_pimpl.C: IsDirWriteable() proto changed
15871 * LyXView.C: fix updateWindowTitle() to store the last title
15873 2001-07-31 Juergen Vigna <jug@sad.it>
15875 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15876 the font (wrong since using of Paragraph::highestFontInRange).
15878 * paragraph.C (highestFontInRange): added a default_size parameter.
15880 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15881 (setHeightOfRow): reformat
15883 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15885 * converter.[hC] + affected files: move to (inital-char)lowercase
15888 * ParagraphParameters.C (ParagraphParameters): remove commented code
15890 * PainterBase.[Ch]: remove commented code
15892 * LaTeXFeatures.h: add "bool floats" for float.sty
15894 * LaTeXFeatures.C (LaTeXFeatures): init floats
15895 (require): handle float
15896 (getPackages): do it with floats
15898 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15900 * BufferView_pimpl.C (Dispatch): improve handling of
15901 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15903 * commandtags.h: #include lyxfont.h here temporarily to avoid
15906 * bufferlist.h: include LString.h here.
15908 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15910 * text2.C (getStringToIndex): new method.
15912 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15914 * *: Reduced header file dependencies all over.
15916 2001-07-30 Baruch Even <baruch@lyx.org>
15918 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15920 2001-07-29 Baruch Even <baruch@lyx.org>
15922 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15924 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15926 * ParameterStruct.h (endif): add a default constructor to make
15927 sure that all variables is initialized.
15929 * ParagraphParameters.C (ParagraphParameters): adjust
15931 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15933 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15934 index; also, check that there is something to index, and that it
15935 does not span over several paragraphs.
15936 (doubleClick): use WHOLE_WORD_STRICT for double click.
15938 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15940 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15943 2001-07-26 Baruch Even <baruch@lyx.org>
15945 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15946 an InsetFig figure, backwards compatible reading of old figure code.
15948 2001-07-27 Juergen Vigna <jug@sad.it>
15950 * text2.C: font.realize function adaption.
15952 * text.C (draw): add a warnings lyxerr text if needed.
15954 * layout.C: font.realize function adaption.
15956 * language.C: add inherit_language and implement it's handlings
15958 * bufferview_funcs.C (StyleReset): remove language parameter from
15959 font creation (should be language_inherit now).
15961 * bufferparams.C (writeFile): handle ignore_language.
15963 * paragraph.C (getFontSettings): the language has to be resolved
15964 otherwise we have problems in LyXFont!
15966 * lyxfont.C (lyxWriteChanges): added document_language parameter
15967 (update): removed unneeded language parameter
15969 * paragraph.C (validate): fixed wrong output of color-package when
15970 using interface colors for certain fonts in certain environments,
15971 which should not seen as that on the final output.
15973 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15975 * BufferView_pimpl.C:
15980 * LyXAction.C: add thesaurus support
15983 * lyxfind.C: add "once" parameter, for thesaurus, to not
15984 move to the next match
15986 2001-07-26 Juergen Vigna <jug@sad.it>
15988 * lyxfont.C (realize): honor ignore_language too!
15991 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15993 * text.C (draw): one place more for ignore_language to not draw
15996 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15998 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16000 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16002 * buffer.C (parseSingleLyXformat2Token): a more general fix for
16003 the minipage conversion problem.
16005 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16007 * buffer.C (parseSingleLyXformat2Token): check minipage if we
16010 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16012 * BufferView.h: don't forward declare WorkArea
16014 * BufferView.C: don't include WorkArea.h
16016 2001-07-25 André Pönitz <poenitz@gmx.net>
16020 * lyxfunc.C: new LFUN 'math-space'
16022 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16024 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16026 * text2.C (toggleInset): call open/close
16028 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16030 * lyxfunc.C (dispatch): add debug for the disabled case
16032 * font.C (buttonText): make similar to rectText
16034 * buffer.C (readInset): comment out parsing of insetlist and
16037 * PainterBase.C (rectText): small correction
16039 * BufferView_pimpl.C: comment out insettheorem and insetlist
16040 * LyXAction.C: ditto
16041 * commandtags.h: ditto
16043 2001-07-24 Juergen Vigna <jug@sad.it>
16045 * text.C (draw): honor the ignore_language.
16047 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16049 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16051 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16054 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16056 * lyxtext.h: remove unused (and unimplemented) methods
16058 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16060 * text.C (getVisibleRow): honor background color
16063 * Painter.h: remove default color argument for fillRectangle
16065 * text.C (backgroundColor): new method
16067 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16069 * text.C (getVisibleRow): adjust
16071 * font.[Ch] (rectText): new method, metrics
16072 (buttonText): new method, metrics
16074 * PainterBase.[hC]: make rectText and buttonText always draw and take
16077 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16079 * ToolbarDefaults.C (read):
16080 * MenuBackend.C (read): allow escaping in all strings
16082 * BufferView_pimpl.C (insertAndEditInset): new method.
16083 (Dispatch): use insertAndEditInset whenever appropriate.
16085 * BufferView_pimpl.C (insertNote): removed
16087 * BufferView_pimpl.C (smartQuote): new method, moved from
16088 BufferView; if an insetquote cannot be inserted, insert a '"'
16091 * BufferView2.C: remove insertCorrectQuote();
16093 * lyxfunc.C (getStatus): Add support for all remaingin
16094 inset-insert lfuns.
16096 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16098 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16099 command (necessary to pass " as parameter of self-insert.
16101 * text.C (selectWordWhenUnderCursor):
16102 (selectWord): add word_location parameter
16103 (selectWordWhenUnderCursor): same + remove special code for word
16105 (selectNextWord): use kind() to guess type of insetspecialchar,
16108 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16109 (insertErtContents): create ert insets as collapsed.
16110 (readInset): better compatibility code for Info inset.
16112 2001-07-20 Juergen Vigna <jug@sad.it>
16114 * lyxfunc.C (dispatch): use always LyXFind now!
16116 * text2.C (init): add a reinit flag so that the LyXText can be
16117 reinited instead of deleted and reallocated (used in InsetText).
16119 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16125 2001-07-18 Juergen Vigna <jug@sad.it>
16127 * text.C (selectNextWord): handle insets inside inset by calling
16128 always the bv->text functions so that we can go up the_locking_inset!
16130 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16131 in strange locations when inside an inset!
16133 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16134 handling to include insets.
16136 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16138 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16140 * LyXAction.C (init):
16142 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16143 LIGATURE_BREAK, since the name is so stupid.
16145 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16147 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16150 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16152 * sp_form.[Ch]: remove.
16154 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16156 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16159 * src/buffer.C (readInset): ditto.
16161 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16163 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16164 menuSeparator(), endOfSentenceDot(), ldots() and
16165 hyphenationPoint(), which are therefore removed.
16166 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16168 * LyXAction.C (init):
16169 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16171 * paragraph.C (getWord): removed.
16173 * BufferView_pimpl.C (Dispatch): use last word or selection for
16174 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16176 * lyx_main.C (queryUserLyXDir): do not ask before creating
16177 user_dir, except if it has been named explicitely.
16179 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16181 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16182 a document of zero size.
16184 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16186 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16187 approriately in the c-tor and in require().
16188 (getPackages): output the appropriate LaTeX for natbib support.
16190 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16191 variables "use_natbib" and "use_numerical_citations" when reading the
16193 (readInset): read the various natbib cite commands.
16194 (validate): white-space change.
16196 * bufferparams.[Ch]: new variables "bool use_natbib" and
16197 "bool use_numerical_citations".
16198 (writeFile): output them in the LyX file.
16200 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16202 * lyxfunc.C (getStatus): add support for all the inset insertion
16205 * text2.C (insertInset):
16206 * paragraph.C (insetAllowed):
16207 * BufferView_pimpl.C (insertInset): update to take in account the
16208 renaming of insertInsetAllowed
16210 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16212 * text2.C (getInset): new method. returns inset at cursor position.
16214 * BufferView_pimpl.C (Dispatch): changes because of this.
16216 * LyXAction.C (init): rename open-stuff to inset-toggle.
16218 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16220 * text2.C (toggleInset): renamed from openStuff; use
16223 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16225 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16227 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16229 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16231 * buffer.C (readLyXformat2): Add filename to the error dialog
16233 2001-07-18 Juergen Vigna <jug@sad.it>
16235 * tabular.C (GetCellNumber): put an assert here instead of the check!
16237 2001-07-17 Juergen Vigna <jug@sad.it>
16239 * BufferView_pimpl.C (toggleSelection): adapted too.
16241 * text.C (selectNextWord): adapted for use with insets.
16242 (selectSelectedWord): ditto
16244 2001-07-17 Juergen Vigna <jug@sad.it>
16246 * sp_spell.C (PSpell): fix initialitation order.
16248 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16250 * paragraph.C: spacing
16252 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16254 * sp_spell.C: repair language selection for pspell
16256 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16258 * lyxfunc.h: change more methods to begin with lower char.
16260 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16262 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16263 for unknown layouts.
16265 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16267 * buffer.C (readLyXformat2): Generate an error dialog if there are
16270 2001-07-16 Juergen Vigna <jug@sad.it>
16272 * sp_spell.C: always compile ISpell part.
16274 * lyxrc.C: added use_pspell entry and it's handling.
16276 2001-07-13 Juergen Vigna <jug@sad.it>
16278 * sp_spell.C: removed double includes.
16280 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16282 Consistent use of Lsstream.h:
16283 * Lsstream.h: added using std::stringstream for consistencies sake.
16285 * buffer.C: removed using std::stringstream
16287 * lyxfont.C (stateText):
16288 * paragraph.C (asString):
16289 * text.C (selectNextWord, selectSelectedWord):
16290 * text2.C (setCounter):
16291 * vspace.C (asString, asLatexString):
16292 std::ostringstream -> ostringstream.
16294 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16296 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16297 * commandtags.h: add LFUN_HELP_ABOUTLYX
16298 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16300 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16302 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16304 * lyx_gui_misc.C: remove spellchecker
16305 * lyxfunc.C: showSpellchecker
16307 * sp_ispell.h: added
16308 * sp_pspell.h: added
16309 * sp_spell.C: added
16310 * sp_form.[Ch]: removed
16311 * spellchecker.[Ch]: removed
16313 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16315 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16317 (simpleTeXSpecialChars): Simply print the input character without
16318 any special translation if pass_thru is set.
16320 * layout.h: Added bool pass_thru to layout class for being able to
16321 implement pass through of a paragraph for Literate Programming.
16323 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16324 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16325 * layout.C (Read): add "passthru" to list of layout tags and add
16326 code to set the pass_thru boolean when it is read.
16328 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16330 * trans_decl.h: remove allowed from KmodInfo
16332 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16333 remove allowed code
16336 * paragraph_pimpl.C (erase): use boost::prior
16338 * Painter.C (text): use data() instead of c_str() when length is
16340 * WorkArea.C (putClipboard): ditto
16341 * font.h (width): ditto
16343 * BufferView2.C: use it-> instead of (*it). for iterators
16345 * paragraph_pimpl.C: ditto
16346 * paragraph.C: ditto
16347 * minibuffer.C: ditto
16348 * language.C: ditto
16350 * encoding.C: ditto
16351 * counters.C: ditto
16352 * converter.C: ditto
16354 * Variables.C: ditto
16355 * TextCache.C: ditto
16356 * MenuBackend.C: ditto
16357 * LyXAction.C: ditto
16359 * FloatList.C: ditto
16360 * DepTable.C: ditto
16361 * ColorHandler.C (LyXColorHandler): ditto
16363 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16365 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16367 * text2.C (openStuff): reintroduce this method (which had been
16368 nuked in NEW_INSETS frenzy).
16370 * lyxfunc.C (Dispatch): when an action has not been handled, use
16371 its name in the error message, not its number.
16373 * paragraph.C (inInset): change method name to begin with lowercase.
16376 * text2.C: updates because of this.
16378 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16380 * ToolbarDefaults.C (add): add spaces in error message
16382 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16384 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16385 (readLyXformat2): rename return_par to first_par, use lyxlex's
16386 pushToken and remove the manual push handling.
16387 (parseSingleLyXformat2Token): add another ert comp. variable:
16388 in_tabular, rename return_par to first_par. handle newlines better
16390 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16392 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16394 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16396 * text2.C (getParFromID): removed
16398 * buffer.C (getParFromID): new method moved form lyxtext.
16399 * BufferView2.C (insertErrors): adjust
16400 (setCursorFromRow): adjust
16401 * BufferView_pimpl.C (restorePosition): adjust
16402 * lyxfunc.C (Dispatch): adjust
16403 * undo_funcs.C (textUndo): adjust
16405 (textHandleUndo): adjust
16406 (textHandleUndo): adjust
16408 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16410 * buffer.C: up' the LYX_FORMAT
16412 * lyxfont.h: turn NO_LATEX on as default
16414 * buffer.C (insertErtContents): new methods of tex style compability.
16415 (parseSingleLyXformat2Token): use it several places.
16416 * tabular.C (OldFormatRead): and here
16418 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16420 * text2.C: remove some commented code.
16423 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16424 * trans.C: changes because of the above.
16426 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16428 * text2.C (setCounter): Fix counters bug with bibliography layout.
16430 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16432 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16433 own member functions
16434 (simpleTeXSpecialChars): ditto
16436 2001-07-06 Juergen Vigna <jug@sad.it>
16438 * a lot of files: changed the access to LyXText::status and the
16439 call of undo-functions.
16441 * undo.[Ch]: added a inset_id to the undo informations.
16443 * undo_funcs.[Ch]: added and moved here all undo functions.
16445 * lyxtext.h: give the status enum a weight, made status_ a private
16446 variable and made accessor functions for it, removed the whole bunch
16447 of undo-functions as they are now in their own file, make some
16448 functions publically available. Added function ownerParagraph with
16451 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16452 made InInset() a const function, added getParFromID() function.
16454 * buffer.[Ch]: added const version for inset_iterator functions,
16455 added getInsetFromID() function.
16457 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16458 changed undo functions for new version.
16460 2001-07-05 Juergen Vigna <jug@sad.it>
16462 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16463 unknow mechanism does not call the proper constructor but only this
16464 one also if I request the other!?
16466 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16468 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16470 * text2.C (LyXText): use initialization lists.
16472 * lyxtext.h (Selection): initialize set_ and mark_
16473 (init): remove method
16475 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16477 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16479 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16481 * screen.[Ch]: change method names to begin with lowercase
16483 * BufferView_pimpl.C (updateScrollbar): simplify further and
16484 hopefully make it a bit faster.
16486 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16488 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16489 calling directly xforms functions.
16491 * Painter.C (Painter):
16492 * lyx_cb.C (MenuWrite):
16493 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16496 * lyx_gui.C: remove bogus guiruntime extern declaration.
16498 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16500 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16502 (redoDrawingOfParagraph): ditto
16503 (redoParagraphs): ditto
16504 (cutSelection): don't create a object for CutAndPaste use the
16505 static method directly
16506 (pasteSelection): ditto
16508 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16511 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16513 * modifications to some other files because of this.
16515 * Makefile.am (lyx_SOURCES): add XFormsView
16517 * XFormsView.[Ch]: new files
16519 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16520 the main window. Move the gui dependent stuff to XFormsView
16522 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16524 * tabular.C (GetCellInset): update cur_cell also in the row/col
16525 version of this function.
16527 * lyxfunc.C: no need to include figure_form.h here.
16533 * lyxvc.C: no need to include forms.h here.
16535 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16537 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16539 * lyxfunc.C (Dispatch):
16541 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16542 constructor argument.
16544 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16546 * paragraph.C (Paragraph): dont't clear, and just set layout.
16547 (makeSameLayout): use params's copy contructor.
16549 * ParagraphParameters.[Ch] (makeSame): delete method
16551 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16553 * Variables.[Ch]: fix indentation, rename set to isSet
16555 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16557 * lyxfunc.C (Dispatch): fix typo
16559 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16561 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16564 * bufferlist.C: include assert.h for emergencyWrite().
16566 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16568 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16569 give up at last (bug #425202) !
16571 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16577 * spellchecker.C: strip spellchecker options and bring up
16578 preferences tab instead
16580 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16582 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16583 the istringstream constructor
16585 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16587 * paragraph.C (getLayout): fix return value
16589 * paragraph.h: do not declare getLayout as inline.
16591 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16593 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16595 * lyxcursor.h (operator<): new func
16596 (operator>): new func
16597 (operator>=): new func
16598 (operator<=): new func
16600 * text.C (changeCase): use selection.start and selection.end
16601 (changeRegionCase): require from to be <= to. Require par to be a
16604 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16606 2001-06-27 Juergen Vigna <jug@sad.it>
16608 * text.C (cursorLeftOneWord): changed to return the cursor and added
16609 overlay with BufferView * parameter which calls this one.
16611 (selectWord): use new getWord function.
16612 (changeCase): renamed from changeWordCase as and extended to work
16613 also on selections.
16615 * lyxtext.h: added enum word_location
16617 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16618 changeCase as this operates now also on selections.
16620 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16622 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16624 * many files: send debug output to Debug::INFO instead of
16627 * converter.C (View):
16629 (Move): send debug output to Debug::FILES instead of console.
16631 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16633 * lyxfunc.C (getStatus): use func_status
16635 * func_status.h: new header, describing the results of
16636 LyXFunc::getStatus;
16638 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16641 2001-06-25 The LyX Project <jug@sad.it>
16643 * buffer.C (sgmlOpenTag):
16645 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16647 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16649 * text2.C: remove some dead code
16651 * tabular.C (GetCellInset): store the last cell checked (gotten)
16653 * tabular.h: add the helper for the speedup
16655 * lyxtext.h: remove some dead code
16657 2001-06-26 The LyX Project <Asger>
16659 * paragraph.C: Change export to LaTeX of alignment to
16660 \begin{center} and family for better roundtrip work with reLyX.
16662 * Tune the math drawing a bit.
16664 2001-06-25 The LyX Project <Asger>
16666 * LColor.C (LColor): New color for math background. New color
16669 2001-06-25 The LyX Project <jug@sad.it>
16671 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16673 * lyxfunc.C (Open):
16674 * bufferlist.C (newFile): do not restrict to files ending with
16677 * BufferView_pimpl.C (MenuInsertLyXFile):
16679 2001-06-24 The LyX Project <jug@sad.it>
16681 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16684 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16686 * lyxtext.h: rename most methods to begin with a small char.
16687 Lots of changes because of this.
16689 * paragraph.C (Paragraph): do not call fitToSize
16690 (erase): call Pimpl::erase
16691 (insertChar): call Pimpl::insertChar
16692 (insertInset): call Pipl::insertInset
16693 (breakParagraph): do not call fitToSize
16694 (breakParagraphConservative): do not call fitToSize
16695 (fitToSize): remove method
16697 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16699 2001-06-24 The LyX Project <Asger>
16701 * Fix Qt compilation^2
16703 2001-06-24 The LyX Project <jug@sad.it>
16705 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16706 depthHook(getDepth()-1).
16709 * ParagraphParameters.h:
16710 * ParameterStruct.h: change type of depth to unsigned int ==
16711 depth_type. Many adaptations to other files before of that.
16713 2001-06-24 The LyX Project <Asger>
16715 * Fix Qt compilation.
16717 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16719 * paragraph.h: renamed several methods to begin with small letter.
16720 several changes to many parts of the code because of this.
16722 2001-06-23 The LyX Project <jug@sad.it>
16724 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16725 rewritten to discard all double spaces when KeepEmpty is off
16726 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16727 to only handle newlines but not fiddle with spaces and friends.
16729 * lyxfunc.C (MenuNew): when doing 'new from template', use
16730 template_path as default directory
16732 2001-06-23 The LyX Project <Asger>
16734 * Clean-up of header file includes all over
16735 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16737 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16739 * paragraph.h: renamed from lyxparagraph.h
16741 2001-06-23 Asger <lyx@violet.home.sad.it>
16743 * Buffer.h: Removed Buffer::resize
16744 * BufferList.h: Removed BufferList::resize
16745 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16746 the document lazily when we change the width, or the font settings.
16748 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16750 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16752 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16754 * buffer.h: remove out of date comment
16756 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16759 * screen.C: fix "theoretical" GC leak
16761 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16763 * LaTeX.C (scanAuxFile):
16764 (deplog): remove trailing \r when reading stream (useful under
16767 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16769 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16770 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16771 and BufferView::theLockingInset(Inset*), so should use them and not
16772 access bv_->text->the_locking_inset directly.
16774 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16776 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16779 * tex-defs.h: remove old unused file
16781 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16783 * BufferView_pimpl.C: fix typo, remove minibuffer message
16784 when buffer has loaded
16786 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16788 * lyxfunc.C (Dispatch): use stringstream
16789 (MenuNew): use stringstream
16790 (Open): use stringstream
16792 * importer.C (Import): use stringstream
16794 * bufferview_funcs.C (CurrentState): use stringstream
16796 * LaTeX.C (run): use stringstream
16798 * BufferView_pimpl.C (savePosition): use stringstream
16799 (restorePosition): use stringstream
16800 (MenuInsertLyXFile): use stringstream
16802 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16815 * vspace.C: removed // -*- C++ -*- as first line.
16818 * version.h: added // -*- C++ -*- as first line.
16820 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16822 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16824 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16827 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16829 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16832 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16834 * gettext.C: include LString.h even when --disable-nls is on.
16836 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16838 * converter.h (Get): changed argument type from int to
16839 FormatList::size_type to avoid unnecessary conversion.
16841 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16844 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16846 * gettext.h: include LString.h even when --disable-nls is on.
16848 2001-06-07 Juergen Vigna <jug@sad.it>
16850 * text.C (BreakAgain): subst spaces with tabs.
16852 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16853 (resizeInsetsLyXText): set force on resizeLyXText.
16855 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16857 * gettext.h (gettext_init):
16858 (locale_init): use a real definition instead of a macro
16860 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16862 * Bufferview_pimpl.C:
16864 * LColor.C: further lcolor tidies
16866 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16868 * BufferView_pimpl.C (updateScrollbar): simplify.
16870 * BufferView2.C: don't include insets/insetinfo.h, change
16871 prototype for insertInset and call the Pimpl version. let
16872 updateInset call Pimpl version.
16874 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16875 gotoInset to BufferView::Pimpl
16877 2001-06-01 Juergen Vigna <jug@sad.it>
16879 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16880 inside a LockingInset (is the update needed at all?).
16882 2001-05-31 Juergen Vigna <jug@sad.it>
16884 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16885 here not the old one otherwise how should we compare it afterwards
16888 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16893 * FontInfo.C: bring C functions into global namespace when
16896 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16898 * LString.h: make sure config.h has been loaded before LString.h.
16900 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16901 (one for each char read by EatLine!).
16903 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16906 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16908 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16909 to the same as the par we break from
16911 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16913 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16915 * MenuBackend.C (expand): also create menu entries for wide
16916 versions of the floats.
16918 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16920 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16922 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16923 frontends/Makefile.am
16929 * tabular.C (getTokenValue): add std::
16931 * tabular-old.C (getTokenValue): add std::
16932 (getTokenValue): ditto
16933 (getTokenValue): ditto
16935 * screen.C (ToggleSelection): adjust
16937 * lyxtext.h: put selection cursors inside a Selection struct.
16939 * lyxfunc.C (moveCursorUpdate): adjust
16941 * lyxfont.C (latexWriteStartChanges): add std::
16943 * lyxfind.C: adjust
16945 * font.h: delete with(char const *, LyXFont const &)
16947 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16949 * FontInfo.C (getFontname): add std::
16951 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16952 (workAreaButtonPress): adjust
16953 (tripleClick): adjust
16955 (moveCursorUpdate): adjust
16958 * BufferView2.C (gotoInset): adjust
16960 2001-05-30 Juergen Vigna <jug@sad.it>
16962 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16963 to check pspell I add this as default as I now have new pspell
16964 libraries and they seem to use this.
16966 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16968 * text2.C (CutSelection): make the cursor valid before the call to
16971 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16973 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16974 relied on 0 terminated strings and other horrors. Bug found due to
16975 the new assert in lyxstring!
16977 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16980 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16982 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16985 * lyxfunc.C (processKeySym): change method of getting to the
16988 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16989 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16990 * BufferView_pimpl.[Ch]: here as private methods.
16992 2001-05-28 Juergen Vigna <jug@sad.it>
16994 * text.C (SetHeightOfRow): added the update() call again as it is
16995 needed to initialize inset dimensions!
16997 2001-05-16 Juergen Vigna <jug@sad.it>
16999 * text2.C (SetCharFont): Add new function with BufferView * and
17000 bool toggleall parameters for setting insets internal fonts.
17001 (SetFont): Freeze the undo as we may change fonts in Insets and
17002 all this change should be inside only one Undo!
17004 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17005 setting font's in insets as for them we have the SetFont function!
17007 2001-05-15 Juergen Vigna <jug@sad.it>
17009 * text2.C (ClearSelection): to be sure we REALLY don't have any
17012 * tabular.C (TeXCellPreamble): fixed the left border problem for
17015 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
17017 * LaTeX.C (deplog): Make sure that the main .tex file is in the
17020 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17022 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17023 LFUN_BREAKPARAGRAPH.
17025 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17026 help test to "internal only", similar for LFUN_INSERT_URL
17028 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17029 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17030 auto_region_delete and deadkeys.
17032 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17035 * LColor.C: remove some dead entries, tidy a little
17037 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17039 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17041 (Dispatch): implement LFUN_ESCAPE
17043 * commandtags.h: add LFUN_ESCAPE
17045 * LyXAction.C (init): add entry for LFUN_ESCAPE
17047 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17048 Remove commented code.
17049 (insertNote): moved here
17050 (open_new_inset): moved here
17052 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17055 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17057 * kbmap.C (findbinding): clean it up and make it work correctly.
17059 * lyx_main.C (init): do not pass argc and argv as parameters
17061 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17063 * buffer.C: fix path for OS/2 & Win32
17067 * lyx_main.C: Added os:: class.
17069 * os2_defines.h: update
17071 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17073 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17074 better by trying again with reduced state.
17076 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17078 * lyxrc.C (read): print error about invalid key sequence only when
17079 debugging (because not all latinX keysyms are known to some X
17082 * kbsequence.C (getiso): add a few std:: qualifiers
17083 (getiso): comment out extra return statement.
17085 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17087 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17089 (Dispatch): enhance the accent inset a bit. (not perfect)
17091 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17093 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17095 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17097 * bufferlist.C (emergencyWrite): fix assert() call
17099 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17101 * text.C (InsertChar): Added trivial patch to only send the "you
17102 can not do multiple spaces this way" message once during a
17105 2001-05-08 Baruch Even <baruch@lyx.org>
17107 * Makefile.am: Changed order of libraries to get LyX to link properly
17108 with the gnome frontend.
17110 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17112 * LaTeXFeatures.h: add a std:: qualifier
17114 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17116 * paragraph.C (String): use stringstream
17118 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17120 * paragraph.C (writeFile): remove footflag arg
17122 * buffer.C (makeLaTeXFile): use stringstream
17123 (latexParagraphs): remove footnot gurba
17125 * LaTeXFeatures.C (getPackages): use stringstream
17126 (getMacros): likewise
17127 (getTClassPreamble): likewise
17128 (getFloatDefinitions): new method
17130 * paragraph.C (writeFile): reindent
17133 * WorkArea.h: revert the xpos + etc changes.
17135 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17137 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17139 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17140 (pasteSelection): likewise
17141 * text2.C (CreateUndo): likewise
17143 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17145 * minibuffer.C (peek_event): temporarily reduce the functionality
17146 of the minibuffer (to allow args on lfuns)
17148 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17149 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17151 * buffer.C (readInset): add compability reading of old float
17152 lists, add reading of new style float list.
17153 (readInset): avoid reevaluation of inscmd.getCmdName()
17154 (getLists): reindent
17156 * MenuBackend.C (MenuItem): implement parsing of
17157 md_floatlistinsert and md_floatinsert.
17158 (expand::LastFiles): move initalizaton of iterators out of loop,
17159 avoid reevaluation.
17160 (expand::Documents): introduce typdedef vector<string> Strings,
17162 (expand::ExportFormats): introduce typedef vector<Format const *>
17163 Formats, and use it.
17164 (expand): implement FloatListInsert and FloatInsert.
17166 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17167 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17168 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17170 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17172 (Dispatch::LFUN_FLOAT_LIST): implement
17174 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17176 * LaTeX.C (run): Fix problem with --export code.
17178 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17180 * BufferView.[Ch] (workarea): removed.
17181 (getClipboard) new method; wrapper for workarea()->getClipboard()
17183 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17186 * WorkArea.h (width, height, xpos, ypos): These methods all
17187 returned the dimensions of the work_area sub-area of WorkArea,
17188 resulting in a position error if the WorkArea were resized. Now
17189 return the dimensions of the entire WorkArea.
17191 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17193 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17195 * LaTeX.C (deplog): correct the syntax of regex reg1
17197 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17199 * undo.C: remove !NEW_INSETS cruft
17201 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17203 * text2.C: remove !NEW_INSETS cruft
17205 * text.C: remove !NEW_INSETS cruft
17207 * tabular.C: remove !NEW_INSETS cruft
17209 * spellchecker.C: remove !NEW_INSETS cruft
17211 * lyxtext.h: remove !NEW_INSETS cruft
17213 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17215 * lyxfunc.C: remove !NEW_INSETS cruft
17217 * lyxfind.C: remove !NEW_INSETS cruft
17219 * lyx_cb.C: remove !NEW_INSETS cruft
17221 * figureForm.C: remove !NEW_INSETS cruft
17223 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17225 * buffer.[Ch]: remove !NEW_INSETS cruft
17227 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17229 * CutAndPaste.C: remove !NEW_INSETS cruft
17231 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17233 * BufferView2.C: remove !NEW_INSETS cruft
17235 * BufferView.h: remove !NEW_INSETS cruft
17237 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17239 * Lsstream.h: include LString.h before the sstream headers to
17240 fix problem with gcc 2.95.3 and lyxstring
17242 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17244 * lyx_main.C: add using directives when needed for C functions
17245 declared in std:: namespace.
17247 2001-04-27 Juergen Vigna <jug@sad.it>
17249 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17250 (SetHeightOfRow): comment out the update call should not be needed!
17252 2001-04-13 Juergen Vigna <jug@sad.it>
17254 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17255 (LyXTabular): tried to minimize operator= operations (and realized
17256 hopfully Lars wish).
17258 2001-04-27 Juergen Vigna <jug@sad.it>
17260 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17262 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17264 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17266 * buffer.C (readInset): hack to make listof algorithm work
17268 * BufferView_pimpl.C: hack to make listof algorithm work
17270 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17272 * LyXAction.C: removed all !NEW_INSETS cruft
17273 (init): moved lfun_item in method
17275 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17277 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17279 * BufferView2.C (theLockingInset): white space.
17281 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17283 * minibuffer.C: include <iostream>
17285 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17287 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17289 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17291 * text.[Ch] (TransposeChars): new method
17293 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17295 * call message directly through LyXView instead of through LyXFunc
17296 * BufferView2.C: adjust
17297 * BufferView_pimpl.C: adjust
17298 * FontLoader.C: adjust
17300 * bufferview_funcs.C: adjust
17301 * converter.C: adjust
17302 * figureForm.C: adjust
17303 * importer.C: adjust
17305 * lyx_gui_misc.C: adjust
17306 * lyxfunc.C: adjust
17309 + more files in subdirs
17311 * lyxparagraph.h (size): move up int file
17314 * adjust all uses of Assert to lyx::Assert.
17316 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17317 lyxfunctional in namespace lyx
17318 * layout.C (hasLayout): ditto
17321 (delete_layout): ditto
17322 (NumberOfClass): ditto
17323 * converter.C (GetFormat): ditto
17328 * bufferlist.C (getFileNames): ditto
17329 (emergencyWriteAll): ditto
17332 * MenuBackend.C (hasSubmenu): ditto
17335 * BufferView_pimpl.C (getInsetByCode): ditto
17337 2001-04-18 Juergen Vigna <jug@sad.it>
17339 * vspace.C (asLatexString): fixed the 100% problem.
17341 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17343 * lyxfunc.C (Dispatch):
17345 * minibuffer.h: add a few std:: qualifiers
17347 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17349 * minibuffer.[Ch]: reimplement so that commands is initiated and
17350 run from lyxfunc, simplified som handling, and made the completion
17351 and history code for complete. wip.
17353 * lyxfunc.C (processKeySym): call message
17354 (miniDispatch): new temporary method
17355 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17356 (LFUN_MESSAGE): implement
17357 (LFUN_MESSAGE_PUSH): implement
17358 (LFUN_MESSAGE_POP): implement
17359 (initMiniBuffer): the initial/defualt minibuffer message.
17361 * lyxfont.[Ch]: inline some more getters
17363 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17365 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17367 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17368 (AutoSave): use LFUN_MESSAGE
17369 (Reconfigure): ditto
17371 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17373 * figureForm.C: use LFUN_MESSAGE
17375 * converter.C (runLaTeX): use LFUN_MESSAGE
17377 * bufferview_funcs.C: use LFUN_MESSAGE
17379 (changeDepth): ditto
17381 * bufferparams.h: use boost::
17383 * bufferlist.h: inherit privately from noncopyable
17385 * bufferlist.C (loadLyXFile): remove some commented code.
17387 * buffer.C (runChktex): use LFUN_MESSAGE
17389 * ShareContainer.h: inherit privately from noncopyable
17391 * ParagraphParameters.[hC] (depth): inline it.
17393 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17395 (message): new method
17396 (messagePush): ditto
17397 (messagePop): ditto
17398 (show): init minibuffer
17399 (showState): direct call
17401 * LaTeX.[Ch]: inherit privately from noncopyable
17402 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17403 instead of WriteStatus.
17405 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17407 * BufferView_pimpl.C (buffer): don't init minibuffer
17408 (workAreaButtonPress): use LFUN_MESSAGE
17409 (workAreaButtonRelease): ditto
17410 (savePosition): ditto
17411 (restorePosition): ditto
17412 (MenuInsertLyXFile): ditto
17413 (workAreaExpose): don't init minibuffer
17414 (update): remove commented code, simplify
17416 * BufferView2.C (openStuff): use LFUN_MESSAGE
17417 (toggleFloat): ditto
17420 (copyEnvironment): ditto
17421 (pasteEnvironment): ditto
17426 (updateInset): remove some commented code
17428 * lastfiles.h: inherit privately from noncopyable
17431 * lyx_main.h: ditto
17433 * lyxlex_pimpl.h: ditto
17435 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17436 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17437 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17439 * LyXAction.h: inherit privately from noncopyable, add methods
17440 func_begin, func_end, returning iterators to the func map.
17442 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17443 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17444 (func_begin): new method
17445 (func_end): new method
17447 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17449 (copySelection): ditto
17450 (pasteSelection): ditto
17452 * BufferView.C: whitespace change
17453 * BufferView.h: inherit privately from noncopyable
17455 2001-04-16 Allan Rae <rae@lyx.org>
17457 * tabular-old.C (l_getline):
17458 * spellchecker.C (sc_check_word):
17459 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17460 an unrecognised preprocessor directive. So ensure they're wrapped.
17462 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17464 * src/exporter.C (Export): Give an error message when path to file
17467 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17469 * LaTeX.C (deplog): Always check that foundfile exists.
17471 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17474 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17476 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17478 * tabular.[Ch] (getLabelList): implement new method
17480 * minibuffer.h: comment ouf setTiimer
17482 * minibuffer.C (ExecutingCB): constify res
17483 (peek_event): constify s
17484 (Set): constify ntext
17485 (Init): constify nicename
17487 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17489 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17490 (savePosition): use two params to Minibuffer::Set
17491 (restorePosition): ditto
17493 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17495 * lyx_main.C: include language.h
17497 * Makefile.am (lyx_main.o): add language.h
17499 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17505 * CutAndPaste.C: include gettext.h
17507 * lyxfont.h: remove old hack with ON and OFF.
17510 * lyxfont.h: do not include language.h...
17515 * bufferview_funcs.C:
17521 * paragraph.C: ... but do it here instead
17523 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17525 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17527 * tabular.C: small reformat
17529 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17532 (BreakParagraph): ditto
17533 (SetOnlyLayout): ditto
17536 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17539 * lastfiles.C: removed most using decl, add std:: where needed
17541 * buffer.C: ws changes
17543 * MenuBackend.C (class compare_format): put into anon namespace
17544 (expand): constify label, names, action, action2
17547 * text.C (SingleWidth): constify font
17548 (IsBoundary): constify rtl2
17549 (GetVisibleRow): constify ww
17551 * LaTeX.C (deplog): constify logfile
17553 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17555 (workAreaExpose): constify widthChange, heightChange
17557 * lyxrow.C (par): moved
17560 * lyxrow.h: as inlines here
17562 * lyxfont.h (shape): moved from lyxfont.C
17563 (emph): moved from lyxfont.C
17565 * lyxfont.C (LyXFont): use initialization list for all
17567 (shape): move to lyxfont.h as inline
17568 (emph): move to lyxfont.h as inline
17571 2001-04-04 Juergen Vigna <jug@sad.it>
17573 * vspace.C: had to include stdio.h for use of sscanf
17575 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17578 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17579 independent of xforms.
17581 2001-04-02 Juergen Vigna <jug@sad.it>
17583 * spellchecker.C: fixed namespace placing!
17585 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17587 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17588 the LyXParagraph * is 0.
17590 2001-03-29 Juergen Vigna <jug@sad.it>
17592 * vspace.C: added support for %, c%, p%, l%.
17593 (stringFromUnit): added helper function.
17594 (asLatexString): changed to give right results for the %-values.
17596 * buffer.C: convert the widthp in a width%.
17598 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17600 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17603 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17604 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17606 * lyx_cb.[Ch]: see above.
17608 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17612 * lyx.[Ch]: replaced by figure_form.[Ch].
17616 * lyxfunc.C: changed headers associated with above changes.
17618 2001-03-27 Juergen Vigna <jug@sad.it>
17620 * BufferView_pimpl.C: set the temporary cursor right!
17622 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17624 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17626 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17628 * LString.h: removed "using std::getline"!
17630 * BufferView_pimpl.C (Dispatch): changes due to changes in
17631 InsetInclude::Params.
17633 * buffer.C (tag_name): removed redundant break statements as they were
17634 producing lots of warnings with my compiler.
17636 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17638 * LString.h: add "using std::getline" when using the real <string>.
17640 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17642 * buffer.C: removed bitset usage.
17643 PAR_TAG moved to an anonymous name space.
17644 (tag_name): new funtion, also in the anonymous namespace.
17645 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17646 (makeDocBookFile): clean code. Completed transition from string arrays
17648 (SimpleDocBookOnePar): code clean.
17650 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17652 * tabular.C: add some comments.
17654 2001-03-22 Juergen Vigna <jug@sad.it>
17656 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17657 compatibility read a bit and fixed bug with minipage in different
17660 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17662 * buffer.C (pop_tag): removed.
17663 (push_tag): removed.
17664 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17665 array replaced with vector. Added support for CDATA sections.
17666 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17668 (makeDocBookFile): XML conformant declaration of CDATA section,
17669 fixed bug related to <emphasis> in the first paragraph char.
17670 (sgmlOpenTag): exclude empty tags.
17671 (sgmlCloseTag): ditto.
17673 * buffer.h (pop_tag): removed.
17674 (push_tag): removed.
17676 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17678 * language.h (Languages): added size_type and size().
17680 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17682 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17683 response on compability reading of minipages. One probliem is that
17684 the old usage of minipages was flertydig
17686 * several files here and in subdirs: don't use static at file
17687 scope use anon namespaces instead.
17689 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17691 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17692 LaTeX output. This is necessary for Literate document
17695 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17697 * buffer.C: insert hfill when needed.
17699 * tabular.C (l_getline): use string::erase, small whitespace change.
17701 * BufferView_pimpl.C: try the anon namespace.
17702 * WorkArea.C: ditto
17704 2001-03-16 Juergen Vigna <jug@sad.it>
17706 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17707 otherwise it won't open options-dialogs.
17709 * buffer.C: honor pextraWidth(p) on converting minipages.
17711 * tabular.C (l_getline): changed the functions to strip trailing \r.
17713 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17715 * BufferView_pimpl.C:
17716 * minibuffer..C: added "using SigC::slot" declaration.
17718 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17720 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17726 * paragraph.C: ditto
17728 * lyxtext.h: NO_PEXTRA
17730 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17732 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17733 * ParameterStruct.h: ditto
17734 * ParagraphParameters.h: ditto
17735 * lyxparagraph.h: ditto
17737 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17739 * buffer.C: add compability for minipage alignment.
17740 (latexParagraphs): remove unwanted pextra check.
17742 * several files: remove CXX_WORKING_NAMESPACES
17744 * buffer.C (pop_tag): tie is in namespace boost
17746 * BufferView.h: noncopyable is in namespace boost
17748 * lyx_main.h: ditto
17751 * lastfiles.h: ditto
17752 * bufferlist.h: ditto
17753 * ShareContainer.h: ditto
17755 * LyXAction.h: ditto
17758 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17760 * Merging changes from BRANCH_MVC back into HEAD.
17762 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17764 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17766 * BufferView_pimpl.C: change from intl.C
17770 * Makefile.am: move combox.*
17776 * intl.C: remove dialog (covered by prefs)
17778 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17780 * lyxfunc.C (Dispatch): removed redundant break statement.
17782 2001-03-14 Juergen Vigna <jug@sad.it>
17784 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17786 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17788 * buffer.C: add hack to fix compability reading of minipages.
17790 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17792 * buffer.C (getLists): Cleanup.
17794 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17796 * lyxfont.C (update): don't honor toggleall on font size.
17798 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17802 * Makefile.am: moved to frontends/xforms/
17806 * BufferView_pimpl.C: changes for moved mathpanel
17808 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17810 * gettext.h: fix gettext_init() in --disable-nls
17812 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17814 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17816 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17819 * lyx.h: strip external form
17821 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17823 * BufferView_pimpl.C: add comment, destroySplash()
17825 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17827 * BufferView_pimpl.C:
17831 * lyxfunc.C: use re-worked insetinclude
17833 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17835 * buffer.C: add using std::stringstream.
17837 * lyx_cb.C: readd using std::ios.
17839 * buffer.C: add using std::map.
17841 * BufferView_pimpl.C: add using std::vector.
17843 * ShareContainer.h: add std:: to swap.
17845 * buffer.h: add some typedefs
17846 * buffer.C (getLists): use them
17847 (getLists): renamed from getTocList.
17848 add a counter for the different float types and use it in the
17850 (getLists): use the same counter for the NEW_INSETS and the "non"
17853 * lyx_cb.h: remove unused items, includes, using etc.
17855 * ShareContainer.h: remove some commented code, add more comments
17856 and "documentation".
17858 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17860 * buffer.C (getTocList): make the list also when NEW_INSETS is
17863 * buffer.h: remove TocType
17865 * buffer.C (getTocList): change to return a map<string,
17866 vector<TocItem> >, implement for dynamic number of list.
17868 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17869 * text2.C (PasteSelection): adjust
17870 * CutAndPaste.C (pasteSelection): adjust
17872 * FloatList.C (FloatList): update from the new_insets branch.
17873 * Floating.[Ch]: ditto
17874 * LaTeXFeatures.C: ditto
17876 * lyxlex_pimpl.C: ditto
17878 * paragraph.C (Last): remove when NEW_INSETS is defined.
17880 * other file: changes because of the above.
17882 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17884 * lyxparagraph.h: rename next to next_, previous to previous_,
17885 make them private for NEW_INSETS. Rename Next() to next(),
17886 Previous() to previous().
17888 * other files: changes because of the above.
17890 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17893 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17896 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17898 * main.C (main): pass lyx_localedir to gettext_init().
17900 * gettext.h: remove locale_init and gettext_init macros
17902 * gettext.C (locale_init): new function
17903 (gettext_init): new function
17905 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17908 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17910 * Moved credits to frontends:
17911 * credits.[Ch]: removed
17912 * credits_form.[Ch]: removed
17913 * lyx_gui_misc.C: remove credits stuff
17916 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17918 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17920 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17921 unneeded destructor.
17923 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17924 a standalone pointer again.
17926 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17928 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17934 * ToolbarDefaults.C:
17943 * BufferView_pimpl.C: use new file dialog in GUII
17946 * lyx_cb.C: remove LayoutsCB to Toolbar
17948 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17950 * ShareContainer.h (get): add std:: qualifier
17952 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17954 * ShareContainer.h: define a proper ShareContainer::value_type
17955 type (and use typename to please compaq cxx)
17957 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17959 * lyxparagraph.h: move serveral local vars to
17960 ParameterStruct/ParagraphParameters., use ShareContainer in
17961 FontTable., make vars in FontTable private and add getter and
17964 * paragraph.C: changes because of the above.
17966 * lyxfont.h: remove copy constructor and copy assignment. (the
17967 default ones is ok), move number inside FontBits. move inlines to
17970 * lyxfont.C: add number to initializaton of statics, move several
17971 inlines here. constify several local vars. some whitespace
17972 cleanup. Dont hide outerscope variables.
17974 * Spacing.h: add two new constructors to match the set methods.
17976 * ShareContainer.h: new file, will perhaps be moved to support
17978 * ParameterStruct.h: new file
17980 * ParagraphParameters.h: new file
17982 * ParagraphParameters.C: new file
17984 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17985 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17987 * BufferView_pimpl.C: ParagraphParameter changes.
17988 * buffer.C: Likewise.
17989 * bufferview_funcs.C: Likewise.
17990 * text.C: Likewise.
17991 * text2.C: Likewise.
17993 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17995 * lyxfind.C (LyXReplace): do not redefine default argument in
17997 (IsStringInText): ditto
17998 (SearchForward): ditto
17999 (SearchBackward): ditto
18001 2001-03-06 Juergen Vigna <jug@sad.it>
18003 * lyxfind.C (IsStringInText): put parentes around expressions.
18005 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
18007 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18009 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
18011 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18013 * stl_string_fwd.h: add comment
18015 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18018 * tabular.C: remove unused DocBook methods
18024 killed DO_USE_DEFAULT_LANGUAGE
18026 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18028 * lyx_gui.C: do not include language.h.
18030 * bufferview_funcs.C (ToggleAndShow): do not provide optional
18031 arguments in function implementation.
18033 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18035 * BufferView_pimpl.C: add <ctime>
18037 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18039 * BufferView_pimpl.C: add using std::find_if
18041 2001-02-27 José Matos <jamatos@fep.up.pt>
18043 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18046 2001-02-11 José Matos <jamatos@fep.up.pt>
18048 * buffer.C (makeDocBookFile): command styles now have a parameter as
18049 "title" by default.
18051 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18053 * layout_forms.[Ch]: removed
18054 * lyx_cb.[Ch]: out character
18055 * lyx_gui.C: out character
18056 * lyx_gui_misc.C: out character
18057 * bufferview_funcs.C: : out character,
18058 added toggleall as parameter in ToggleAndShow
18060 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18062 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18064 * text2.C (SetCurrentFont): Disable number property at boundary.
18066 2001-02-26 Juergen Vigna <jug@sad.it>
18068 * lyxfunc.C (getStatus): added a string argument override function so
18069 that this is correctly called from LyXFunc::Dispatch if it contains a
18070 do_not_use_argument which is used!
18071 (Dispatch): added check for "custom" export and call appropriate func.
18073 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18075 * lyxrc.C: Add language_command_local, language_use_babel and
18076 language_global_options.
18078 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18080 * buffer.C (makeLaTeXFile): Use language_use_babel and
18081 language_global_options.
18083 2001-02-23 Juergen Vigna <jug@sad.it>
18085 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18086 which works with LyXText and putted it inside BufferView. Here now we
18087 only call for that part the BufferView::Dispatch() function.
18089 * BufferView.C (Dispatch): added.
18091 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18092 functions which needs to use a LyXText over from LyXFunc.
18093 (MenuInsertLyXFile): added
18094 (getInsetByCode): added
18095 (moveCursorUpdate): added
18096 (static TEXT): added
18098 2001-02-22 Juergen Vigna <jug@sad.it>
18100 * BufferView_pimpl.C (update): call a status update to see if LyXText
18103 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18105 * vc-backend.C (revert): implement for CVS
18106 (getLog): implement for CVS
18108 2001-02-20 Juergen Vigna <jug@sad.it>
18110 * text2.C (ClearSelection): added BufferView param for inset_owner call
18112 * lyxfunc.C (TEXT): added this function and use it instead of
18113 directly owner->view()-text of getLyXText().
18115 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18117 * src/layout_forms.C: out preamble
18118 * src/layout_forms.h: out preamble
18119 * src/lyx_cb.C: out preamble
18120 * src/lyx_cb.h: out preamble
18121 * src/lyx_gui.C: out preamble
18122 * src/lyx_gui_misc.C: out preamble
18123 * src/lyxfunc.C: connect with guii preamble
18125 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18127 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18129 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18131 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18132 whether to run bibtex.
18134 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18136 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18138 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18140 * Makefile.am (lyx_SOURCES): removed bibforms.h
18142 * vspace.h: doxygen
18144 * text.C (GetVisibleRow): make several local vars const
18146 * tabular.C: small cleanup.
18148 * lyxserver.C (callback): use compare instead of strncmp
18150 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18151 inlines to after class or to paragraph.C
18153 * lyxfont.h: remove friend operator!=
18155 * converter.h: move friend bool operator< to non friend and after
18158 * combox.h: small cleanup
18160 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18161 to inlines after class def.
18163 * buffer.C (pop_tag): use string operations instead of strcmp
18165 * bmtable.c: doxygen, small cleanup
18167 * LaTeX.h: remove friend operator==
18169 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18181 * BufferView_pimpl.C:
18182 * BufferView.[Ch]: remove cruft
18184 2001-02-14 Juergen Vigna <jug@sad.it>
18186 * lyxfunc.C: removed #if 0 unused code
18188 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18190 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18192 * text2.C (SetSelection): added a BufferView * parameter
18194 2001-02-13 Juergen Vigna <jug@sad.it>
18196 * lyxfunc.C (Dispatch): fixed protected blank problem.
18197 * BufferView2.C (protectedBlank): added LyxText * parameter.
18199 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18200 (AppendColumn): same as above for column_info.
18202 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18203 (moveCursorUpdate): use a LyXText param for support of InsetText.
18205 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18206 (tripleClick): ditto
18208 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18210 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18212 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18214 * text2.C (SetSelection): set correct update status if inset_owner
18215 (ToggleFree): ditto
18217 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18219 * tabular.C: remove some commented code.
18221 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18223 * BufferView_pimpl.C: call hideSplash()
18225 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18228 * bibforms.h: remove
18231 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18232 add LFUN_CHILD_CREATE
18234 * counters.h: fix tiny typo
18239 * lyx.C: move splash to frontends/xforms/
18241 * lyx_gui_misc.C: move Include and Bibform to frontends
18243 * lyxvc.h: clarify comment
18245 * vspace.C: tiny housekeeping
18247 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18249 * text.C (PrepareToPrint): RTL Fix.
18251 * paragraph.C (GetUChar): New method.
18252 (String): Use GetUChar.
18254 * buffer.C (asciiParagraph): Use GetUChar.
18256 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18258 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18260 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18263 * buffer.C: rename to getLogName(), handle
18264 build log / latex log nicely
18266 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18269 * MenuBackend.h: remove support for reference menuitem type.
18271 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18273 * BufferView_pimpl.C: housekeeping
18274 * BufferView_pimpl.h:
18279 * minibuffer.h: move Timeout GUI-I
18281 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18283 * lyxrc.C (read): Update converters data-structures.
18285 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18287 * LaTeX.h (operator!=): add operator != for Aux_Info
18289 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18291 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18293 * LaTeXLog.C: deleted, useful code moved to Buffer
18296 * buffer.C: new function getLatexLogName()
18302 * lyxfunc.C: use frontends for LaTeX and VC logs
18304 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18306 * LaTeX.h: yet another std:: that Allan forgot.
18308 * Variables.C (set): renamed from isset(), because this clashes
18309 with some HP-UX macros (grr).
18311 2001-02-06 Allan Rae <rae@lyx.org>
18313 * LaTeX.h: Another bug fix. Missing std:: this time.
18315 2001-02-04 Allan Rae <rae@lyx.org>
18317 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18318 floats problem. I've left it commented out because it's not quite
18319 correct. It should also test that the current object is a table or
18320 figure inset. But I haven't gotten around to figuring out how to do
18321 that. I *think* it'll be something like: "table" == inset.type()
18323 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18326 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18328 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18329 all the citation/databases/styles in the auxilary file.
18330 (run): Rerun latex if there was a babel language error.
18332 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18334 * text.C (Backspace): Preserve the font when changing newline char
18336 (BreakParagraph): If the cursor is before a space, delete the space.
18338 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18340 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18342 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18343 new argument (code).
18344 (ChangeCitationsIfUnique): New method.
18346 * paragraph.C (GetPositionOfInset): Handle bibkey.
18348 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18350 * BufferView_pimpl.h: change type of Position::par_pos to
18351 LyXParagraph::size_type.
18353 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18355 * BufferView_pimpl.C (savePosition, restorePosition): Write
18356 messages to minibuffer.
18358 2001-01-28 José Matos <jamatos@fep.up.pt>
18360 * buffer.C (makeDocBookFile): adds support for document language.
18361 A silly restriction on the name of LatexCommand types where removed.
18362 Added support for CDATA sections, allows to chars unescaped, used
18363 among others in code, to avoid escape < and >.
18365 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18367 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18368 saved positions instrad of a stack. Furthermore, a position is
18369 stored using paragraph id/paragraph position.
18371 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18372 Remove LFUN_REF_BACK.
18374 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18376 * converter.C (dvipdfm_options): New method.
18378 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18380 * vspace.C (isValidLength): Fix for empty input string.
18382 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18384 * LyXAction.C (init): change description of LFUN_FIGURE to
18387 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18389 * LaTeX.C: add using directive
18391 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18393 * MenuBackend.C (expand): Fix the sorting of the formats.
18395 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18397 * lyx_main.C: tiny error message fix
18399 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18401 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18402 calling fl_initialize(). This fixes the problem with ',' as
18403 decimal separator in text files.
18405 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18407 * trans.C (process): Fix the keymap bug.
18409 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18411 * LaTeX.C (scanAuxFiles): New method. Provides support for
18412 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18413 (scanLogFile) Scan for "run BibTeX" messages.
18415 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18416 OT1 font encoding. Also, load the aecompl package if the ae
18419 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18421 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18423 * texrow.C (increasePos): turn two error messages into debug
18426 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18428 * LaTeX.C (scanAux): Handle the \@input macro.
18429 (runBibTeX): Use scanAux().
18431 * language.C (latex_options_): New field.
18433 * LaTeXFeatures.C (getMacros): Add language macros.
18435 * buffer.C (makeLaTeXFile): Small fix.
18437 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18439 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18441 * text2.C: add a using directive.
18443 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18448 * lyxfunc.C: kill LyXBell.
18450 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18452 * text.C (IsBoundary): Remove the error message
18454 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18456 * lyxrc.C (setDefaults): Correct initialization value for
18459 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18461 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18464 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18465 and GotoNextNote().
18467 * src/LyXAction.C: Added reference-next.
18469 * text.C (InsertChar): Use contains instead of strchr.
18471 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18473 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18475 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18476 alignment commands (when needed).
18478 * text.C (InsertChar): Add ':' to number separator chars.