1 2005-11-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * text2.C (setLayout): move recUndo call to other setLayout method
4 * tabular.C (toggleFixedWidth): new, handle cell width changes
5 * tabular.C (setColumnPWidth): move some code from insettabular.C here
6 and use toggleFixedWidth
7 * tabular.C (setMColumnPWidth): ditto
9 2005-11-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11 * paragraph.C (asString): use new inset->textString method (fix bug 2089)
13 2005-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15 * CutAndPaste.C (numberOfSelections): new helper function.
17 * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
19 * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
20 LyXFunc::getStatus; implement LFUN_PASTE.
22 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
24 * dociterator.[Ch]: new member realInset() that returns the cell
25 for tabulars and the inset for the rest (bug 1952).
26 * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
29 2005-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
31 * text.C (leftMargin): honor the NextNoIndent tag in layouts.
33 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
37 * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
40 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
42 * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
43 line after typing ctrl-enter
45 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
47 * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
48 math insets do not return a proper editable() state yet (bug 2124).
50 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
52 * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for
53 docs containing very large paragraphs.
55 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
57 * cursor.C (selectionBegin, selectionEnd):
58 * text.C (drawSelection): Fix bug 2115: assertion when anchor and
59 cursor at different depths.
61 2005-11-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
63 * bufferview_funcs.C (coordOffset): do not call cursorPos
64 for collapsed collapsables (fix bug 2094).
66 2005-11-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
68 * paragraph.C (fontSpan): make sure that the FontSpan does not
69 span across beginOfBody (bug 1947).
71 2005-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
73 * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
75 2005-11-03 Michael Gerz <michael.gerz@teststep.org>
77 * messages.C: fix crash and localization on MinGW/Windows platform
79 2005-11-02 Angus Leeming <leeming@lyx.org>
82 * lyxtextclass.C: trivial fixes to some MSVS warnings.
84 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
86 * text3.C (getStatus): re-enable disabled code. (bug 2081)
88 * BranchList.h (empty): constify.
90 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
92 * text3.C (getStatus):
93 * MenuBackend.C (expandBranches): take the branch list from the
94 master document (bug 2092).
96 * MenuBackend.C (expandBranches):
97 * bufferparams.C (writeFile): use BranchList type.
99 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
101 * text3.C (dispatch, getStatus):
102 * LyXAction.C (init):
103 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
105 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
107 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
109 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
111 * text.C (insertChar): do not reset boundary (bug 2061)
113 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
115 * dociterator.C (updateInsets): new method. Updates the inset_
116 cache of all the slices of the iterator.
118 * text2.C (deleteEmptyParagraphMechanism): compare also containing
119 insets when comparing pit/pos; pass the right cursor to
120 recordUndo; when a paragraph has been deleted, compare `old.top()' to
121 the right cursor slice of `cur'; use updateInsets on cur to make
122 sure that the inset caches are correct; general cleanup.
124 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
126 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
127 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
128 containg inset. If this does not work, the same command will be
129 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
131 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
134 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
136 * lyxtextclass.C (Read): convert layout file if the format is wrong
137 * lyxtextclass.C (layout2layout): new, needed for the above
139 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
141 * messages.C: do not forget to include <cerrno>.
143 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
145 * dociterator.h (StableDocIterator): add access to pos().
146 * undo.C (samePar): new method to check if two
147 iterators are in the same paragraph
148 * undo.C (recordUndo): check for samePar instead of cell identity
149 (which includes pos() and is too strict) (fixes bug 2097)
151 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
153 * text.C (setCursorFromCoordinates): return a bool telling whether
156 * text3.C (cursorPrevious): update if needed after
157 setCursorFromCoordinates (when dEPM triggered).
159 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
160 (otherwise the anchor may be completely wrong and make dEPM assert).
162 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
164 * buffer.C: version upgrade to 245.
165 * bufferparams.C: remove \quotes_times (bug 2090).
166 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
167 quotation marks as default.
169 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
171 * CutAndPaste.C (nrOfParagraphs): remove (unused)
172 * CutAndPaste.C (cutSelection): Remove debug message
173 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
174 undo information and only copy if this is a real cut
175 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
177 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
179 * CutAndPaste.C (eraseSelection): prevent cursor corruption
180 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
181 superflous cur.selection() setting
182 * CutAndPaste.[Ch] (grabSelection): take a const cursor
183 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
185 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
187 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
190 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
192 * BufferView_pimpl.C: comment layout change
194 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
198 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
199 by bibliography managers (bug 2071).
201 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
203 * BufferView_pimpl.C (update): choose arguments to update call so
204 that single-par update works most times
205 * text3.C (dispatch): carefully tune updating separately for
206 whole-screen and current-paragraph
207 * rowpainter.C (paintText): 1) replace painting by caching for
208 the two extra paragraphs, because we can;
209 2) suppress greying out of areas below/above drawn area in case of
211 * lyxfunc.C (dispatch): remove superfluous update
212 * LyXAction.[Ch]: introduce SingleParUpdate
214 2005-10-05 Angus Leeming <leeming@lyx.org>
216 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
217 always initialised before use.
219 * text.C (setHeightOfRow): squash warning about comparison
220 of signed and unsigned types.
222 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
224 * text.C (cursorX): two fixes involving RtL text drawing
226 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
228 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
229 items, not only large ones (part of bug 2057)
231 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
233 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
234 argument, use "newcommand".
236 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
238 * cursor.C (setSelection): do not open collapsable insets;
239 the insets do by themselves now (autoopen).
241 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
243 * buffer.C: format is up to 244.
245 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
247 * text.C (redoParagraph): fix calcultation of inset width wrt
248 leftMargin (bug 1957).
250 * text3.C (dispatch): leave inset to the right when hitting ESC
253 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
258 * messages.C: include <boost/current_function.hpp>
260 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
262 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
263 when command is internal. (bug 1941)
265 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
267 * text2.C (cursorRight): do not honor boundary when at the end of
268 a paragraph. (bug 2010 again)
270 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
272 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
274 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
276 * rowpainter.C (paintText): fix RtL space width display bug (2029)
278 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
280 * text2.C (setCursor): remove the unused 'boundary' parameter for
281 the CursorSlice version; adapt the LCursor version.
284 * paragraph_pimpl.C (markErased):
285 * cursor.C (bruteFind2, bruteFond3): fix warnings.
287 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
289 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
290 as is already done for "chapter".
292 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
294 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
295 textclass; do not record undo if nothing is changed.
297 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
299 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
301 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
303 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
305 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
307 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
308 combox, it is necessary to search for the topmost paragraph in the
309 cursor stack (bug 1926)
311 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
313 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
314 end of paragraph. (bug 2010)
316 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
318 * text.C (leftMargin): check for inInset == 0
320 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
322 * text.C (leftMargin): test for insetbase's new neverIndent()
323 bool instead of listing each and every inset that does not
324 wish par indendation.
326 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
328 * buffer_funcs.C (setCounter): put the code to compute enum label
329 here (where it belongs).
331 * counters.C (enumLabel): move code to buffer_funcs.C.
333 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
335 * outputparams.[Ch]: store local_font instead of local_language
336 * paragraph.C (simpleTeXOnePar): adapt to the change above
338 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
341 * counters.[Ch]: clean up special code for Hebrew.
343 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
345 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
348 2005-09-08 Angus Leeming <leeming@lyx.org>
351 * lyxrc.C: correct grammar describing invocation of the
354 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
356 * text.C (read): remove unused variable.
357 (readParToken): remove static Change variable (never good in
358 recursive settings...); add it as a parameter instead.
360 * paragraph_pimpl.C (acceptChange): make debug info conditional.
362 * metricsinfo.C (PainterInfo): add new member erased_.
364 * rowpainter.C (RowPainter): add erased_ member, initialized from
366 (paintInset): pass erased_ to Inset::draw.
368 * lyxfunc.C (lookupChange): new function. Tells whether change
369 tracking is disabled at a given postion.
370 (getStatus): disable some actions when in deleted text with change
373 2005-08-03 John Levon <levon@movementarian.org>
375 * tabular.C (appendColumn, setMultiColumn): adapt to change to
378 * paragraph_pimpl.C (markErased): add bool argument and handle it.
379 Also make sure to mark insets recursively.
380 (rejectChange, erase): be recursive
382 * paragraph.C (markErased): add bool argument.
383 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
385 * lyxfind.C (findNextChange): tiny cleanup.
387 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
388 change tracking with the cursor in an inset; make sure the first
389 change is not skipped.
391 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
393 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
394 tabularStackDirty to work around bug 1919 (tabular needs
395 to know whether its own cell paste buffer or the one of
397 * CutAndPaste.C: mark tabular_stack_ clean after copy.
399 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
401 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
403 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
405 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
406 use old deleteion algorithm when changetracking is on.
408 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
410 * messages.C (get): add debug output.
412 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
414 * text.C (cursorX): fix bug 1965: cursor movement at
415 line end broken in RtL.
416 (drawSelection): fix bug 1970: drawing of single-line
417 selection broken for RtL.
419 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
423 * dociterator.h (clear, push_back, pop_back): change from
426 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
427 and changed to just return the value of the item depth; take a
428 ParIterator as argument; take the itemdepth at outer nesting level
429 in account if necessary; cleanup and comment the code.
430 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
431 and changed to just return true if reset is needed; take a
432 ParIterator as argument; cleanup and comment the code.
433 (setCounter): adapt to above changes.
435 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
437 * text3.C (dispatch): make debug message optional
439 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
441 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
444 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
446 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
448 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
450 * text.C (insertChar):
451 * text2.C (deleteEmptyParagraphMechanism): take care whether
452 a blank has been deleted (in change tracking mode) (bug 1254).
454 2005-07-20 John Levon <levon@movementarian.org>
456 * text2.C (insertStringAsLines): remove old dubious code,
459 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
461 * MenuBackend.C (expandToc): use Floating::listName() as title of
464 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
466 * toc.[Ch]: Do not use translatable strings (bug 1870).
468 2005-07-20 John Levon <levon@movementarian.org>
470 * tabular.C: fix 1748 - setting multicolumn adds
471 left line to the first cell
473 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
476 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
479 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
481 * messages.C: supress some lyxerr messages
483 2005-07-18 Juergen Vigna <jug@lyx.org>
485 * text.C (drawSelection): honor boundary when asking for cursorX.
487 2005-07-17 José Matos <jamatos@fc.up.pt>
489 * tabular.C (recalculateMulticolumns): fix handling of one column
492 2005-07-17 Juergen Vigna <jug@lyx.org>
494 * text.C (Delete, backspace): fixed so that paragraph with the
495 same layout can be merged by Delete/Backspace.
497 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
499 * text.C (readParToken): fix spelling.
501 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
503 * text2.C: fix counter update for DEPM problem reported by
506 2005-07-17 Juergen Vigna <jug@lyx.org>
508 * BufferView_pimpl.C (setBuffer): save/restore the
509 cursor/selection when switching buffers
512 * buffer.C (saveCursor): add saveDocumentIterators to save the
513 cursor when switching buffer.
515 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
518 * buffer.C: clarify message
520 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
522 * dociterator.C (DocIterator): fix initialization order
524 2005-07-17 Juergen Vigna <jug@lyx.org>
526 * text2.C (cursorHome):
527 * text.C (drawSelection, cursorX):
528 * dociterator.C (textRow): add boundary to getRow() call
530 * paragraph.C (getRow): implementation of below
532 * paragraph.h: add parameter boundary for getRow() function
534 2005-07-17 José Matos <jamatos@fc.up.pt>
538 * tex-strings.[Ch]: new file format, remove support for a4.sty,
539 a4wide.sty and a4widemargins.
541 2005-07-17 Juergen Vigna <jug@lyx.org>
543 * text2.C (cursorLeft): fix one of error
545 2005-07-17 Juergen Vigna <jug@lyx.org>
547 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
549 more fixes for boundary handling
551 * text3.C (dispatch): don't reset cursor if boundary has changed
554 2005-07-16 Juergen Vigna <jug@lyx.org>
556 * text2.C (getColumnNearX): hopefully got it right now,
557 check if we are on column 0 for special case.
559 2005-07-16 Juergen Vigna <jug@lyx.org>
561 * text2.C (getColumnNearX): handle special case Newline Inset
563 * text.C (singleWidth): Just remove bogus check
565 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
567 * funcrequest.C (split): avoid reading uninitialized char c
569 2005-07-16 José Matos <jamatos@fc.up.pt>
575 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
576 single papersize variable.
578 2005-07-16 Juergen Vigna <jug@lyx.org>
580 * text3.C (dispatch): honor boundary when checking if a cursor
581 movement has been done
583 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
584 (setCursor, setCursorIntern): fix cursor movement with boundary
586 2005-07-16 Juergen Vigna <jug@lyx.org>
588 * text.C (currentState): output the actual Boundary
590 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
592 * factory.C (createInset): fix bad logic for tabular creation
594 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
596 * lyx_main.C (init): change some reLyX reference to tex2lyx
598 2005-07-16 Juergen Vigna <jug@lyx.org>
600 * dociterator.C (DocIterator): initialize boundary
602 2005-07-16 Juergen Vigna <jug@lyx.org>
604 * text2.C (getColumnNearX): Consider rows without trailing blank.
606 2005-07-16 André Pönitz <poenitz@gmx.net>
608 * lyxfont.h: Change order of declarations to give the compiler
609 a better chance to inline things
611 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
612 questions on unsaved docs for better scritability
614 2005-07-16 André Pönitz <poenitz@gmx.net>
616 * paragraph.h (getChar): remove asserts as the same kind of security
617 can be achieved by using a suitable standard library implementation
618 and the function was in the critical path (25.9% in profiler)
620 2005-07-16 Juergen Vigna <jug@lyx.org>
622 * cursor.C (bruteFind2):
623 * bufferview_funcs.C (coordOffset):
624 * text.C (cursorX,cursorY): Handle cursor position after last char
625 in row before a inset which uses a whole row.
627 2005-07-15 José Matos <jamatos@lyx.org>
629 * output_plaintext.[Ch] (writeFileAscii): control reference title
631 (asciiParagraph): noparbreak was already deal and was incorrectly
634 2005-07-15 Juergen Vigna <jug@lyx.org>
636 * lyxfunc.C (dispatch): save and restore the cursor after a
639 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
641 * text.C (backspace): bug 806 for empty keepempty paragraphs we
642 change the layout to default before letting DEPM do its thing.
644 * paragraph_funcs.C (breakParagraph): dont reset the layout on
647 * text.C (setCursorFromCoordinates): add a debug statement
649 * text2.C (getColumnNearX): bug 1825 make sure that we don't
650 return a pos that is not on the row
652 * output_latex.C (TeXDeeper): get rid of potential dereferencing
653 of past the end iterator
655 2005-07-14 André Pönitz <poenitz@gmx.net>
657 * undo.C (recordUndoFullBuffer): implement undo for
660 2005-07-14 André Pönitz <poenitz@gmx.net>
662 * cursor.C (setSelection): open insets when selection is set there
663 to avoid crashs with cold coord cache
665 2005-07-14 André Pönitz <poenitz@gmx.net>
667 * trans_mgr.C (insert): move cursor to the right after inserting
670 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
672 * BufferView_pimpl.C (update): dampen some of the debug blabbering
673 * factory.C (readInset): ditto
674 * text.C, text2.C: ditto
676 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
678 * buffer.C: format incremented to 242. There is no file format per
679 se, but the "frenchb" language has been removed from lib/language
680 and has to be translated to "french" by lyx2lyx.
682 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
684 * cursor_slice.h, dociterator.h: add some documentation
685 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
687 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
689 * text.C (leftMargin): do not add identation to display() style
690 insets, because they are always centered (bug 1293).
692 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
694 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
695 formatted_time methods in support/lyxtime.
697 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
699 * toc.[Ch]: new method getGuiName, which is used by the frontends
700 to set the toc combo (fixes bug 1870). Make TOC string translatable.
702 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
704 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
705 StableDocIterator const &)
706 * undo.C (recordUndo): use the above instead of cell.size() comparison
707 (fixes bug 1808; instructed by Andr�.
709 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
712 * dociterator.h: Fix the assert when copying rows/cols in math
714 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
716 * BufferView_pimpl.C:
718 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
720 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
721 (findInset): new functions, refactored from goto Inset that return
722 the position of a certain inset without setting the buffer's cursor
724 (gotoInset): rewrite to call findInset and then set the cursor
727 2005-06-16 Angus Leeming <leeming@lyx.org>
729 * lyxrc.C (output, read): wrap all input and output of paths with
730 calls to os::internal_path and os::external_path, respectively.
731 (output): wrap bind_file inside quotes.
733 * format.C (view): enable the viewer to use the '$$s' placeholder.
735 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
737 * LColor.[Ch] (getFromLaTeXName): new
739 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
741 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
743 2005-06-14 Angus Leeming <leeming@lyx.org>
745 * lyx_main.C (init): ensure that the LyX binary dir is the first
746 element in the PATH on non-POSIX builds.
748 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
750 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
752 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
754 * rowpainter.C (paintInset, paintHebrewComposeChar)
755 (paintArabicComposeChar, paintChars): add a LyXFont argument.
756 (paintChars): use getFontSpan to reduce calls to getFont to a
757 minimum; use Paragraph::lookupChange instead of isXXXText.
758 (paintForeignMark): rename LyXFont argument.
759 (paintFromPos): pass a LyXFont object to the various paintXXX
762 * FontIterator.C (FontIterator, operator++): use
763 Paragraph::getFontSpan
765 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
766 version that returns the font span as a pair.
768 2005-06-09 Angus Leeming <leeming@lyx.org>
770 * converter.C (convert): Don't forget "outfile = real_outfile" as
771 the final step in a conversion where the input and output file names
772 are the same. Otherwise, future conversion steps won't work...
774 2005-06-09 Angus Leeming <leeming@lyx.org>
776 * lyxsocket.C: remove stub code as it isn't needed by
777 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
779 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
781 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
782 effectively disabled -x
784 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
786 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
787 when it actually makes sense.
789 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
791 * BufferView_pimpl.C: revert to showCursor in connection with
792 Lars's front-end stack
794 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
796 * text.C (redoParagraph): move cursor right after a bibitem
799 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
801 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
803 * buffer_funcs.C (bufferErrors): fix computation of the end of an
806 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
808 * BufferView.[Ch] (update):
809 * BufferView_pimpl.[Ch] (update, metrics):
810 * dimension.h (operator==):
811 * lyxfunc.C (dispatch):
812 * metricsinfo.h (ViewMetricsInfo):
813 * rowpainter.C (paintText):
815 * text.C (redoParagraph):
816 * text3.C (dispatch): Make LyX only repaint current paragraph in
817 case of character insert --> speedup. Also fix cursor draw
820 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
822 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
823 avoid a crash (bug 1891)
825 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
829 * text2.C (getStringToIndex): constify cur argument.
831 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
832 argument has been given
833 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
834 try to invoke LFUN_INSET_APPLY).
836 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
837 if no inset was created by doInsertInset
838 (doInsertInset): return true if an inset has been inserted.
840 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
842 * vspace.C (asGUIName): new method. A version of the space
843 suitable for showing on screen.
845 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
848 * lyxrc.C: rename "ASCII" to "Plain Text"
850 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
852 * buffer_funcs.C (expandLabel): take a Buffer as argument;
853 translate the labelstring.
854 (setCounter): translate labelstring as needed.
856 * output_docbook.C (makeCommand): fix expandLabel invokation
858 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
860 * BufferView.C: fix dialog title
862 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
864 * lyx_main.C (priv_exec): fix logic error with help from Angus
865 * lyx_main.C (parse_execute): set is_gui = false and remove now
866 obsolete comment about a segfault
868 2005-05-18 Angus Leeming <leeming@lyx.org>
870 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
872 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
874 * tabular.[hC]: added setCellInset to fix tabular paste.
876 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
878 * buffer.C (save): check if destination is writable before trying
881 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
883 * BufferView_pimpl.C (update): fix processEvents -caused update
886 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
888 * buffer_funcs.C (setCounter): fix test for numbering of
891 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
892 depth correctly; use optional argument when it exists
894 * lyxtextclass.C: remove unused MaxCounterTags enum
895 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
896 (max_toclevel, min_toclevel): new methods.
898 * MenuBackend.C (expandToc2): fix case where depth is smaller than
899 the smallest depth in toc.
901 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
902 layouts that should not appear in a table of contents.
904 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
906 * cursor.h (undispatched, noUpdate): add comments from Andr�
907 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
911 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
913 2005-05-07 André Pönitz <poenitz@gmx.net>
915 * cursor.[Ch] (leaveInset): new function
917 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
919 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
921 2005-05-04 Angus Leeming <leeming@lyx.org>
923 * lyxfunc.C (getStatus): disable the spell checker dialog if
924 none of USE_[AIP]SPELL are defined.
926 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
928 * tabular.C (setWidthOfCell): remove obsolete comment
930 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
932 * paragraph.C (bibitem):
933 * buffer_funcs.C (setCounter):
934 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
936 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
938 * text3.C (getStatus): immediately return after setOnOff
940 * rowpainter.C: fix drawing of appendix start
942 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
944 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
945 SwitchBetweenClasses and remove the unused return value.
946 Handle character styles, too
948 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
950 * factory.C (createInset): handle undefined character styles
952 2005-05-02 Angus Leeming <leeming@lyx.org>
954 * buffer.C: protect the #include of utime.h with a preprocessor
957 2005-05-02 Angus Leeming <leeming@lyx.org>
959 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
960 function so that auto-saving works, albeit in a blocking manner.
962 * Makefile.am: make compilation of the client sub directory, of
963 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
964 on conditionals set at configure time.
966 * SpellBase.[Ch]: no longer an abstract base class. Instead,
967 it can be compiled in its own right but has no-op functionality.
969 * aspell.C, pspell.C: remove preprocessor guards. The files should
970 be compiled only if the necessary functionality exists.
972 * lyxserver.C, lyxsocket.C: disable on Windows.
974 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
976 * text.C (leftMargin): Fix the parindent use bug (1764)
979 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
981 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
984 2005-04-25 Angus Leeming <leeming@lyx.org>
992 include <config.h> in .C files, not .h ones.
994 protect headers inside preprocessor guards.
996 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
998 * FuncStatus.h (StatusCodes): document
1000 2005-04-21 André Pönitz <poenitz@gmx.net>
1002 * FuncStatus.h (enabled, onoff): document
1004 2005-04-19 Angus Leeming <leeming@lyx.org>
1006 * BufferView_pimpl.C (cursorToggle): no longer test whether
1007 any child processes have been reaped before calling
1008 handleCompletedProcesses().
1010 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
1012 * text3.C (dispatch): fix, finally fix, the language problem in
1013 new lyxtexts, without disabling on-the-fly font changes (Helge's
1016 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1018 * text3.C (dispatch): set cursor on double/triple click events
1021 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1023 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1024 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1026 * rowpainter.C (paintFirst): simplify the code a little bit. In
1027 particular, remove the test for secnumdepth.
1028 * text.C (setHeightOfRow): only allocate space for chapter number
1029 when updateCounters provided an actual label, instead of looking
1030 at secnumdepth directly.
1032 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1034 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1035 paragraphs when secnumdepth is large enough or, for environments,
1036 when they are not the first in a sequence.
1038 2005-04-17 Angus Leeming <leeming@lyx.org>
1040 * buffer.C (makeLaTeXFile): replace code to manipulate a path
1041 containing space and '~' characters with a call to latex_path().
1043 2005-04-17 Angus Leeming <leeming@lyx.org>
1045 * converter.C (convert): protect all args of convertDefault.sh
1048 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1050 * text3.C (dispatch): change the layout to "Caption" after inserting
1053 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1055 * text3.C (dispatch): fix language problem in newly created
1056 textinsets (and main text) in non-english docs
1058 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1060 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1061 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1062 * text3.C (getStatus): disable LFUN_INSET_MODIFY
1064 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1068 * text2.C (getFont):
1069 * rowpainter.C (getFont): Fix metrics bug introduced by inset
1072 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1074 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1075 output of \item arguments without trailing text.
1077 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1079 * FontIterator.C (operator*): avoid a copy of the font.
1081 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1083 * rowpainter.C (getFont): fix language bug from previous fix
1085 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1087 * rowpainter.C (RowPainter, getFont): fix font inside inset
1090 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1092 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1093 preventing inserted font, deco, delim insets jumping to start of
1096 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1098 * lyxfunc.C (dispatch): translate message before sending it to the
1101 2005-03-29 Angus Leeming <leeming@lyx.org>
1103 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1104 to LyX on the command line.
1106 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1108 * vc-backend.C: use QuoteName to protect file names wherever
1111 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1114 * BranchList.h: fix bugs 1844,1845: document settings don't
1117 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1119 * lyxrc.C (setDefaults, read, output, getDescription): add support
1120 for tex_allows_spaces.
1122 * exporter.C (Export): allows files in directory containing spaces
1123 if tex_allows_spaces is true.
1125 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1126 output it in double quotes.
1128 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1130 * rowpainter.C: use default text height for drawing change tracker
1133 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1135 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1137 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1139 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1140 directory is missing.
1142 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1144 * text2.C: fixed the fix, extended to other case.
1146 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1148 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1150 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1152 * text2.C (cursorUp): get rid of a crash
1153 * text.C (x2pos): add an assert
1155 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1157 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1161 * dociterator.C: include <boost/current_function.hpp>, which is
1162 needed when assertions are disabled.
1164 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1166 * text2.C: fix for stuck cursor when traversing two
1167 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1169 2005-02-25 Andreas Vox <avox@arcor.de>
1171 * output_docbook.C (makeParagraph): suppress trailing newline
1172 after a run of paragraphs
1174 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1176 * paragraph.C: fix for confused change tracker when pasting
1177 text that begins with a lineseparator. [bug 1827]
1178 (setChange(0, Change::INSERTED);)
1180 * paragraph_funcs.C: fix for lost changes on triple-paste
1181 in change tracking mode [bug 1827] (par.setChange()).
1183 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1185 * text2.C (updateCounters, setCounter, expandLabel): move to
1188 * buffer_funcs.C (updateCounters): turn into a free standing
1189 function and add a buffer parameter. Remove dead code for tracking
1191 (setCounter): change into a free-standing function which gets a
1192 dociterator as argument. Use this iterator to fix captions in a
1193 simple way. When no float is found above the caption, use the
1194 labelstring of the caption layout as default.
1196 * text.C (breakParagraph, backspace):
1197 * text2.C (init, setLayout, changeDepth):
1198 * text3.C (dispatch):
1199 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1202 * dociterator.C (forwardPar): make it much faster by calling
1203 forwardPos() only when really necessary.
1205 * output_docbook.C (makeCommand): adapt to expandLabel move.
1207 * cursor.C: remove unused variable
1209 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1211 * paragraph_funcs.C: fix crash when pasting insets in change
1212 tracking mode [bug 1277] (honour change type in moveItem).
1214 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1216 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1218 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1220 * BufferView.C (setCursor): change to use a DocIterator.
1221 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1222 (putSelectionAt): adapt to BufferView::setCursor change.
1224 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1225 moved here from LyXText and rewritten to use proper cursor
1226 methods. Fixes bug 1787, 616 and 835.
1228 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1229 when inside an inset (part of bug 781).
1230 (dispatch): adapt to change of BufferView::setCursor.
1231 (getStatus, dispatch): handle LFUN_GOTOERROR,
1232 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1234 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1235 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1236 * text3.C (gotoNextInset, gotoInset): removed.
1238 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1240 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1242 2005-02-15 Angus Leeming <leeming@lyx.org>
1244 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1245 can be used meaningfully in a comparison.
1247 2005-02-13 André Pönitz <poenitz@gmx.net>
1249 * bufferview_funcs.C (coordOffset): improve cursor drawing
1251 2005-02-13 André Pönitz <poenitz@gmx.net>
1253 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1254 * Cursor.C (dispatch): use fixIfBroken
1255 * lyxfunc.C (getStatus): use fixIfBroken
1257 2005-02-15 Angus Leeming <leeming@lyx.org>
1259 * lyx_main.C (error_handler):
1261 * lyxrc.C (setDefaults):
1263 #include "environment.h".
1265 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1267 2005-02-15 Angus Leeming <leeming@lyx.org>
1269 * lyxserver.C (startPipe): squash MSVC warning "local variable
1270 'fd' used without having been initialized".
1272 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1274 * BufferView_pimpl.C: revert accidental commit.
1276 2005-02-14 André Pönitz <poenitz@gmx.net>
1278 * dociterator.[Ch]: new member forwardPosNoDescent(),
1279 which doesn't enter nested insets.
1280 * text2.C (setFont): use forwardPosNoDescent() instead
1281 of ForwardPos() (fixes crash on font change).
1283 2005-02-13 Angus Leeming <leeming@lyx.org>
1285 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1286 only if lyxrc.path_prefix is not empty.
1288 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1290 * bufferparams.C (readGraphicsDriver): prevent crash
1292 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1294 * text2.C (setCounter): check for inInset() == 0
1296 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1298 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1299 but use update() to get correct screen display; use convert
1300 instead of istringstream.
1301 (getStatus): handle LFUN_GOTO_PARAGRAPH
1303 * lyxfunc.C (dispatch, getStatus): do not handle
1304 LFUN_GOTO_PARAGRAPH here.
1306 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1308 * text3.C (dispatch): size() -> depth()
1310 * text2.C: remove some debug output
1312 * paragraph.C: ws changes only
1314 * lyxfunc.C (getStatus): size() -> depth()
1316 * dociterator.h (clear, push_back, pop_back, internalData,
1317 operator[], resize, empty): new functions
1318 Make StableDocIterator and operator== be friends. Don't inherit
1319 from std::vector use a privat class variable slices_ instead.
1322 * dociterator.C: update because of not inheriting from std::vector
1323 anymore. Call explictly to slices_ instead. Use depth() instead of
1324 size() and top() instead of back()
1326 * cursor.C: chagne size() -> depth and back() -> top(). Also
1327 remove some direct operator[](i) calls in favour of foo[i]
1328 (getFont): remove some dead code
1330 * bufferview_funcs.C (coordOffset): size() -> depth()
1332 * buffer.C: ws changes only
1334 * CutAndPaste.C (eraseSelection): back() -> top()
1336 * BufferView_pimpl.C (selectionRequested): back() -> top()
1338 * BufferView.C (setCursor): size() -> depth()
1340 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1342 * text3.C (cursorPrevious): return true if depm changed something
1344 (dispatch): rename sl to oldTopSlice, remove moving use the new
1345 NoUpdate func attrib instead. Make sure that needsUpdate is set
1346 for function that have NoUpdate, but where depm might have changed
1349 * text2.C (cursorLeft): make us return true if depm changed
1351 (cursorRight): ditto
1352 (cursorUpParagraph): ditto
1353 (curosrDownParagraph): ditto
1354 (cursorUp, cursorDown): ditto, make sure to read comments in code
1355 (deleteEmptyParagraphMechanism): remove an assert, also return
1356 true if just a single char was deleted.
1358 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1359 cursor that we modify, to avoid modifying an active cursor before
1360 we call setCursor. This allows depm to run. Also return true if
1361 depm deleted something.
1363 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1364 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1365 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1366 something was changed in the buffer because of them (ie. depm run)
1368 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1369 debug messages. Make update by default be false. Make sure that
1370 the result of update is retained throught several calls down to
1373 * LyXAction.h: add a new func_attrib: NoUpdate
1375 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1376 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1377 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1379 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1381 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1383 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1384 bv_->owner(), bv_->buffer() by direct references to the private
1386 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1387 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1388 (fitCursor): center() is in BufferView::Pimpl.
1389 (getStatus, trackChanges, dispatch): no need for a temporary buf
1391 (fitCursor, workAreaDispatch): use workarea().workheight()
1393 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1395 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1397 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1399 * buffer.C: format up to 241.
1400 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1401 break if pasting into ERT
1402 * lyxfunc.C (getStatus): suppress mathpanel and
1403 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1405 2005-02-01 Angus Leeming <leeming@lyx.org>
1407 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1409 2005-02-01 Angus Leeming <leeming@lyx.org>
1411 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1412 calling fs::is_directory().
1414 2005-01-31 Angus Leeming <leeming@lyx.org>
1416 * lyx_main.C (priv_exec): specify explicitly the relative location
1417 of the top level build directory when run in-place.
1419 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1421 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1422 LyXText containing the cursor, not the top-level one.
1424 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1426 (insertStringAsLines): rename par to pit; use temporary variable
1427 par to hold a Paragraph; do not store par.layout() in a variable,
1428 since the pointer may die when breaking paragraphs; pass pars to
1429 breakParagraph() instead of Buffer::paragraphs().
1431 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1433 * lyxlex_pimpl.h: #include <fstream>.
1435 * BufferView.[Ch] (getLyXText): add a const version.
1437 * BufferView_pimpl.C: add debug aids.
1442 * paragraph_funcs.h: add commentary explaining what the class does.
1445 * coordcache.[Ch]: add lots of commentary.
1446 (startUpdating, doneUpdating): debug aids.
1447 (arrays, insets, parPos, getParPos): accessors to private data.
1449 * cursor_slice.[Ch] (text): add a const version.
1450 * dociterator.[Ch] (text, innerText): add const versions.
1452 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1455 * paragraph.C (getRow, pos2ros): add asserts.
1457 * paragraph.h: add commentary. Lots of.
1459 * paragraph.[Ch] (metrucs, draw): removed.
1462 * rowpainter.[Ch]: const-correct changes.
1464 * text.C: various obvious clean-ups. Removal of ancient cruft.
1467 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1469 * vc-backend.C (find_file): rewrite to use boost.filesystem
1472 * main.C (main): set default name check for boost.filesystem to
1475 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1478 (actOnUpdatedPrefs): ditto
1480 * lyx_main.C (init): rewrite to use boost.filesystem
1481 (queryUserLyXDir): ditto
1483 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1484 (getContentsOfAsciiFile): ditto
1486 * lastfiles.C (readFile): rewrite to use boost.filesystem
1488 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1490 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1491 (loadLyXFile): ditto
1493 * buffer.C (Buffer): adjust for destroydir
1494 (getLogName): rewrite to use boost.filesystem
1495 (setFileName): ditto
1496 (save): use fs::copy_file (from fs_extras)
1498 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1500 * LaTeX.C (run): rewrite to use boost.filesystem
1501 (scanAuxFiles): ditto
1502 (handleFoundFile): ditto
1504 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1506 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1508 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1510 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1512 * lyxlayout.[Ch]: change some vars from float to double
1514 * buffer.C (readFile): make a local var const
1516 * Several files: use convert<> instead of atoi,strToXXX and friends
1518 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1520 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1521 holds the contents of packages.lst. New functions getAvailable
1522 and isAvailable to parse and check that list, resp.
1526 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1528 * bufferparams.[Ch]: new param output_changes.
1530 * Buffer.C: increase file format to 240.
1531 Use output_changes and isVailable.
1535 * paragraph_pimpl.C: Use output_changes and isVailable.
1537 2005-01-23 Angus Leeming <leeming@lyx.org>
1539 * output_latex.C: #include "insetbibitem.h", rather than
1540 forward declare function bibitemWidest.
1542 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1544 * lyx_main.C (init): make it compile on the Mac.
1546 2005-01-20 Angus Leeming <leeming@lyx.org>
1548 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1549 (setLyXMisc): (char string literal) != (char string literal) is
1550 performing a comparison on the addresses. Convert one operand
1551 explicitly to string to guarantee expected behaviour.
1554 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1557 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1559 * output_plaintext.C: remove unneeded #include gzstream.h.
1561 2005-01-20 Angus Leeming <leeming@lyx.org>
1563 * SpellBase.h: rename some of the elements of the Result enum.
1570 * pspell.C (check): ditto
1572 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1574 * buffer.C: add #include <fstream>.
1576 * lyx_main.C (init): Compile fix.
1578 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1580 2005-01-20 Angus Leeming <leeming@lyx.org>
1582 * mover.h: change commentary to reflect the changed meaning of
1583 the $$s placeholder.
1585 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1587 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1589 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1591 2005-01-20 Angus Leeming <leeming@lyx.org>
1593 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1594 printing diagnostic data by not dereferecing an iterator past the
1597 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1599 * buffer.C (readHeader): use "&&" rather than "and".
1601 * lyxserver.h (inPipeName, outPipeName): make these const.
1603 2005-01-19 Angus Leeming <leeming@lyx.org>
1605 * lyx_main.C (error_handler, init): protect SIGHUP with
1606 #ifdef SIGHUP guards.
1608 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1610 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1612 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1614 * text.C (setHeightOfRow): add a margin at the top and bottom of
1615 the document (bug 1761)
1617 2005-01-17 Angus Leeming <leeming@lyx.org>
1619 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1620 with "python ". Workaround for a brain-dead Windows.
1622 2005-01-16 Angus Leeming <leeming@lyx.org>
1624 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1625 for MacOSX and Windows to use prependEnvPath.
1626 Strip out the hard-coded block to add elements to the PATH for
1627 MacOSX and replace it with a call to prependEnvPath using the
1628 contents of LyXRC::path_prefix.
1629 (queryUserLyXDir): strip out the code to run reconfigure, instead
1630 returning a boolean indicating the necessity to do so.
1631 (reconfigureUserLyXDir): contains the code to reconfigure the
1632 user support directory. Is now called after the various LyXRC data
1633 files have been read.
1635 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1637 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1639 * converter.[Ch] (convert): take a new parameter try_default. Use
1640 a default converter (imagemagick) if try_default is true.
1642 2005-01-13 Angus Leeming <leeming@lyx.org>
1644 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1645 os::cygwin_path_fix.
1646 (write): output LyXRC::cygwin_path_fix as necessary.
1648 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1651 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1653 2005-01-12 Angus Leeming <leeming@lyx.org>
1655 * lyx_main.C (init): set the PATH variable to include the
1656 directory containing the LyX binary when running on Mac or Windows.
1658 2005-01-12 Angus Leeming <leeming@lyx.org>
1660 * lyx_main.C (init): remove cruft that purports to set the locale
1661 dir. It doesn't and is not needed anyway.
1663 2005-01-10 Angus Leeming <leeming@lyx.org>
1665 * Makefile.am: remove the lyx_main.C special casing.
1667 * BufferView_pimpl.C:
1673 * messages.C: use support/package.h to provide the paths to the
1674 various directories used by LyX.
1676 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1678 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1679 layout if pasting into an empty paragraph)
1681 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1683 * tex-accent.C: add <string>
1685 2005-01-06 José Matos <jamatos@lyx.org>
1687 * ParagraphParameters.C (write): put every parameter in its own line.
1688 * paragraph.C (write): reduce number of consecutive empty lines exported.
1689 * buffer.C (LYX_FORMAT): increase file format to 239.
1691 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1693 * everywhere: change support/tostr.h -> support/convert.h
1695 * tabular.C: make all write_attributes templates, tostr -> convert
1697 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1698 (emptyTag): and -> &&, and fix type for ret from getChar
1699 (getFirstWord): fix type for ret from getChar
1700 (onlyText): and -> &&
1701 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1704 * toc.C (goTo, action):
1705 * text3.C (dispatch):
1706 * text.C (currentState):
1707 * tex-accent.C (DoAccent):
1710 * lyxfunc.C (menuNew):
1711 * lyxfinc.C (replace):
1712 * counters.C (laberItem):
1713 * bufferview_funcs.C (font2string):
1714 * bufferparams.C (writeFile):
1715 * buffer.C (readFile):
1717 * MenuBackend.C: tostr -> convert
1719 * LaTeX.C (runMessage): fix format
1720 (scanAuxFiles): tostr -> convert
1722 * BufferView_pimpl.C (savePosition): fix format
1723 (restorePosition): ditto
1726 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1728 * Spacing.[Ch]: New method getValueAsString().
1732 * ParagraphParameters.C:
1735 * text3.C: store/read spacing value as string.
1737 * rowpainter.C: change float value (spacing_val) to double.
1739 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1740 broken custom document spacing).
1742 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1744 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1745 namespace, also more use of temp references and const
1747 * cursor.[Ch] (getStatus): move to lyxfunc.C
1749 * bufferparams.C: reformat slightly
1751 * bufferview_funcs.C (font2string): constify arg
1757 * buffer_funcs.C: (many funcs): constify arg on function
1758 definitions, also make more local vars const, also add ASSERTS on
1761 * buffer.C (LYX_FORMAT): put const in correct place
1762 (many funcs): constify arg on function definitions, also make
1763 more local vars const
1765 * aspell_local.h: remove "struct" from typdef setup
1767 * aspell.C (check): make word_ok const
1768 (nextMiss): simplify slightly
1771 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1773 * lyxrc.[Ch]: store all float values as strings.
1774 use int (not float) for lyxrc.dpi.
1776 2005-01-04 Angus Leeming <leeming@lyx.org>
1778 * lyx_cb.C (Reconfigure):
1779 * lyx_main.C (queryUserLyXDir):
1780 to run the <system_lyxdir>/configure correctly on Windows, prefix
1781 the path to the script with "sh " when generating the string that
1782 is passed to system().
1784 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1786 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1788 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1790 * lyxlength.C (asLatexString): get rid of setprecision
1792 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1794 * text2.C (setLayout): remove unused variable endpit.
1795 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1797 * paragraph.C (onlyText): remove unused variable style.
1799 * cursor.C (bruteFind): remove unused variables beg and end.
1801 * Makefile.am (dist_noinset_DATA): not needed anymore
1803 * cheaders/*: remove.
1805 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1807 * text3.C: fix LFUN_MATH_MODE.
1809 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1811 * buffer_funcs.C (countWords): new function. Counts words between
1814 * BufferView_pimpl.C (getStatus, dispatch): handle
1817 * LyXAction.C (init):
1818 * lfuns.h: add LFUN_WORDS_COUNT.
1820 2004-12-19 Angus Leeming <leeming@lyx.org>
1822 * buffer.C (save): s/slashify_path/internal_path/.
1824 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1826 * lyxfind.C (findChange): do not search for end of pars, because
1827 the change tracker cannot handle this (fixes bug 1719).
1829 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1831 * paragraph.[Ch] (autoBreakRows): remove
1833 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1835 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1836 avoid using the paragraph one
1838 * text2.C (LyXText, insertStringAsLines): adjust
1840 2004-12-16 Angus Leeming <leeming@lyx.org>
1844 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1846 2004-12-14 Angus Leeming <leeming@lyx.org>
1848 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1850 * bufferlist.C (emergencyWrite):
1851 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1854 2004-12-14 Angus Leeming <leeming@lyx.org>
1856 * main.C: (main): no longer pass pointers to os::init.
1858 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1860 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1861 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1863 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1866 * text3.C: remove selection_possible global flag
1868 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1870 * text2.C (getSelectionSpan): remove
1871 (changeDepth, changeDepthAllowed): adjust
1873 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1875 * Makefile.am (BOOST_LIBS): use boost variables
1877 2004-12-03 José Matos <jamatos@lyx.org>
1879 * buffer.C: format up to 238.
1881 2004-12-03 José Matos <jamatos@lyx.org>
1883 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1885 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1887 * cursor.C (goUpDown): remove call to idxUpDown2
1889 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1891 * tabular.[Ch]: use size_t-like types for cell, row and column
1894 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1896 * lyxfunc.C (getStatus): do not lose previous information when
1897 calling BufferView::getStatus; do not set a default "Command
1898 disabled" message at the beginning, but just before returning.
1900 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1902 * cursor.h (getStatus): add better comment from src/cursor.C
1904 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1906 * text3.C (getStatus): return false when the lfun is not handled
1908 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1910 * broken_headers.h: remove
1912 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1914 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1916 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1917 offset_ref accessors
1919 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1920 top_y_, merge fitcursor with update
1921 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1923 (metrics): introduce
1924 (workAreaDispatch): adapt to new coord scheme
1925 (redoCurrentBuffer): remove
1927 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1929 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1932 * coordcache.[Ch]: add paragraph cache and helpers
1934 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1937 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1938 (targetX, setTargetX): introduce
1940 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1941 baseline -> ascent, as the rest of lyx
1943 * lyxtext.h: remove redoParagraphs, updateParPositions,
1944 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1945 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1946 have ascent/descent (ascent is ascent of first par)
1948 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1951 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1953 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1955 * pariterator.C: fix infinite loop introduced in par->pit renaming
1957 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1958 in insets and LyXText, draw two off-screen paragraphs using
1959 NullPainter, and adapt to new coord scheme
1963 * text3.C: adapt lfun handlers to the new coord scheme, which
1964 means: there's only guaranteed coord information for onscreen pars
1965 plus one above and one below. This implies that one can do search
1966 from y coordinates in the range [-1,workHeight]
1968 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1970 * rename a lot of InsetOld to InsetBase
1972 2004-11-25 Angus Leeming <leeming@lyx.org>
1974 * BufferView_pimpl.C:
1976 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1978 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1980 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1981 call BufferView::getStatus if LCursor::getStatus did nothing
1982 (setStatusMessage, getStatusMessage): removed.
1984 * FuncStatus.C (message): new methods. Used to provide an error
1985 message indicating why a command is disabled.
1986 (clear, |=, FuncStatus): update for message.
1988 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1990 * lyxfunc.C (dispatch): always call sendDispatchMessage
1992 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1995 * BufferView_pimpl.C:
2000 * cursor_slice.[Ch]:
2003 * paragraph_funcs.C:
2009 * undo.C: par->pit renaming
2011 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2013 * tabular.C (cellstruct): use initialization, store a shared_ptr
2014 to insettext instead of the insettext directly, adjust to fit.
2015 (operator=): new function
2016 (swap): new function
2017 (rowstruct): use initialization
2018 (columnstruct): use initialization
2019 (ltType): use initialization
2022 * lyxlength.h (swap): new function
2024 * LColor.[Ch] (operator=): use the common semantics
2026 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2028 * lyxfind.C (findNextChange): update the bufferview after setting
2031 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2033 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2034 number of InsetOptArgs has already been inserted.
2036 * output_latex.C (latexOptArgInsets): new method. This outputs all
2037 the optarg insets, up to the limit defined in the layout file.
2038 (optArgInset): removed
2039 (TeXOnePar): call latexOptArgInsets; correctly update texrow
2041 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2043 * paragraph.C (isLetter): remove special spellchecker-related
2044 code; return true also for digits
2045 (isWord, isKomma): remove
2047 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2048 * lyxfind.C (MatchString()): use isLetter instead of isWord
2050 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2052 * pariterator.h (operatir=): comment out un-implemented member
2055 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2058 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2060 * lyxfont.h: include LColor.h to satisfy concept checks.
2062 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2064 * pariterator.h: add typdefs for value_type, difference_type,
2065 pointer and reference to satisfy concept checks. Also add default
2066 constructor for same reason.
2068 * pariterator.C (operator++): add post-increment operator to
2069 satisfy concept checks.
2071 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2074 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2076 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2077 checks. Also rename base_type to BaseType to follow naming
2080 * FloatList.h: include Floating.h to satisfy concept checks.
2082 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2084 * lyxfunc.C (getStatus): when the origin of the request is menu or
2085 toolbar, and the LyXView does not have focus, do as if there was
2086 no buffer (bug 1720)
2088 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2089 FuncRequest to individual entries of LFUN_SEQUENCE
2091 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2093 * output_latex.C (TeXOnePar): override runparams.moving_arg
2094 according to the needprotect value of the current paragraph (bug
2097 * paragraph.C (simpleTeXOnePar): no need to override
2098 runparams.moving_args here
2100 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2102 * vspace.C: fix off-by-one-error, related to fix #1682
2104 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2106 * lengthcommon.C: a more general fix for bug 1682
2108 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2110 * text.C (backspace): fix crash
2112 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2114 * format.[Ch] (getFormatFromFile): new method
2115 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2117 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2119 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2121 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2123 * lyxfunc.C (dispatch): remove the verbose argument
2124 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2127 * kbmap.C (defkey): set the origin of func to KEYBOARD
2129 * MenuBackend.C (MenuItem):
2130 * ToolbarBackend.C (add): set the origin of func to UI
2132 * funcrequest.[Ch]: add origin member, which indicates which part
2133 of LyX requests an action
2135 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2137 * converter.C (move): don't lie in the error message
2138 * converter.h (isReachable, move): document
2140 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2142 * buffer.C: remove unused using lyx::support::atoi
2143 * paragraph_funcs.C: ditto
2145 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2147 * bufferlist.C (exists): use bind and equal_to instead of
2150 * lyxtextclasslist.C (NumberOfClass): ditto
2152 * cursor.C (insert): use for_each instead of explicit for loop
2154 * bufferlist.C (getFileNames): use std::transform and
2155 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2157 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2160 * buffer.C (changeLanguage): use for_each instead of explicit for
2162 (hasParWithID): implement using getParFromID
2164 * LaTeXFeatures.C: ws change only
2166 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2169 * BufferView_pimpl.C (trackChanges): use for_each instead of
2172 2004-11-04 André Pönitz <poenitz@gmx.net>
2175 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2177 * dociterator.C (asDocIterator): use hard assert again.
2179 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2181 * lyxlength.C (asLatexString): rewrite so that it does not use
2184 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2186 * text3.C (specialChar, dispatch): make sure cursor moves to the
2187 right after inserting an inset
2189 2004-11-02 José Matos <jamatos@lyx.org>
2191 * output_docbook.C (docbook):
2192 * paragraph.C (getID):
2193 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2194 garantee that the output is always legal.
2196 * tabular.C (docbook):
2197 * outputprams.[Ch]: remove mixed contents.
2199 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2201 * text2.C (setCounter): prevent endless loop
2203 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2205 * exporter.C (copyFile): use the mover instead of support::copy()
2206 * exporter.C (Export): pass format and latex name to copyFile()
2207 * exporter.h (addExternalFile): document
2208 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2210 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2212 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2214 2004-10-30 José Matos <jamatos@lyx.org>
2216 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2217 text and no inset or font change. This allows to use CDATA
2218 sections just for the whole paragraph.
2220 2004-10-30 José Matos <jamatos@lyx.org>
2222 * paragraph.C (getFirstWord): remove unused variable.
2224 2004-10-30 José Matos <jamatos@lyx.org>
2226 * paragraph.C (getFirstWord): the content should always be escaped
2228 (simpleDocBookOnePar):
2229 * output_docbook.C (makeEnvironment): replace reference to CDATA
2232 2004-10-30 José Matos <jamatos@lyx.org>
2234 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2236 2004-10-30 José Matos <jamatos@lyx.org>
2238 * output_docbook.C (makeParagraphs):
2239 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2240 standard paragraph has only a given type of content drop the wrapper.
2242 2004-10-29 José Matos <jamatos@lyx.org>
2244 * output_docbook.C (makeEnvironment):
2246 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2248 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2250 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2251 (cleanID): sanitize any id.
2253 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2255 * buffer.C, lyxlex_pimpl.C:
2256 * lyxlex_pimpl.C (setFile):
2257 s/getExtFromContents/getFormatFromContents/
2259 2004-10-28 José Matos <jamatos@lyx.org>
2261 * output_docbook.C (makeEnvironment): move id to broadest possible
2264 * sgml.C (openTag): apply substitution of <> for all attributes.
2266 2004-10-28 José Matos <jamatos@lyx.org>
2268 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2269 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2270 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2272 * sgml.[Ch]: new version for open and closeTag for paragraph and
2273 for strings. Now they handle the ids of paragraphs.
2275 2004-10-26 Angus Leeming <leeming@lyx.org>
2277 * Makefile.am: add mover.[Ch].
2279 * converter.C (convert, move): use the new Movers to move external
2280 files to the temp directory.
2282 * lyx_main.C (init): ensure that the global system_movers data
2285 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2288 * mover.[Ch]: new files, defining a Mover as a utility to move an
2289 external file between directories and, if necessary, manipulate this
2290 file using a helper script.
2292 2004-10-25 José Matos <jamatos@lyx.org>
2294 * output_docbook.C (makeCommand): merge two if's that tested the
2297 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2299 * sgml.C (escapeString): fix warning in a better way
2301 2004-10-25 José Matos <jamatos@lyx.org>
2303 * sgml.C (escapeString): import the require boosts header file for
2304 tie, and avoid a signed unsigned comparison.
2306 2004-10-25 José Matos <jamatos@lyx.org>
2308 * sgml.h: add #include <string>
2310 2004-10-25 José Matos <jamatos@lyx.org>
2312 * sgml.[Ch] (escapeString): new function to escape all the string.
2314 2004-10-24 José Matos <jamatos@lyx.org>
2316 * paragraph.[Ch] (getFirstWord): new function to get the first
2317 word. Useful for description.
2318 (simpleDocBookOnePar): remove depth argument, add another that
2319 says where to start the paragraph.
2321 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2322 use the new functions to fix cleanly the support for descriptions.
2324 2004-10-24 José Matos <jamatos@lyx.org>
2326 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2327 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2328 * output_linuxdoc.C (linuxdocParagraphs):
2329 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2330 add buffer as argument.
2332 2004-10-24 José Matos <jamatos@lyx.org>
2334 * output_docbook.C (makeEnvironment, searchEnvironment): place
2335 CDATA inside paragraphs and fix scope for listitems.
2337 2004-10-24 José Matos <jamatos@lyx.org>
2339 * output_docbook.C: remove using statement for stack.
2341 2004-10-23 José Matos <jamatos@lyx.org>
2343 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2344 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2345 docbook. The new scheme is recursive and makes use of iterators, the
2346 same as latex export works.
2347 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2348 directly with the paragraph contents. This code was moved up to
2349 output_docbook.C (docbookParagraphs).
2350 * sgml.C (openTag, closeTag): removed unneeded newlines.
2351 (closeEnvTags) removed.
2353 2004-10-23 André Pönitz <poenitz@gmx.net>
2355 * undo.C (textUndoOrRedo):
2356 * dociterator.C (asDocIterator): work around crash
2358 * cursor.C (getStatus): replace ASSERT by more verbose error message
2359 and manual correction of the problem. Should increase stability
2360 while providing more sensible information.
2362 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2364 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2366 * bufferlist.C (previous, next): new methods
2369 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2371 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2373 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2374 entities to preamble.
2376 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2378 * messages.C (Pimpl): strip off translation context information
2380 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2382 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2383 the cursor is correct (bug 1694)
2385 2004-10-13 José Matos <jamatos@lyx.org>
2387 * output_docbook.C (docbookParagraphs): fix closing tags in the
2388 end of the document.
2390 2004-10-09 José Matos <jamatos@lyx.org>
2392 * buffer.C: format up to 237.
2393 * bufferparams.C (write): use tostr to convert booleans to strings.
2395 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2397 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2399 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2401 * LaTeX.C: implement use of babel language in xindy.
2403 2004-10-05 José Matos <jamatos@lyx.org>
2405 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2406 Add new translators to help reading and writing the lyx file.
2408 2004-10-05 José Matos <jamatos@lyx.org>
2410 * ParagraphParameters.C (read):
2411 * text.C (readParToken): replace nexToken by more appropriate lex
2414 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2416 * LaTeX.C (runMakeIndex):
2417 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2418 (usually 'makeindex') configurable.
2420 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2421 with a variable rather than with a number.
2423 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2425 * output_latex.C (TeXOnePar): make sure font setting is the first
2426 thing that gets output (and the last at the end). Should fix bug
2429 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2431 * pch.h: use proper signal include
2433 * LaTeX.h: Use preferred calling of Boost.Signal
2436 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2438 * pch.h: dont include <boost/function/function0.hpp>
2440 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2442 * paragraph_pimpl.h: remove usage of ShareContainer
2444 * paragraph_pimpl.C: remove initialization of ShareContainer.
2446 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2450 * BufferView.C (putSelectionAt): change the semantics when
2451 backwards == true: now, this just swaps cursor and anchor wrt the
2454 * BufferView.h (putSelectionAt): add some documentation
2456 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2457 make sure backwardChar is done at least once (to avoid getting
2459 (findNextChange): use putSelectionAt in the forward direction
2460 (operator()): use Paragraph::isWord
2462 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2464 * Spacing.C (set): c_str fix
2466 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2468 * lyx_cb.C (Reconfigure): quote the name of configure script in
2469 case it contains spaces
2471 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2475 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2476 (BOOST_LIBS): use top_buildir when looking for the file
2478 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2480 * pch.h: do not use include boost/format.hpp, multiple symbols
2481 will result (gcc bug)
2484 2004-08-23 José Matos <jamatos@lyx.org>
2486 * bufferparams.C (readToken): fix reading of the author field.
2488 2004-08-20 José Matos <jamatos@lyx.org>
2490 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2492 2004-08-20 José Matos <jamatos@lyx.org>
2494 * lyxlex.[Ch] (findToken): remove function.
2496 * ParagraphParameters.C (findToken):
2497 * bufferparams.C (findToken): replace call for previous function
2498 with local copy. This local function has one more argument, the
2499 read string argument.
2501 2004-08-16 José Matos <jamatos@lyx.org>
2503 * ParagraphParameters.C (write):
2504 * Spacing.C (writeFile):
2505 * bufferparams.C (writeLaTeX):
2506 * lyx_cb.C (Reconfigure):
2507 * paragraph.C (write):
2508 * tabular.C (write): remove unnecessary space at end of line.
2511 2004-08-16 José Matos <jamatos@lyx.org>
2513 * text.C (readParagraph): remove debug message.
2515 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2517 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2520 * output_plaintext.C (asciiParagraph): set depth correctly
2522 * outputparams.h: add member depth
2524 * paragraph_funcs.C (ownerPar): remove.
2526 * text2.C (setCounter): remove first_pit; comment out some
2527 non-working code that uses ownerPar
2529 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2532 2004-08-16 José Matos <jamatos@lyx.org>
2534 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2535 For the same level of importance use the same chanel to report problems.
2536 (read): add code to deal with \begin_body and \end_body.
2539 2004-08-15 José Matos <jamatos@lyx.org>
2541 * lyxlex.C (getString): fix comment, buffer::readBody is now
2542 buffer:readDocument.
2544 * tex-strings.C (string_papersize): Default -> default,
2545 Custom -> custom, for consistency with other options.
2547 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2551 * Makefile.am: support pch
2553 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2555 * text.C (readParToken): remove the static LyXFont variable and
2556 pass it as a parameter instead. This fixes a nasty bug where an
2557 inset will be inserted with a bad font in some situations
2558 (readParagraph): adapt
2560 * text2.C (setCounter): reduce number of calls to pars_[pit]
2562 * text.C (singleWidth): add an assert, fix a test
2564 * rowpainter.C (paintText): reduce number of calls to singleWidth
2566 * paragraph.C (isHfill):
2567 (isNewline): ws only
2569 2004-08-14 André Pönitz <poenitz@gmx.net>
2574 * lyxtext.h (several functions): use a Paragraph & argument
2577 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2579 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2581 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2583 * text.C (singleWidth): remove useless test
2585 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2587 * tabular.h: remove bogus comments
2589 * tabular.C (getDescentOfRow):
2590 (isPartOfMultiColumn): add assertions
2592 * lyxlength.C (inPixels): remove #warning
2594 2004-08-14 André Pönitz <poenitz@gmx.net>
2596 * paragraph.h: inline getChar()
2598 * BufferView.h: remove unused declarations
2600 2004-08-14 José Matos <jamatos@lyx.org>
2602 * Buffer.[Ch] (readDocument): new name for old readBody.
2603 * Buffer.C: new file format, new keywords: \begin_document,
2604 \begin_header, \begin_body, \end_body.
2606 * bufferparams.C (readToken): replace all calls to lex.nextToken
2607 by lex.next(). Do the same to eatLine except where really needed.
2609 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2610 line when writing to the lyx file.
2612 * output_plaintext.C (asciiParagraph): fix Bibliography style
2615 * text.C (read): fix end of file handling.
2617 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2619 * MenuBackend.C (Menu::operator[]): new method to access
2620 individual menu items
2621 (Menu::hasFunc): new method. search for an item that corresponds
2623 (MenuBackend::specialMenu): new method
2624 (MenuBackend::expand): if a special menu has been set, skip
2625 entries whose func() appears in this menu
2627 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2629 * text3.C: use Debug::DEBUG a bit more
2631 * text.C (leftMargin): try to simplify a tiny bit change var x to
2632 l_margin. Dont output the wide margins always.
2633 (rightMargin): no margin in inner texts
2635 * rowpainter.h (nestMargin): new func
2636 (changebarMargin): new func
2637 (rightMargin): new func
2639 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2643 * factory.C (createInset): modify setDrawFrame
2645 * cursor.C: use Debug::DEBUG a bit more
2647 2004-08-14 André Pönitz <poenitz@gmx.net>
2650 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2651 cache for all insets in (at least partially) visible (top-level)
2654 * BufferView_pimpl.C: reset external coord cache before every update.
2655 This means the coord cache only contains valid entries.
2657 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2660 * BufferView_pimpl.C (getInsetByCode): move function out of class
2661 and change in to a template in anon namespace. Also fix to do what
2664 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2667 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2669 (breakParagraph): rename par to par_offset and use a local
2670 reference. Add code to keep the language over a rebreak.
2671 (breakParagraphConservative): rename par to par_offset, use a
2673 (mergeParagraph): ditto
2675 (isFirstInSequence): ditto
2676 (outerFont): rename pit to par_offset
2678 * paragraph.C: ws change
2679 * paragraph.h: ditto
2683 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2685 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2688 * paragraph.C (simpleTeXOnePar): when we have a \item with
2689 optional argument, enclose the argument with curly brackets (in
2690 case it contains a closing square bracket)
2694 * text3.C (checkInsetHit): constify
2696 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2698 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2699 documents (bug 1629)
2701 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2703 Fix toggling of collapsable insets with the mouse (bug 1558)
2705 * lyxfunc.C (dispatch): adapt to LCursor changes
2707 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2708 make sure that dispatch is not invoked twice
2710 * cursor.C (needsUpdate): new method
2711 (dispatch): return void
2712 (result): new method, to access the DispatchResult of the cursor.
2714 2004-08-13 José Matos <jamatos@lyx.org>
2716 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2718 2004-08-13 André Pönitz <poenitz@gmx.net>
2720 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2722 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2725 2004-08-12 André Pönitz <poenitz@gmx.net>
2727 * text3.C: take out the 'cursor right' form insertInset and only
2728 do it in those places when it is really needed. Fixes crash on
2731 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2733 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2735 * BufferView_pimpl.C (setBuffer): initialize the current font of
2736 the underlying LyXText
2738 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2740 * kbsequence.C (print): use UI native formatting for menu
2743 * text.C (insertChar): call Paragraph::insertChar with a font
2746 * paragraph.C (insertInset, insertChar): the version that takes a
2747 LyXFont argument is now a wrapper around the other one (the
2748 opposite used to be true).
2750 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2751 argument. Font setting is done in Paragraph now.
2753 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2755 * outputparams.h: add new members intitle and lang.
2757 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2758 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2760 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2762 * text3.C (dispatch): remove special handling of button 4 and 5,
2763 it is now taken care of in the frontend code.
2765 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2767 * Spacing.h: add <string> (STLPort compile fix)
2769 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2771 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2773 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2775 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2778 * converter.C (showMessage): inherit from unary_function, make
2781 * buffer.C (writeFile): initialize retval
2783 * InsetList.h: rename private variable list to list_
2784 * InsetList.[Ch]: adjust accordingly.
2786 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2788 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2789 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2790 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2791 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2792 * ParagraphParameters.C, LaTeXFeatures.C: replace
2793 "support/std_sstream.h" with <sstream>
2795 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2797 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2798 * lyxsocket.C (LyXServerSocket): ditto
2799 (serverCallback): ditto
2801 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2803 * LaTeXFeatures.C: check release date when loading jurabib.
2805 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2807 * lyxserver.C (startPipe): call register_socket_callback
2808 (endPipe): call unregister_socket_callback
2810 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2812 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2813 (LyXServerSocket): register the callback
2814 (LyXServerSocket): unregister the callback
2815 (fd): delete function
2816 (serverCallback): improve error checking and setup the callbacks.
2817 (dataCallback): change arg to fd.
2818 (writeln): new func (copied fro the client socket) used for server
2820 (LyXDataSocket): simplify
2821 (~LyXDataSocket): close ann unregiser callback
2822 (server): delete function
2823 (fd): delete function
2824 (readln): small changes, improve some std::string usage
2825 (writeln): constify a bit
2827 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2829 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2832 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2834 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2835 after it has been populated
2837 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2839 * text2.C (insertInset): move cursor when inserting inset.
2841 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2843 * kbmap.C (findbindings): a couple of new methods. returns a
2844 container of kb_sequence objects. The real work is done by the
2845 private recursive version
2846 (printbindings): uses findbindings to print out a bracketed list
2847 of bindings (renamed from findbinding).
2849 * MenuBackend.C (binding): use kb_keymap::findbindings
2851 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2853 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2855 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2857 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2859 * paragraph.C (isWord): return true on insets that report
2862 * text.C (getWord): use Paragraph::isWord to decide what is in a
2863 word and what is not; fix bug 1609.
2865 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2867 * tex-strings.C: add "none" to string_paperpackages[], fixes
2868 off-by-one-error in the paperpackage selection.
2871 * tex-strings.[Ch]: char const * string[n]
2872 -> char const * const string[]
2874 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2876 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2877 command, return early.
2879 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2881 * debug.h: add DEBUG to enum and fix size of ANY.
2883 * debug.C: add support for Debug::DEBUG
2884 (showTags): cast errorTags.level to unsigned int
2886 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2887 (redoCurrentBuffer): ditto
2888 (updateScrollbar): ditto
2889 * cursor.C (dispatch): ditto
2890 * text2.C (setLayout): ditto
2892 (updateCounters): ditto
2894 (deleteEmptyParagraphMechanism): ditto
2896 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2898 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2899 annotations to cleanup the Makefile slightly.
2901 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2903 * lyxrc.C: do not set user_email to a default value but use empty
2904 instead. The entry used to be translated, which does not work
2905 since at the point where lyxrc is constructed there is no
2906 translation service available
2908 * messages.C (getLocaleDir): remove and use directly
2909 lyx_localedir() instead
2911 2004-06-02 Angus Leeming <leeming@lyx.org>
2913 Fix crash caused by dereferencing null pointer 'exportdata' in
2914 OutputParams by creating a new ExportData variable on the heap,
2915 storing it in a boost::shared_ptr.
2916 The crash was triggered when generating an Instant Preview
2917 of an external inset.
2919 * Makefile.am: add outputparams.C
2921 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2922 (c-tor): allocate memory to it.
2924 * exporter.C (c-tor): associated changes.
2926 2004-06-01 Angus Leeming <leeming@lyx.org>
2928 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2929 contains data before calling isInset(0). (Bug 1513.)
2931 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2933 * exporter.C (checkOverwrite): new method
2934 * exporter.C (copyFile): new method
2935 * exporter.C (Export): copy referenced files to the document dir
2936 * exporter.[Ch]: new class ExportedFile
2937 * exporter.[Ch]: new class ExportData. Contains currently the
2938 names of referenced external files
2939 * outputparams.h: add exportdata member.
2941 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2943 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2946 2004-05-19 Angus Leeming <leeming@lyx.org>
2951 * lyxfunc.C: small changes due to the introduction of namespace
2952 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2954 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2956 * text3.C (dispatch): supress update when only moving the cursor
2957 * cursor.C (selHandle): remove commented code
2959 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2961 * paragraph.C (startTeXParParams): correct column count
2962 * CutAndPaste.C (pasteSelection): remove const_cast
2963 * output_docbook.C (docbookParagraphs): remove const_cast
2964 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2965 const_cast and return ParagraphList::const_iterator
2966 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2967 * output_plaintext.C (writeFileAscii): remove const_cast
2968 * paragraph.[Ch] (simpleTeXOnePar): make const
2969 * paragraph_funcs.C (outerPar): use const iterators
2970 * paragraph_pimpl.C (validate): use const iterators
2971 * text.C (setHeightOfRow): use const iterators
2973 2004-05-17 Angus Leeming <leeming@lyx.org>
2976 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2978 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2979 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2980 if the citation engine has changed.
2982 2004-05-14 José Matos <jamatos@lyx.org>
2984 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2985 if the textclass does not provide it. Have it different for sgml and
2987 support the language of document.
2988 * output_docbook.C (docbookParagraphs):
2989 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2990 first anchor as the id of the paragraph, remove special case code.
2991 * sgml.C (escapeChar): escape only < & >.
2993 2004-05-14 Angus Leeming <leeming@lyx.org>
2995 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2996 dependencies on src/frontends/controllers/biblio.h. Define a
2997 CiteEngine_enum wrapper class to enable the enum to be forward
3000 2004-05-12 Angus Leeming <leeming@lyx.org>
3002 * buffer.C: up LYX_FORMAT to 234.
3003 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3004 use_numerical_citations with a single biblio::CiteEngine cite_engine
3006 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3008 2004-05-13 José Matos <jamatos@lyx.org>
3011 * converter.C (Converter, readFlags): add xml member.
3012 * outputparams.h: add XML flavor.
3013 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3015 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3017 * lyxfunc.C (dispatch):
3018 (getStatus): fix handling of LFUN_SEQUENCE
3020 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3022 * debug.C (showLevel): do not forget the end-of-line marker
3024 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3026 * kbmap.C (read): do not stop parsing a bind file when an error
3029 2004-04-29 Angus Leeming <leeming@lyx.org>
3034 * text2.C: wrap a bunch of #warning statements
3035 inside #ifdef WITH_WARNINGS blocks.
3037 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3039 * buffer.C: increment format to 233.
3041 2004-04-28 Angus Leeming <leeming@lyx.org>
3043 * BufferView_pimpl.C:
3046 s/updateToolbar()/updateToolbars()/
3047 s/Toolbar.h/Toolbars.h/
3049 2004-04-28 Angus Leeming <leeming@lyx.org>
3051 * BufferView.[Ch] (c-tor):
3052 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3053 No longer passes these data to the WorkArea generator.
3055 2004-04-28 Angus Leeming <leeming@lyx.org>
3057 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3059 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3061 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3063 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3065 * output_latex.C (TeXEnvironment): make sure that there is a line
3066 break before \end{foo} for the last paragraph of a document
3067 (TeXOnePar): if the paragraph is at the end of the document (or
3068 inset) and the language has to be reset, then make sure that the
3069 line break is _before_ the language command, not after (fixes bug
3070 1225); also make sure that the language reset command is the first
3071 thing after the paragraph (to ensure proper nesting of
3072 environments and thus fix bug 1404)
3074 2004-04-21 John Levon <levon@movementarian.org>
3077 * ToolbarBackend.C: make "name" be a programmatic name
3078 and a gui_name field.
3080 * lyxfunc.C: display the minibuffer on M-x
3082 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3084 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3087 2004-04-19 Angus Leeming <leeming@lyx.org>
3089 * BufferView_pimpl.C (setBuffer): changed preview interface.
3091 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3094 2004-04-19 John Levon <levon@movementarian.org>
3096 * BufferView_pimpl.C:
3097 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3099 2004-04-05 Angus Leeming <leeming@lyx.org>
3101 * text.C (redoParagraphs): add call to updateCounters(), thereby
3102 fixing the missing "Figure #:" label from the caption of a
3105 2004-04-13 Angus Leeming <leeming@lyx.org>
3107 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3108 cursor is clicked out of an inset.
3110 2004-04-13 Angus Leeming <leeming@lyx.org>
3112 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3113 than an InsetOld one.
3115 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3117 * format.[Ch]: add editor to Format
3118 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3119 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3121 2004-04-08 André Pönitz <poenitz@gmx.net>
3123 * metricsinfo.h: remove PainterInfo::width member
3125 2004-04-08 Angus Leeming <leeming@lyx.org>
3127 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3128 "\providecommand" rather than "\newcommand", thereby preventing
3129 clashes with packages that define "\boldsymbol" themselves.
3132 2004-04-08 Angus Leeming <leeming@lyx.org>
3134 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3135 thereby squashing an unnecessary warning.
3137 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3139 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3142 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3144 * BufferView.C (setCursor): call redoParagraph (some insets could
3146 (putSelectionAt): remove the 'double update' trick
3148 * BufferView_pimpl.C (fitCursor): call refreshPar
3149 (workAreaDispatch): remove an uneeded update call
3150 (dispatch): remove some manual update calls
3152 * cursor.[Ch]: remove cached_y_, updatePos
3153 (selHandle): set noUpdate when appropriate
3155 * lyxfunc.C (dispatch): track if we need an update
3157 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3159 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3160 (paintSelection): cheap optimization, do not call cursorX when not
3162 (paintPars): change signature
3165 (paintTextInset): adjust
3169 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3171 * lengthcommon.C: compilation fix: remove explicit array size from
3172 unit_name[] and friends
3174 2004-04-05 Angus Leeming <leeming@lyx.org>
3176 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3178 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3179 present only for the preferences dialog.
3180 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3182 2004-04-05 Angus Leeming <leeming@lyx.org>
3184 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3185 to enable the frontends to export changes to lyxrc correctly.
3187 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3189 2004-04-07 André Pönitz <poenitz@gmx.net>
3191 * cursor.[Ch] (selClear, adjust): remove math
3193 * cursor_slice.C: more agressive assert
3196 * BufferView_pimpl.C: rework mouse event dispatch
3203 2004-04-05 André Pönitz <poenitz@gmx.net>
3205 * cursor.[Ch] (valign, halign...): remove unneeded functions
3207 2004-04-05 Angus Leeming <leeming@lyx.org>
3209 * lyxlength.[Ch] (unit_name et al.): const-correct.
3211 2004-04-05 Angus Leeming <leeming@lyx.org>
3213 * BufferView_pimpl.C:
3222 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3224 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3226 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3228 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3230 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3231 * BufferView_pimpl.[Ch] (getStatus)
3232 * BufferView.[Ch] (getStatus): add
3233 * lyxfunc.C (getStatus): move lfuns handled in
3234 BufferView::dispatch to te function above
3235 * Cursor.C (setSelection): set selection() = true
3237 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3239 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3241 2004-03-31 Angus Leeming <leeming@lyx.org>
3243 * lyxfunc.C (dispatch): Fall through to the generic
3244 Dialogs::show("preamble").
3246 2004-03-31 Angus Leeming <leeming@lyx.org>
3248 * lyxfunc.C (dispatch): Fall through to the generic
3249 Dialogs::show("spellchecker").
3251 2004-03-31 Angus Leeming <leeming@lyx.org>
3253 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3256 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3261 * insetiterator.[Ch]:
3266 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3268 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3270 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3271 insets where we are putting the cursor.
3273 2004-03-31 Angus Leeming <leeming@lyx.org>
3276 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3278 * lyxrc.[Ch] (read, write): overloaded member functions taking
3279 a std::[io]stream arguments.
3281 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3283 2004-03-31 Angus Leeming <leeming@lyx.org>
3285 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3286 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3288 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3289 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3291 2004-03-31 Angus Leeming <leeming@lyx.org>
3293 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3294 the LFUN_ALL_INSETS_TOGGLE code.
3296 2004-03-30 Angus Leeming <leeming@lyx.org>
3298 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3299 has died. Fall through to the generic Dialogs::show("document").
3301 2004-03-30 Angus Leeming <leeming@lyx.org>
3304 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3305 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3307 * lyxfunc.C (getStatus, dispatch): define the actions for these
3308 lfuns. Little more than a cut and pste job from ControlDocument.C
3310 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3312 2004-03-30 Angus Leeming <leeming@lyx.org>
3315 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3316 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3318 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3319 open/closed state of ollapsable insets. Usage:
3321 all-inset-toggle <state> <name>, where
3322 <state> == "open" || "closed" || "toggle" and
3323 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3325 * lyxtext.h, text2.C (toggleInset): removed.
3327 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3328 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3329 now passes LFUN_INSET_TOGGLE to the found inset.
3331 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3332 is now invoked as "all-insets-toggle toggle branch".
3334 2004-03-30 Angus Leeming <leeming@lyx.org>
3338 * pariterator.[Ch]: added/corrected header blurb.
3340 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3342 * dociterator.[Ch]: add an inset_ member
3343 (backwardPos): implemented
3344 (backwardPos, forwardPos): use inset_ when the stack is empty.
3345 (doc_iterator_begin, doc_iterator_end): implemented
3346 * pariterator.[Ch]: adjust, add begin, end
3347 * insetiterator.[Ch]: adjust, add begin, end
3351 * BufferView_pimpl.C:
3352 * CutAndPaste.C: adjust
3354 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3356 * buffer.C: increment file format to 232.
3357 * LaTeXFeatures.C: add bibtopic package.
3358 * bufferparams.[Ch]: param \use_bibtopic.
3360 * lyxrc.[Ch]: add lyxrc bibtex_command
3361 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3363 * buffer.C: increment file format to 231.
3365 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3367 * dociterator.C: implement forwardPar
3368 * iterators.[Ch]: remove, replaced by
3369 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3371 * BufferView_pimpl.C:
3374 * bufferview_funcs.C:
3380 * Makefile.am: adjust
3382 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3384 * CutAndPaste.C (pasteSelection): fix 2 crashes
3385 (eraseSelection): fix a crash
3386 * paragraph_funcs.C: remove a warning
3388 2004-03-28 Angus Leeming <leeming@lyx.org>
3391 * LyXAction.C (init): new LFUN_PRINT.
3393 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3395 2004-03-27 Angus Leeming <leeming@lyx.org>
3398 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3400 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3402 2004-03-27 Angus Leeming <leeming@lyx.org>
3404 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3405 insetlist always contains non-null pointers to insets.
3407 2004-03-26 Angus Leeming <leeming@lyx.org>
3409 * src/BufferView_pimpl.C:
3410 * src/CutAndPaste.C:
3413 * src/output_plaintext.C:
3414 * src/outputparams.h:
3415 * src/paragraph_funcs.C:
3419 * src/frontends/controllers/ControlErrorList.C:
3420 * src/frontends/gtk/FileDialogPrivate.C:
3421 * src/frontends/gtk/GPainter.C:
3422 * src/frontends/gtk/GToolbar.C:
3423 * src/frontends/qt2/QRef.C:
3424 * src/mathed/math_scriptinset.C: squash compiler warnings.
3426 2004-03-26 Angus Leeming <leeming@lyx.org>
3428 * ispell.C (LaunchIspell::start):
3429 * lyx_cb.C (AutoSaveBuffer::start):
3430 invoke run(DontWait) rather than runNonBlocking().
3432 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3434 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3436 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3438 * kbsequence.C (print): adjust
3440 * kbmap.C (printKeySym): rename and change signature
3441 (printKey): use LyXKeySym::print()
3443 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3445 * undo.C: add using std::advance to compile for stlport
3447 2004-03-24 Angus Leeming <leeming@lyx.org>
3449 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3450 it leads to a crash when no buffer is present.
3452 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3453 Martin Vermeer <martin.vermeer@hut.fi>
3455 * lyxfunc.C (dispatch):
3456 * bufferparams.C (readToken): use the new LColor::setColor
3458 * LColor.[Ch] (setColor): new version that takes two strings as
3459 argument and creates a new color entry if necessary
3461 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3463 * buffer.C (makeLaTeXFile): if the main latex file that is
3464 processed is usually a subdocument of some master, then pretend
3465 for a while that it is actually the master
3467 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3469 * buffer.C (getLabelList):
3470 (getBibkeyList): use getMasterBuffer()
3471 (getMasterBuffer): new method. Returns the main document in the
3472 case where one is using included documents.
3474 2004-03-25 André Pönitz <poenitz@gmx.net>
3478 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3480 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3482 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3483 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3485 * ParameterStruct.h: merge with ParagraphParameters
3487 * lyxtext.h: remove LyXText::parOffset() and getPar()
3489 * text3.C: Remove all 'manual' update calls. We do now one per user
3490 interaction which is completely sufficient.
3494 * BufferView_pimpl.C:
3495 * FontIterator.[Ch]:
3497 * ParagraphParameters.[Ch]:
3502 * cursor_slice.[Ch]:
3509 * output_docbook.[Ch]:
3510 * output_latex.[Ch]:
3511 * output_linuxdoc.[Ch]:
3512 * output_plaintext.[Ch]:
3514 * paragraph_funcs.[Ch]:
3515 * paragraph_pimpl.[Ch]:
3523 * frontends/controllers/ControlDocument.C:
3524 * frontends/controllers/ControlErrorList.C:
3525 * frontends/controllers/ControlSpellchecker.C:
3528 * insets/insetbase.h:
3529 * insets/insetbibitem.C:
3530 * insets/insetbox.C:
3531 * insets/insetbranch.C:
3532 * insets/insetcaption.C:
3533 * insets/insetcharstyle.C:
3534 * insets/insetcharstyle.h:
3535 * insets/insetcollapsable.C:
3536 * insets/insetcollapsable.h:
3537 * insets/insetert.C:
3538 * insets/insetfloat.C:
3539 * insets/insetfoot.C:
3540 * insets/insetmarginal.C:
3541 * insets/insetnote.C:
3542 * insets/insetoptarg.C:
3543 * insets/insettabular.C:
3544 * insets/insettext.C:
3545 * insets/insettext.h:
3546 * insets/insetwrap.C:
3547 * mathed/math_mboxinset.C:
3548 * mathed/math_nestinset.C:
3549 * mathed/math_scriptinset.C:
3550 * mathed/math_scriptinset.h:
3553 2004-03-24 Angus Leeming <leeming@lyx.org>
3555 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3556 deal with any child processes that have finished but are waiting to
3557 communicate this fact to the rest of LyX.
3559 2004-03-24 Angus Leeming <leeming@lyx.org>
3561 64-bit compile fixes.
3563 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3564 (c-tor): pass lyx::pos_types rather than ints.
3566 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3569 * text.C (Delete): compile fix.
3570 (getPar): ensure that function declaration is the same as that in
3573 2004-03-23 Angus Leeming <leeming@lyx.org>
3575 * ispell.C (LaunchIspell):
3576 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3577 a boost::shred_ptr rather than a std::auto_ptr.
3579 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3581 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3582 handle LFUN_FILE_INSERT_*
3584 * lyxrc.C (setDefaults, getDescription, output, read):
3585 * lyxrc.h: remove ps_command
3587 2004-03-22 Angus Leeming <leeming@lyx.org>
3589 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3590 Ensure that error_handler is processed once only and that all data
3591 is saved before attempting to output any warning messages.
3593 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3595 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3597 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3599 2004-03-19 André Pönitz <poenitz@gmx.net>
3601 * cursor.[Ch] (reset): take main text inset as argument
3603 * BufferView: adjust
3604 * BufferView_pimpl.C: adjust
3606 * paragraph.[Ch]: fix completely broken operator=()
3608 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3610 * LColor.C (getFromLyXName): make sure that the color name is used
3613 2004-03-17 Angus Leeming <leeming@lyx.org>
3616 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3618 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3619 dialog and to kill a forked process.
3621 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3623 * text2.C (setCursorFromCoordinates): fix font problem
3625 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3627 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3628 bogus "rebuild cursor" code
3630 2004-03-11 André Pönitz <poenitz@gmx.net>
3632 * buffer.[Ch]: use InsetText instead of LyXText as container for
3635 * dociterator.[Ch]: drop the BufferView * member which is not needed
3636 anymore after the change to buffer.C
3638 * paragraph_funcs.C:
3642 * BufferView_pimpl.[Ch]:
3644 * cursor_slice.[Ch]: adjust
3646 * text3.C: fix bug in mathDispatch
3648 2004-03-08 André Pönitz <poenitz@gmx.net>
3650 * undo.[Ch]: use 'StableDocumentIterator' as base for
3653 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3656 * bufferparams.[Ch]: add jurabib support and param.
3658 * LaTeX.C: add FIXME/comment.
3660 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3662 * buffer.C: increment file format to 230.
3664 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3666 * cursor.C (dispatch): avoid infinite loops
3668 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3670 * rowpainter.C (paintSelection): fix x coordinates
3672 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3674 * text.C (rowBreakPoint): fix breaking before displayed insets
3676 2004-03-01 André Pönitz <poenitz@gmx.net>
3678 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3680 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3684 * BufferView_pimpl.C:
3692 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3698 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3699 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3701 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3703 * Bidi.[Ch] (computeTables): const correctness
3704 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3705 fill_hfill, fill_label_hfill and x from Row
3706 * lyxtext.h: prepareToPrint returns a RowMetrics
3707 * rowPainter.C: adjust
3708 * text.C (prepareToPrint): use width, not textWidth. adjust
3709 (redoParagraphInternal, cursorX): adjust
3710 * text2.C (getColumnNearX): adjust
3711 (init): put a default value to the top LyXText::width
3713 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3715 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3717 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3719 * lyxtext.h: add FontIterator class
3721 * text.C (FontIterator, operator*, operator->, operator++): add
3722 (rowBreakPoint, setRowWidth): adjust (fixing a
3725 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3727 * BufferView_pimpl.C (workAreaDispatch): allow also
3728 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3730 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3732 * text.C (rowBreakPoint): fix a bug showing with very large insets
3734 2004-02-25 André Pönitz <poenitz@gmx.net>
3737 * cursor.[Ch]: move some mathed specific code to mathed
3739 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3741 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3742 use_tempdir in preferences
3743 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3745 * lyx_main.C: ensure that tempdir is valid
3746 * lyxlex.h: correct typo
3747 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3748 * paragraph.[Ch] (isMultiLingual): make const
3749 * cursor.[Ch] (openable): make const
3751 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3753 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3755 2004-02-20 André Pönitz <poenitz@gmx.net>
3757 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3759 * cursor.[Ch]: prepare for localized getStatus()
3765 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3767 2004-02-20 André Pönitz <poenitz@gmx.net>
3769 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3771 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3773 * text2.C (setCursorFromCoordinates): switch to absolute coords
3775 (cursorDown): adjust
3776 * text3.C (dispatch): adjust
3778 2004-02-16 André Pönitz <poenitz@gmx.net>
3780 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3783 * cursor_slice.[Ch]: remove unneeded acessor function
3785 * lyxtext.h: rename rtl() to isRTL()
3793 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3795 * rowpainter.C (paintSelection): coord fix
3797 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3799 * Spacing.C: compile fix
3801 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3803 * cursor.C (dispatch): restore current_ before returning
3805 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3807 * text2.C (cursorUp, cursorDown): fix coords
3810 2004-02-12 André Pönitz <poenitz@gmx.net>
3815 * text3.C: add LCursor & parameter to most cursor movement functions
3816 remove usage of LyXText::cursorRow() and cursorPar()
3818 * cursor.[Ch]: add textRow() needed members
3821 * BufferView_pimpl.C:
3824 * BufferView_pimpl.C: adjust
3826 2004-02-11 André Pönitz <poenitz@gmx.net>
3830 * BufferView_pimpl.C: shift undo/redo handling
3832 * cursor.[Ch]: fix mathed crash
3835 * lyxtext.h: move selectionAsText to LCursor
3843 * rowpainter.C: fix excessive drawing
3845 2004-02-06 André Pönitz <poenitz@gmx.net>
3848 * BufferView_pimpl.[Ch]:
3849 * text3.C: move some text specific LFUN handling
3851 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3853 * text3.C (checkInsetHit): adjust coords
3854 * text2.C (getColumnNearX): adjust coords
3855 (edit): adjust coords
3856 * text.C (getRowNearY): add two asserts
3858 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3861 * format.C: add using std::distance to compile on gcc 2.95/stlport
3863 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3865 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3867 2004-02-04 André Pönitz <poenitz@gmx.net>
3869 * BufferView.[Ch] (insertInset):
3870 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3875 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3877 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3878 on the default clause of the switch
3879 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3880 wasn't catched by LCursor::dispatch
3882 2004-02-03 André Pönitz <poenitz@gmx.net>
3885 * cursor.[Ch]: some additional asserts
3887 * undo.[Ch]: remove LyXText dependency in interface
3891 * lyxtext.h (firstPar, lastPar): remove dead functions
3896 * paragraph.[Ch]: adjust
3898 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3900 * lyxfind.C (find): fix argument order in call to ::find
3902 2004-02-02 André Pönitz <poenitz@gmx.net>
3904 * cursor.[Ch]: remove direct access to anchor
3906 * text.C: remove findText() hack
3908 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3910 * iterators.[Ch] (lockPath): remove in favour of...
3911 * BufferView.[Ch] (setCursor): this addition
3912 * BufferView.C (putSelectionAt): adjust
3913 * undo.C (performUndoOrRedo): adjust
3914 * lyxfunc.C (dispatch): adjust
3916 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3918 * iterators.C (lockPath): add a missing slice
3919 * undo.C (performUndoOrRedo): remove redundant positioning code
3921 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3923 * vc-backend.C (scanMaster): ";" -> ';'
3925 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3927 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3928 std::binary_function
3930 * lyxtextclass.C (compare_name): rename to...
3931 (LayoutNamesEqual): ...this
3933 * lyxlex_pimpl.C (compare_tags): inherit from
3934 std::binary_function, put back into anon namespace
3936 * lyxfind.C (MatchString): inherig from std::binary_function
3937 (findChange): use empty() istead of !size()
3939 * format.C (FormatNamesEqual): new functor
3946 * converter.C (compare_Converter): rename to...
3947 (ConverterEqual): ...this, and fixup a bit.
3948 (getConverter): use it, and make function const
3949 (getNumber): use it, and make function const
3953 * bufferlist.C: add using boost::bind
3955 * MenuBackend.C (MenuNamesEqual): new functor
3956 (hasMenu): use it, and make function const
3957 (hasSubmenu): use nested bind to get rid of compare_memfun.
3959 2004-01-30 André Pönitz <poenitz@gmx.net>
3961 * BufferView_pimpl.C:
3964 * cursor_slice.[Ch]:
3967 * paragraph_funcs.C:
3968 * paragraph_funcs.h:
3972 * text3.C: move some of the edit(x,y) handling to the insets
3973 some coordinate changes.
3975 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3977 * text.C: add using statements for std::advance and std::distance
3979 * paragraph.C: add using statement for std::distance
3981 * lyxfind.C: add using statement for std::advance
3983 * cursor.C (region): remove std:: from swap
3984 (openable): use nucleus in stead of operator->
3986 * BufferView.C: add using statements for std::distance and std::swap
3988 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3990 * iterators.C: Remove the pimple, move the needed structures to
3991 the header file. Create accessor for the positions stack.
3992 (asPosIterator): remove function
3994 * PosIterator.C (PosIterator): move constructors to top of file
3995 (PosIterator): reimplement the constructor taking a ParIterator in
3997 (setFrom): new function
3998 (operator!=): inline it
4000 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4002 * lyxfind.C (replaceAll): use std::advance
4004 * iterators.h: inherit from std::iterator.
4006 * PosIterator.C (advance, distance): remove
4007 * PosIterator.h: interit from std::iterator.
4009 2004-01-26 André Pönitz <poenitz@gmx.net>
4012 * BufferView_pimpl.[Ch]:
4016 * bufferview_funcs.C:
4026 * output_linuxdoc.C:
4027 * output_plaintext.C:
4029 * paragraph_funcs.[Ch]:
4030 * paragraph_pimpl.[Ch]:
4036 * text3.C: more IU: dumps most of the rest of the mathcursor
4037 implementation into cursor.[Ch]; "globalize" a bit of it.
4039 2004-01-25 Angus Leeming <leeming@lyx.org>
4041 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4043 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4045 * LaTeXFeatures.h: add nice_ and nice() const
4046 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4048 2004-01-20 André Pönitz <poenitz@gmx.net>
4051 * BufferView_pimpl.C:
4053 * bufferview_funcs.C:
4055 * cursor_slice.[Ch]:
4066 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4067 LCursor and mathcursor parts to LCursor and InsetBase.
4069 2004-01-15 André Pönitz <poenitz@gmx.net>
4071 * cursor_slice.[Ch]: add a few covienience functions
4073 * funcrequest.[Ch]: remove BufferView * member
4075 * BufferView_pimpl.C:
4082 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4084 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4086 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4087 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4089 2004-01-13 André Pönitz <poenitz@gmx.net>
4092 * lyxtext.h: hide cursor and selection anchor behind accessor function
4095 * BufferView_pimpl.[Ch]:
4097 * bufferview_funcs.C:
4107 * cursor_slice.[Ch]: some integer type changes for inset unification
4109 * lyxcursor.[hC]: remove, it's CursorSlice now.
4112 * BufferView_pimpl.[Ch]:
4113 * bufferview_funcs.C:
4119 * textcursor.[Ch]: adjust
4121 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4123 * text2.C (undoSpan): add and use
4124 * text.C (breakParagraph): use undoSpan (fix bug 578)
4127 2004-01-08 Angus Leeming <leeming@lyx.org>
4129 * BufferView_pimpl.C (MenuInsertLyXFile):
4130 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4131 * lyxfunc.C (menuNew, open, doImport):
4132 FileFilterList change to the FileDialog open and save functions.
4134 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4136 * ShareContainer.h: make isEqual and isUnique adaptable
4138 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4140 2004-01-07 Angus Leeming <leeming@lyx.org>
4143 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4145 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4147 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4148 functions replacing find, replace and replaceAll.
4150 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4151 LFUN_WORDFIND(FORWARD|BACKWARD).
4153 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4155 * text.C (breakParagraph): remove an outdated #warning
4157 2004-01-07 André Pönitz <poenitz@gmx.net>
4159 * lyxfind.C: somewhat clearer logic
4161 * text.C: prevent crash in cursorX on unitialized row cache
4163 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4165 * lyxcursor.[Ch] (operator>): add
4166 * textcursor.C (selStart, selEnd): use std::min and std::max
4168 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4170 * Chktex.C: include boost/format.hpp
4172 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4174 * InsetList.C: replace functor MathcIt with adaptable functor
4176 (insetIterator): modify accordingly
4178 * BranchList.h: move the BranchNamesEqual functor here from...
4179 * BranchList.C: ... to here
4181 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4183 (add): replace a finding loop with std::find_if.
4185 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4187 * output_docbook.C: moving LatexParam functionality into
4190 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4192 * buffer.C: increment format to 229.
4194 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4197 * lyx_sty.[Ch]: remove minipageindent_def
4203 * text3.C: remove LFUN_INSET_MINIPAGE
4205 2003-12-28 Angus Leeming <leeming@lyx.org>
4207 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4209 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4211 * text2.C (setParagraph): fix off-by-one crash
4213 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4215 * output_docbook.C: header stuff for AGU
4217 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4219 * text2.C (redoCursor): remove
4222 * BufferView_pimpl.C: remove calls to redoCursor and
4223 setCursor(cursor.par(), cursor.pos()) all around
4225 2003-12-15 Angus Leeming <leeming@lyx.org>
4227 * buffer.C: up the format to 228.
4229 2003-12-15 André Pönitz <poenitz@gmx.net>
4231 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4236 * BufferView_pimpl.C:
4245 2003-12-15 Angus Leeming <leeming@lyx.org>
4247 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4248 than getFromGUIName to manipulate the color.
4250 2003-12-14 Angus Leeming <leeming@lyx.org>
4252 * BranchList.[Ch]: minimize the API.
4253 (Branch::getBranch, getColor): now return a 'const &'.
4254 (Branch::setSelected) now returns a bool set to true if the
4255 selection status changes.
4256 (BranchList::clear, size, getColor, setColor, setSelected,
4257 allBranches, allSelected, separator): removed.
4258 (BranchList::find): new functions, returning the Branch with
4260 (BranchList::add, remove): return a bool indicating that
4261 the operation was successful.
4263 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4264 new InsetBranch::isBranchSlected member function.
4266 * LColor.[Ch]: mimimize the API.
4267 (fill): renamed as addColor and made private.
4268 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4269 versions of these functions taking a string arg have been removed.
4271 * bufferparams.C (readToken):
4272 * lyxfunc.C (dispatch):
4273 * lyxrc.C (read): changes due to the altered BranchList and
4276 * factory.C (createInset, readInset): changes due to altered
4279 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4282 * lyxfunc.C: remove insetminipage. "minipage-insert"
4283 now produces a frameless minipage box inset.
4285 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4287 * textcursor.[Ch] (selStart,selEnd): add new methods
4288 remove selection::start, end, use LyXCursor::operator<
4289 * lyxcursor.[Ch] (operator<): add
4290 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4291 * BufferView.[Ch] (unsetXSel): add
4292 * text2.C (clearSelection): use unsetXSel,adjust
4295 * rowpainter.C: adjust
4296 * bufferview_funcs.C (put_selection_at): adjust
4298 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4300 * BufferView_pimpl.C: small coord. correction
4302 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4304 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4305 dragging over the splash screen.
4307 2003-12-11 Angus Leeming <leeming@lyx.org>
4309 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4310 as it is now handled in LyXText::dispatch.
4312 * text3.C (doInsertInset): remove a level of nesting.
4314 2003-12-11 Angus Leeming <leeming@lyx.org>
4316 * factory.C (createInset): changes due to the changed interface to
4317 InsetCommandMailer::string2params.
4319 2003-12-10 Angus Leeming <leeming@lyx.org>
4321 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4322 'dialog-show-new-inset <inset name>'
4324 2003-12-10 Angus Leeming <leeming@lyx.org>
4326 * buffer.C: up the format to 227.
4328 * factory.C: the box inset is now identified simply by 'Box'.
4330 2003-12-10 Angus Leeming <leeming@lyx.org>
4332 * buffer.C: up the format to 226.
4334 * factory.C: the note inset is now identified simply by 'Note'.
4336 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4338 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4339 when a pit is enough. Standarize a couple of loops.
4341 2003-12-05 Angus Leeming <leeming@lyx.org>
4343 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4344 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4345 data to the re-worked "log" dialog.
4347 2003-12-03 André Pönitz <poenitz@gmx.net>
4353 * paragraph_funcs.C:
4355 * text2.C: use Inset::getText instead of Inset::getParagraph
4357 2003-12-03 André Pönitz <poenitz@gmx.net>
4361 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4362 InsetText::read() as LyXText::read()
4364 2003-12-02 Angus Leeming <leeming@lyx.org>
4366 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4367 type. Add a comment in the implementation that the function uses
4368 the stream's bad() function rather than fail() as the std::streams
4371 2003-12-02 André Pönitz <poenitz@gmx.net>
4373 * lyxlex.[Ch]: make interface more similar to std::stream
4375 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4377 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4379 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4381 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4383 * vspace.[Ch]: remove VSpace::NONE
4385 2003-12-01 André Pönitz <poenitz@gmx.net>
4388 * lyxtext.h: move ParagraphList member to LyXText
4389 rename LyXText::ownerParagraphs to LyXText::paragraph
4392 * bufferview_funcs.C:
4402 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4404 * undo.C: fix cursor positioning
4406 2003-12-01 John Levon <levon@movementarian.org>
4408 * BufferView_pimpl.C: fix a crash on exit with
4411 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4413 * BranchList.C: fix setSelected() method.
4415 2003-11-28 André Pönitz <poenitz@gmx.net>
4417 * ParagraphParameters.[Ch]:
4418 * ParameterStruct.h: remove space above/below from Paragraph to
4421 * BufferView_pimpl.C:
4427 * paragraph_funcs.C:
4433 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4435 * factory.C: Syntax change for CharStyles
4437 2003-11-28 André Pönitz <poenitz@gmx.net>
4442 * buffer.[Ch]: move LyXText member
4444 2003-11-28 André Pönitz <poenitz@gmx.net>
4446 * BufferView.[Ch]: make LyXText * text a private member
4448 * BufferView_pimpl.C:
4459 * output_plaintext.C: cleanup
4461 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4464 * lyxtextclass.[Ch]: parametrize SGML document header
4466 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4469 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4472 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4474 * text2.C (setFont): rework using PosIterator (no more recursive)
4475 (setCharFont): no more needed
4476 (setLayout): no more selection cursors fiddling (done by redoCursor)
4477 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4478 destroy remaining ones)
4480 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4482 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4484 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4487 * text3.C: adjust + re-allow multi par depth changes
4488 * textcursor.C: simplify a bit
4490 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4496 * src/output_docbook.C:
4497 * src/output_latex.C:
4502 * src/text2.C: Introducing a number of tags parametrizing various
4503 XML formats that we may want to support
4505 2003-11-25 André Pönitz <poenitz@gmx.net>
4507 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4509 * lyxtext.h (leftMargin/rightMargin): simplify interface
4516 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4518 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4519 master file to any child files. Fixes bug 546.
4521 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4523 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4525 2003-11-24 André Pönitz <poenitz@gmx.net>
4527 * rowpainter.C: simplification
4529 * text2.C (updateCounters): remove call to redoParagraph on
4530 changed labels as this is far too expensive.
4532 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4534 * converter.C (convert): fix a crash: this function gets
4535 called with buffer == 0 from importer code.
4537 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4539 * text3.C (cursorPrevious): make sure that we do not compare
4540 iterators form different containers.
4543 * rowpainter.C (paintSelection): make sure that we do not compare
4544 iterators from different containers.
4546 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4547 iterators from different ParagraphList containers.
4550 * text2.C (LyXText): change order of initialization slightly
4551 (operator=): new function. copy all variables except cache_par_
4552 (moveUp): make sure that we do not compare iterators from
4553 different ParagraphList constainers.
4556 * text.C (firstPar): new function
4557 (lastPar): new function
4558 (endPar): new function
4560 * lyxtext.h: move things around and group public functions, public
4561 variables, private functions, private variables
4563 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4565 * factory.C: change call to InsetERT constructor to avoid
4566 additional invocation of method status
4567 * text2.C (toggleInset): remove redundant update() call
4568 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4569 instead of a Bufferview pointer
4571 2003-11-21 André Pönitz <poenitz@gmx.net>
4573 * rowpainter.C: simplification
4575 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4577 * text3.C (dispatch): make possible to extend a word/row selection
4580 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4582 * lyxtext.h: x0_,y0_ -> xo_,yo_
4583 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4584 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4585 * rowpainter.C (paintRows): paint full paragraphs
4587 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4589 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4592 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4594 * lyxtext.h: add x0_, y0_
4595 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4596 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4598 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4600 * text2.C (setCursorIntern): move the x_target update here *
4601 * text3.C: change some bv() to true/false in calls to
4602 cursorUp/Down/Right/Left
4603 * cursor.C: use helper function.
4605 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4607 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4608 * paragraph_funcs.[Ch]: correct comment
4609 * rowpainter.C: do not paint selections away from bv->cursor()
4610 Fix a long standing selection painting bug.
4611 * text3.C: generalize mouse-selection code to LyXTexts other that
4613 * textcursor.C: do not use y coords if we can use par offsets
4615 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4617 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4618 cursor position after e.g. inset insert)
4620 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4622 * lyxfind.C (replace): adjust to locking removal + some
4625 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4627 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4630 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4633 * output_docbook.C: XML sanitation: new layout
4634 parameters InnerTag and CommandDepth
4636 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4638 * BufferView_pimpl.C:
4640 * text3.C: Fix the insertion and modification of button-style
4643 2003-11-13 André Pönitz <poenitz@gmx.net>
4645 * InsetList.[Ch]: remove deleteLyXText
4647 * paragraph.[Ch]: cache beginOfBody position
4652 * text3.C: remove superfluous update() calls
4656 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4658 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4659 * BufferView.C (fitLockedInsetCursor): remove
4660 * cursor.[Ch] (getDim): add
4661 * text.C (getRowNearY): add faster version
4662 * text3.C: remove some update calls
4664 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4676 * text3.C: The Character Style /XML short element patch.
4678 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4681 * factory.C: Small step to solving 'unable to insert some insets'
4684 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4686 * cursor.[Ch] (updatePos): new function for updating the y
4687 position of the tip inset
4688 * bufferview_funcs.C (put_selection_at):
4689 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4691 2003-11-11 André Pönitz <poenitz@gmx.net>
4693 * text.C: remove big comment on invalid Paragraph pointers as it is
4696 2003-11-11 André Pönitz <poenitz@gmx.net>
4698 * text_funcs.[Ch]: merge with ...
4706 * Makefile.am: remove text_funcs.[Ch]
4708 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4710 * cursor.C (getPos): return absolute cached y coord
4712 * BufferView_pimpl.C (fitCursor): new simplistic code
4713 (workAreaDispatch): add a fitCursor call
4715 2003-11-10 André Pönitz <poenitz@gmx.net>
4718 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4720 2003-11-10 André Pönitz <poenitz@gmx.net>
4722 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4723 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4724 indicate that the cursor needs to leave an inset
4726 * lyxtext.h: remove inset locking
4728 * cursor.[Ch]: re-implement functionality provided by inset locking
4731 * BufferView_pimpl.[Ch]:
4733 * bufferview_funcs.[Ch]:
4745 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4747 * PosIterator.[Ch]: replace the stack with a vector, add inset
4749 * iterators.[C]: adjust
4751 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4753 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4755 * paragraph_funcs.C (readParToken): put the correct id in the
4756 error item, not the id of the top paragraph
4758 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4760 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4761 * bufferview_funcs.C (put_selection_at): use the above
4763 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4765 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4767 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4769 * output_linuxdoc.h:
4770 * output_plaintext.h:
4772 * output_docbook.h: add #include statements
4774 2003-11-05 José Matos <jamatos@lyx.org>
4776 * output_docbook.[Ch]:
4777 * output_latex.[Ch]:
4778 * output_linuxdoc.[Ch]:
4779 * output_plaintext.[Ch]: New files for output formats.
4780 * output.[Ch]: New file for helper functions.
4783 * paragraph_funcs.[Ch]: output functions moved to new files.
4785 * outputparams.h: rename of latexrunparams.h
4793 * paragraph_funcs.[Ch]:
4794 * paragraph_pimpl.[Ch]:
4795 * tabular.[Ch]: rename ascii to plaintext
4796 and LatexRunParams to OutputParams.
4798 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4800 * iterators.[Ch] (text): require bv argument
4801 * undo.C (recordUndo):
4802 * lyxfunc.C (dispatch):
4803 * bufferview_funcs.C (put_selection_at): adjust
4805 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4807 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4809 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4811 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4814 2003-11-04 André Pönitz <poenitz@gmx.net>
4816 * cursor.[Ch]: restructure
4819 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4821 * iterators.[Ch] (asCursor): remove
4823 * lfuns.h: remove LFUN_INSET_EDIT
4829 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4831 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4833 * lyxfind.[Ch]: complete overhaul
4834 * BufferView_pimpl.C:
4836 * paragraph.[Ch] (insert): add
4838 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4842 * text.C: remove dead spellcheck code
4844 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4846 * dispatchresult.h: add a val setter
4848 * cursor.C (dispatch): use a tempvar for data_[i]
4850 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4852 * PosIterator.[Ch]: compile fix
4854 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4856 * text.C (cursorPar): deactivate the cursor cache
4858 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4860 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4862 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4864 * text3.C (dispatch): adjust for new DisptchResult semantics.
4866 * lyxfunc.C (dispatch): handle update when return from
4867 Cursor::dispatch, adjust for new DispatchResult semantics.
4869 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4870 DispatchResult(true) mean to not update. Add class functions for
4871 setting dispatched and update, as well as reading.
4873 * cursor.C (dispatch): don't handle update here
4875 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4877 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4878 * trans_mgr.C: adjust
4880 * paragraph_funcs.C (readParToken): exception safety
4882 * lyxvc.h: store the vcs pointer in a scoped_ptr
4885 * lyxsocket.C (serverCallback): exception safety
4887 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4889 * ispell.C (clone): make it return a auto_ptr
4891 * factory.C (createInset): exception safety
4892 (readInset): exception safety
4894 * bufferlist.C (newBuffer): exception safety
4896 * Thesaurus.C (Thesaurus): use initialization for aik_
4898 * MenuBackend.C (expandToc): exception safety.
4900 2003-11-03 André Pönitz <poenitz@gmx.net>
4904 * bufferview_funcs.C: remove getInsetFromId()
4907 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4913 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4915 * PosIterator.C (distance, advance): new
4916 * bufferview_funcs.[Ch] (put_selection_at): new
4917 * iterators.[Ch] (lockPath): new
4919 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4921 * iterators.[Ch] (asPosIterator): added
4922 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4923 * PosIterator.[Ch]: added
4925 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4929 * cursor.C (dispatch):
4930 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4932 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4933 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4934 contructor, add a class function dispatched. Remove operator>=
4936 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4938 * debug.C: only use the default constructor for debugstream
4941 * main.C (main): include debug.h and setup the lyxerr streambuf
4944 2003-10-31 José Matos <jamatos@lyx.org>
4946 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4948 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4949 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4950 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4951 * paragraph_pimpl.C (simpleTeXSpecialC):
4952 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4953 add LatexRunParams argument.
4955 * exporter.C (Export): change call accordingly.
4957 * latexrunparams.h: add new member to take care of the other backends.
4958 2003-10-30 José Matos <jamatos@lyx.org>
4960 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4961 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4962 factorise code for paragraph output.
4964 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4967 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4969 * text3.C (dispatch):
4970 * lyxfunc.C (dispatch):
4971 * cursor.C (dispatch):
4972 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4974 * dispatchresult.h: make the dispatch_result_t ctor explicit
4976 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4979 * buffer.C: small refactoring of docbook stuff
4981 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4983 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4986 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4988 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4989 operator dispatch_result_t, and operators for == != and >=
4991 * cursor.C (dispatch): adjust for operator dispatch_result_t
4992 removal. comment out call to update
4994 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4996 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5004 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5007 * dispatchresult.h: new file, DispatchResult broken out of
5010 * Makefile.am (lyx_SOURCES): add dispatchresult.h
5012 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5014 * text.C (rowBreakPoint): put a hack inside #if 0
5016 2003-10-28 André Pönitz <poenitz@gmx.net>
5020 * paragraph_funcs.C:
5023 * text2.C: general cleanup (lots of small stuff)
5025 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5027 * text2.C (cursorEnd): simple fix to the "end key goes to one
5028 before the end on last row" bug
5030 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5032 * text.C (backspace): fix the "zombie characters"
5034 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5036 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5038 2003-10-27 André Pönitz <poenitz@gmx.net>
5040 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5042 * factory.C: handle new InsetPagebreak, InsetLine
5044 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5045 and move handling into new InsetPagebreak, InsetLine
5047 * BufferView_pimpl.C:
5049 * ParagraphParameters.C:
5050 * ParameterStruct.h:
5055 * paragraph_funcs.C:
5056 * paragraph_pimpl.C:
5062 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5065 * lyxrow_funcs.[Ch]:
5071 * text3.C: remove lastPos uses in favour of Row::endpos
5073 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5075 * undo.C (performUndoOrRedo): fix two crashes by setting a
5076 cursor by hand and reordering some calls. Use bv->lockInset instead
5077 of inset->edit because the latter loses cursor information
5079 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5081 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5083 (rowBreakPoint): fix width. change point to point + 1.
5084 Add a missing check.
5086 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5089 * lyxfunc.C: fix (at least partly) the problems
5090 with the Nav menu and headers inside branch insets
5093 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5095 * paragraph.C (getChar): add strong asserts
5097 * lyxrow_funcs.C (lastPos): remove hideous hack
5099 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5100 (fill): adjust to that (avoid an infinite loop)
5102 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5104 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5106 2003-10-23 André Pönitz <poenitz@gmx.net>
5108 * RowList_fwd.h: change list<> to vector<> to gain speed
5109 after suggestion from Alfredo
5111 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5113 * lyxtext.h: move the bidi stuff from here...
5116 * Bidi.[Ch]: ... to here
5118 2003-10-23 André Pönitz <poenitz@gmx.net>
5121 * text.C (isLastRow, isFirstRow): new functions
5123 * paragraph.h: new width cache member
5125 * rowpainter.C: replace RowList::iterator with Row & where possible
5127 * lyxfunc.C: replace several view()->text with a single call
5129 * toc.C: fix 'unused' warning
5131 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5133 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5134 when woring with stream::pos_type
5135 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5137 2003-10-22 André Pönitz <poenitz@gmx.net>
5140 * text.C: use Row & instead of RowList::iterator
5142 * lyxrow.h: rename end() to endpos()
5148 2003-10-22 Angus Leeming <leeming@lyx.org>
5150 * buffer.[Ch] (fully_loaded): new member function, returning true
5151 only when the file has been loaded fully.
5152 Used to prevent the premature generation of previews and by the
5153 citation inset to prevent computation of the natbib-style label.
5155 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5156 templates are all set up.
5158 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5160 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5162 * text.C: fixed an "oops" in the "is a bit silly"
5165 2003-10-21 André Pönitz <poenitz@gmx.net>
5167 * FuncStatus.[Ch]: small stuff, whitespace
5169 * lyxfont.[Ch]: operator<<() for debug reasons
5173 * lyxtext.h: whitespace, spelling
5175 * paragraph.C: naming of variables
5178 * text2.C: small stuff
5181 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5183 * text.C: (1) finish off the inset display() work;
5184 (2) fix the "is a bit silly" bug (accessing char
5187 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5189 * text.C: re-introduce display() for insets, fixing the
5190 various bugs (stretch of line above, math inset
5193 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5195 * text.C (rightMargin): remove spurious semicolon
5197 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5200 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5202 * text3.C: fix one crash due to wrong cursor def
5204 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5206 * vc-backend.C (scanMaster): make the regex static
5208 * LaTeX.C (scanAuxFile): make the regexs static
5210 * text3.C (doInsertInset, dispatch, dispatch):
5211 * text2.C (cursorUp, cursorDown):
5212 * text.C (selectNextWordToSpellcheck):
5213 * BufferView_pimpl.C (dispatch):
5214 * lyxfunc.C (dispatch): localDispatch -> dispatch
5216 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5218 * lyxsocket.C: include <cerrno>
5220 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5222 * lyxfunc.C (dispatch): remove textcache stuff
5224 * bufferlist.C (release): remove textcache stuff
5227 * TextCache.C: delete file
5228 * TextCache.h: delete file
5230 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5232 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5233 delete of the bv_->text.
5234 (resizeCurrentBuffer): remove texcache stuff
5235 (workAreaResize): ditto
5237 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5239 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5242 2003-10-16 André Pönitz <poenitz@gmx.net>
5249 * text3.C: speed up by storing y positions per paragraph plus per-row
5250 offset instead of having a 'full' y position in the row.
5252 2003-10-15 André Pönitz <poenitz@gmx.net>
5256 * undo.[Ch]: make undo aware of inner insets
5258 2003-10-14 Angus Leeming <leeming@lyx.org>
5260 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5261 static member functions LyX::ref() and LyX::cref.
5262 (lastfiles): new accessor functions for the new lastfiles_ member var.
5263 (addLyXView, views_): add a new LyXView to the list of views_.
5264 (updateInset): loop over all LyXViews to call their own updateInset
5265 member function, returning a pointer to the Buffer owning the inset.
5267 * BufferView_pimpl.C (loadLyXFile):
5268 * MenuBackend.C (expandLastfiles):
5269 * bufferlist.C (MenuWrite, QuitLyX):
5270 lastfiles is no longer a global variable.
5271 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5273 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5274 static function. Access through LyX::cref().emergencyCleanup().
5276 2003-10-14 André Pönitz <poenitz@gmx.net>
5278 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5280 * undo.[Ch]: restoring part of 'undo in insets'
5283 * undo_funcs.[Ch]: merge with undo.[Ch]
5285 * tabular.C: small cleansing stuff
5287 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5289 * paragraph_funcs.C (readParToken): report unknown insets as error
5290 boxes. Use the outer paragraph as location (also for unknown
5293 * factory.C (readInset): do not abort on reading an unknown inset.
5294 Eat it and return 0.
5296 2003-10-13 Angus Leeming <leeming@lyx.org>
5298 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5300 * lyxrc.C: displayTranslator is now a function,
5301 declared in GraphicsTypes.h.
5303 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5305 * format.C: new placeholder $$a to pass the socket address.
5307 * bufferlist.[Ch]: new function getBufferFromTmp.
5309 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5310 files in the temporary dir.
5312 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5314 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5316 * Makefile.am: add lyxsocket.[Ch].
5318 * lyx_main.C (error_handler): handle SIGPIPE.
5320 2003-10-13 André Pönitz <poenitz@gmx.net>
5322 * BufferView_pimpl.C:
5327 * undo_funcs.[Ch]: use paroffset_type instead of
5328 ParagraphList::iterators to prevent multiple conversion
5329 (and get a more robust interface)
5331 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5333 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5335 * text3.C (dispatch): ditto
5337 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5339 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5340 move the onlyfile, use onlyfile instead of foundfile in a couple
5343 * DepTable.C (update): flush the error stream a bit more
5345 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5347 * lyxserver.C (callback): adjust
5349 * lyxfunc.C (getStatus): add a missing brace in commented code
5350 (ensureBufferClean): reindent
5351 (dispatch): delete version taking a string
5353 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5355 * LaTeX.C (deplog): move found file handlig from here...
5356 (handleFoundFile): .. to new function here.
5357 (deplog): make sure to discover several files mentioned on the
5360 2003-10-10 André Pönitz <poenitz@gmx.net>
5367 * text3.C: fix some of the tabular crashes
5369 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5371 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5373 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5375 2003-10-09 André Pönitz <poenitz@gmx.net>
5377 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5380 * BufferView_pimpl.C:
5381 * bufferview_funcs.C:
5392 * undo_funcs.C: adjust
5394 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5396 * text2.C (incrementItemDepth): new function, use a backtracking
5397 algorithm to discover the correct item depth.
5398 (resetEnumCounterIfNeeded): new function, use a backtracking
5399 algorithm to discover if counter reset is needed.
5400 (setCounter): use them. Simplify a bit. Add different labels for
5401 different item depths for itemize.
5403 * paragraph.C (Paragraph): remove initialization of enumdepth
5406 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5407 enumerate and itemize. Change the type of itemdepth to signed char.
5409 2003-10-08 André Pönitz <poenitz@gmx.net>
5411 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5416 * tabular.[Ch]: fix crash after 'row-insert'
5418 2003-10-08 Angus Leeming <leeming@lyx.org>
5420 Fix doxygen warnings.
5422 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5423 Remove CutAndPaste:: prefix from header file declaration.
5425 * LColor.h (fill): remove LColor:: prefix from declaration.
5427 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5428 use lyx::depth_type rather than Paragraph::depth_type so that
5429 header file and .C file match.
5431 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5433 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5434 * aspell.C: \file aspell_local.C -> \file aspell.C
5435 * gettext.C: \file gettext.C -> \file src/gettext.C
5436 * gettext.h: \file gettext.h -> \file src/gettext.h
5437 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5438 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5439 * text.C: \file text.C -> \file src/text.C
5441 * toc.C: move comment so that doxygen is not confused.
5443 2003-10-07 Angus Leeming <leeming@lyx.org>
5445 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5447 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5450 * aspell_local.h: add forgotten std::string's.
5452 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5459 * text3.C: The Box patch. Fancybox support, minipage, parbox
5461 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5467 * ParagraphParameters.h:
5477 * lyxtextclasslist.h:
5480 * paragraph_pimpl.C:
5481 * textcursor.h: add <string> and other small fixes to make Lars'
5482 std::string patch compile with STLport.
5484 2003-10-06 Angus Leeming <leeming@lyx.org>
5486 * LColor.h: Add missing #include <string>.
5488 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5490 * All most all file in all subdirs: Make <string> be the prefered
5491 way of getting to std::string, add using declarations.
5493 2003-10-06 André Pönitz <poenitz@gmx.net>
5495 * metricsinfo.C: initialize LyXFont before changing attribute.
5496 (fixes the 'math in \emph is upright' bug)
5498 2003-10-06 André Pönitz <poenitz@gmx.net>
5500 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5502 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5505 * paragraph_pimpl.C: Small fixes to build using STLport
5507 2003-10-02 André Pönitz <poenitz@gmx.net>
5510 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5512 2003-10-01 André Pönitz <poenitz@gmx.net>
5514 * factory.C: assert early
5516 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5518 * lyx_main.C: remove the global debug object
5520 * debug.h: adjust for new debugstream
5522 * debug.C: adjust for new debugstream and keep the global debug
5525 2003-09-22 Angus Leeming <leeming@lyx.org>
5527 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5528 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5529 an incomplete class LyXFont.
5531 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5533 * factory.C: bug fix in branches
5535 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5537 * lyxfunc.C (processKeySym): adjust
5539 (dispatch): change arg name from ev to func, adjust
5540 (sendDispatchMessage): ditto
5542 * lyx_main.C (defaultKeyBindings): adjust keybindings
5543 (deadKeyBindings): ditto
5545 * kbsequence.C (addkey): return a FuncRequest
5547 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5549 * kbmap.C (bind): take a FuncRequest as arg, adjust
5552 (defkey): change to take a FuncRequest as arg, adjust
5553 (findbinding): take a FuncRequest as arg, adjust.
5555 * funcrequest.h (operator=): added
5557 * funcrequest.C (FuncRequest): default kb_action changed from
5558 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5560 * buffer.C (dispatch): simplify
5561 (dispatch): adjust to take a FuncRequest as arg, adjust
5563 * boost.C (assertion_failed): change assertion message slightly
5565 * ToolbarBackend.C (read): simplify
5567 * MenuBackend.C (binding): adjust call to findbinding, add a
5568 message if no binding is found.
5570 (expandToc): correct by adding a empty FuncRequest
5572 * LyXAction.C: include <boost/assert.hpp>
5573 (isPseudoAction): delete function
5574 (LookupFunc): change name to...
5575 (lookupFunc): this. change return type to FuncRequest.
5576 (getActionName): take kb_action as arg, simplify
5577 (funcHasFlag): add an assert, simplify.
5579 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5581 * toc.C (action): return a FuncRequest, simplify
5583 * lyxfunc.C (processKeySym): adjust
5584 (getStatus): delete version that takes an int.
5586 (dispatch): delete version that takes action as int
5588 (sendDispatchMessage): simplify and adjust
5590 * funcrequest.C (getArg): take unsigned int as arg
5592 * ToolbarBackend.C (read): adjust
5593 (add): delete version that takes func as a string.
5594 (getIton): take a FuncRequest as arg
5596 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5599 * MenuBackend.C (MenuItem): add a new construct that only takes a
5600 Kind, simplify the constructor use for submenus.
5602 (expandLastfiles): adjust
5603 (expandDocuments): adjust
5604 (expandFormats): adjust
5605 (expandFloatListInsert): adjust
5606 (expandFloatInsert): adjust
5607 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5609 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5610 Remove class variables lyx_pseudo_map and lyx_arg_map
5612 * LyXAction.C (searchActionArg): delete function
5613 (getPseudoAction): delete function
5614 (retrieveActionArg): delete function
5615 (LookupFunc): make it return kb_action, simplify.
5616 (getActionName): simplify
5618 * factory.C (createInset): fix new bug
5620 2003-09-19 Angus Leeming <leeming@lyx.org>
5622 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5623 masterFilename_ parameter in the include inset.
5625 * factory.C (createInset): changes due to the changes to InsetInclude.
5627 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5629 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5631 2003-09-18 Angus Leeming <leeming@lyx.org>
5634 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5635 Inset::fillWithBibKeys.
5636 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5638 2003-09-18 Angus Leeming <leeming@lyx.org>
5640 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5642 (ctor): pass and store a 'Buffer const &'
5643 (buffer): new member function.
5645 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5646 '*this' to the LaTeXFeatures ctor.
5648 2003-09-18 Angus Leeming <leeming@lyx.org>
5654 * text.C: rename EnumLColor as LColor_color.
5656 2003-09-18 Angus Leeming <leeming@lyx.org>
5658 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5659 remove #include "insets/insetbase.h" from cursor.h.
5661 2003-09-18 Angus Leeming <leeming@lyx.org>
5663 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5664 InsetOld_code to remove #include "inset.h".
5666 * iterators.C: add #include "insets/inset.h"
5668 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5670 * BufferView.C: remove more locking stuff that apparently doesn't
5671 do anything sensible.
5673 2003-09-16 André Pönitz <poenitz@gmx.net>
5676 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5679 2003-09-16 Angus Leeming <leeming@lyx.org>
5681 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5683 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5686 * paragraph.h: remove #include "lyxfont.h". Forward declare
5689 2003-09-16 Angus Leeming <leeming@lyx.org>
5691 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5692 of support/textutils.h.
5693 (isWord): move the contents of support/textutils.h's IsWordChar here.
5699 * text2.C: add #include "paragraph.h".
5702 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5704 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5710 * LaTeX.C: use namespace alias for lyx::support::os
5712 2003-09-16 Angus Leeming <leeming@lyx.org>
5715 * bufferview_funcs.C:
5718 * paragraph_pimpl.C:
5720 * text.C: add #include "LColor.h".
5722 2003-09-16 Angus Leeming <leeming@lyx.org>
5724 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5725 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5727 Store the FontBits::color variable as an int rather than as an
5728 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5731 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5732 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5733 string calls together.
5735 * lyxrc.C: add #include "LColor.h".
5737 2003-09-15 Angus Leeming <leeming@lyx.org>
5739 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5742 2003-09-15 Angus Leeming <leeming@lyx.org>
5744 * LColor.h: add an EnumLColor wrapper for LColor::color.
5746 * lyxfont.[Ch] (color, setColor, realColor):
5747 * lyxtext.h, text.C (backgroundColor):
5748 pass EnumLColor args to/from the functions, rather than LColor::color
5752 * lyxtext.h: forward declare EnumLColor.
5754 * lyx_main.C: add #include "LColor.h".
5756 2003-09-15 Angus Leeming <leeming@lyx.org>
5758 * .cvsignore: add lyx-gtk.
5760 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5765 * ParagraphParameters.C
5769 * bufferview_funcs.C
5779 * vc-backend.C: remove usage of STRCONV
5781 2003-09-15 Angus Leeming <leeming@lyx.org>
5783 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5784 explicitly define the color passed to the painter.
5786 2003-09-15 Angus Leeming <leeming@lyx.org>
5788 * bufferparams.C (BufferParams): reorder member initializers to avoid
5791 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5793 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5794 * text.C (updateRowPositions): remove an unusual nop
5796 2003-09-12 André Pönitz <poenitz@gmx.net>
5798 * BufferView_pimpl.C:
5807 * Counters.[Ch]: finish the 'automatic counters' job
5809 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5811 * aspell.C: include <boost/assert.cpp> (compile fix)
5813 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5815 * boost.C (assertion_failed): use lyx::support::abort instead of
5818 2003-09-10 Angus Leeming <leeming@lyx.org>
5820 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5821 with their _fwd progeny.
5823 2003-09-09 Angus Leeming <leeming@lyx.org>
5825 134 files throughtout the source tree: replace 'using namespace abc;'
5826 directives with the appropriate 'using abc::xyz;' declarations.
5828 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5830 * boost.C (emergencyCleanup): moved here from LAssert.c
5831 (assertion_failed): new function, called by BOOST_ASSERT
5833 * several files: change Assert to BOOST_ASSERT
5835 2003-09-09 Angus Leeming <leeming@lyx.org>
5837 * buffer.[Ch]: Add an Impl class and move Buffer's member
5838 variables into it. As a result move several header files out of
5841 Add header files to lots of .C files all over the tree as a result.
5843 2003-09-09 Angus Leeming <leeming@lyx.org>
5845 * buffer.[Ch]: make Buffer's member variables private. Add
5848 Lots of changes all over the tree as a result.
5850 2003-09-08 Angus Leeming <leeming@lyx.org>
5852 * graph.C: #include <config.h>.
5854 2003-09-08 Angus Leeming <leeming@lyx.org>
5858 * BufferView_pimpl.C:
5887 * toc.C: remove redundant using directives.
5889 2003-09-07 Angus Leeming <leeming@lyx.org>
5891 * LaTeXFeatures.h: remove #include "support/types.h".
5892 * ToolbarBackend.h: remove #include <algorithm>.
5893 * changes.h: remove #include <ctime>.
5894 * debug.h: remove #include <iosfwd>.
5895 * graph.h: remove #include "support/std_string.h".
5896 * lyx_main.h: remove #include <csignal>.
5897 * lyxlex_pimpl.h: remove #include <fstream>.
5898 * sgml.h: remove #include <algorithm>, <utility>.
5899 * toc.h: remove #include "support/std_ostream.h".
5900 Add #include <iosfwd>.
5902 2003-09-07 Angus Leeming <leeming@lyx.org>
5904 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5906 * converter.h: forward declare LatexRunParams.
5907 * encoding.h: remove #include "lyxrc.h".
5908 * lyxtext.h: remove #include "LColor.h".
5909 * lyxtextclass.h: remove #include "support/types.h".
5910 * trans.h: remove #include "tex-accent.h".
5911 * trans_mgr.h: remove #include "tex-accent.h".
5912 * insets/inset.h: remove #include "support/types.h", <vector>.
5913 * insets/insetcollapsable.h: remove #include "LColor.h".
5914 * insets/insetinclude.h: remove #include "dimension.h".
5915 * insets/insetlatexaccent.h: remove #include "dimension.h".
5916 * insets/insetoptarg.h:: remove #include "insettext.h".
5917 * insets/insettext.h: remove #include "dimension.h",
5918 <boost/shared_ptr.hpp>
5920 * insets/renderers.h: add #include "dimension.h".
5921 * insets/updatableinset.h: add #include "support/types.h".
5923 * many .C files: Associated changes.
5925 2003-09-06 Angus Leeming <leeming@lyx.org>
5927 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5928 one, inside testInvariant.
5930 * PrinterParams.C: new file.
5931 * PrinterParams.[Ch]: move the function bodies out of line.
5933 2003-09-06 Angus Leeming <leeming@lyx.org>
5935 * ParagraphParameters.h: forward declare ParameterStruct rather than
5936 including its header file.
5937 (depth): moved out-of-line.
5939 2003-09-06 Angus Leeming <leeming@lyx.org>
5941 * BufferView_pimpl.h:
5944 * lyxfunc.h: forward declare LyXKeySym rather than
5945 #include "frontends/LyXKeySym.h".
5947 * BufferView_pimpl.C:
5950 * lyxfunc.C: associated changes.
5952 2003-09-06 Angus Leeming <leeming@lyx.org>
5954 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5955 As a result, can remove the #include "insets/inset.h" from BufferView.h
5957 2003-09-06 Angus Leeming <leeming@lyx.org>
5959 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5960 As a result, can remove the #include "insets/inset.h" from BufferView.h
5962 2003-09-06 Angus Leeming <leeming@lyx.org>
5968 * bufferview_funcs.C:
5969 * BufferView_pimpl.C:
5974 * ParagraphParameters.C:
5979 * frontends/controllers/ControlDocument.C:
5980 * insets/insetcaption.C: rearrange the #includes into some sort of
5983 * buffer.h: remove #includes ErrorList.h, undo.h
5985 2003-09-06 Angus Leeming <leeming@lyx.org>
5987 * support/types.h: add a 'depth_type' typedef, used to store the
5988 nesting depth of a paragraph.
5991 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5992 defining explicitly.
5995 * paragraph_funcs.h:
5996 * ParagraphParameters.h:
5997 * sgml.h: use lyx::depth_type rather than Paragraph or
5998 ParameterStruct's depth_type.
6001 * paragraph_funcs.h: no need to #include paragraph.h anymore.
6004 * BufferView_pimpl.C:
6006 * ParagraphParameters.C:
6009 * bufferview_funcs.C:
6016 * frontends/LyXView.C:
6017 * frontends/controllers/ControlDocument.C:
6018 * frontends/controllers/ControlErrorList.C:
6019 * insets/insetbibitem.C:
6020 * insets/insetbranch.C:
6021 * insets/insetcaption.C:
6022 * insets/insetcollapsable.C:
6023 * insets/insetenv.C:
6024 * insets/insetert.C:
6025 * insets/insetfloat.C:
6026 * insets/insetfoot.C:
6027 * insets/insetfootlike.C:
6028 * insets/insetnewline.C:
6029 * insets/insetquotes.C:
6030 * insets/insettabular.C:
6031 * insets/insettext.C:
6032 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6034 * frontends/controllers/ControlChanges.C: #include "changes.h".
6036 2003-09-06 Angus Leeming <leeming@lyx.org>
6038 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6039 than #including paragraph.h.
6042 * RowList.h: deleted. Superfluous.
6052 * insets/insettext.h: use ParagraphList_fwd.h rather than
6055 * paragraph.h: don't forward declare ParagraphList.
6058 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6059 rather than ParagraphList.h. paragraph.h is still needed for the
6060 Paragraph::depth_type parameters.
6062 * textcursor.h: enable it to compile stand-alone in light of the
6065 * bufferview_funcs.C:
6077 * frontends/controllers/ControlParagraph.C:
6078 * frontends/controllers/ControlTabular.C:
6079 * insets/insetmarginal.C:
6080 * insets/insetminipage.C:
6081 * insets/insetnote.C:
6082 * insets/insetoptarg.C: add header files needed to compile again.
6084 2003-09-06 Angus Leeming <leeming@lyx.org>
6086 * RowList_fwd.h: new file, forward-declaring Row rather than
6087 #including lyxrow.h.
6092 * insets/insettext.h: use it instead of RowList.h
6094 * bufferview_funcs.C:
6101 * text3.C: #include "RowList.h".
6103 2003-09-05 Angus Leeming <leeming@lyx.org>
6105 * factory.C (createInset):
6106 * vspace.C (c-tor): replace sscanf call with an istringstream.
6107 * ispell.C: re-add missing HP/UX headers.
6108 * lyxserver.C: re-add missing os2 headers.
6110 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6119 * text3.C: re-add missing system headers, needed for 2.95.2.
6121 2003-09-05 Angus Leeming <leeming@lyx.org>
6123 Changes most place everywhere due to the removal of using directives
6124 from support/std_sstream.h.
6126 2003-09-05 Angus Leeming <leeming@lyx.org>
6128 Replace LString.h with support/std_string.h,
6129 Lsstream.h with support/std_sstream.h,
6130 support/LIstream.h with support/std_istream.h,
6131 support/LOstream.h with support/std_ostream.h.
6133 Changes resulting throughout the tree.
6135 2003-09-05 Angus Leeming <leeming@lyx.org>
6137 * sgml.h: ensure that the header file can be compiled stand-alone.
6138 * *.C: strip out redundant #includes. (320 in total.)
6140 2003-09-04 Angus Leeming <leeming@lyx.org>
6142 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6143 here (from getPackages).
6145 * debug.[Ch]: add a new EXTERNAL tag.
6147 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6149 * text2.C (cursorEnd): simplify
6151 (getColumnNearX): adjust
6153 * text.C (computeBidiTables): adjust
6156 * rowpainter.C (paintChars): adjust
6157 (paintSelection): adjust
6158 (paintChangeBar): adjust
6161 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6163 (numberOfSeparators): adjust
6165 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6171 * text3.C: Restricts the mouse click functionality
6172 of insets like bibtex, include, toc and floatlist to the visible
6173 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6174 up the dialogs. Cursor has to be in front of the inset (i.e.
6175 start of row) for this to function.
6177 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6179 * bufferview_funcs.C (currentState): output row information
6181 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6183 * bufferview_funcs.C (currentState): output paragraph position
6185 2003-09-04 Angus Leeming <leeming@lyx.org>
6187 * FloatList.h: move out #include "Floating.h".
6188 * LaTeX.h: move out #include "DepTable.h".
6189 * LyXAction.h: move out #include "funcrequest.h".
6190 * buffer.h: move out #include "author.h", "iterators.h".
6191 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6192 * lyx_main.h: move out #include "errorlist.h".
6193 * lyxfunc.h: move out #include "FuncStatus.h".
6194 * lyxtext: move out #include "lyxcursor.h".
6195 * paragraph_pimpl.h: move out #include "counters.h".
6197 2003-09-03 Angus Leeming <leeming@lyx.org>
6199 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6200 preamble_snippets list, enabling us to add snippets to the preamble
6201 only if the snippet was not there already.
6203 2003-09-04 Angus Leeming <leeming@lyx.org>
6205 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6207 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6209 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6212 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6214 * BranchList.C: point fix, earlier forgotten
6216 2003-09-02 Angus Leeming <leeming@lyx.org>
6218 * box.C (contains): renamed from 'contained' after a fantastic
6221 2003-09-02 John Levon <levon@movementarian.org>
6227 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6229 2003-09-02 John Levon <levon@movementarian.org>
6231 * text2.C: simplification of cursorEnd(), including partial
6234 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6236 * buffer.C (readFile): add a space
6238 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6240 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6242 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6244 * buffer.C (readFile): new function, take a filename and a
6245 ParagraphList::iterator
6247 (readFile): adjust, make it private. don't use setStream, make
6248 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6249 always contain the filename.
6251 * BufferView.C (insertLyXFile): simplify and make it work for
6254 2003-08-30 John Levon <levon@movementarian.org>
6256 * Makefile.am: fix dist (from Kayvan)
6258 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6260 * most files: change to use const Buffer refs
6262 2003-08-27 André Pönitz <poenitz@gmx.net>
6264 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6265 on top of ownerPar().
6267 2003-08-27 John Levon <levon@movementarian.org>
6269 * funcrequest.C: properly initialise POD members
6271 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6273 * lyxtext.h (top_y): move top_y from here
6278 * BufferView_pimpl.[Ch]: to here
6279 * frontends/screen.C:
6280 * insets/insettabular.C:
6281 * insets/insettext.C: adjust
6282 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6284 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6287 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6289 2003-08-26 André Pönitz <poenitz@gmx.net>
6291 * paragraph_func.[Ch] (outerPar): new function
6294 * paragraph_funcs.C:
6295 * paragraph_funcs.h:
6296 * paragraph_pimpl.C:
6297 * text2.C: remove Inset::par_owner
6299 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6304 * text2.C: eliminates the needFullRow/display() stuff
6305 altogether, putting the logic in metrics/draw in the insets.
6307 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6309 * text2.C (redoParagraphInternal, redoParagraphs):
6310 * text.C (redoParagraph): add a call to updateRowPositions at the
6311 end of each 'metrics-like' call. Remove all others.
6312 (getRow): remove the 'y-computing' version.
6313 (getRowNearY): do not compute nor return the real y. Solve the
6314 'y < 0' problem and simplify.
6316 2003-08-22 Angus Leeming <leeming@lyx.org>
6318 * *.[Ch]: clean-up of licence and author blurbs.
6319 Also move config.h out of a few .h files and into a few .C files.
6321 2003-08-22 André Pönitz <poenitz@gmx.net>
6323 * lyxrow.[Ch]: add x_ and *fill_ members
6328 * text2.C: adjust/remove prepareToPrint() calls
6330 2003-08-22 André Pönitz <poenitz@gmx.net>
6332 * lyxrow.[Ch]: add end_ member
6334 * lyxrow_funcs.C: use LyXRow::end_
6336 * lyxtext.h (singleWidth): add LyXFont parameter
6339 * text2.C: adjust LyXText::singleWidth() calls
6341 * text.C (redoParagraph): simplify row breaking logic
6344 2003-08-19 André Pönitz <poenitz@gmx.net>
6346 * funcrequest.C: initialize button_ member
6349 * rowpainter.[Ch]: interface consolidation
6351 2003-08-18 André Pönitz <poenitz@gmx.net>
6354 * BufferView_pimpl.C:
6356 * paragraph_funcs.C:
6358 * text3.C: remove LyXScreen::draw() and fitCursor calls
6360 * BranchList.h: remove spurious semicolons
6362 * MenuBackend.C: fix branchlist related crash
6364 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6372 * bufferparams.[Ch]:
6376 * text3.C: implements the 'branch inset'
6377 idea. This allows the output of various versions of a document
6378 from a single source version, selectively outputing or suppressing
6379 output of parts of the text.
6380 This implementation contains a 'branch list editor' in a separate
6381 tab of the document settings dialog. Branches are user definable
6382 and have a "display colour" to distinguish them on-screen.
6384 ColorHandler was somewhat cleaned up.
6385 (1) make possible a dynamically growing LColor list by allowing
6386 the graphic context cache to grow along (vector);
6387 (2) eliminate an IMHO unnecessary step in colour allocation.
6389 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6391 * BufferView_pimpl.C: compile fix
6393 2003-08-15 André Pönitz <poenitz@gmx.net>
6395 * rowpainter.C: remove extra metrics calls
6397 * lyxtext.h: merge the two constructors into a single one,
6398 pass reference to owner's par list
6400 * BufferView_pimpl.C:
6404 2003-08-15 André Pönitz <poenitz@gmx.net>
6406 * lyxrow_funcs.[Ch]:
6409 * paragraph_funcs.C:
6414 * text_funcs.C: split LyXText::rowlist_ into individual
6415 Paragraph::rows_ chunks
6418 * BufferView_pimpl.[Ch]:
6421 * text3.C: remove toggleSelection()
6423 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6425 * bufferlist.C: beautify two alerts (shorter text of buttons)
6426 * buffer.C: Remove redundant ' ' from message
6428 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6429 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6430 rename VALIGN_CENTER to VALIGN_MIDDLE
6432 2003-08-11 André Pönitz <poenitz@gmx.net>
6434 * lyxtext.h (getPar):
6435 * text.C: new function
6437 2003-08-11 André Pönitz <poenitz@gmx.net>
6440 * tracer.[Ch]: remove unneeded files
6442 * InsetList.[Ch]: remove resizeInsetsLyXText()
6447 * text3.C: merge insertParagraphs() and appendParagraph()
6448 remove breakAgain(), update()
6450 * BufferView_pimpl.[Ch]:
6451 * bufferview_funcs.[Ch]:
6455 * tabular.C: adjust after text & InsetList changes.
6457 2003-08-08 André Pönitz <poenitz@gmx.net>
6459 * text.C (insertChar, backspace): replace rowlist fiddling
6460 with rebreak of full par
6463 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6464 checkParagraph, updateInset): removed
6466 2003-08-07 André Pönitz <poenitz@gmx.net>
6469 * text3.C: merge some LFUN handlers, remove dead code
6471 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6473 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6475 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6477 * text2.C (DEPM): fix part of bug 1255 and 1256
6479 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6481 * BufferView_pimpl.C (workAreaDispatch): change to use
6482 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6483 that are no mouse related.
6485 2003-08-05 André Pönitz <poenitz@gmx.net>
6488 * BufferView_pimpl.[Ch]:
6489 * bufferview_funcs.C:
6491 * text3.C: rip out "deep update"
6493 * textcursor.[Ch] (last_sel_cursor): remove unused member
6495 2003-08-04 André Pönitz <poenitz@gmx.net>
6498 * BufferView_pimpl.[Ch]:
6499 * ParagraphParameters.C:
6500 * bufferview_funcs.C:
6506 * text3.C: replace "complicated" BufferView::update(...) calls with
6509 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6511 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6513 * Makefile.am (lyx_SOURCES): add paper.h
6515 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6517 * Makefile.am: move things around so that both lyx-qt and
6518 lyx-xforms can be built (according to --with-frontend). Then lyx
6519 is a symbolic link to lyx-[firstfrontend]
6521 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6523 * Always use std::endl with lyxerr
6525 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6527 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6529 2003-08-01 André Pönitz <poenitz@gmx.net>
6532 * BufferView_pimpl.[Ch]:
6534 * text3.C: merge BufferView::repaint() and BufferView::update()
6536 2003-08-01 José Matos <jamatos@lyx.org>
6538 * buffer.[Ch]: file_format is no longer a buffer data element.
6540 2003-08-01 André Pönitz <poenitz@gmx.net>
6545 * text2.C: make redoParagraph more independent of current cursor
6547 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6549 * text2.C: remove unneeded members
6551 2003-07-30 André Pönitz <poenitz@gmx.net>
6553 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6555 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6556 create a single function...
6558 * paragraph_funcs.C (moveItem): ... here.
6561 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6563 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6565 * LColor.[Ch]: Add comment and greyedout logical colors.
6567 2003-07-30 André Pönitz <poenitz@gmx.net>
6569 * tabular.C: don't use Assert too heavily. This crashes where it
6572 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6574 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6575 is disabled (bug 1232)
6577 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6579 * factory.C: limited 'arg' scope
6581 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6583 * factory.C: fixed Note submenu issues
6585 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6587 * factory.C: submenu for Note/Comment/Greyedout
6589 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6592 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6594 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6597 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6598 greyedout. Patch provided by Jürgen Spitzmüller.
6600 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6602 * kbmap.C (read): fix error message when reading bind files
6604 2003-07-29 Angus Leeming <leeming@lyx.org>
6606 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6607 certainly does not do what it purports to do. I am doing it, and
6608 us, a favour by killing it.
6610 2003-07-28 José Matos <jamatos@lyx.org>
6612 * buffer.C (readBody, do_writeFile):
6613 * paragraph.C(readParagraph): \end_document replaces \the_end.
6615 2003-07-29 André Pönitz <poenitz@gmx.net>
6618 * BufferView_pimpl.[Ch]:
6622 * textcursor.[Ch]: remove toggleToggle & Co
6624 2003-07-28 José Matos <jamatos@fep.up.pt>
6626 * buffer.C (readParagraph):
6627 * params_func (readParToken, readParagraph):
6628 * paragraph.C (write): \layout -> \begin_layout.
6630 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6632 * lyxlex_pimpl.C (setFile): clean up slightly.
6634 * bufferparams.h: add compressed var
6636 * buffer_funcs.C (readFile): adjust for LyXLex change
6637 (newFile): ditto + simplify
6639 * buffer.C (writeFile): handle writing of compressed files
6641 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6642 Check if the file is compressed and set a bufferparm if so.
6644 * Makefile.am (lyx_LDADD): remove explicit -lz
6646 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6648 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6649 makeDocBookFile): put the real LyX version in the first line of
6653 * version.C.in: remove lyx_docversion
6655 * tabular.C (write_attribute): add a template-based version to
6656 write enums properly
6658 2003-07-28 André Pönitz <poenitz@gmx.net>
6663 * text3.C: use doubles again for x-coordinates. They are needed.
6665 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6667 * messages.C (getLocaleDir): use lyx_localedir()
6669 * lyxlex_pimpl.C (setFile): compress stuff
6671 * buffer.C (writeFile): add some compression stuff
6672 (do_writeFile): new func, dont call expliti close... will this
6675 * Makefile.am (lyx_LDADD): add -lz
6677 2003-07-28 José Matos <jamatos@fep.up.pt>
6679 * buffer.C: increment file format.
6680 * paragraph_funcs (readParagraph, readParToken):
6681 * paragraph.C (readParagraph): add \end_layout.
6683 2003-07-27 Angus Leeming <leeming@lyx.org>
6685 * Makefile.am: remove special casing for configure-time setting of
6686 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6688 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6689 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6691 2003-07-26 André Pönitz <poenitz@gmx.net>
6693 * paragraph_func.[Ch]:
6694 * paragraph.C (realizeFont): inline it whereever it is used
6699 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6702 2003-07-26 André Pönitz <poenitz@gmx.net>
6706 * text2.C: get rid of LyXText::need_break_row
6708 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6710 * toc.[Ch]: put namespace toc inside namespace lyx
6712 * MenuBackend.C (expandToc2): adjust for lyx::toc
6715 * lyxfunc.C (dispatch): adjust for lyx::find
6717 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6718 lyx::find instead. Reorganize a bit.
6719 (LyXReplace): rename to replace
6720 (LyXFind): rename to find
6722 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6725 2003-07-26 André Pönitz <poenitz@gmx.net>
6727 * text.C (setHeightOfRow): restrict scope of temporary variable
6729 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6730 code (never has been used?)
6732 2003-07-27 Asger Alstrup <alstrup@local>
6734 * text.C (fill): Optimise algorithm to exploit that we can reuse
6735 the LyXFont for many characters.
6736 (setHeightOfRow): Same thing.
6737 (rowBreakPoint): Same thing.
6739 2003-07-26 Asger Alstrup <alstrup@local>
6741 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6743 * text.C (singleWidth): Spurious font copying in hot-spot
6744 singleWidth avoided. Reorder tests for arabic for efficiency.
6746 * text.C (fill): handle empty paragraphs better.
6748 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6751 * encoding.h: add includes
6753 * lyxrc.C: remove reading of bind files
6755 * lyx_main.C (init): setup bindings and menus only if we have a
6758 * kbmap.C (read): new method. Do the actual reading of bind
6761 * converter.C (dvipdfm_options):
6764 (output): adapt PAPER_* enums.
6766 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6768 * bufferparams.h: remove paper-related enums from there
6770 * paper.h: New file. A trivial header file to hold paper-related
6771 enums. It should later expand to contain many paper-related
6774 * lyxrc.C: declare extern displayTranslator
6776 2003-07-27 José Matos <jamatos@fep.up.pt>
6778 * tabular.[Ch] (linuxdoc): add support for tables and figures
6781 2003-07-27 José Matos <jamatos@fep.up.pt>
6783 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6784 consistency in both functions.
6785 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6787 2003-07-26 Asger Alstrup <alstrup@local>
6789 * rowpainter.C (paintRows): Change algorithm to work directly on
6790 the insets rather than asking every character in the document
6791 whether its an inset.
6793 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6795 * buffer.C (openFileWrite): factorize some code
6797 2003-07-26 Angus Leeming <leeming@lyx.org>
6800 * lyx_main.[Ch]: replace occurances of system_tempdir with
6803 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6805 * rename Inset to InsetOld
6807 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6809 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6810 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6811 which I think is a bit clearer. EDIT is gone, since it was
6812 premature optimisation, and broken for mathed anyway.
6813 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6814 with cursor positioning in insets as well (math insets still do not
6815 work, but that's a different story anyway.) It mysteriously
6816 crashes sometimes with undo in the first paragraph, but I'm fairly
6817 confident that this is a compiler bug.
6819 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6821 * paragraph.C (Paragraph): adjust for new clone return type
6823 (copyIntoMinibuffer): ditto
6825 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6827 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6828 by not having a special case, and always doing a full rebreak of
6829 the document after undo.
6831 2003-07-23 Angus Leeming <leeming@lyx.org>
6833 * factory.C (createInset): InsetExternal::setParams now takes a
6836 2003-07-23 Angus Leeming <leeming@lyx.org>
6838 * factory.C (createInset): changed interface to the external and
6839 graphics mailers' string2params functions.
6841 2003-07-23 Angus Leeming <leeming@lyx.org>
6843 * factory.C (createInset): pass a
6844 Buffer const * parameter to InsetExternalMailer's string2params.
6846 2003-07-22 John Levon <levon@movementarian.org>
6848 * Thesaurus.h: include the right aiksaurus header
6850 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6852 * MenuBackend.C (expand): check menu shortcuts unconditionally
6854 2003-07-21 Angus Leeming <leeming@lyx.org>
6856 * factory.C (createInset): pass a
6857 buffer_path parameter to InsetGraphicsMailer's string2params.
6859 2003-07-21 Angus Leeming <leeming@lyx.org>
6861 * BufferView_pimpl.C (buffer):
6864 * lyxfunc.C (dispatch):
6865 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6866 rather than the grfx shortcut.
6868 2003-07-21 André Pönitz <poenitz@gmx.net>
6870 * rowpainter.C: remove unused variables
6873 * tabular_funcs.h: move to tabular.C
6874 * Makefile.am: adjust
6876 * tabular.[Ch]: basic optical cleaning
6878 * author.h: pass references, not values
6880 2003-07-18 André Pönitz <poenitz@gmx.net>
6888 * text3.C: two-phase drawing for InsetText and InsetTabular
6889 some float -> int changes.
6891 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6893 * lyx_main.C: fix the fix
6895 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6897 * lyx_main.C: fix a crash in batch mode if no files specified
6900 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6902 * format.[Ch] (papersize): moved to BufferParams
6903 * converter.[Ch] (dvips_options): moved to BufferParams
6904 (dvipdfm_options): moved to anon namespace
6905 * bufferparams.[Ch]: added above functions.
6907 2003-07-17 André Pönitz <poenitz@gmx.net>
6911 * text2.C: don't call inset->update() anymore
6913 * metricsinfo.[Ch]: add convenience constructor
6915 2003-07-16 André Pönitz <poenitz@gmx.net>
6920 * text2.C: replace the LyXCursor::irow_ member with
6921 on-demand computation of the value
6923 2003-07-16 John Levon <levon@movementarian.org>
6925 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6927 2003-07-15 André Pönitz <poenitz@gmx.net>
6930 * text2.C: remove no more needed refresh_row
6932 2003-07-15 André Pönitz <poenitz@gmx.net>
6937 * text3.C: refresh_status tristate -> need_update bool
6939 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6941 * lyxtext.h (init): remove reinit argument (act as if always true)
6942 * text2.C: adjust to that
6944 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6946 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6947 * text3.C: use it to delete selections in some cases
6948 (bugs 441, 673, 702, 954).
6950 2003-07-14 André Pönitz <poenitz@gmx.net>
6952 * rowpainter.[Ch]: reduce interface
6954 2003-07-14 André Pönitz <poenitz@gmx.net>
6956 * BufferView_pimpl.C:
6957 * text2.C: adjust after removing unused BufferView * argument
6959 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6961 * text2.C (init): fix a crash fired on resize
6963 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6965 * buffer.[Ch]: added new closing signal
6966 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6967 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6968 BufferView::Pimpl via the closing the signal
6970 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6972 * buffer.[Ch]: take out all bv-related from buffer
6974 * BufferView_pimpl.[Ch]: connect to new signals
6975 * CutAndPaste.C: removed useless asserts
6976 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6979 * lyxfunc.C: moved view-related funciontality from vc here
6980 * paragraph.C: removed outdated comments
6983 2003-07-10 André Pönitz <poenitz@gmx.net>
6985 * BufferView_pimpl.C:
6989 * text2.C: remove InsetText::InnerCache, clean up consequences
6991 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6993 * ispell.C: fix two typos in error messages
6995 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6997 * Extend Note inset to other forms of annotation like Comment
6998 and Greyedout. Right button click gives dialog.
7000 Files modified or added (+):
7004 * ControlNote.[Ch] +
7006 * Makefile.am in frontends/xforms, frontends/xforms/forms,
7007 frontends/controllers
7011 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7013 * aspell.C: add missing namespace lyx::support
7015 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
7017 * BufferView.[Ch] (newFile): Add
7018 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7019 * LaTeX.[Ch] (message): added this signal and use it
7020 * buffer.[Ch] (busy, message): added these signals and use them
7021 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7025 * importer.C: use buffer signals instead of direct bv calling
7026 * lyx_cb.[Ch] (ShowMessage): removed
7029 * paragraph_funcs.C:
7030 * text2.C: use buffer signals
7032 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7034 * introduce namespace lyx::graphics
7036 2003-07-02 André Pönitz <poenitz@gmx.net>
7038 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7040 2003-07-01 André Pönitz <poenitz@gmx.net>
7047 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7048 text*.C to text_func.C
7050 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7052 * introduce namespace lyx::support
7054 2003-06-30 André Pönitz <poenitz@gmx.net>
7059 * text.C: re-enable --with-included-string
7061 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7063 * textcursor.C: add <config.h>
7065 * text.C (getWord): remove const from word_location arg
7067 * lyxvc.C (getLogFile): fix const type order
7069 * lyxtext.h: remove const from word_location arg, add arg name
7071 * lyxlayout.h: currect type on labeltype.
7073 * importer.C: correct \file
7075 * converter.C (intToFormat): use std:: on ret val, ws changes
7077 * bufferlist.h: correct \file
7079 * buffer.C (makeLinuxDocFile): fix const type order
7080 (makeDocBookFile): ditto
7081 (fillWithBibKeys): use std:: on stdlib args.
7083 * CutAndPaste.C: fix authors.
7084 (availableSelections): use std:: on return vector
7086 2003-06-27 André Pönitz <poenitz@gmx.net>
7088 * BufferView_pimpl.C:
7089 * bufferview_funcs.C:
7097 * text3.C: remove LyXCursor::row_ member
7100 * text.C: rename fullRebreak() to partialRebreak() and implement
7101 a fullRebreak() that really bereks fully
7103 * textcursor.h: new struct for cursor-related data
7105 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7107 * lyx_main.C (LyX): get full path of document loaded on the
7110 2003-06-26 André Pönitz <poenitz@gmx.net>
7112 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7113 remove unused/broken operator>,<,>=.
7115 * text.C: remove only use of broken operator<= in an Assert().
7117 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7119 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7120 moved errorlist_.clear to showErrorList
7122 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7124 * converter.C (scanLog, runLaTeX):
7125 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7126 move the bv->showErrorList call to the callers
7127 * lyxfunc.C: i.e. here...
7129 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7130 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7131 namespace, the second to...
7132 * buffer_funcs (BufferFormat, parseErrors): added
7133 * errorlist.C (ErrorList(TeXErrors const &)): removed
7135 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7137 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7139 2003-06-24 "Garst R. Reese" <reese@isn.net>
7143 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7145 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7147 * version.C.in: change docversion to 1.4
7149 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7151 * buffer.C: fix a bug just introduced
7153 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7155 * buffer.[Ch]: added the parseError signal and use it, removed
7157 * BufferView.[Ch] (addError): moved to ...
7158 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7159 to the Buffer::parseError signal to catch (guess what) parse errors
7160 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7162 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7164 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7165 ability to create a buffer and to return an existing one from
7166 the list. Moved these functions to...
7167 * buffer_funcs.[Ch]: added
7168 * BufferView.[Ch] (loadLyXFile): added
7169 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7170 job removed from bufferlist::loadLyXFile.
7171 * buffer.C (setReadOnly): make it work without view
7172 (i.e added an if (users))
7174 2003-06-19 Angus Leeming <leeming@lyx.org>
7177 * LyXAction.C (init):
7178 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7179 with LFUN_DIALOG_SHOW <name> <data>.
7181 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7183 * CutAndPaste.C (availableSelections): small compilation fix for
7184 ancient (gcc 2.9x) compilers
7186 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7188 * text3.C (cursorNext): add tmp var
7190 * text2.C (updateCounters): for function calling out of for clause
7191 (replaceSelectionWithString): ditto
7192 (insertStringAsParagraphs): ditto
7193 (getColumnNearX): add tmp var
7194 (setCursorFromCoordinates): add tmp var
7195 (cursorDownParagraph): add tmp var
7196 (deleteEmptyParagraphMechanism): add tmp var
7198 * text.C (insertChar): add tmp var
7200 * rowpainter.C (paintDepthBar): add tmp var
7202 * CutAndPaste.C (availableSelections): potentially check all
7203 paragraphs in a cut to fill the shown strings.
7205 2003-06-18 André Pönitz <poenitz@gmx.net>
7207 * kbmap.[Ch]: use vector<> instead of list<>
7209 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7211 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7212 pasteSelection with index
7214 * text2.C (pasteSelection): modify, call pasteSelection with index
7216 * paragraph.C (asString): reimplement version with no interval to
7217 call the one with interval.
7219 * lyxtext.h: add index arg to pasteSelection
7221 * MenuBackend.C (MenuItem): handle PasteRecent
7222 (Menu::read::Menutags): add md_pasterecent
7224 (expandPasteRecent): new function
7227 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7229 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7231 (availableSelections): new function
7233 2003-06-17 Angus Leeming <leeming@lyx.org>
7235 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7237 2003-06-17 Angus Leeming <leeming@lyx.org>
7240 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7242 * lyxfunc.C (dispatch): invoke it.
7244 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7246 * iterators.C (operator++, ParPosition): reintroduce some
7247 const_cast for the benefit of older compilers.
7249 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7251 * text3.C (dispatch): do not modify clipboard when doing
7252 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7253 LFUN_DELETE_SKIP on a selection selection
7255 2003-06-16 André Pönitz <poenitz@gmx.net>
7261 * tabular.[Ch]: IU of clone() and getLabelList();
7263 2003-06-13 André Pönitz <poenitz@gmx.net>
7265 * tabular.h: compactification
7267 2003-06-12 André Pönitz <poenitz@gmx.net>
7271 * tabular_funcs.h: some renaming plus whitespace
7273 2003-06-12 André Pönitz <poenitz@gmx.net>
7276 * BufferView_pimpl.C:
7282 * toc.C: Return a Paragraph & for ParIterator::operator*()
7284 2003-06-11 John Levon <levon@movementarian.org>
7288 * ToolbarBackend.C: add "Toolbars" section and
7291 2003-06-10 Angus Leeming <leeming@lyx.org>
7294 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7296 * lyxfunc.C (dispatch): invoke it.
7298 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7300 * main.C: protect <ios> with HAVE_IOS
7301 (main): protect sync_with_stdio with HAVE_IOS
7303 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7305 * text2.C (cutSelection): adjust
7306 (pasteSelection): adjust
7308 * messages.C: handle get of empty string
7310 * main.C (main): use sync_with_stdio(false)
7312 * lyxfunc.C (dispatch): adjust
7314 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7315 (WriteAs): remove unneeded BufferView arg.
7317 * bufferparams.h: use correct types on papersize, papersize2 and
7320 * bufferparams.C (readToken): adjust for type
7321 (writeLaTeX): add missing cases to switch.
7323 * bufferlist.C (quitWriteBuffer): adjust
7326 * buffer.C (asciiParagraph): remove some commented code.
7328 * CutAndPaste.C: remove current_view extern variable.
7329 (cutSelection): add BufferParams arg.
7330 (eraseSelection): add BufferParams arg.
7331 (pasteSelection): add Buffer const & arg
7333 2003-06-07 John Levon <levon@movementarian.org>
7336 * paragraph_funcs.C:
7337 * paragraph_pimpl.C:
7341 * paragraph.C: allow InsetERT to freely space lines,
7342 and some consolidation of code
7344 2003-06-06 José Matos <jamatos@fep.up.pt>
7346 * buffer.C (makeDocBookFile): fix bug #821
7348 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7350 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7352 2003-06-04 Angus Leeming <leeming@lyx.org>
7354 * buffer.C: bump format to 224.
7356 2003-06-05 André Pönitz <poenitz@gmx.net>
7358 * text2.C (redoParagraphs): remove two const_cast<>
7360 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7362 * ParagraphList.h: remove last remnants of NO_STD_LIST
7364 2003-06-03 Angus Leeming <leeming@lyx.org>
7366 * factory.C (createInset): small change to the way InsetExternal's params
7369 2003-06-04 André Pönitz <poenitz@gmx.net>
7371 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7373 * paragraph_pimpl.h:
7374 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7376 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7378 * undo_funcs.C: make some simple cases of undo work again
7380 2003-06-03 John Levon <levon@movementarian.org>
7382 * ispell.C: HPUX doesn't have sys/select.h
7385 2003-06-03 John Levon <levon@movementarian.org>
7387 * CutAndPaste.C: update tabular and include inset
7392 * paragraph.C: remove owningBuffer(), don't pass Buffer
7395 * factory.C: insetGraphicsParams changed
7397 2003-06-02 John Levon <levon@movementarian.org>
7403 * text3.C: remove insetparent
7405 2003-06-02 John Levon <levon@movementarian.org>
7408 * buffer.C: fix inset_iterator.end(), move out of line
7411 2003-06-01 John Levon <levon@movementarian.org>
7413 * text3.C: use a proper cut/paste when doing inset
7414 insert (from Jürgen Spitzmüller)
7416 2003-06-01 John Levon <levon@movementarian.org>
7418 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7420 2003-05-30 André Pönitz <poenitz@gmx.net>
7422 * rowpainter.C: unify second drawing phase
7424 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7426 * trans_mgr.C: remove one case of current_view
7428 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7430 * paragraph_funcs.h: remove paragraph.h include
7432 * paragraph.h: delete NO_STD_LIST stuff
7434 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7436 * buffer.h: remove paragraph.h include
7438 * ParagraphList.C: delete file
7440 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7442 * toc.C (getTocList): adjust
7444 * paragraph_pimpl.C (validate): adjust
7446 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7448 * paragraph.C (Paragraph): adjust
7449 (getPositionOfInset): use const_iterator, adjust
7450 (bibitem): use const_iterator, adjust
7451 (setInsetOwner): adjust
7453 * iterators.C (operator++): adjust
7455 * InsetList.[Ch]: Replace selfmade iterator with standard
7456 vector::iterator also introduce const_iterator. Remove getPos,
7457 getInset and setInset from InsetTable. Adjust accordingly.
7459 * BufferView.C (lockInset): adjust
7460 (ChangeInsets): adjust
7462 * tabular.[Ch]: delete commented same_id functions
7464 2003-05-28 John Levon <levon@movementarian.org>
7466 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7468 2003-05-28 André Pönitz <poenitz@gmx.net>
7470 * metricsinfo.[Ch]: remove 'fullredraw' member
7472 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7474 * lyxtextclass.C (operator): remove caching.
7476 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7480 * text2.C (cursorBottom): adjust
7481 (setCounter): use ParagraphList::find, adjust
7483 * text.C (workWidth): use ParagraphList::find, adjust
7485 * lyxcursor.C (LyXCursor): adjust
7487 * buffer.C (inset_iterator): adjust
7489 * ParagraphList.h: make iterator(value_type) private, make
7490 ParagraphList a friend of iterator.
7492 * ParagraphList.C (find): new function
7494 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7496 2003-05-27 André Pönitz <poenitz@gmx.net>
7498 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7500 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7502 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7504 2003-05-26 John Levon <levon@movementarian.org>
7506 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7508 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7510 * remove same_id from function signatures, adjust.
7512 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7514 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7516 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7518 * paragraph.C (Paragraph): get rid of same_ids parameter
7520 * ParagraphList.C (insert): adjust
7523 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7525 * paragraph_funcs.C (breakParagraph): adjust
7526 (breakParagraphConservative): adjust
7528 * buffer.C (readParagraph): adjust
7530 * ParagraphList.C (insert): take a reference instead of a pointer
7533 * paragraph.[Ch] (id): new function
7535 * bufferlist.C (newFile): adjust
7537 * ParagraphList.C (ParagraphList): adjust
7539 (push_back): take a reference instead of a pointer.
7541 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7543 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7546 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7547 set else use old code.
7549 * ParagraphList.C: remove all NO_NEXT code and only compile this
7550 code of NO_STD_LIST is set.
7552 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7554 * BufferView_pimpl.C:
7564 * graphics/GraphicsConverter.C:
7565 * graphics/PreviewLoader.C: header adjustment
7567 2003-05-23 Angus Leeming <leeming@lyx.org>
7569 * LaTeXFeatures.[Ch] (useBabel): new method.
7570 * bufferparams.C (writeLaTeX): use it.
7572 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7574 * ParagraphList.h (set): remove unused function.
7576 2003-05-23 André Pönitz <poenitz@gmx.net>
7579 * BufferView_pimpl.C:
7583 * undo_funcs.C: setUndo reworked
7585 * iterators.[Ch]: add access to topmost ParagraphList
7587 * lyxtext.[Ch] (workWidth): add a const
7589 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7591 * texrow.[Ch] (increasePos): remove function
7592 * exporter.C (export): removed unused var and outdated comment
7594 2003-05-23 Angus Leeming <leeming@lyx.org>
7596 * latexrunparams.h: rename fragile as moving_arg.
7597 * paragraph.C (simpleTeXOnePar): ditto.
7598 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7600 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7602 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7604 (textUndoOrRedo): comment out a currently unused var.
7606 * paragraph.h (NO_NEXT): enable NO_NEXT
7608 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7610 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7612 * exporter.C (Export): adjust for removeAutoInsets removal.
7614 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7616 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7618 * BufferView.[Ch] (removeAutoInsets): delete function
7620 2003-05-22 Angus Leeming <leeming@lyx.org>
7622 * latexrunparams.h: add a free_spacing variable.
7624 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7625 to pass moving_arg, as the data is stored in runparams.fragile.
7627 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7628 to Inset::latexOptional or to simpleTeXOnePar.
7630 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7631 free_spacing arg to Inset::latexOptional.
7633 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7636 2003-05-22 Angus Leeming <leeming@lyx.org>
7638 * latexrunparams.h: add fragile and use_babel variables.
7640 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7641 * buffer.C (makeLaTeXFile): store this returned value in
7642 runparams.use_babel, thus passing it to the inset::latex methods.
7644 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7645 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7647 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7648 longer has a fragile arg, as it is stored in runparams.fragile.
7650 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7651 moving_arg parameter as the data is stored in runparams.fragile.
7653 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7654 a fragile parameter as the data is stored in runparams.fragile.
7656 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7658 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7660 2003-05-22 Angus Leeming <leeming@lyx.org>
7662 * latexrunparams.h: add a 'bool nice' which defaults to false.
7664 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7665 now encapsulated within runparams.
7667 * bufferlist.C (updateIncludedTeXfiles):
7668 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7670 2003-05-22 Angus Leeming <leeming@lyx.org>
7672 * latexrunparams.h: new file containing struct LatexRunParams.
7673 * Makefile.am: add new file.
7675 * LaTeX.[Ch] (c-tor, run):
7676 * buffer.[Ch] (makeLaTeXFile):
7677 * bufferlist.[Ch] (updateIncludedTeXfiles):
7678 * converter.C (convert, scanLog):
7679 * converter.[Ch] (runLaTeX):
7680 * exporter.C (Export):
7681 * paragraph.[Ch] (simpleTeXOnePar):
7682 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7683 * paragraph_funcs.[Ch] (latexParagraphs):
7684 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7685 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7686 pass around a LatexRunParams parameter.
7688 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7690 * paragraph.[Ch]: remove unused constructor
7692 * ParagraphList.C (erase): new function, taking two iterators
7694 2003-05-22 André Pönitz <poenitz@gmx.net>
7696 * undo_funcs.C: remove duplicated code
7698 * iterator.[Ch]: operator=
7700 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7702 * tabular.C (SetMultiColumn): ws changes
7704 * rowpainter.C (paintFirst): get rid of a ->previous
7706 * lyx_cb.C (getPossibleLabel): parlist simplification
7708 * BufferView.C (ChangeInsets): simplify slightly.
7710 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7712 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7713 * lfuns.h: new LFUN_SPACE
7714 * lyxfunc.C: protected space has a new lfun
7715 * paragraph_funcs.C: read new space insets
7717 * factory.C: handle new space insets
7719 2003-05-22 André Pönitz <poenitz@gmx.net>
7722 * BufferView_pimpl.C:
7725 * undo_funcs.C: return a ParIterator from getParFromID.
7727 * iterators.[Ch]: add two const's
7729 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7731 * toc.C (getTocList): adjust
7733 * iterators.[Ch]: rework for parlist
7735 * buffer.C (par_iterator_begin): adjust
7736 (par_iterator_end): adjust
7738 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7740 * BufferView.C (removeAutoInsets): adjust
7741 (ChangeInsets): adjust
7743 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7745 * text.C (top_y): fix bug 1110
7747 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7749 * errorlist.[Ch]: added
7752 * BufferView_pimpl.C:
7753 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7756 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7758 * Makefile.am: ensure that lyx is relinked upon changes to the
7759 various "convenience" libs.
7761 2003-05-20 Angus Leeming <leeming@lyx.org>
7763 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7764 files are compiled in alphabetical order again.
7766 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7768 2003-05-19 Angus Leeming <leeming@lyx.org>
7770 * gettext.[Ch]: remove "char const * _(char const *)".
7772 2003-05-19 André Pönitz <poenitz@gmx.net>
7774 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7783 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7785 2003-05-19 André Pönitz <poenitz@gmx.net>
7789 * lyxtextclass.[Ch]:
7791 * paragraph_funcs.[Ch]:
7793 * text3.C: more insetenv work
7795 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7797 * ParagraphParameters.C (params2string): small bug fixed
7799 2003-05-16 André Pönitz <poenitz@gmx.net>
7802 * bufferview_funcs.C: patch from Kornel Benko to prevent
7803 crash when _(...) is called twice in a statement
7805 2003-05-16 André Pönitz <poenitz@gmx.net>
7812 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7814 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7816 * lyx_main.C (init): remove spurious static_cast
7818 2003-05-14 André Pönitz <poenitz@gmx.net>
7820 * BufferView.C: fix format string
7822 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7824 * BufferView.[Ch] (insertErrors): removed
7825 * BufferView.[Ch] (showErrorList): added
7826 * buffer.C (runChkTeX):
7827 * converter.C (scanLog): call showErrorList instead of inserterrors
7829 2003-05-13 André Pönitz <poenitz@gmx.net>
7831 * BufferView_pimpl.C:
7833 * bufferview_func.C:
7840 * tabular_funcs.h: tostr() from its own header
7842 * ParagraphParameters.C:
7847 * text3.C: STRCONV()
7849 2003-05-12 André Pönitz <poenitz@gmx.net>
7852 * BufferView_pimpl.C:
7856 * ParagraphParameters.C:
7860 * bufferview_funcs.C:
7873 * paragraph_funcs.C:
7877 * text3.C: boost::format -> bformat all over the place
7880 2003-05-09 André Pönitz <poenitz@gmx.net>
7882 * LColor.[Ch]: Pimpl the #include <map> away
7884 2003-05-09 John Levon <levon@movementarian.org>
7886 * bufferlist.C: never remove emergency saves
7888 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7890 * Makefile.am: better lib building
7892 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7894 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7896 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7897 (simpleTeXSpecialChars): adjust
7898 (simpleTeXSpecialChars): adjust
7899 * paragraph.C (simpleTeXOnePar): adjust
7900 * buffer.C (makeLaTeXFile): adjust
7902 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7904 * text2.C (changeDepth): parlist cleanup
7905 (getColumnNearX): ditto
7907 * rowpainter.C (getLabelFont): parlist cleanup
7909 * bufferlist.C (newFile): parlist cleanup
7911 * CutAndPaste.C (eraseSelection): parlist cleanup
7913 * BufferView_pimpl.C (trackChanges): parlist cleanup
7916 * BufferView.C (lockInset): parlist cleanup.
7917 (ChangeInsets): ditto
7919 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7921 * CutAndPaste.h: Update file header.
7923 * CutAndPaste.C: Update file header.
7924 Store the parts cut out of the Document in a limited_stack.
7925 (copySelection): adjust
7926 (pasteSelection): new function, takes the index in the limited stack.
7927 (nrOfParagraphs): adjust
7928 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7929 simplify error inset insertion.
7930 (checkPastePossible): adjust
7932 2003-05-06 John Levon <levon@movementarian.org>
7934 * text2.C: don't cast wrap inset to float
7936 2003-05-05 André Pönitz <poenitz@gmx.net>
7939 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7941 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7942 few naked Paragraph *.
7944 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7946 * bufferparams.C: Output warning if a document with missing
7947 TeX document class is loaded
7948 * exporter.C: Disable TeX exports if the document class is missing
7951 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7952 isTeXClassAvailable()
7954 2003-05-03 John Levon <levon@movementarian.org>
7957 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7958 explicit cursor show/hide
7960 * BufferView_pimpl.h:
7961 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7962 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7964 * lyxfunc.C: hide cursor before dispatching.
7969 * text3.C: remove explicit cursor hides
7971 2003-05-02 André Pönitz <poenitz@gmx.net>
7973 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7976 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7979 * text2.C: tiny whitespace
7981 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7983 * undo_funcs.C: almost only ws changes.
7985 * ParagraphList.C (splice): just return if pl is empty.
7987 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7989 * ParagraphList.C (splice): new function.
7991 * CutAndPaste.C (pasteSelection): use it
7993 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7995 * CutAndPaste.C (pasteSelection): remove the last next and
7996 previous from this file.
7998 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8000 * CutAndPaste.C (pasteSelection): more clean up, user proper
8001 ParagraphList functions for pasteing.
8003 * ParagraphList.C (insert): new function, three arg insert
8005 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8007 * ParagraphList.C (insert): new function, three arg insert
8009 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8012 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8014 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8016 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8018 * CutAndPaste.C (pasteSelection): remove some unneeded code.
8020 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8022 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8023 (copySelection): clean up a bit.
8024 (pasteSelection): use make_pair
8026 * ParagraphList.C (ParagraphList): implement copy constructor
8027 (operator=): implement, base on copy constructor.
8030 * paragraph.C (erase): return a bool
8032 * paragraph_pimpl.C (erasePos): remove function, move contents...
8033 (erase): ... here. Return a bool.
8034 (erase): call erase instead of erasePos.
8036 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
8038 * ParagraphList.h: define PitPosPair
8039 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8040 ParagraphList, fix a bug on pasting multiple pars
8041 * text2.C: change interface to C&P
8043 2003-04-30 André Pönitz <poenitz@gmx.net>
8045 * undo_func.C: revert part of yesterday's patch 2
8047 2003-04-30 John Levon <levon@movementarian.org>
8049 * LColor.C: s/tabular/table/
8051 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8053 * text3.C (dispatch): do not convert iterator -> pointer
8054 * undo_funcs.C (setCursorParUndo): ditto
8055 * text_funcs.C (transposeChars): ditto
8057 * text2.C (setLayout): ws changes only
8059 * text.C (breakParagraph): do not convert iterator -> pointer
8061 (acceptChange): ditto
8062 (rejectChange): ditto
8067 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8070 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8072 * text3.C (gotoInset): YABG (yet another bad getChar)
8074 2003-04-29 André Pönitz <poenitz@gmx.net>
8076 * paragraph.h: make operator= private unimplemented as long as
8079 * ParagraphList.C: whitespace
8082 * paragraph_pimpl.[Ch]:
8083 * paragraph_funcs.C:
8085 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8088 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8090 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8092 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8093 * paragraph.[Ch] (erase):
8094 * paragraph_pimpl.[Ch] (erase): change return type and value
8095 * text2.C (cutSelection): some rework
8097 2003-04-28 John Levon <levon@movementarian.org>
8099 * bufferlist.C: changes for unsaved changes dialog
8101 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8103 * bufferlist.C (newFile): set language (messages_) for new
8106 * buffer.C (readFile): ws changes only.
8108 2003-04-28 André Pönitz <poenitz@gmx.net>
8113 * BufferView_pimpl.C:
8114 * BufferView.C: getParFromID related ParagraphList::iterator changes
8116 2003-04-28 André Pönitz <poenitz@gmx.net>
8118 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8121 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8123 * messages.C: remove one more localedir class variable.
8125 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8127 * messages.C (getLocaleDir): singleton generation function
8129 (Messages): add a default constructor.
8131 * main.C (main): do not setup localedir here, do not call
8134 * gettext.C (_): use it.
8135 (gettext_init): delete funciton
8137 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8139 * gettext.C (getLyXMessages): new singleton generating function.
8141 * buffer.C (updateDocLang): adjust
8143 * Makefile.am (messages.o): add target
8144 (main.o): remove target
8146 2003-04-27 John Levon <levon@movementarian.org>
8151 * lyxvc.C: specify cancel button in Alert::prompt
8153 2003-04-26 John Levon <levon@movementarian.org>
8158 * LyXAction.C: add LFUN_INSET_SETTINGS
8160 * lyxfunc.C: don't enable tabular-feature when there's
8161 just any locking inset
8163 2003-04-26 John Levon <levon@movementarian.org>
8165 * bufferlist.C: re-add Cancel to buffer close question
8167 * lyxfunc.C: fix import UI a bit
8169 2003-04-25 John Levon <levon@movementarian.org>
8171 * gettext.C: remove the broken asserts for now
8173 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8175 * messages.C: make case where setlocale cannot comply work better.
8177 * buffer.C (updateDocLang): new function
8178 (changeLanguage): use it
8181 * text2.C (setCounter): use B_ a bit.
8183 * lyxlayout.C (Read): be sure to trim the label strings.
8185 * messages.C (Messages): fix typo in comment
8187 * buffer.C (readFile): set message_ after file is loaded.
8188 (makeDocBookFile): remove double return
8189 (changeLanguage): reset message_ upon language change.
8190 (B_): new func, use this to get translated buffer strings.
8192 * main.C: add myself and Jean Marc as authors.
8194 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8196 * messages.[hC]: pimplify Messages, and three different pimpls to be
8197 used in different circumstances.
8199 * gettext.[Ch]: change for use with new message code.
8201 2003-04-24 André Pönitz <poenitz@gmx.net>
8203 * factory.C: support for eqref
8205 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8207 * messages.[Ch]: add missing char
8209 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8211 * messages.[Ch]: New files
8213 2003-04-18 John Levon <levon@movementarian.org>
8217 * BufferView_pimpl.C:
8221 * text2.C: remove layout-copy/paste (bug 778)
8223 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8225 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8227 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8229 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8230 if they succeed. Act accordingly.
8232 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8234 * text2.C (setCharFont): adjust
8235 (setCounter): adjust
8236 (insertStringAsLines): adjust
8238 * text.C (leftMargin): adjust
8239 (setHeightOfRow): adjust
8241 * rowpainter.C (paintFirst): adjust
8244 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8246 (isFirstInSequence): ditto
8247 (getEndLabel): ditto
8250 * paragraph.C (getParLanguage): comment out some hard stuff.
8252 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8254 (simpleDocBookOnePar): ditto
8255 (makeDocBookFile): use ParagraphList::iterator
8257 * CutAndPaste.C (pasteSelection): adjust
8259 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8261 * text2.C (getFont): adjust
8262 (getLayoutFont): adjust
8263 (getLabelFont): adjust
8265 * paragraph_funcs.C (TeXOnePar): adjust
8267 * buffer.C (simpleLinuxDocOnePar): adjust
8268 (simpleDocBookOnePar): adjust
8270 * CutAndPaste.C (pasteSelection): adjust
8272 * BufferView.C (getEncoding): adjust
8274 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8276 2003-04-16 John Levon <levon@movementarian.org>
8278 * lyxfind.C: use parlist stuff for search/changes
8280 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8282 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8284 * text2.C (deleteEmptyParagraphMechanism): adjust
8286 * text2.[Ch] (ownerParagraph): delete func (both of them
8288 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8290 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8292 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8294 * ParagraphList.C: prepare for NO_NEXT
8296 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8298 * text2.C (getFont): adjust
8299 (getLayoutFont): adjust
8300 (getLabelFont): adjust
8302 * paragraph.C (getFont): adjust
8303 (getLabelFont): adjust
8304 (getLayoutFont): adjust
8306 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8308 2003-04-15 John Levon <levon@movementarian.org>
8312 * lyx_main.C: handle Include in .ui files
8314 2003-04-15 John Levon <levon@movementarian.org>
8316 * MenuBackend.C: make the doc files length shorter
8319 * ToolbarBackend.C: handle toolbar placement flags,
8322 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8324 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8327 * paragraph_funcs.C (TeXOnePar): adjust
8329 * paragraph.C (getLabelFont): add outerfont arg, adjust
8330 (getLayoutFont): ditto
8331 (simpleTeXOnePar): adjust
8333 * paragraph_pimpl.C (realizeFont): delete func
8335 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8337 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8338 row argument, constify cur argument.
8340 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8342 * text2.C (getFont): adjust
8343 (getLayoutFont): adjust
8344 (getLabelFont): adjust
8346 * paragraph_funcs.C (TeXOnePar): adjust
8347 (outerFont): new func...
8348 (realizeFont): ...moved out from here, changed this to facilitate
8351 * paragraph.C (getFont): take outerfont as arg, adjust
8352 (simpleTeXOnePar): add outerfont arg, adjust
8354 * buffer.C (simpleLinuxDocOnePar): adjust
8355 (simpleDocBookOnePar): adjust
8357 * CutAndPaste.C (pasteSelection): adjust
8359 * BufferView.C (getEncoding): adjust
8361 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8363 * text2.C (setCharFont): adjust
8364 (setCounter): adjust
8366 * text.C (leftMargin): adjust
8367 (setHeightOfRow): adjust
8369 * rowpainter.C (paintFirst): adjust
8372 * paragraph_pimpl.C (realizeFont): adjust
8374 * paragraph.C (isFirstInSequence): move from here...
8375 * paragraph_funcs.C (isFirstInSequence): ...to here
8377 * paragraph.C (outerHook): move from here...
8378 * paragraph_funcs.C (outerHook): ...to here
8380 * paragraph.C (depthHook): move from here...
8381 * paragraph_funcs.C (depthHook): ...to here
8383 * paragraph.C (getEndLabel): move from here...
8384 * paragraph_funcs.C (getEndLabel): ...to here
8386 * text2.C (realizeFont): move from here...
8387 * paragraph_funcs.C (realizeFont): ...to here
8389 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8391 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8393 2003-04-14 Angus Leeming <leeming@lyx.org>
8395 * LColor.[Ch]: scrap LColor mathcursor.
8397 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8399 * lyxlex.[Ch] (text): delete function
8400 * trans.C (Load): adjust
8401 * paragraph_funcs.C (readParToken): adjust
8403 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8405 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8406 vector<char> instead of a char[].
8408 * lyxlex_pimpl.C (getString): adjust
8410 (lex): use getString
8414 * lyxlex.C (text): use pimpl_->getString()
8418 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8420 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8421 (makeFontEntriesLayoutSpecific): temp var for par.size()
8422 (setLayout): temp var for ownerParagraphs().end()
8423 (fullRebreak): temp var for rows().end()
8424 (selectionAsString): temp var for boost::next(startpit), realize
8425 that the while really is a regular for loop.
8426 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8427 setCursor in one place.
8428 (setParagraph): temp vr for ownerParagraphs().end()
8429 (updateCounters): make the while loop a for loop
8430 (cutSelection): temp var for ownerParagraphs().end()
8431 (updateInset): make the do {} while() a regular for loop
8432 (getCursorX): use temp vars
8433 (setCurrentFont): use temp vars
8434 (getColumnNearX): use temp vars
8436 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8438 * text.C (transformChar): use temp var for getChar
8439 (computeBidiTables): use temp var for row->par()
8440 (fill): move temp vars for row->par() and pit->layout() earlier in
8442 (labelFill): use temp var for row->par()
8443 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8444 asc and desc, realize that pit never changes and that firstpit is
8445 just a duplicate and not needed. Exchange rit->par() with pit in a
8447 (breakAgain): use a temp var for boost::next(rit)
8448 (breakAgainOneRow): ditto
8449 (breakParagraph): use a temp var for rows().begin()
8450 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8451 (cursorRightOneWord): use temp var for cursor.par() and
8452 cursor.pos(), remove usage of tmpcursor.
8453 (cursorLeftOneWord): use temp var for cursor.par() and
8454 cursor.pos() only set cur at end of function.
8456 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8458 * text.C, text2.C: exchange all usage of Paragraph::next with
8459 boost::next(ParagraphList::iterator)
8461 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8463 * text2.C (cursorTop): simplify implementation
8464 (cursorBottom): ditto
8465 (setParagraph): use ParagraphList::iterator
8466 (setCurrentFont): adjust
8467 (getColumnNearX): adjust
8468 (cursorRight): adjust
8469 (cursorLeft): remove usage of Paragraph::previous
8470 (cursorUpParagraph): ditto
8471 (deleteEmptyParagraphMechanism): slight cleanup
8473 * text.C (isBoundary): take a Paragraph const & instead of a
8475 (addressBreakPoint): ditto
8476 (leftMargin): remove usage of Paragraph::previous.
8477 (setHeightOfRow): ditto
8478 (cursorLeftOneWord): ditto
8479 (selectNextWordToSpellcheck): ditto
8482 (breakParagraph): remove one usage of Paragraph::next
8483 (redoParagraph): ditto
8484 (acceptChange): ditto
8485 (insertChar): adjust
8486 (rowBreakPoint): adjust
8488 * bufferview_funcs.C (toggleAndShow): adjust
8490 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8492 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8493 methods to access it.
8495 * text.C: Added updateRowPositions to compute all row positions.
8496 Make top_y and getRowNearY() to use the cached y position
8498 2003-04-11 John Levon <levon@movementarian.org>
8500 * text.C (rowBreakPoint): reintroduce the labelEnd
8501 checks, code copied from the row fill stuff. Deep voodoo.
8503 * text.C (fill): add a comment and debugging for the
8506 2003-04-11 John Levon <levon@movementarian.org>
8508 * text.C: make sure fullrow insets get wrapped to the next line,
8509 even when they're in a manual label
8511 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8513 * text2.C (insertParagraph): make it take ParagraphList::iterator
8515 (setLayout): make it return ParagraphList::iterator
8516 (redoParagraphs): ditto
8518 (checkParagraph): ditto
8520 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8522 * text2.C: adjust several funcs.
8523 (realizeFont): take a ParagraphList::iterator as arg.
8524 (getLayoutFont): ditto
8525 (getLabelFont): ditto
8526 (setCharFont): ditto
8528 * text.C: adjust several funcs.
8530 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8532 * text.C (selectNextWordToSpellcheck): don't accidentally
8535 2003-04-10 John Levon <levon@movementarian.org>
8537 * ToolbarBackend.C (getIcon): special handling for
8540 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8542 * text2.C (cursorRight): a getChar assert fixed
8544 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8546 * text2.C (getFont): change to take a ParagraphList::iterator
8547 instead of Paragraph*
8548 Adjust several functions.
8550 * text.C (transformChar): change to take a ParagraphList::iterator
8551 instead of Paragraph*
8552 (singleWidth): ditto
8553 Adjust several functions.
8555 * rowpainter.C: adjust several functions
8556 * rowpainter.h:store a ParagraphList::iterator and not a
8560 2003-04-09 John Levon <levon@movementarian.org>
8565 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8566 and the "help" bits as well
8568 2003-04-09 John Levon <levon@movementarian.org>
8571 * ToolbarBackend.C: allow multiple toolbars
8573 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8575 * undo_funcs.C (setCursorParUndo): adjust
8577 * text_funcs.C (transposeChars): adjust
8579 * text3.C (gotoNextInset): adjust
8582 * text2.C (setLayout): adjust
8583 (changeDepth): adjust
8585 (redoParagraphs): adjust
8586 (selectionAsString): adjust
8587 (setParagraph): adjust
8588 (insertInset): adjust
8589 (cutSelection): adjust
8590 (copySelection): adjust
8591 (pasteSelection): adjust
8592 (insertStringAsLines): adjust
8593 (updateInset): adjust
8594 (setCursor): change to take a ParagraphList::iterator parameter
8595 (setCursorIntern): change to take a ParagraphList::iterator parameter
8596 (setCurrentFont): adjust
8597 (cursorLeft): adjust
8598 (cursorRight): adjust
8599 (deleteEmptyParagraphMechanism): adjust
8601 * text.C (breakParagraph): adjust
8602 (insertChar): adjust
8603 (acceptChange): adjust
8604 (rejectChange): adjust
8605 (selectNextWordToSpellcheck): adjust
8606 (changeCase): adjust
8610 * lyxfind.C (SearchForward): adjust
8611 (SearchBackward): adjust
8612 (nextChange): adjust
8614 * lyxcursor.C (par): adjust
8616 * lyxcursor.h: store a ParagraphList::iterator instead of a
8619 * lyx_cb.C (getPossibleLabel): adjust
8621 * bufferview_funcs.C (toggleAndShow): adjust
8623 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8626 * BufferView.C (removeAutoInsets): adjust
8627 (lockedInsetStoreUndo): adjust
8629 2003-04-09 John Levon <levon@movementarian.org>
8631 * ToolbarBackend.C: try icon without argument
8632 if with argument fails
8634 2003-04-08 John Levon <levon@movementarian.org>
8637 * ToolbarBackend.C: add getIcon(), handle tooltip,
8638 and change from "Icon" to "Item".
8640 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8642 * BufferView.C (lockInset): another bad getchar crunched
8644 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8646 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8649 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8651 * lyxfind.C (searchForward, searchBackwards): bug 782
8653 2003-04-07 John Levon <levon@movementarian.org>
8655 * paragraph.C: remove dead comment
8657 * text.C: remove troublesome depth-fiddling code
8658 in leftMargin() and rightMargin() (bug 1017)
8660 * text.C: fix breaking of rows in nested lists
8663 * text2.C (updateCounters): fix up depth values
8666 2003-04-07 John Levon <levon@movementarian.org>
8668 * BufferView_pimpl.C: clear message when doc finishes resizing,
8669 and after a mouse event
8671 * lyxfunc.C: clear message after exiting inset
8673 2003-04-07 John Levon <levon@movementarian.org>
8675 * bufferview_funcs.C: show math status not outside
8676 status in the statusbar
8678 2003-04-07 John Levon <levon@movementarian.org>
8680 * lyxfunc.C: note status changed after a depth change
8682 2003-04-04 Angus Leeming <leeming@lyx.org>
8684 * LaTeX.h: move AuxInfo operator==, != out of line.
8685 Remove LaTeX virtual destructor; nothing derives from it.
8686 Move operator()() out of public area and rename it startscript().
8687 Change protected for private.
8689 2003-04-04 Angus Leeming <leeming@lyx.org>
8692 * text2.C: remove unneeded #includes.
8694 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8696 * text2.C (dEPM): fix the heigth of the next row
8698 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8700 * text.C: squashed an invalid getChar requester + some ws changes
8702 2003-04-03 John Levon <levon@movementarian.org>
8704 * bufferview_funcs.h:
8705 * bufferview_funcs.C:
8708 * text2.C: make getStatus work for the env depth lfuns
8710 2003-04-03 John Levon <levon@movementarian.org>
8712 * bufferview_funcs.h:
8713 * bufferview_funcs.C:
8716 * text2.C: parlistize decDepth(), by merging it with incDepth()
8718 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8720 * lyxrow.h: store a ParagraphList::iterator instead of a
8721 Paragraph* and adjust other class functions to suit.
8723 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8726 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8728 * text2.C (setCursor): do not anchor to cursor row for the time being
8730 2003-04-02 John Levon <levon@movementarian.org>
8737 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8739 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8741 * paragraph.h: make ParagraphList and ParagraphList::iterator
8742 friends of Paragraph.
8744 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8746 * ParagraphList.C: Use the private next_ and previous_ from
8749 2003-04-01 John Levon <levon@movementarian.org>
8753 * Makefile.am: rename, remove defaults gunk
8756 * MenuBackend.C: remove defaults gunk
8759 * Languages.C: remove defaults gunk
8762 * lyx_main.C: error out if files couldn't be found.
8764 2003-04-02 John Levon <levon@movementarian.org>
8766 * text2.C: make incDepth() use parlist
8768 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8770 * undo_funcs.C (firstUndoParagraph): adjust
8772 * text3.C (gotoInset): adjust
8773 (dispatch): adjust, and rewrite loop.
8775 * text2.C (init): adjust, and rewrite loop.
8776 (redoParagraphs): adjust
8777 (updateInset): adjust, and rewrite loop.
8778 (deleteEmptyParagraphMechanism): adjust
8780 * tabular.C (LyXTabular): adjust
8781 (SetMultiColumn): adjust
8784 * lyxtext.[Ch] (ownerParagraph): delete function
8785 (ownerParagraphs): new function returns a ParagraphList.
8787 * BufferView.C (removeAutoInsets): adjust
8788 (insertErrors): adjust
8789 (setCursorFromRow): adjust
8791 2003-04-01 Angus Leeming <leeming@lyx.org>
8793 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8796 2003-04-02 John Levon <levon@movementarian.org>
8802 * text_funcs.C: make transposeChars a free function
8804 * lyxrow_funcs.C: remove wrong comment
8806 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8809 * rowpainter.C: adjust
8814 * lyxrow_funcs. [Ch]: new files
8816 * lyxrow.[Ch]: remove next and previous pointers
8817 (next,previous): remove accessor functions
8818 (isParEnd): move to lyxrow_funcs
8819 (lastPos): move to lyxrow_funcs
8820 (nextRowIsAllInset): move to lyxrow_funcs
8821 (lastPrintablePos): move to lyxrow_funcs
8822 (numberOfSeparators): move to lyxrow_funcs
8823 (numberOfHfills): move to lyxrow_funcs
8824 (numberOfLabelHfills): move to lyxrow_funcs
8825 (hfillExpansion): move to lyxrow_funcs
8829 * bufferview_funcs.C (toggleAndShow): adjust
8831 * RowList.h: Remove class RowList from file leave just a
8834 * RowList.C: delete file
8836 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8839 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8841 * text3.C (cursorPrevious): adjust
8842 (cursorNext): adjust
8845 * text2.C (redoHeightOfParagraph): adjust
8846 (redoDrawingOfParagraph): adjust
8849 * text.C (breakParagraph): adjust
8850 (insertChar): adjust
8853 * rowpainter.C (RowPainter): adjust
8854 (leftMargin): simplify and adjust
8855 (most rowpainter functions): adjust.
8857 * rowpainter.h: store the row as RowList::iterator not as Row*
8859 * lyxcursor.C (row): taka RowList::iterator as arg
8862 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8865 2003-04-01 Angus Leeming <leeming@lyx.org>
8867 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8868 stuff like bool Bool.
8870 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8872 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8875 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8877 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8880 * lyxtext.h (rows): drop one version and leve a const variant that
8881 returns a RowList::iterator.
8883 2003-03-31 Angus Leeming <leeming@lyx.org>
8885 * text.C (fill): ensure that the signature is the same as that in the
8888 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8890 * text2.C (redoParagraphs): adjust
8891 (updateCounters): adjust
8892 (checkParagraph): adjust
8893 (getColumnNearX): adjust and reformat a bit.
8895 * text.C (top_y): adjust
8897 (leftMargin): adjust
8898 (prepareToPrint): adjust
8900 (getRowNearY): adjust
8902 * lyxtext.h: make rowlist_ mutable.
8904 * RowList.h: add const_iterator
8905 * RowList.C: adjust for RowList::const_iterator.
8907 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8910 2003-03-31 John Levon <levon@movementarian.org>
8913 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8915 * lyx_main.C: set default fonts from using lyx_gui funcs
8917 * exporter.C: pdf_mode moved from lyxrc
8920 * lyxfunc.C: changes from above
8922 2003-03-31 John Levon <levon@movementarian.org>
8924 * lyx_main.C: fix to the last fix
8926 2003-03-31 John Levon <levon@movementarian.org>
8928 * bufferlist.C: "Load original" -> "Load Original"
8934 * format.C: more Alert cleanups
8936 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8938 * text2.C (removeParagraph): make it take a RowList::iterator as
8940 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8941 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8943 * text.C (anchor_row): make it take a RowList::iterator as arg,
8945 (computeBidiTables): make it take a const reference to Row instead
8946 of Row pointer, adjust.
8947 (leftMargin): make it take a RowList::iterator as arg, adjust.
8948 (rowBreakPoint): adjust
8949 (breakAgainOneRow): make it take a RowList::iterator as arg,
8951 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8953 * bufferview_funcs.C (toggleAndShow): adjust
8955 2003-03-30 John Levon <levon@movementarian.org>
8959 * boost-inst.C: moved to support
8961 * several files: changes as a result
8963 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8965 * text2.C (LyXText): adjust.
8967 (removeRow): make it take a RowList::iterator as arg, adjust.
8968 (fullRebreak): adjust
8969 (deleteEmptyParagraphMechanism): adjust
8970 (clearPaint): adjust
8973 * text.C (top_y): adjust
8974 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8975 (breakAgain): make it take a RowList::iterator as arg, adjust.
8976 (breakParagraph): adjust
8977 (insertChar): adjust
8980 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8981 need_break_row, and refresh_row.
8983 * text3.C (dispatch): adjust
8985 * text2.C (checkParagraph): adjust
8987 (setCursorFromCoordinates): adjust
8989 * text.C (top_y): adjust
8991 (getRow): make it return a RowList::iterator, adjust
8992 (getRowNearY): make it return a RowList::iterator, adjust
8994 * text2.C (init): adjust
8995 (insertRow): remove function
8996 (insertParagraph): adjust
8997 (redoParagraphs): adjust
8998 (fullRebreak): adjust
8999 (updateCounters): adjust
9001 * text.C (top_y): rewrite to use RowList iterators.
9003 (setHeightOfRow): rewrite to sue RowList iterators.
9004 (appendParagraph): adjust
9005 (breakAgain): adjust
9006 (breakAgainOneRow): adjust
9007 (breakParagraph): adjust
9009 (getRowNearY): adjust, and remove commented code.
9011 * lyxtext.h (firstRow): delete function
9012 (lastRow): delete function
9013 (rows): new function (const and non-const versions.)
9014 (insertRow): delete function
9016 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9018 2003-03-29 John Levon <levon@movementarian.org>
9020 * BufferView_pimpl.C: always update scrollbar top
9021 because pasting text when we're anchored could mean we
9022 miss an update altogether
9024 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9026 * text2.C (init): use rowlist_.end() and not 0.
9027 (insertRow): change to take a RowList::iterator as arg, adjust
9029 (insertParagraph): change to take a RowList::iterator as arg,
9031 (redoParagraphs): remove some debug msgs.
9033 * text.C (appendParagraph): change to take a RowList::iterator
9034 arg, adjust for this.
9035 (breakAgain): add an assert
9036 (breakAgainOneRow): ditto
9038 2003-03-29 John Levon <levon@movementarian.org>
9040 * text2.C: do not clear selection after inc/decDepth
9043 2003-03-29 John Levon <levon@movementarian.org>
9046 * buffer.C: fix broken strerrors according to Lars
9048 2003-03-29 John Levon <levon@movementarian.org>
9050 * converters.C: more Alert cleanups
9052 2003-03-29 John Levon <levon@movementarian.org>
9054 * bufferview_funcs.C: remove pointless Alert
9056 * buffer.C: fix confusing error message when
9057 a template is chmoded 000
9059 2003-03-29 John Levon <levon@movementarian.org>
9063 * BufferView_pimpl.C: Alert fixes
9067 * tabular-old.C: remove unused table compat reading
9069 2003-03-29 John Levon <levon@movementarian.org>
9074 * lyx_cb.C: more Alert cleanups
9076 * lyxfunc.C: don't allow chktex if not latex document
9078 2003-03-29 John Levon <levon@movementarian.org>
9082 * buffer.C: warnings pushed down from support/,
9085 2003-03-29 John Levon <levon@movementarian.org>
9087 * lyxfunc.C: safety check for C-r (revert)
9089 2003-03-29 John Levon <levon@movementarian.org>
9092 * bufferlist.C: several UI fixes using Alert::prompt.
9093 Fix the pointless looping quit code. Fix stupid revert
9098 * lyx_cb.C: use Alert::prompt
9100 * lyx_main.C: remove a silly question
9102 * lyxfunc.C: remove a couple of silly questions,
9105 2003-03-28 John Levon <levon@movementarian.org>
9107 * text2.C: fix bug 974 (End on empty par)
9109 2003-03-28 John Levon <levon@movementarian.org>
9111 * BufferView_pimpl.C:
9113 * lfuns.h: remove do-nothing math greek lfuns
9115 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9117 * lyxgluelength.h (isValidGlueLength): add default arg on
9118 parameter 2. Remove default arg from friend in class.
9120 * lyxlength.h (isValidLength): add default arg on parameter 2.
9121 Remove default arg from friend in class.
9123 * text2.C (LyXText): adjust, initialize refresh_row.
9127 (insertParagraph): adjst
9128 (redoParagraphs): adjust
9129 (fullRebreak): adjust
9130 (updateCounters): adjust
9131 (deleteEmptyParagraphMechanism): first attempt at fixing a
9134 * text.C (top_y): adjust
9135 (setHeightOfRow): adjust
9137 (getRowNearY): adjust
9139 * lyxtext.h: include RowList.h
9140 (~LyXText): not needed anymore, deleted.
9141 (firstRow): modify for RowList
9142 (lastRow): new function
9143 Delete firstrow and lastrow class variables, add a Rowlist
9144 rowlist_ class variable.
9146 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9149 * RowList.C (insert): fix case where it == begin().
9151 2003-03-26 Angus Leeming <leeming@lyx.org>
9153 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9154 the thesaurus dialog.
9156 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9158 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9160 * RowList.[Ch]: new files
9162 * ParagraphList.C (erase): handle the case where it == begin
9165 2003-03-25 John Levon <levon@movementarian.org>
9169 * aspell.C: add new aspell support
9172 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9175 2003-03-25 Angus Leeming <leeming@lyx.org>
9178 * LyXAction.C (init): new LFUN_INSET_INSERT.
9180 * BufferView_pimpl.C (dispatch): split out part of the
9181 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9183 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9186 2003-03-25 Angus Leeming <leeming@lyx.org>
9188 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9190 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9193 * text3.C: remove useless row->height(0)
9195 2003-03-25 John Levon <levon@movementarian.org>
9199 * text3.C: rename the refreshing stuff to better names
9201 2003-03-24 John Levon <levon@movementarian.org>
9203 * BufferView_pimpl.h:
9204 * BufferView_pimpl.C: update layout choice on a mouse
9207 2003-03-23 John Levon <levon@movementarian.org>
9209 * Makefile.am: fix commandtags.h reference
9211 2003-03-22 John Levon <levon@movementarian.org>
9213 * BufferView_pimpl.C:
9218 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9220 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9223 * text.C: take the rtl methods out of line
9225 2003-03-21 André Pönitz <poenitz@gmx.net>
9227 * metricsinfo.[Ch]: new files containing structures to be passed around
9228 during the two-phase-drawing...
9230 2003-03-21 André Pönitz <poenitz@gmx.net>
9232 * lyxtextclass.C: read 'environment' tag.
9234 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9236 * text2.C (removeRow): fix bug 964
9238 2003-03-20 John Levon <levon@movementarian.org>
9242 * text2.C: paint cleanups. Inset::update() dropped font
9245 2003-03-19 John Levon <levon@movementarian.org>
9247 * lyxfunc.C: only fitcursor/markDirty if available()
9249 2003-03-19 John Levon <levon@movementarian.org>
9251 * commandtags.h: rename to ...
9253 * lfuns.h: ... this, and renumber / cleanup
9255 2003-03-19 John Levon <levon@movementarian.org>
9257 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9258 fit the cursor after an lfun
9262 * BufferView_pimpl.h:
9263 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9265 * LyXAction.C: layout-character should have ReadOnly
9267 * ParagraphParameters.C:
9269 * bufferview_funcs.C:
9276 * undo_funcs.C: changes from above
9278 2003-03-18 John Levon <levon@movementarian.org>
9280 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9281 remove it from update()
9283 * lyxfunc.C: update layout choice after an lfun
9285 * text3.C: remove extra updateLayoutChoice()s
9287 2003-03-18 John Levon <levon@movementarian.org>
9289 * text.C: top_y change means full repaint, fix
9290 a drawing bug with cursor movement
9292 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9296 * text2.C: anchor row on setCursor
9298 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9300 * lyxtext.h: remove almost all mutable keywords
9303 * text3.C: remove const keywords accordingly
9305 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9307 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9309 (TeXEnvironment): ditto
9312 2003-03-17 John Levon <levon@movementarian.org>
9314 * text.C (rowBreakPoint): remove attempt to fix displayed
9315 math insets inside a manual label
9317 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9319 * lyxtext.h: remove BufferView* as first arg from almost all class
9321 * other files: adjust.
9323 2003-03-17 John Levon <levon@movementarian.org>
9327 * text2.C: more paint cleanups
9329 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9332 * rowpainter.C: remove "smart" background painting code
9334 2003-03-16 John Levon <levon@movementarian.org>
9339 * text3.C: add helper functions for setting refresh_row/y
9341 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9343 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9344 newline inset which *can* get inserted in the pass_thru layouts.
9345 This is primarily for literate documents.
9347 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9349 * buffer.C: increment LYX_FORMAT to 223
9351 2003-03-14 André Pönitz <poenitz@gmx.net>
9353 * textclass.h: prepare for environment handling, ws changes
9354 * lyxlayout.C: read latexheader and latexfooter tags
9356 2003-03-14 John Levon <levon@movementarian.org>
9358 * text2.C: rewrite ::status() a bit
9360 2003-03-13 John Levon <levon@movementarian.org>
9362 * lyxtext.h: add some docs
9364 2003-03-13 John Levon <levon@movementarian.org>
9369 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9371 2003-03-13 John Levon <levon@movementarian.org>
9373 * text3.C: fix appendix redrawing
9375 2003-03-13 John Levon <levon@movementarian.org>
9377 * text.C (setHeightOfRow):
9379 * rowpainter.C: make appendix mark have the text
9380 "Appendix" so the user knows what it is
9383 * LColor.C: s/appendixline/appendix/ from above
9385 2003-03-13 John Levon <levon@movementarian.org>
9387 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9389 * text.C: fix a getChar(pos) bug properly
9391 2003-03-13 Angus Leeming <leeming@lyx.org>
9394 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9395 Probably only temporary. Let's see how things pan out.
9397 * BufferView.C (unlockInset):
9398 * BufferView_pimpl.C (fitCursor):
9399 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9401 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9402 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9404 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9405 new functions that convert ParagraphParameters to and from a string.
9407 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9408 BufferView::Pimpl's dispatch.
9409 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9411 2003-03-13 André Pönitz <poenitz@gmx.net>
9415 * factory.C: make it aware of InsetEnv
9417 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9419 * text2.C (setCursor): never ask for one past last
9420 (setCursor): add some debugging messages.
9422 * text.C (singleWidth): never ask for one past last
9423 (singleWidth): ditto
9425 (rightMargin): ditto
9426 (rowBreakPoint): ditto
9427 (setHeightOfRow): ditto
9428 (prepareToPrint): ditto
9430 * rowpainter.C (paintBackground): never ask for one past last
9431 (paintText): never ask for one past last
9433 * paragraph_pimpl.C (getChar): make the assert stricter, never
9434 allow the one past last pos to be taken
9436 * paragraph.C (getChar): ws changes only
9438 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9439 (numberOfSeparators): ditto
9440 (numberOfHfills): ditto
9442 2003-03-12 John Levon <levon@movementarian.org>
9448 * paragraph_funcs.C: fix per-buffer authorlists
9450 2003-03-12 John Levon <levon@movementarian.org>
9452 * text.C: fix newline in right address
9454 2003-03-12 Angus Leeming <leeming@lyx.org>
9456 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9457 duplicate those in LyXFunc::dispatch.
9461 * ToolbarDefaults.C:
9462 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9463 Add LFUN_FONTFREE_UPDATE.
9465 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9466 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9468 * bufferview_func.[Ch]: several new functions to facilliate
9469 transfer of data to and from the character dialog.
9471 2003-03-12 John Levon <levon@movementarian.org>
9476 * paragraph_funcs.C:
9477 * paragraph_pimpl.C:
9481 * text3.C: remove META_NEWLINE in favour of an inset
9484 * rowpainter.C: remove paintNewline (done by inset)
9486 2003-03-12 John Levon <levon@movementarian.org>
9488 * paragraph_pimpl.C: complain about bad getChar()s
9489 for a while at least
9491 2003-03-12 John Levon <levon@movementarian.org>
9494 * buffer.C: move paragraph read into a separate function,
9495 a little renaming to reflect that.
9498 * bufferparams.C: remove the author_ids map, not necessary now
9501 * factory.C: moved Buffer::readInset to here
9503 * paragraph_funcs.h:
9504 * paragraph_funcs.C: readParagraph free function moved from
9507 * tabular.C: name change
9509 2003-03-12 John Levon <levon@movementarian.org>
9512 * ParagraphParameters.C: move par params input to
9515 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9516 behave like a normal read from the stream wrt reading
9517 a line vs. a \\token
9519 2003-03-12 John Levon <levon@movementarian.org>
9522 * ParagraphParameters.h:
9523 * ParagraphParameters.C: move output code to a
9526 2003-03-12 John Levon <levon@movementarian.org>
9528 * BufferView.C (insertLyXFile):
9531 * tabular.C: use a parlist iterator for creating the
9534 2003-03-12 John Levon <levon@movementarian.org>
9536 * buffer.C: make current_change static local not
9539 2003-03-12 John Levon <levon@movementarian.org>
9541 * buffer.C: fix insertStringAsLines for change tracking
9543 2003-03-12 John Levon <levon@movementarian.org>
9550 * bufferparams.C: move author list into params. Rename some
9551 functions. Move the header reading into a separate token
9552 loop. Move the header token reading into BufferParams.
9554 2003-03-12 John Levon <levon@movementarian.org>
9556 * changes.C: put debug inside lyxerr.debugging() checks
9558 2003-03-11 André Pönitz <poenitz@gmx.net>
9560 * factory.C: make it aware of InsetHFill
9562 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9564 * buffer.C (latexParagraphs): move function from here...
9565 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9568 2003-03-10 Angus Leeming <leeming@lyx.org>
9570 * LyXAction.C (init): fix bug in poplating array with multiple entries
9571 with the same LFUN (spotted by JMarc).
9573 2003-03-10 John Levon <levon@movementarian.org>
9576 * text2.C: move getColumnNearX() near its
9579 2003-03-10 John Levon <levon@movementarian.org>
9581 * text.C: fix break before a minipage
9583 2003-03-10 John Levon <levon@movementarian.org>
9585 * text.C: fix the last commit
9587 2003-03-09 John Levon <levon@movementarian.org>
9591 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9592 bug 365 (don't break before insets unless needed). Don't
9593 return a value > last under any circumstances.
9595 2003-03-09 Angus Leeming <leeming@lyx.org>
9597 * BufferView_pimpl.C (trackChanges, dispatch): call
9598 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9600 2003-03-09 Angus Leeming <leeming@lyx.org>
9602 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9603 than Dialogs::showAboutlyx().
9605 2003-03-09 Angus Leeming <leeming@lyx.org>
9607 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9608 than Dialogs::showTabularCreate().
9610 2003-03-09 John Levon <levon@movementarian.org>
9614 * text2.C: 3rd arg to nextBreakPoint was always the same.
9617 2003-03-08 John Levon <levon@movementarian.org>
9624 * text2.C: Remove the "main" bit from the "main body"
9627 2003-03-08 John Levon <levon@movementarian.org>
9629 * text.C (leftMargin): The left margin of an empty
9630 manual label paragraph should not include the label width
9633 * text.C (prepareToPrint): don't attempt to measure hfills
9634 for empty manual label paragraphs - the answer should be 0
9636 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9638 * CutAndPaste.C: remove commented code and reindent.
9640 2003-03-08 John Levon <levon@movementarian.org>
9643 * lyxfunc.C: move reloadBuffer()
9646 * BufferView.C: to here
9648 * lyxvc.C: add comment
9651 * vc-backend.C: call bv->reload() to avoid
9652 getStatus() check on MENURELOAD
9654 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9656 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9657 to an old format .dep file.
9659 2003-03-07 Angus Leeming <leeming@lyx.org>
9661 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9662 when the LFUN_MOUSE_RELEASE should have been handled by
9663 inset->localDispatch.
9665 2003-03-07 Angus Leeming <leeming@lyx.org>
9667 * BufferView_pimpl.C (dispatch):
9668 * LyXAction.C (init):
9669 * ToolbarDefaults.C (init):
9671 * lyxfunc.C (getStatus):
9672 remove LFUN_INSET_GRAPHICS.
9674 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9676 2003-03-07 Angus Leeming <leeming@lyx.org>
9679 * LyXAction.C (init):
9680 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9682 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9685 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9687 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9688 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9690 2003-03-07 Angus Leeming <leeming@lyx.org>
9692 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9695 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9697 * ParagraphList.C (front): new function
9700 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9702 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9703 and top_row_offset_. removed var first_y.
9705 * text2.C (LyXText, removeRow):
9707 * BufferView_pimpl.C:
9708 use these methods instead of using first_y
9710 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9712 * text2.C (pasteSelection): adjust for checkPastePossible
9714 * CutAndPaste.C: remove Paragraph * buf and replace with
9715 ParagraphList paragraphs.
9716 (DeleteBuffer): delete
9717 (cutSelection): change the tc type to textclass_type
9718 (copySelection): change the tc type to textclass_type
9719 (copySelection): adjust for ParagraphList
9720 (pasteSelection): change the tc type to textclass_type
9721 (pasteSelection): adjust for Paragraphlist
9722 (nrOfParagraphs): simplify for ParagraphList
9723 (checkPastePossible): simplify for ParagraphList
9724 (checkPastePossible): remove unused arg
9726 * ParagraphList.C (insert): handle the case where there are no
9729 * CutAndPaste.h: make CutAndPaste a namespace.
9731 * text3.C (dispatch): adjust
9733 * text.C (breakParagraph): add a ParagraphList as arg
9735 * paragraph_funcs.C (breakParagraph): change to take a
9736 BufferParams and a ParagraphList as args.
9737 (breakParagraphConservative): ditto
9738 (mergeParagraph): ditto
9739 (TeXDeeper): add a ParagraphList arg
9740 (TeXEnvironment): ditto
9743 * buffer.C (readLyXformat2): adjust
9744 (insertStringAsLines): adjust
9745 (latexParagraphs): adjust
9747 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9748 (cutSelection): adjust
9749 (pasteSelection): adjust
9751 * BufferView_pimpl.C (insertInset): adjust
9753 2003-03-05 Angus Leeming <leeming@lyx.org>
9756 * LyXAction.C (init):
9757 * BufferView_pimpl.C (dispatch):
9758 * lyxfunc.C (getStatus):
9759 remove LFUN_CHILD_INSERT.
9761 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9763 2003-03-05 Angus Leeming <leeming@lyx.org>
9766 * LyXAction.C (init):
9767 * src/factory.C (createInset):
9768 * lyxfunc.C (getStatus):
9769 * text3.C (dispatch):
9770 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9772 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9774 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9776 * ParagraphList.C (insert): handle insert right before end()
9777 (erase): fix cases where it can be first or last paragraph.
9779 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9781 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9782 Paragraph::next and Paragraph::previous
9785 * text.C (breakParagraph): adjust
9787 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9788 BufferParams& as arg.
9789 (breakParagraph): use ParagraphList::insert
9790 (breakParagraphConservative): take a Buffer* instead of a
9791 BufferParams& as arg.
9792 (breakParagraphConservative): use ParagraphList::insert.
9794 * buffer.C (insertStringAsLines): un-const it
9795 (insertStringAsLines): adjust
9797 * ParagraphList.C (insert): new function
9799 * CutAndPaste.C (pasteSelection): adjust
9801 * text.C (backspace): adjust
9803 * tabular.C (SetMultiColumn): adjust
9805 * CutAndPaste.C (cutSelection): adjust
9806 (pasteSelection): adjust
9808 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9809 Buffer const * as arg
9811 * ParagraphList.C (erase): new function
9812 * paragraph_funcs.C (mergeParagraph): use it
9813 (mergeParagraph): make it take a Buffer* instead of a
9814 BufferParams* as arg
9816 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9818 (breakParagraphConservative): ditto
9820 * paragraph.h: remove the breakParagraph friend
9822 * paragraph.C (eraseIntern): new function
9823 (setChange): new function
9825 * paragraph_funcs.C (mergeParagraph): make it take a
9826 ParagraphList::iterator instead of a Paragraph *, adjust
9829 * paragraph.h: move an #endif so that the change tracking stuff
9830 also works in the NO_NEXT case.
9832 2003-03-04 Angus Leeming <leeming@lyx.org>
9835 * LyXAction.C: new LFUN_INSET_MODIFY.
9837 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9838 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9840 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9842 * several files: ws changes only
9844 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9845 (TeXEnvironment): ditto
9848 * buffer.C (makeLaTeXFile): adjust
9849 (latexParagraphs): make it take ParagraphList::iterator as args
9851 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9853 * buffer.C (latexParagraphs): adjust
9855 * paragraph.C (TeXOnePar): move function...
9856 (optArgInset): move function...
9857 (TeXEnvironment): move function...
9858 * paragraph_pimpl.C (TeXDeeper): move function...
9859 * paragraph_funcs.C: ...here
9861 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9863 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9865 * buffer.C (readInset): remove compability code for old Figure and
9868 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9870 * buffer.C: ws changes
9873 * BufferView_pimpl.C: ditto
9876 * bufferlist.h: ditto
9880 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9882 * converter.[Ch]: split into itself +
9885 * Makefile.am: += graph.[Ch] + format.[Ch]
9892 * lyxrc.C: added #include "format.h"
9894 2003-02-27 Angus Leeming <leeming@lyx.org>
9896 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9899 * factory.C (createInset): add "label" to the factory.
9901 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9902 string and do no more.
9904 2003-02-27 Angus Leeming <leeming@lyx.org>
9907 * LyXAction.C (init):
9908 * factory.C (createInset):
9909 * BufferView_pimpl.C (dispatch):
9910 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9912 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9914 * lyxfunc.C (dispatch):
9915 * text3.C (dispatch): pass name to params2string.
9917 2003-02-26 Angus Leeming <leeming@lyx.org>
9919 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9921 Rearrange the ~includes. Strip out the unnecessary ones.
9923 * factory.C (createInset): reformat.
9924 create new insets for the various LFUN_XYZ_APPLY lfuns.
9926 2003-02-26 John Levon <levon@movementarian.org>
9929 * lyxrow.C: add isParStart,isParEnd helpers
9931 * paragraph.h: make isInserted/DeletedText take refs
9933 * paragraph_funcs.h:
9934 * paragraph_funcs.C: remove #if 0'd code
9939 * text.C: use lyxrow helpers above.
9940 Move draw and paint routines to RowPainter.
9941 Make several methods use refs not pointers.
9942 Make backgroundColor() const.
9943 Add markChangeInDraw(), isInInset().
9944 Merge changeRegionCase into changeCase.
9945 Make workWidth() shouldn't-happen code into an Assert.
9948 * rowpainter.C: new class for painting a row.
9951 * vspace.C: make inPixels take a ref
9953 2003-02-26 Angus Leeming <leeming@lyx.org>
9955 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9958 2003-02-25 John Levon <levon@movementarian.org>
9960 * ispell.C: give the forked command a more accurate name
9962 2003-02-22 John Levon <levon@movementarian.org>
9965 * toc.C: make TocItem store an id not a Paragraph *
9968 2003-02-21 Angus Leeming <leeming@lyx.org>
9970 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9971 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9972 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9973 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9974 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9975 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9977 * BufferView_pimpl.C (dispatch):
9978 * LyXAction.C (init):
9979 * factory.C (createInset):
9980 * lyxfunc.C (getStatus, dispatch):
9981 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9983 2003-02-21 Angus Leeming <leeming@lyx.org>
9985 * BufferView_pimpl.C (MenuInsertLyXFile):
9986 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9987 * lyxfunc.C (menuNew, open, doImport):
9988 no longer pass a LyXView & to fileDlg.
9990 2003-02-21 Angus Leeming <leeming@lyx.org>
9992 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9993 * LyXAction.C: change, BIBKEY to BIBITEM.
9994 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9995 Change InsetBibKey to InsetBibitem.
9996 Change BIBKEY_CODE to BIBITEM_CODE.
9997 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9998 * factory.C: replace insetbib.h with insetbibitem.h.
9999 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10000 * paragraph.C: replace insetbib.h with insetbibitem.h.
10001 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10002 Change bibkey() to bibitem().
10003 * text.C: remove insetbib.h.
10004 * text2.C: replace insetbib.h with insetbibitem.h.
10005 change bibkey() to bibitem().
10006 * text3.C: remove insetbib.h.
10007 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10009 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10011 * lyxrc.C (output): enclose user email in quotes (in case there are
10014 2003-02-18 John Levon <levon@movementarian.org>
10016 * buffer.h: add std::
10018 2003-02-17 John Levon <levon@movementarian.org>
10024 * pspell.C: reworking. Especially in ispell, a large
10025 number of clean ups and bug fixes.
10027 * lyxfunc.C: fix revert to behave sensibly
10029 2003-02-17 André Pönitz <poenitz@gmx.net>
10032 * commandtags.h: new LFUN_INSERT_BIBKEY
10042 * paragraph_func.C: remove special bibkey handling
10044 2003-02-17 John Levon <levon@movementarian.org>
10046 * text.C (Delete): fix case where delete at the end of
10047 the very first paragraph would not merge the pars
10049 2003-02-17 John Levon <levon@movementarian.org>
10051 * lyxrow.C: fix lastPrintablePos()
10053 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10055 * bufferparams.C (writeLaTeX): add a std:here
10057 * buffer.C: and remove a using directive there
10059 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10061 * buffer.C (makeLaTeXFile): move the code that generates the
10064 * bufferparams.C (writeLaTeX): ... in this new method
10066 * LaTeXFeatures.C (getEncodingSet): make const
10067 (getLanguages): make const
10069 * MenuBackend.C (binding): returns the binding associated to this
10071 (add): sets the status of each item by calling getStatus. Adds
10073 (read): add support for OptSubMenu
10074 (expand): remove extra separator at the end of expanded menu
10076 2003-02-15 John Levon <levon@movementarian.org>
10079 * BufferView_pimpl.C:
10081 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10082 inset code that had no actual effect. Remove unneeded status
10085 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10087 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10090 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10092 * text.C (drawLengthMarker): also draw an arrow marker for
10093 symbolic lengths (medskip...)
10095 2003-02-14 John Levon <levon@movementarian.org>
10098 * tabular.C: better method names
10100 2003-02-14 John Levon <levon@movementarian.org>
10102 * BufferView_pimpl.C:
10107 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10108 it's a more accurate name. Remove some pointless uses.
10110 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10112 * text2.C (LyXText): change order of initilizers to shut off
10115 2003-02-14 John Levon <levon@movementarian.org>
10117 * buffer.C: use ParIterator for getParFromID()
10121 * paragraph_pimpl.h:
10122 * paragraph_pimpl.C: remove unused getParFromID()
10124 2003-02-14 John Levon <levon@movementarian.org>
10126 * buffer.C: remove some very old #if 0'd parse code
10128 2003-02-13 John Levon <levon@movementarian.org>
10132 * text2.C: move hfillExpansion(), numberOfSeparators(),
10133 rowLast(), rowLastPrintable(), numberofHfills(),
10134 numberOfLabelHfills() ...
10137 * lyxrow.C: ... to member functions here.
10142 * text.C: remove LyXText::beginningOfMainBody(), and call
10143 p->beginningOfMainBody() directly. Move the check for
10144 LABEL_MANUAL into the latter.
10151 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10157 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10158 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10160 2003-02-13 John Levon <levon@movementarian.org>
10162 * CutAndPaste.C: remove debug
10164 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10166 * paragraph.C (asString): remove two unused variables
10168 * lyxtextclass.C (readTitleType):
10170 (LyXTextClass): handle new members titletype_ and titlename_
10172 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10174 2003-02-09 John Levon <levon@movementarian.org>
10177 * buffer.C: replace hand-coded list with a map for the dep clean
10179 2003-02-08 John Levon <levon@movementarian.org>
10181 * LaTeX.C: consolidate code into showRunMessage() helper
10183 2003-02-08 John Levon <levon@movementarian.org>
10188 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10189 and pass the size in explicitly
10191 * BufferView_pimpl.h:
10192 * BufferView_pimpl.C:
10194 * BufferView.C: add getCurrentChange()
10196 * BufferView_pimpl.h:
10197 * BufferView_pimpl.C: handle change lfuns
10199 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10200 for changes. Mark pasted paragraphs as new.
10202 * support/lyxtime.h:
10203 * support/lyxtime.C:
10204 * DepTable.C: abstract time_t as lyx::time_type
10207 * LColor.C: add colours for new text, deleted text, changebars
10209 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10210 package use "usenames" option.
10214 * LyXAction.C: add change lfuns
10218 * author.C: author handling
10221 * buffer.C: add a per-buffer author list, with first entry as
10222 current author. Handle new .lyx tokens for change tracking. Output
10223 author list to .lyx file. Output dvipost stuff to .tex preamble.
10224 Bump lyx format to 222.
10227 * bufferlist.C: add setCurrentAuthor() to reset current author details
10231 * bufferparams.C: add param for tracking
10233 * bufferview_funcs.C: output change info in minibuffer
10237 * changes.C: add change-tracking structure
10240 * debug.C: add CHANGES debug flag
10243 * lyxfind.C: add code for finding the next change piece
10246 * lyxrc.C: add user_name and user_email
10249 * lyxrow.C: add a metric for the top of the text line
10252 * text.C: implement accept/rejectChange()
10255 * text.C: paint changebars. Paint new/deleted text in the chosen
10256 colours. Strike through deleted text.
10260 * paragraph_pimpl.h:
10261 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10262 in the current change to the insert functions. Rework erase to
10263 mark text as deleted, adding an eraseIntern() and a range-based
10264 erase(). Implement per-paragraph change lookup and
10267 * paragraph_funcs.C: Fixup paste for change tracking.
10269 * tabular.C: mark added row/columns as new.
10271 * text.C: fix rowLast() to never return -1. Don't allow
10272 spellchecking of deleted text. Track transpose changes. Don't
10273 allow paragraph break or merge where appropriate.
10275 * text2.C: leave cursor at end of selection after a cut.
10277 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10279 * text.C (getLengthMarkerHeight):
10280 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10281 visible on screen too.
10283 2003-02-07 John Levon <levon@movementarian.org>
10285 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10287 2003-02-05 Angus Leeming <leeming@lyx.org>
10289 * lyxserver.C (read_ready): revert my patch of 11 September last year
10290 as it sends PC cpu through the roof. Presumably this means that
10291 the lyxserver will no longer run on an Alpha...
10293 2003-01-30 Angus Leeming <leeming@lyx.org>
10295 * factory.C (createInset): create an InsetCommandParam of type "index"
10296 and use it to 'do the right thing'.
10298 * text2.C (getStringToIndex): ensure that cursor position is always
10299 reset to the reset_cursor position.
10301 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10303 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10306 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10310 * lyxfunc.C: Output messages with identical spelling, punctuation,
10313 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10315 * MenuBackend.C (expandFormats): List only viewable export formats
10318 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10321 * lyxfunc.C (getStatus): Make sure that formats other than
10322 "fax" can also be disabled
10324 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10326 * text3.C (dispatch): put the lfuns that insert insets in 3
10327 groups, and call doInsertInset with appropriate arguments.
10328 (doInsertInset): new function, that creates an inset and inserts
10329 it according to some boolean parameters.
10331 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10333 * buffer.C (readFile): remember to pass on 'par' when calling
10334 readFile recursively.
10336 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10338 * MenuBackend.C (expandFormats): add "..." to import formats.
10340 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10342 * paragraph.C (asString): Remove XForms RTL hacks.
10344 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10345 * buffer.C: fix typo
10347 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10349 * Makefile.am (LIBS): delete var
10350 (lyx_LDADD): add @LIBS@ here instead.
10352 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10354 * Clarify the meaning of "wheel mouse jump"
10356 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10358 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10361 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10363 * importer.C (Loaders): do not preallocate 3 elements in the
10364 vector, since one ends up with 6 elements otherwise
10366 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10368 * DepTable.C (write): write the file name as last element of the
10369 .dep file (because it may contain spaces)
10370 (read): read info in the right order
10372 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10374 * paragraph_pimpl.C (simpleTeXBlanks):
10375 (simpleTeXSpecialChars):
10376 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10378 * tabular.C (latex): add some missing case statements. Reindent.
10380 * MenuBackend.C (expandToc): remove unused variable.
10382 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10391 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10394 2003-01-05 John Levon <levon@movementarian.org>
10397 * BufferView.C: add getEncoding()
10400 * kbsequence.C: do not store last keypress
10403 * lyxfunc.C: store last keypress here instead. Pass encoding
10406 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10408 * lyx_main.C (init): remove annoying error message when following
10409 symbolic links (bug #780)
10411 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10413 * text.C (insertChar):
10414 * lyxrc.C (getDescription): remove extra spaces
10416 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10418 * lyxrc.C (getDescription): remove extra spaces
10420 2002-12-20 John Levon <levon@movementarian.org>
10422 * text3.C: hack fix for page up/down across tall rows
10424 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10426 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10429 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10431 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10432 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10433 thesaurus is not compiled in
10435 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10437 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10439 2002-12-16 Angus Leeming <leeming@lyx.org>
10442 * lyx_main.C (init): remove override_x_deadkeys stuff.
10444 2002-12-12 John Levon <levon@movementarian.org>
10446 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10447 insert. Only remove shift modifier under strict
10450 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10452 * MenuBackend.C (expandToc): fix crash.
10454 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10456 * MenuBackend.C (expandToc): gettext on float names.
10458 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10460 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10461 implement bool empty() [bug 490]
10463 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10465 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10467 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10469 * several files: ws changes
10471 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10473 * text2.C (setCounter): clean up a bit, use boost.format.
10474 (updateCounters): initialize par upon declaration.
10476 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10477 if the layout exists. We do not just store the layout any more.
10478 (SwitchLayoutsBetweenClasses): use boost.format
10480 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10482 * converter.C (convert): if from and to files are the same, use a
10483 temporary files as intermediary
10485 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10488 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10490 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10492 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10494 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10496 * tabular.C (asciiPrintCell): use string(size, char) instead of
10499 * sgml.C (openTag): fix order of arguments to string constructor
10502 * lyxfunc.C (dispatch): use boost.format
10504 * lots of files: change "c" -> 'c'
10506 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10508 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10510 2002-11-25 Angus Leeming <leeming@lyx.org>
10512 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10514 * lyx_main.C (init): compile fix.
10516 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10518 * lyx_cb.C (start): boost.formatify
10519 do not include <iostream>
10521 * lengthcommon.C: ws only
10523 * boost-inst.C,BoostFormat.h: add more explict instantations
10525 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10527 * lots of files: handle USE_BOOST_FORMAT
10529 2002-11-21 John Levon <levon@movementarian.org>
10531 * pspell.C: fix compile
10533 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10535 * lyxfunc.C (dispatch): use boost::format
10539 * lyxfont.C (stateText): use boost::format
10541 * lyx_main.C (LyX): use boost::format
10543 (queryUserLyXDir): ditto
10544 (readRcFile): ditto
10546 (typedef boost::function): use the recommened syntax.
10548 * importer.C (Import): use boost::format
10550 * debug.C (showLevel): use boost::format
10552 * converter.C (view): use boost::format
10557 * bufferview_funcs.C (currentState): use boost::format
10559 * bufferlist.C (emergencyWrite): use boost::format
10561 * buffer.C (readLyXformat2): use boost::format
10562 (parseSingleLyXformat2Token): ditto
10564 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10566 * LaTeX.C (run): use boost::format
10568 * Chktex.C (scanLogFile): use boost::format
10570 * BufferView_pimpl.C (savePosition): use boost::format
10571 (restorePosition): ditto
10572 (MenuInsertLyXFile): ditto
10574 * BoostFormat.h: help file for explicit instation.
10576 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10578 * tabular.C (latex): Support for block alignment in fixed width
10581 2002-11-17 John Levon <levon@movementarian.org>
10583 * BufferView_pimpl.C:
10585 * lyxfunc.C: split filedialog into open/save
10587 2002-11-08 Juergen Vigna <jug@sad.it>
10589 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10590 by my last patch (hopefully).
10592 2002-11-08 John Levon <levon@movementarian.org>
10601 * toc.C: ParConstIterator, and use it (from Lars)
10603 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10605 * lyxtextclass.[Ch]: revise and add doxygen comments
10607 2002-11-07 John Levon <levon@movementarian.org>
10609 * text.C: fix progress value for spellchecker
10611 * toc.C: fix navigate menu for insetwrap inside minipage
10613 * paragraph_funcs.C: added FIXME for suspect code
10615 2002-11-07 John Levon <levon@movementarian.org>
10617 * BufferView_pimpl.C: fix redrawing of insets
10620 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10622 * text2.C (updateCounters): fix bug 668
10624 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10626 * text3.C (dispatch): Do not make the buffer dirty when moving the
10629 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10631 * vc-backend.C: STRCONV
10632 (scanMaster): ditto
10634 * text2.C (setCounter): STRCONV
10636 * paragraph.C (asString): STRCONV
10638 * lyxlength.C (asString): STRCONV
10639 (asLatexString): ditto
10641 * lyxgluelength.C (asString): STRCONV
10642 (asLatexString): ditto
10644 * lyxfunc.C (dispatch): STRCONV
10647 * lyxfont.C (stateText): STRCONV
10649 * importer.C (Import): STRCONV
10651 * counters.C (labelItem): STRCONV
10652 (numberLabel): ditto
10653 (numberLabel): remove unused ostringstream o
10658 * bufferview_funcs.C (currentState): STRCONV
10660 * buffer.C (readFile): STRCONV
10661 (asciiParagraph): ditto
10662 (makeLaTeXFile): ditto
10664 * Spacing.C (writeEnvirBegin): STRCONV
10666 * LaTeXFeatures.C (getLanguages): STRCONV
10667 (getPackages): ditto
10669 (getBabelOptions): ditto
10670 (getTClassPreamble): ditto
10671 (getLyXSGMLEntities): ditto
10672 (getIncludedFiles): ditto
10676 (scanAuxFile): ditto
10679 * LString.h: add the STRCONV macros
10681 * BufferView_pimpl.C (savePosition): STRCONV
10682 (restorePosition): ditto
10683 (MenuInsertLyXFile): ditto
10685 * vc-backend.C (scanMaster): change from submatch[...] to
10688 * funcrequest.C: include config.h
10690 * factory.C: include config.h
10692 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10694 * box.C: include config.h
10696 * LaTeX.C (scanAuxFile): change from submatch[...] to
10700 2002-10-25 Angus Leeming <leeming@lyx.org>
10702 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10704 * ispell.[Ch] (setError): new method.
10705 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10706 Use setError() insetead of goto END.
10708 * lyx_cb.C (AutoSave): move out child process into new class
10711 2002-10-30 John Levon <levon@movementarian.org>
10713 * text3.C: make start appendix undoable
10715 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10717 * lyxlength.C (inPixels): Fix returned value.
10719 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10722 2002-10-24 Angus Leeming <leeming@lyx.org>
10724 * lyxgluelength.h: no need to forward declare BufferParams
10725 or BufferView, so don't.
10727 2002-10-21 John Levon <levon@movementarian.org>
10729 * BufferView.C: menuUndo ->undo, redo
10731 * BufferView.h: document, remove dead, make some methods private
10733 * paragraph_funcs.h:
10734 * paragraph_funcs.C:
10735 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10740 * sgml.C: move sgml open/close tag into sgml.C
10742 * bufferview_funcs.h: unused prototype
10745 * lyxfunc.C: remove unused
10748 * text.C: remove unused
10750 2002-10-21 John Levon <levon@movementarian.org>
10754 * BufferView_pimpl.h:
10755 * BufferView_pimpl.C: fix mouse wheel handling based on
10756 patch from Darren Freeman
10758 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10760 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10762 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10764 * lyxlength.C (inPixels): Fix hanfling of negative length.
10765 Fix LyXLength::MU case.
10767 2002-10-16 John Levon <levon@movementarian.org>
10769 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10771 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10773 * converter.C (view): add support for $$i (file name) and $$p
10774 (file path) for the viewer command. If $$i is not specified, then
10775 it is appended to the command (for compatibility with old syntax)
10777 2002-10-14 Juergen Vigna <jug@sad.it>
10779 * undo_funcs.C (textHandleUndo): alter the order in which the
10780 new undopar is added to the LyXText, as we have to set first
10781 the right prev/next and then add it as otherwise the rebuild of
10782 LyXText is not correct. Also reset the cursor to the right paragraph,
10783 with this IMO we could remove the hack in "redoParagraphs()".
10785 2002-10-09 Angus Leeming <leeming@lyx.org>
10787 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10788 to turn off an optimisation if a new inset is to be inserted.
10790 2002-10-11 André Pönitz <poenitz@gmx.net>
10792 * lyxtext.h: make some functions public to allow access
10793 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10795 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10797 * text3.C (dispatch): when changing layout, avoid an infinite loop
10800 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10802 * lyxrc.C (read): treat a viewer or converter command of "none" as
10805 * MenuBackend.C (expandFormats): for an update, also allow the
10806 formats that are not viewable
10808 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10809 script if it is newer than the lyxrc.defaults in user directory
10811 2002-10-07 André Pönitz <poenitz@gmx.net>
10813 * text.C: Vitaly Lipatov's small i18n fix
10815 2002-09-25 Angus Leeming <leeming@lyx.org>
10817 * ispell.h: doxygen fix.
10819 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10821 * buffer.h (readFile): Add a new argument to the method, to allow
10822 reading of old-format templates.
10824 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10826 * toc.C (getTocList): Get TOC from InsetWrap.
10828 2002-09-16 John Levon <levon@movementarian.org>
10830 * lyxfunc.C: check tabular for cut/copy too
10832 2002-09-12 John Levon <levon@movementarian.org>
10834 * LyXAction.C: tidy
10837 * factory.C: add header
10839 * paragraph_funcs.h:
10840 * paragraph_funcs.C: cleanup
10842 2002-09-11 John Levon <levon@movementarian.org>
10844 * PrinterParams.h: odd/even default to true
10846 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10848 * PrinterParams.h: update printer parameters for new xforms dialog
10850 2002-09-11 Angus Leeming <leeming@lyx.org>
10852 * lyxserver.C (read_ready): re-write to make it more transparent
10853 and to make it work in coherent fashion under Tru64 Unix.
10855 2002-09-11 André Pönitz <poenitz@gmx.net>
10859 * text3.C: implement LFUN_WORDSEL
10861 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10863 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10864 make floatlist_ a boost::shared_ptr<FloatList>
10866 * lyxtextclass.C: include FloatList.h
10867 (LyXTextClass): initialize floatlist_
10868 (TextClassTags): add TC_NOFLOAT
10869 (Read): match "nofloat" to TC_NOFLOAT and use it.
10870 (readFloat): modify call to floatlist_
10874 * FloatList.[Ch] (FloatList): remove commented out float
10876 (erase): new function
10878 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10880 * MenuBackend.C (expandToc): fix crash when there is no document
10883 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10885 * many files: Add insetwrap.
10887 2002-09-09 John Levon <levon@movementarian.org>
10889 * text2.C: remove confusing and awkward depth wraparound
10891 2002-09-09 John Levon <levon@movementarian.org>
10893 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10896 * buffer.C: remove getIncludeonlyList()
10899 * lyxfunc.C: remove headers
10901 2002-09-09 Juergen Vigna <jug@sad.it>
10903 * text.C (getColumnNearX): fix form Michael this is most
10904 probably a cut&paste bug.
10906 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10908 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10910 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10911 references, ws changes.
10913 * text2.C (init): update counters after init
10914 (insertParagraph): no need to set counter on idividual paragraphs.
10915 (setCounter): access the counters object in the textclass object
10916 on in the buffer object.
10917 (updateCounters): ditto
10919 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10920 shared_ptr<Counters> to avoid loading counters.h in all
10922 (LyXTextClass): initialize ctrs_
10923 (TextClassTags): add TC_COUNTER, and ...
10924 (Read): use it here.
10925 (CounterTags): new tags
10926 (readCounter): new function
10927 (counters): new funtion
10928 (defaultLayoutName): return a const reference
10930 * counters.C (Counters): remove contructor
10931 (newCounter): remove a couple of unneeded statements.
10932 (newCounter): simplify a bit.
10933 (numberLabel): some small formatting changes.
10935 * buffer.[Ch]: remove all traces of counters, move the Counters
10936 object to the LyXTextClass.
10938 2002-09-06 Alain Castera <castera@in2p3.fr>
10940 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10941 package to set the horizontal alignment on fixed width columns.
10944 * lyx_sty.h: added tabularnewline macro def.
10946 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10948 2002-09-06 John Levon <levon@movementarian.org>
10950 * LyXAction.C: tooltips for sub/superscript
10952 * MenuBackend.C: a bit more verbose
10954 * lyxfunc.C: tiny clean
10956 * undo_funcs.C: document undo_frozen
10958 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10960 * counters.C (Counters): add missing algorithm counter.
10962 * text2.C (setCounter): lookup the counter with layouts latexname
10963 instead of by section number.
10964 (setCounter): use a hackish way to lookup the correct enum
10966 a float name->type change
10967 reset enum couners with counter name directly instead of depth value.
10969 * counters.C (Counters): remove the push_backs, change to use the
10970 float type not the float name.
10971 (labelItem): remove unused string, float name->type change
10973 * counters.h: don't include vector, loose the enums and sects vectors
10975 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10977 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10978 (Read): add float->TC_FLOAT to textclassTags
10979 (Read): and handle it in the switch
10980 (readFloat): new function
10982 * FloatList.C (FloatList): comment out the hardcoded float
10985 * lyxlayout.h: ws change.
10987 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10989 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10991 2002-09-03 Angus Leeming <leeming@lyx.org>
10993 * BufferView_pimpl.h: qualified name is not allowed in member
10994 declaration: WorkArea & Pimpl::workarea() const;
10996 * factory.C: added using std::endl directive.
10998 * text3.C: added using std::find and std::vector directives.
11000 2002-08-29 André Pönitz <poenitz@gmx.net>
11003 * text2.C: remove unused member number_of_rows
11006 * BufferView2.C: remove file, move contents to...
11007 * BufferView.C: ... here
11009 * BufferView_pimpl.C:
11010 * factory.C: move more inset creation to factory
11012 * vspace.C: avoid direct usage of LyXText, ws changes
11015 don't provide direct access to WorkArea, use two simple
11016 acessors haveSelction() and workHeight() instead
11019 2002-08-29 John Levon <levon@movementarian.org>
11021 * BufferView_pimpl.C (dispatch): do not continue when
11024 2002-08-28 André Pönitz <poenitz@gmx.net>
11026 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11029 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11031 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
11033 * buffer.C: increment LYX_FORMAT to 221
11035 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11036 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11038 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11040 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11042 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11044 * factory.C (createInset): use LyXTextClass::floats
11046 * MenuBackend.C (expandFloatListInsert):
11047 (expandFloatInsert):
11050 * text2.C (setCounter):
11052 * LaTeXFeatures.C (useFloat):
11053 (getFloatDefinitions):
11055 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11057 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11058 floatlist_, with accessor floats().
11060 * FloatList.h: remove global FloatList
11062 2002-08-26 André Pönitz <poenitz@gmx.net>
11064 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11068 * BufferView_pimpl.C:
11069 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11071 2002-08-25 John Levon <levon@movementarian.org>
11073 * LyXAction.C: fix margin note description
11075 2002-08-24 John Levon <levon@movementarian.org>
11079 * bufferview_funcs.C:
11081 * undo_funcs.C: cleanups
11083 * lyxfunc.C: disable CUT/COPY when no selection
11085 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11087 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11088 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11090 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11091 Add backward compatibility to "mono", "gray" and "no".
11093 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11095 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11096 (and file_format >= 200).
11098 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11100 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11102 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11104 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11106 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11108 * BufferView_pimpl.C:
11115 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11116 inset and code to make it work with the paragraph code. The inset
11117 can be anywhere in the paragraph, but will only do the expected
11118 thing in LaTeX if the layout file contains the parameter line
11120 (or more generally, a nonzero value) for that layout.
11122 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11124 * paragraph.h: remove the declaration of undefined counters class
11127 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11129 * text2.C (setCounter): fixed enumeration mis-count as reported by
11130 Dr. Richard Hawkins.
11132 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11134 * paragraph_funcs.h: remove some unneeded includes
11136 * text.C (backspace): pasteParagraph now in global scipe
11138 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11139 (pasteSelection): ditto
11141 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11142 * paragraph_funcs.C (pasteParagraph): ... here
11144 2002-08-20 André Pönitz <poenitz@gmx.net>
11146 * commandtags.h: new LFUNs for swapping/copying table row/colums
11149 * lyxfunc.C: support for new lfuns
11151 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11154 * buffer.[Ch]: remove NO_COMPABILITY stuff
11156 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11158 * boost.C (throw_exception): new file, with helper function for
11159 boost compiled without exceptions.
11164 * ParameterStruct.h:
11165 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11167 * bufferlist.C (emergencyWriteAll): use boost bind
11169 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11171 * text.C: include paragraph_funcs.h
11172 (breakParagraph): breakParagraph is now in global scope
11174 * paragraph_funcs.[Ch]: new files
11176 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11179 * buffer.C: include paragraph_funcs.h
11180 (insertStringAsLines): breakParagraph is now in global scope
11182 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11185 * CutAndPaste.C: include paragraph_funcs.h
11186 (cutSelection): breakParagraphConservative is now in global scope
11187 (pasteSelection): ditto
11189 * buffer.h: declare oprator== and operator!= for
11190 Buffer::inset_iterator
11192 * bufferlist.C (emergencyWrite): don't use fmt(...)
11194 * text3.C: add using std::endl
11196 * BufferView.C (moveCursorUpdate): remove default arg
11198 2002-08-20 André Pönitz <poenitz@gmx.net>
11200 * buffer.[Ch]: move inline functions to .C
11203 * BufferView_pimpl.C:
11205 * buffer.[Ch]: use improved inset_iterator
11208 * paragraph.[Ch]: write one paragraph at a time
11210 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11212 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11213 style if style is not specified.
11215 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11217 * text2.C (setCounter): when searching for right label for a
11218 caption, make sure to recurse to parent insets (so that a caption
11219 in a minipage in a figure float works) (bug #568)
11221 2002-08-20 André Pönitz <poenitz@gmx.net>
11223 * text3.C: new file for LyXText::dispatch() and helpers
11225 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11227 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11229 2002-08-19 André Pönitz <poenitz@gmx.net>
11232 * text.C: new LyXText::dispatch()
11234 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11236 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11238 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11240 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11243 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11245 * Makefile.am: use $(variables) instead of @substitutions@
11247 2002-08-15 André Pönitz <poenitz@gmx.net>
11250 * BufferView_pimpl.C: streamlining mathed <-> outer world
11254 * LyXAction.C: remove unused LFUN_MATH
11256 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11258 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11260 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11262 * paragraph.C (Paragraph): reformat a bit
11263 (cutIntoMinibuffer): use builtin InsetList function instad of
11267 * buffer.C: include boost/bind.hpp, add using std::for_each
11268 (writeFileAscii): use ParagraphList iterators
11269 (validate): use for_each for validate traversal of paragraphs
11270 (getBibkeyList): use ParagraphList iterators
11271 (resizeInsets): use for_each to resizeInsetsLyXText for all
11273 (getParFromID): use ParagraphList iterators
11275 * BufferView2.C (lockInset): use paragraph list and iterators
11277 2002-08-14 John Levon <levon@movementarian.org>
11279 * lyxserver.C: remove spurious xforms include
11281 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11283 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11285 2002-08-13 André Pönitz <poenitz@gmx.net>
11288 * lyxfunc.C: further cleaning
11290 2002-08-13 André Pönitz <poenitz@gmx.net>
11292 * funcrequest.h: new constructor
11294 * funcrequest.C: move stuff here from .h
11297 * BufferView_pimpl.C:
11300 * lyxfunc.C: subsequent changes
11302 * lyxfunc.h: new view() member function
11304 * lyxfunc.C: subsequent changes
11306 2002-08-13 Angus Leeming <leeming@lyx.org>
11309 * BufferView_pimpl.C:
11317 changes due to the changed LyXView interface that now returns references
11318 to member variables not pointers.
11320 2002-08-13 Angus Leeming <leeming@lyx.org>
11322 * WordLangTuple (word, lang_code): return references to strings,
11327 * lyxtext.h: forward-declare WordLangTuple.
11332 * text.C: #include "WordLangTuple.h".
11335 * text.C: (selectNextWordToSpellcheck): constify return type.
11337 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11343 * paragraph_pimpl.h:
11346 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11347 suggested by Angus.
11348 Made updateCounter always count from start of buffer, and removed
11349 second argument (par).
11350 Reverted floats number display to '#'. Perhaps I'll try again when the
11351 code base is sanitized a bit.
11353 2002-08-12 Angus Leeming <leeming@lyx.org>
11355 * buffer.[Ch] (getLabelList): constify.
11357 2002-08-07 André Pönitz <poenitz@gmx.net>
11359 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11361 * funcrequest.h: extension to keep mouse (x,y) position
11363 2002-08-12 Juergen Vigna <jug@sad.it>
11365 * BufferView2.C (insertErrors): forbid undo when inserting error
11368 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11370 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11372 * ParagraphList.[Ch]: new files
11374 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11376 * BufferView2.C (lockInset): ParagraphList changes
11379 * bufferlist.C: ditto
11383 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11385 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11386 unused class variable counter_,
11388 * paragraph.[Ch] (getFirstCounter): delete unused function
11390 * counters.C: include LAssert.h
11391 (reset): add a new function with no arg, change other version to
11392 not have def. arg and to not allow empty arg.
11394 * text2.C (setCounter): remove empty arg from call to Counters::reset
11396 2002-08-11 John Levon <levon@movementarian.org>
11398 * Makefile.am: add WordLangTuple.h
11400 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11402 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11403 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11405 * insets/insettext.C: InsetList changes
11407 * graphics/GraphicsSupport.C (operator()): InsetList changes
11409 * toc.C (getTocList): InsetList changes
11411 * paragraph_pimpl.[Ch]: InsetList changes
11413 * paragraph.[Ch]: InsetList changes
11415 * buffer.C (inset_iterator): InsetList changes
11416 (setParagraph): ditto
11417 * buffer.h (inset_iterator): ditto
11418 * iterators.C (operator++): ditto
11419 * iterators.h: ditto
11421 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11423 * InsetList.[Ch]: new files, most InsetList handling moved out of
11426 * BufferView2.C (removeAutoInsets): InsetList changes
11428 (ChangeInsets): ditto
11430 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11432 * paragraph_pimpl.h (empty): new function
11434 * paragraph.[Ch] (empty): new function
11436 * other files: use the new Paragraph::empty function
11438 2002-08-09 John Levon <levon@movementarian.org>
11440 * lyxtext.h: remove unused refresh_height
11442 2002-08-09 John Levon <levon@movementarian.org>
11449 * paragraph.C: move sgml char escaping out of paragraph
11452 * paragraph.C: remove id setter
11456 * paragraph_pimpl.C: remove dead tex_code_break_column
11458 * bufferview_funcs.C: small cleanup
11460 * lyxfunc.C: remove dead proto
11462 * lyxtext.h: make some stuff private. Remove some dead stuff.
11464 * lyxgluelength.C: make as[LyX]String() readable
11466 2002-08-08 John Levon <levon@movementarian.org>
11471 * ToolbarDefaults.C:
11474 * toc.C: lyxaction cleanup
11476 2002-08-08 John Levon <levon@movementarian.org>
11478 * BufferView2.C: small cleanup
11481 * lyxfind.C: move unnecessary header into the .C
11483 2002-08-08 John Levon <levon@movementarian.org>
11485 * funcrequest.h: just tedious nonsense
11488 * lyx_main.C: cleanups
11491 * vspace.C: remove dead header lyx_main.h
11493 2002-08-07 Angus Leeming <leeming@lyx.org>
11496 * paragraph_pimpl.h:
11497 Forward declare class Counters in paragraph.h by moving the ctrs member
11498 variable into Paragraph::Pimpl.
11499 (counters): new method, returning a reference to pimpl_->ctrs.
11501 * text2.C: ensuing changes.
11503 2002-08-07 John Levon <levon@movementarian.org>
11505 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11507 * BufferView_pimpl.C: announce X selection on double/triple
11510 * lyx_main.C: use correct bool in batch dispatch
11512 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11514 2002-08-07 André Pönitz <poenitz@gmx.net>
11516 * funcrequest.h: new class to wrap a kb_action and its argument
11519 * BufferView_pimpl[Ch]:
11523 * lyxrc.C: subsequent changes
11526 2002-08-07 John Levon <levon@movementarian.org>
11528 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11529 document options change.
11531 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11536 * makefile.am: move counters functionality over from
11537 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11539 2002-08-06 John Levon <levon@movementarian.org>
11541 * WordLangTuple.h: new file for word + language code tuple
11552 * BufferView2.C: use WordLangTuple
11555 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11557 2002-08-06 John Levon <levon@movementarian.org>
11559 * lyx_main.C: fix cmdline batch handling
11561 2002-08-06 André Pönitz <poenitz@gmx.net>
11563 * lyxrc.C: set default for show_banner to true
11565 2002-08-06 John Levon <levon@movementarian.org>
11567 * pspell.C: fix a crash, and allow new aspell to work
11569 2002-08-06 John Levon <levon@movementarian.org>
11572 * kbmap.C: small cleanup
11575 * vspace.C: add const
11577 2002-08-05 John Levon <levon@movementarian.org>
11579 * LyXAction.C: back to tabular-insert
11581 2002-08-04 John Levon <levon@movementarian.org>
11584 * BufferView.C: cosmetic change
11586 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11596 * BufferView2.C: purge all "Lyx" not "LyX" strings
11599 * lyxcursor.C: attempt to add some documentation
11604 * ToolbarDefaults.C:
11605 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11606 merge with LFUN_TABULAR_INSERT
11613 * pspell.C: split up i/pspell implementations into separate
11614 files, many cleanups
11616 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11618 * text2.C: some cleanup
11620 * lyxfunc.C: don't check for isp_command == "none" any more, it
11621 didn't make any sense
11623 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11628 * makefile.am: move counters functionality over
11629 from text2.C/paragraph.[Ch] to counters.[Ch], and
11631 2002-08-02 John Levon <levon@movementarian.org>
11633 * buffer.C: s/lyxconvert/lyx2lyx/
11635 2002-08-02 Angus Leeming <leeming@lyx.org>
11637 * lyxlex.C: revert John's change as it breaks reading of the user
11640 2002-08-02 Angus Leeming <leeming@lyx.org>
11642 * importer.C (Import):
11643 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11644 changes due to LyXView::view() now returning a boost::shared_ptr.
11646 2002-08-02 John Levon <levon@movementarian.org>
11648 * lyxlex.C: small cleanup
11650 2002-08-02 John Levon <levon@movementarian.org>
11652 * text2.C (status): small cleanup, no logic change
11654 2002-08-01 John Levon <levon@movementarian.org>
11657 * buffer.C (writeFile): don't output alerts, caller
11661 * lyx_cb.C: from above
11663 * lyxfunc.C: allow to open non-existent files
11665 2002-07-31 John Levon <levon@movementarian.org>
11667 * lyxserver.C: don't let incidental errors get
11670 2002-07-30 John Levon <levon@movementarian.org>
11672 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11674 2002-07-30 John Levon <levon@movementarian.org>
11677 * lyxserver.C: remove I/O callback too
11679 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11681 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11684 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11686 * many files: strip,frontStrip -> trim,ltrim,rtrim
11688 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11690 * PrinterParams.h: remove extern containsOnly, and include
11691 support/lstrings.h instead.
11693 * LaTeX.C (scanAuxFile): modify because of strip changes
11695 * buffer.C (makeLaTeXFile): ditto
11696 * bufferparams.C (writeFile): ditt
11697 * lyxfont.C (stateText): ditto
11698 * lyxserver.C (read_ready): ditto
11699 * vc-backend.C (scanMaster): ditto
11701 * BufferView_pimpl.h: ws changes
11703 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11705 2002-07-26 André Pönitz <poenitz@gmx.net>
11707 * kb_sequence.C: remove unnedred usings
11709 2002-07-26 Juergen Vigna <jug@sad.it>
11711 * lyxfind.C (LyXReplace): we have to check better if the returned
11712 text is not of theLockingInset()->getLockingInset().
11714 2002-07-25 Juergen Vigna <jug@sad.it>
11716 * lyxfind.C (LyXReplace): don't replace if we don't get the
11719 * undo_funcs.C (createUndo): remove debugging code.
11721 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11723 * buffer.C (parseSingleLyXformat2Token): Use default placement
11724 when reading old floats.
11726 * FloatList.C (FloatList): Change the default placement of figure
11727 and tables to "tbp".
11729 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11731 * MenuBackend.C: using std::max
11733 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11735 * MenuBackend.C (expandToc):
11736 (expandToc2): code moved from xforms menu frontend. It is now
11737 generic and TOCs are transparent to menu frontends.
11739 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11741 * toc.C (getTocList): protect against buf=0
11743 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11744 Menu as first parameter. Now, this calls itself recursively to
11745 expand a whole tree (this will be useful for TOC handling)
11746 (expandFloatInsert): remove 'wide' version of floats
11748 * MenuBackend.h (submenuname): returns the name of the submenu.
11749 (submenu): returns the submenu itself, provided it has been
11750 created by MenuBackend::expand
11752 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11754 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11755 insets which have noFontChange == true. (bug #172)
11757 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11759 * BufferView_pimpl.C: add connection objects and use them...
11762 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11764 * MenuBackend.C (expandLastfiles):
11767 (expandFloatListInsert):
11768 (expandFloatInsert):
11769 (expand): split expand in parts
11771 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11773 * lyx_gui.C: use lyx_gui::exit()
11775 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11777 * LyXAction.C: show the failing pseudo action
11779 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11781 * buffer.C (readFile): Run the lyxconvert script in order to read
11784 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11788 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11790 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11794 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11796 2002-07-22 Herbert Voss <voss@lyx.org>
11799 * lyxlength.[Ch]: add support for the vertical lengths
11801 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11803 * toc.[Ch]: std:: fixes
11805 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11807 * lyxrc.C: do not include lyx_main.h
11809 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11815 * BufferView2.C: include "lyxlex.h"
11818 * bufferparams.h: do not #include "lyxlex.h"
11820 * lyxtextclasslist.C (Add): remove method
11821 (classlist): renamed to classlist_
11823 * paragraph_pimpl.C:
11827 * bufferview_funcs.C:
11832 * toc.C (getTocList): use BufferParams::getLyXTextClass
11834 * toc.C (getTocList): use InsetFloat::addToToc
11836 * toc.[Ch]: new files, containing helper functions to handle table
11839 * lyxfunc.C (dispatch): no need to remove spaces around command
11841 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11842 first command of the sequence; it is not very clever, but I do not
11843 have a better idea, actually
11845 * LyXAction.C (LookupFunc): make sure to remove space at the
11846 beginning and end of the command
11848 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11850 * MenuBackend.C (getMenubar): new method: return the menubar of
11852 (read): treat differently reading of menu and menubar (in
11853 particular, the menubar has no name now)
11854 (Menu::menubar): remove
11856 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11859 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11861 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11862 a bibitem inset in a RTL paragraph.
11864 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11866 * paragraph_pimpl.C: constify
11868 * BufferView_pimpl.C:
11870 * lyxfunc.C: fix dispatch in a nicer way
11872 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11874 * lyxfunc.C (dispatch):
11875 * BufferView_pimpl.C:
11876 * BufferView_pimpl.h:
11878 * BufferView.h: rename Dispatch() to dispatch()
11880 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11882 * lyxlayout.C (Read): honor DependsOn tag
11884 * lyxlayout.[Ch] (depends_on): new method
11886 * version.C.in: update lyx_docversion
11888 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11890 * paragraph.C (validate): remove from here...
11891 * paragraph_pimpl.C (validate): ... and move here
11892 (isTextAt): make it const
11894 * buffer.C (getLists): ws cleanup
11896 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11898 * language.C (read): Use iso8859-1 encoding in latex_lang
11899 (this prevents LyX from crashing when using iso10646-1 encoding).
11901 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11903 * text2.C (toggleInset): if cursor is inside an inset, close the
11904 inset and leave cursor _after_ it
11906 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11908 * lyxfunc.C: move minibuffer completion handling out of here
11910 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11912 * BufferView_pimpl.C:
11913 * LaTeX.C: fix dispatch calls
11915 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11917 * text.C (drawChars): Fix Arabic text rendering.
11919 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11923 * lyxfunc.C: remove message-push/pop
11927 * lyxfunc.C: rationalise some code by removing verboseDispatch
11928 in favour of a bool argument to dispatch()
11930 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11932 * lyx_main.C (init): make sure to read symlinks as absolute paths
11934 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11937 * lyxfunc.C: no need for commandshortcut to be a member
11939 2002-07-15 André Pönitz <poenitz@gmx.net>
11941 * converter.C: add support for $$s (scripts from lib/scripts dir)
11942 * lyx_main.C: white space
11944 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11948 * lyxrc.C: remove second exit confirmation
11950 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11955 * BufferView_pimpl.h:
11956 * BufferView_pimpl.C:
11957 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11959 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11961 * MenuBackend.C (expand): add numeric shortcuts to document menu
11963 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11965 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11967 * lyxfont.C (setLyXFamily):
11974 * buffer.C (asciiParagraph): use ascii_lowercase
11976 2002-07-15 Mike Fabian <mfabian@suse.de>
11978 * lyxlex_pimpl.C (search_kw):
11979 * lyxlex.C (getLongString):
11980 * converter.h (operator<):
11981 * converter.C (operator<):
11982 * buffer.C (parseSingleLyXformat2Token):
11984 * ToolbarDefaults.C (read):
11985 * MenuBackend.C (checkShortcuts):
11987 * LColor.C (getFromGUIName):
11988 (getFromLyXName): use the compare_ascii_no_case instead of
11989 compare_no_case, because in turkish, 'i' is not the lowercase
11990 version of 'I', and thus turkish locale breaks parsing of tags.
11992 2002-07-16 Angus Leeming <leeming@lyx.org>
11994 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11995 now takes a Buffer const & argument.
11997 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11999 * BufferView.C (resize): check there's a buffer to resize
12001 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
12003 * lyxfunc.C: remove dead code
12006 * lyxserver.C: use lyx_guii::set_read_callback
12008 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
12010 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12011 an inset in a RTL paragraph.
12013 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12015 * lyxfunc.C: repaint after a font size update
12017 2002-07-15 André Pönitz <poenitz@gmx.net>
12019 * lyxlength.C: inBP should be able to return negative values
12021 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12023 * lyxfunc.C: use lyx_gui::update_fonts()
12025 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12027 * lyxfunc.C: use lyx_gui::update_color()
12029 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12035 * lyxrc.C: remove file->new asks for name option, and let
12036 buffer-new take an argument
12038 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12040 * BufferView_pimpl.C: remove unneeded extra repaint()
12042 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
12044 * LyXAction.C: allow command-sequence with NoBuffer
12046 * lyxfunc.C: don't insist on trailing ';' for command-sequence
12048 2002-07-10 Angus Leeming <leeming@lyx.org>
12050 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12052 2002-07-09 Angus Leeming <leeming@lyx.org>
12054 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12056 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12058 * lengthcommon.h: whitespace
12060 * lyxfunc.C: update scrollbar after goto paragraph
12062 * lyxtext.h: factor out page break drawing, and fix it so
12063 page break/added space paints as selected nicely
12065 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12067 * BufferView_pimpl.C: add FIXMEs, clean up a little
12069 2002-07-09 André Pönitz <poenitz@gmx.net>
12071 * lyxfont.[Ch]: support for wasy symbols
12073 2002-07-08 André Pönitz <poenitz@gmx.net>
12075 * BufferView_pimpl.C: apply John's patch for #93.
12077 2002-07-05 Angus Leeming <leeming@lyx.org>
12079 * BufferView_pimpl.C (buffer): generate previews if desired.
12081 * LColor.h: add "preview" to the color enum.
12083 * LColor.C (LColor): add a corresponding entry to the items array.
12085 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12088 2002-07-05 Angus Leeming <leeming@lyx.org>
12090 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12091 The body of the code is now in the method that is passed an ostream &
12092 rather than a file name.
12093 Pass an additional only_preamble parameter, useful for the forthcoming
12096 2002-07-03 André Pönitz <poenitz@gmx.net>
12098 * lyxfunc.C: simplify getStatus() a bit for math stuff
12100 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12102 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12104 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12106 * text.C (changeRegionCase): do not change case of all the
12107 document when region ends at paragraph end (bug #461)
12109 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12111 * paragraph.C (startTeXParParams):
12112 (endTeXParParams): add \protect when necessary
12114 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12116 * BufferView_pimpl.C (workAreaExpose): remove warning
12118 2002-06-27 Angus Leeming <leeming@lyx.org>
12120 * Makefile.am: add lyxlayout_ptr_fwd.h.
12122 2002-06-26 André Pönitz <poenitz@gmx.net>
12124 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12126 2002-06-25 Angus Leeming <leeming@lyx.org>
12128 * lyxfunc.C (dispatch): Comment out the call to
12129 grfx::GCache::changeDisplay. The method no longer exists now that the
12130 pixmap generation part of the graphics loader has been moved into
12133 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12135 * text2.C: layout as layout
12137 * text.C: layout as layout
12139 * tabular.C (OldFormatRead): layout as layout
12141 * paragraph_pimpl.C (TeXDeeper): layout as layout
12142 (realizeFont): layout as layout
12144 * paragraph.C (writeFile): layout as layout
12145 (validate): layout as layout
12146 (getFont): layout as layout
12147 (getLabelFont): layout as layout
12148 (getLayoutFont): layout as layout
12149 (breakParagraph): layout as layout
12150 (stripLeadingSpaces): layout as layout
12151 (getEndLabel): layout as layout
12152 (getMaxDepthAfter): layout as layout
12153 (applyLayout): layout as layout
12154 (TeXOnePar): layout as layout
12155 (simpleTeXOnePar): layout as layout
12156 (TeXEnvironment): layout as layout
12157 (layout): layout as layout
12158 (layout): layout as layout
12160 * lyxtextclass.C (compare_name): new functor to work with
12161 shared_ptr, layout as layout
12162 (Read): layout as layout
12163 (hasLayout): layout as layout
12164 (operator): layout as layout
12165 (delete_layout): layout as layout
12166 (defaultLayout): layout as layout
12168 * lyxlayout_ptr_fwd.h: new file
12170 * lyxlayout.C (Read): layout as layout
12172 * lyx_cb.C (MenuInsertLabel): layout as layout
12174 * bufferlist.C (newFile): layout as layout
12176 * buffer.C (readLyXformat2): layout as layout
12177 (parseSingleLyXformat2Token): layout as layout
12178 (insertStringAsLines): layout as layout
12179 (asciiParagraph): layout as layout
12180 (latexParagraphs): layout as layout
12181 (makeLinuxDocFile): layout as layout
12182 (simpleLinuxDocOnePar): layout as layout
12183 (makeDocBookFile): layout as layout
12184 (simpleDocBookOnePar): layout as layout
12185 (getLists): layout as layout
12187 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12189 * CutAndPaste.C (cutSelection): layout as layout
12190 (pasteSelection): layout as layout
12191 (SwitchLayoutsBetweenClasses): layout as layout
12193 * BufferView_pimpl.C (Dispatch): layout as layout
12194 (smartQuote): layout as layout
12196 * BufferView2.C (unlockInset): layout as layout
12198 2002-06-24 André Pönitz <poenitz@gmx.net>
12200 * lyxfunc.C: fix #487
12202 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12206 * lyxfunc.C: remove display_shortcuts, show_banner
12208 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12210 * Buffer_pimpl.C: oops, update on resize
12212 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12219 * BufferView.C: use repaint()
12221 * BufferView_pimpl.h:
12222 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12223 as it's a clearer description. Remove superfluous
12226 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12228 * text.C: fix bug 488. Not ideal, but getting
12229 getWord() to work properly for the insets that
12230 matter is more difficult ...
12232 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12234 * BufferView_pimpl.C:
12237 * lyxfunc.C: remove the six million index lyxfuncs to just
12238 one, and DTRT (bug 458)
12240 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12244 * BufferView_pimpl.h:
12245 * BufferView_pimpl.C: clean up resize() stuff,
12246 and unnecessary updateScreen()s
12248 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12252 * BufferView_pimpl.h:
12253 * BufferView_pimpl.C:
12256 * minibuffer.C: remove focus management of workarea,
12257 not needed. Use screen's greyOut()
12259 2002-06-17 Herbert Voss <voss@lyx.org>
12261 * converter.C: (convert) do not post a message, when converting
12262 fails, let the calling function decide what to do in this case
12264 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12266 * lyxfunc.C: tidy up a little
12268 2002-06-16 <alstrup@diku.dk>
12270 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12271 Got rid of FORMS_H_LOCATION include. Now we are
12274 2002-06-15 LyX Development team <lyx@rilke>
12276 * buffer.[Ch] (sgmlOpenTag):
12277 (sgmlCloseTag): Added support for avoiding pernicious mixed
12278 content. Return number of lines written.
12280 (makeLinuxDocFile):
12281 (makeDocBookFile): Fixed calls to sgml*Tag.
12282 Simple white space clean.
12284 (simpleDocBookOnePar): Simple white space clean.
12286 * tabular.[Ch] (docBook): Renamed to docbook and got another
12287 argument to related with the pernicious mixed content.
12289 (docbookRow): Fixed calls for docbook inset method.
12291 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12293 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12294 so it's X11 independent.
12298 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12300 2002-06-15 Lyx Development team <lyx@electronia>
12302 * intl.h: Renamed getTrans to getTransManager.
12304 2002-06-14 Angus Leeming <leeming@lyx.org>
12306 * Makefile.am: nuke forgotten stl_string_fwd.h.
12308 2002-06-12 Angus Leeming <leeming@lyx.org>
12310 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12312 2002-06-13 Angus Leeming <leeming@lyx.org>
12315 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12317 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12319 * kbmap.C (getiso): add support for cyrillic and greek
12321 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12325 * BufferView_pimpl.h:
12326 * BufferView_pimpl.C: move bogus scrolling logic
12329 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12332 * BufferView_pimpl.C: view->resize() change
12334 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12336 * BufferView_pimpl.C: topCursorVisible
12339 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12343 * lyx_gui.C: move to frontends/
12347 * lyx_main.C: changes from above
12349 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12356 * lyx_main.C: minor tidy
12358 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12360 * BufferView_pimpl.h:
12361 * BufferView_pimpl.C:
12363 * BufferView.C: make painter() const,
12366 * BufferView2.C: use screen() accessor
12369 * lyx_main.C: some minor cleanup
12371 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12373 * BufferView_pimpl.h:
12374 * BufferView_pimpl.C: remove enter/leaveView,
12377 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12382 * BufferView_pimpl.h:
12383 * BufferView_pimpl.C: only construct screen once,
12386 * lyxrc.C: remove pointless comment
12388 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12391 * BufferView.C: remove active() and belowMouse()
12393 * BufferView_pimpl.h:
12394 * BufferView_pimpl.C: use workarea() not workarea_,
12395 and make it use a scoped_ptr instead
12397 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12399 * lyx_gui.C: add debug message on BadWindow
12401 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12403 * sp_spell.C: fdopen is not part of the C++ standard.
12405 * paragraph.C (InsetIterator): use >= instead of ==
12407 2002-06-07 Angus Leeming <leeming@lyx.org>
12409 Fixes needed to compile with Compaq cxx 6.5.
12410 * BufferView_pimpl.C:
12417 * lyxtextclasslist.C:
12422 all c-library variables have been moved into namespace std. Wrap
12423 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12428 Add a using std::abs declaration.
12430 * kbmap.h (modifier_pair):
12431 * paragraph.h (InsetTable, InsetList):
12432 * lyxfont.h (FontBits):
12433 type definition made public.
12435 * bufferlist.C (emergencyWriteAll): the compiler complains that
12436 there is more than one possible lyx::class_fun template to choose from.
12437 I re-named the void specialisation as lyx::void_class_fun.
12439 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12441 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12442 the compiler is is unable to find tostr in write_attribute.
12444 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12446 * buffer.C (sgmlError): hide #warning
12448 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12450 * xtl/*: get rid of xtl, which is not in use anyway
12452 * LyXAction.C (init):
12453 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12454 were unimplemented xtl experimentation
12456 2002-06-04 André Pönitz <poenitz@gmx.net>
12458 * lyxfunc.C: disable array operation on simple formulae
12460 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12462 * converter.C: constify a bit
12464 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12466 * lyx_gui.C: check xforms version correctly
12468 2002-04-30 Herbert Voss <voss@lyx.org>
12470 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12473 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12475 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12476 attempt to register it with a VCS)
12478 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12480 * lyx_main.C (init): honor variables LYX_DIR_13x and
12483 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12487 * lyx_main.C: fix a crash on bad command line,
12488 and give a useful exit status on error
12490 * lyxfunc.C (doImport): allow -i lyx to work
12492 2002-03-30 André Pönitz <poenitz@gmx.net>
12494 * lyxfunc.C: mathed font changes
12496 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12511 * trans_mgr.h: srcdocs, and some minor cleanups
12513 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12515 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12516 call getFont all the time)
12518 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12520 * switch from SigC signals to boost::signals
12522 2002-05-29 André Pönitz <poenitz@gmx.net>
12524 * paragraph_pimpl.C (getChar): don't call size() too often...
12526 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12528 * paragraph_pimpl.C (insertChar): do not try to update tables when
12529 appending (pos == size())
12531 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12532 in order to reduce drastically the number of comparisons needed to
12533 parse a large document
12535 2002-05-29 André Pönitz <poenitz@gmx.net>
12541 * textclasslist.[Ch]:
12542 * sp_ispell.h: whitespace change
12544 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12546 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12547 lyxaction directly now.
12549 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12553 * lyxvc.C: remove unused headers
12555 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12562 * undo_funcs.C: some cleanups. Use shared_ptr
12563 and a template for the undo stacks.
12565 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12567 * BufferView_pimpl.h:
12568 * BufferView_pimpl.C:
12575 * text2.C: use key_state/mouse_state
12577 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12579 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12582 * chset.C: change include order
12583 (loadFile): use boost regex and get rid of LRegex and LSubstring
12585 * Makefile.am (BOOST_LIBS): new variable
12586 (lyx_LDADD): use it
12588 * LaTeX.C: change include order.
12589 (scanAuxFile): use boost regex and get rid of LRegex and
12593 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12598 * FontInfo.C: moved to frontends/xforms/
12601 * FontLoader.C: moved into frontends for GUIIzation
12606 * lyxfunc.C: changes from above
12608 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12610 * LColor.C: remove spurious X include
12612 * BufferView_pimpl.C:
12617 * text2.C: move font metrics to frontends/
12619 2002-05-24 Juergen Vigna <jug@sad.it>
12621 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12622 setting the undo_cursor.
12624 * ParagraphParameters.h: include local includes first.
12626 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12628 * BufferView_pimpl.C:
12629 * BufferView_pimpl.h:
12633 * screen.C: move WorkArea into frontends/
12639 * BufferView2.C: move LyXScreen into frontends/
12643 * lyx_gui.C: move lyxlookup into frontends/xforms/
12645 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12648 * BufferView_pimpl.C:
12658 * bufferview_funcs.C:
12671 * vc-backend.C: move LyX/XFormsView into frontends/
12673 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12685 * text2.C: move Painter to frontends/
12687 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12689 * buffer.C: comment out some some code that depend upon lyx_format
12692 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12693 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12695 * buffer.h (NO_COMPABILITY): turn off compability
12697 * ColorHandler.C: include scoped_array.hpp
12699 * font.C: Use more specific smart_ptr header.
12702 * ShareContainer.h: ditto
12703 * lyx_main.h: ditto
12705 * FontInfo.h: ditto
12706 * BufferView_pimpl.h: ditto
12707 * ColorHandler.h: ditto
12709 * kbmap.C (defkey): change call to shared_ptr::reset
12711 2002-05-21 Juergen Vigna <jug@sad.it>
12713 * buffer.C (insertErtContents): fix to insert ert asis if it is
12714 non empty. Skip it completely if it contains only whitespaces.
12716 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12718 * BufferView_pimpl.C:
12719 * BufferView2.C: clear selection on paste (bug 393)
12721 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12723 * DepTable.C: include ctime
12725 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12727 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12729 2002-05-14 Juergen Vigna <jug@sad.it>
12731 * text.C (breakParagraph): fixed function to honor the keepempty
12732 layout in the right maner and also to permit the right breaking
12733 algorithm on empty or non empyt keepempty paragraphs.
12735 * paragraph.C (breakParagraph): we have to check also if the par
12736 is really empty (!size()) for isempty otherwise we do the wrong
12739 2002-05-10 Juergen Vigna <jug@sad.it>
12741 * buffer.[Ch] : The following are only changes to the ert
12742 compatibility read reading old LaTeX layout and font stuff and
12743 convert it to ERTInsets.
12745 * buffer.h: added isErtInset().
12747 * buffer.C (struct ErtComp): add a fromlayout bool to check
12748 if we're inside a LaTeX layout.
12749 (isErtInset): new helper function.
12750 (insertErtContents): look for other ert insets before this one
12751 and insert the contents there, so that we don't have subsequent
12752 ERT insets with nothing between them. This way we create only one
12753 inset with multiple paragraphs. Also check if we don't insert only
12754 spaces ' ' as they are ignored anyway afterwards in the .tex file
12755 so if we have only spaces we will ignore this latex part in the
12757 (parseSingleLyXformat2Token \\layout): better compatibility when
12758 reading layout-latex stuff.
12759 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12761 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12762 stuff after reading the inset only get the information back from
12765 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12767 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12769 * LaTeXFeatures.C (getBabelOptions): New method.
12771 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12773 * BufferView_pimpl.C (Dispatch): work around missing argument for
12776 2002-05-08 Juergen Vigna <jug@sad.it>
12778 * text.C (leftMargin): handle paragraph leftindent.
12780 * paragraph.C (writeFile): write the new \\leftindent tag.
12781 (validate): handle leftindent code.
12782 (TeXEnvironment): handle paragraphleftindent code again.
12784 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12786 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12787 for paragrap_extra indent code and new token \\leftindent.
12788 (latexParagraphs): handle the leftindent as environment.
12790 * ParameterStruct.h: added leftindent support.
12792 * ParagraphParameters.C (leftIndent): added support functions for
12793 the paragraph left indent.
12795 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12798 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12800 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12803 * text.C (computeBidiTables): No bidi in insetERT.
12805 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12808 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12810 * version.C.in: pre 5
12812 2002-05-02 José Matos <jamatos@fep.up.pt>
12813 * buffer.C (makeDocBookFile): white space changes, add newline to
12815 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12817 * tabular.C (docBook): fix typo.
12819 2002-05-03 Juergen Vigna <jug@sad.it>
12821 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12822 change in LyXText as we can not be sure it was not freed.
12823 (drawOneRow): remove unused code.
12825 * text.C (drawInset): redo the calculation of the need_break_row as
12826 it could have a row which was already freed.
12827 (draw): look at the return value of drawInset and return false if
12828 it also returned false.
12829 (paintRowText): look at the return value of draw and return false if
12830 it also returned false.
12832 * lyxtext.h: added bool return type to drawInset() and draw() so that
12833 if we have a change in the row so that the rowbreak has to be redone
12834 we abort drawing as it will be called again.
12836 2002-05-02 Juergen Vigna <jug@sad.it>
12838 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12839 a change in the maintext also if we're inside an inset.
12840 (Dispatch): set the cursor again after a break line and after the
12841 screen has been updated as it could be we're in a different row.
12843 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12844 to set the cursor behind the pargraph with > size().
12845 (setCursor): check also for the same paragraph when checking where
12846 to put the cursor if we have a NFR inset.
12848 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12849 parts of layout read further up as it still was in the wrong
12852 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12854 * screen.C (drawFromTo): change sine fullRebreak always return
12857 * buffer.C (parseSingleLyXformat2Token): reindent some
12859 * BufferView_pimpl.C (update): change since fullRebreak always
12861 (Dispatch): git rid of the last hardcoded "Standard"s.
12863 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12865 * text2.[Ch] (fullRebreak): make it return void now that we always
12868 2002-04-30 Juergen Vigna <jug@sad.it>
12870 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12871 ert compatibility check for "latex" layout.
12873 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12875 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12876 minipages: use col% instead of p%, and also use the current font.
12877 (makeLaTeXFile): Fix use babel condition.
12878 (parseSingleLyXformat2Token): Correct font when reading old floats.
12880 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12882 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12883 inserting list of floats.
12885 2002-04-25 Herbert Voss <voss@lyx.org>
12887 * MenuBackend.C (expand): don't add the graphics extensions to the
12890 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12892 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12893 non-existing layout, do not complain if it was the default layout
12894 of the original class (bug #342)
12896 2002-04-24 Juergen Vigna <jug@sad.it>
12898 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12899 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12901 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12903 * buffer.C (getBibkeyList): If using \bibliography, return the
12904 option field with the reference itself. Enables us to provide natbib
12905 support when using \bibliography.
12907 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12909 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12911 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12912 natbib is provided by the LaTeX class.
12914 2002-04-23 Juergen Vigna <jug@sad.it>
12916 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12919 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12921 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12923 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12925 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12926 ensuremath around textordmasculine, textordfeminine and
12929 2002-04-19 Juergen Vigna <jug@sad.it>
12931 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12932 reinitializing the buffer otherwise row-dimensions may be wrong.
12933 (update): reset also the selection cursors if they do exits otherwise
12934 their x/y positions may be wrong.
12936 * text2.C (cursorDown): don't enter the inset if we came from a row
12937 above and are one row over the inset.
12939 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12940 really leaving an inset.
12942 2002-04-18 Juergen Vigna <jug@sad.it>
12944 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12945 of the selected paragraph does not have the selected layout also if
12948 * text2.C (setLayout): fixed bug which did not change last selected
12951 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12952 changed the read and substituted \\end_float with \\end_inset!
12954 * BufferView_pimpl.C (cursorPrevious):
12955 (cursorNext): fixed to make it work with rows heigher than the work
12956 area without moving the cursor only the draw of the row.
12957 (workAreaMotionNotify): fix jumping over high rows.
12959 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12961 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12964 2002-04-16 Juergen Vigna <jug@sad.it>
12966 * text2.C (setCursor): set also the irow().
12967 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12969 (cursorDown): support for locking an inset if the x_fix value goes
12970 inside it. That way I can transverse insets too with cursor up/down.
12972 * lyxrow.h: added irow helper function same as other (i) functions.
12974 * BufferView_pimpl.C (cursorPrevious):
12975 (cursorNext): fixed for insets!
12977 2002-04-15 Juergen Vigna <jug@sad.it>
12979 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12980 position otherwise it is wrong in some cases.
12982 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12983 inside the inset before the call.
12985 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12987 * buffer.[Ch] (getBibkeyList): make it const.
12989 2002-04-12 Juergen Vigna <jug@sad.it>
12991 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12993 * text2.C (getCursorX): new helper function
12994 (setCursor): compute also ix_
12995 (setCursorFromCoordinates): set also ix.
12997 * lyxcursor.h: added ix_ and helper functions.
12999 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13001 * buffer.C (insertStringAsLines): dont break paragraph if the this
13002 paragraph is inside an inset which does not permit it!
13004 * text.C (breakParagraph): honor keepempty flag and break the paragraph
13005 also with no chars on this paragraph.
13006 (paintRowText): only paint stuff if it's inside the workarea!
13008 * paragraph.C (breakParagraph): honor keepempty flag and break the
13009 paragraph always below not above.
13011 * BufferView2.C (unlockInset): update the paragraph layout on inset
13012 unlock as we changed paragraph in such a case.
13014 * lyxfind.C (LyXFind): clear the former selection if not found!
13016 * text2.C (insertInset): freeze Undo after setUndo so that it is not
13017 again called in insertChar().
13019 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13020 an inset which uses the whole row!
13021 (rightMargin): ditto.
13022 (insertChar): force a rebreak if we inserted an inset!
13024 2002-03-28 Herbert Voss <voss@lyx.org>
13026 * lyxlength.[Ch]: add inBP() to get the right PS-point
13027 units (BigPoint). With inPixels we have rounding errors
13029 2002-04-11 Juergen Vigna <jug@sad.it>
13031 * text2.C (setCursorFromCoordinates): set iy to the right value.
13032 (setCursor): add check if row->previous exists!
13034 * buffer.C (parseSingleLyXformat2Token): reset font after read of
13035 an old float_type as this was the case in the old code!
13037 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13039 * BufferView2.C (showLockedInsetCursor): use iy
13040 (fitLockedInsetCursor): ditto
13042 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13043 locked insets as there we have the right value now.
13045 * lyxcursor.C: added iy_ variable and iy functions to set to the
13046 baseline of cursor-y of the locked inset.
13048 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13049 (setCursor): fixed for insets which need a full row.
13051 * text.C (rowLastPrintable): don't ignore the last space when before
13052 an inset which needs a full row.
13053 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13054 as last character of a row when before a inset which needs a full row.
13056 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13058 * version.C.in: update date
13060 * text2.C (fullRebreak): try to always return true and see what
13063 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13065 * MenuBackend.C (expand): use Floating::listName
13067 * FloatList.C (FloatList): add listName argument to the built-in
13070 * Floating.[Ch]: add listName member, which is the 'List of XXX'
13071 text associated with the float.
13073 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13075 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13077 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13079 * ShareContainer.h: add a couple of missing typenames.
13081 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13083 * lyxrc.C (getDescription): use _() correctly rather than N_().
13085 2002-03-28 Herbert Voss <voss@lyx.org>
13087 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13088 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13090 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13092 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13093 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13095 2002-03-29 Juergen Vigna <jug@sad.it>
13097 * lyxfunc.C (dispatch): add a missing fitCursor call.
13099 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13100 it was scrolled by a cursor move, so return the bool status.
13102 * BufferView.C (fitCursor): return the bool flag also to the outside
13103 world as this is needed.
13105 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13107 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13108 call the edit() as it is not needed (and wrong) IMO.
13109 (workAreaButtonPress): set the screen_first variable before evt.
13110 unlock the inset as this may change screen_first and then we have
13111 a wrong y position for the click!
13113 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13115 * MenuBackend.C (expand): another translation that I missed
13117 2002-03-28 Juergen Vigna <jug@sad.it>
13119 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13121 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13123 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13125 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13127 * MenuBackend.C (expand): fix export/view/update when there is no
13130 2002-03-27 Herbert Voss <voss@lyx.org>
13132 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13135 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13137 * bufferview_funcs.C (currentState): only show paragraph number
13138 for is DEVEL_VERSION is set.
13140 * lyxfunc.C (dispatch): put warning in INFO channel
13142 * MenuBackend.C (expand): translate the name of floats
13144 * FloatList.C (FloatList): mark the float names for translation
13146 * converter.C (convert): use LibScriptSearch
13148 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13150 * MenuBackend.C (defaults): fix default menu (we might as well get
13153 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13155 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13158 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13160 * lyxvc.C: reorder includes.
13162 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13164 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13167 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13169 * CutAndPaste.C: change layouts earlier on paste
13170 to avoid crashing when calling getFont()
13172 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13174 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13177 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13179 * WorkArea.C: remove 'Pending' debug message.
13181 * most files: ws cleanup
13183 * buffer.[Ch]: ws changes
13185 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13187 2002-03-21 Juergen Vigna <jug@sad.it>
13189 * tabular.C (SetMultiColumn): collapse also the contents of the
13190 cells and set the last border right. Added a Buffer const * param.
13192 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13194 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13197 2002-03-19 Juergen Vigna <jug@sad.it>
13199 * text2.C (clearSelection): reset also xsel_cache.
13201 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13202 where it needs to be called (John tells us to do so too :)
13203 (selectionLost): reset sel_cache.
13205 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13207 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13209 * text2.C (setCursorIntern): put debuging code in INSETS channel
13211 2002-03-19 André Pönitz <poenitz@gmx.net>
13213 * lyxfunc.C: tiny whitespace change
13215 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13217 * ToolbarDefaults.C (init):
13218 * LyXAction.C (init):
13220 * BufferView_pimpl.C (Dispatch):
13221 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13223 2002-03-19 Allan Rae <rae@lyx.org>
13225 * exporter.C (Export): removeAutoInsets before doing anything else.
13226 While I've just introduced a dependency on BufferView this really is
13227 the best place to clean the buffer otherwise you need to cleanup in
13228 a dozen places before calling export or cleanup in a dozen functions
13231 * converter.C (runLaTeX):
13232 (scanLog): Better handling of removeAutoInsets and screen updates.
13234 * lyxfunc.C (dispatch): small whitespace changes
13236 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13238 * WorkArea.C (C_WorkAreaEvent): return a value.
13239 (event_cb): return 1 if we handled the event, 0 otherwise.
13241 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13243 2002-03-18 Juergen Vigna <jug@sad.it>
13245 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13246 (GetAdditionalWidth): ditto.
13247 (RightLine): ditto.
13250 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13251 inset if we're there actually (probably not used right now but this
13252 is the direction to go for unifying code).
13253 (paste): disable code to clear the selection.
13255 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13256 inside an InsetText and move the check further up as it is in the
13259 * text2.C (pasteSelection): set a selection over the pasted text.
13261 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13263 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13264 and libgraphics to build on Cygwin.
13266 2002-03-15 Juergen Vigna <jug@sad.it>
13268 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13269 inserting an Inset into the paragraph. I know this is not the best
13270 fix but we already use current_view in CutAndPaste so we will remove
13271 all of it's using at the same time.
13273 * buffer.C (sgmlError): deactivated function till it is rewritten in
13274 the right mode, now it can create problems.
13276 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13277 before accessing it.
13279 2002-03-14 Juergen Vigna <jug@sad.it>
13281 * undo_funcs.C (textHandleUndo): do the right thing when updating
13282 the inset after the undo/redo.
13284 * text2.C (setCursor): just some testcode for #44 not ready yet.
13286 * undo_funcs.C (textHandleUndo): set the next() and previous()
13287 pointers of the paragraph to 0 before deleting otherwise we have
13288 problems with the Paragraph::[destructor].
13290 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13291 on a paragraph insertion.
13293 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13295 * buffer.C (asciiParagraph): use += operator for char append to
13298 * paragraph.C (getFontSettings): compare >= not just >
13299 (highestFontInRange): ditto
13302 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13304 * paragraph.C: change several algorithm to be more appripriate for
13305 the problem domain. This is lookip in FontList and in the InsetList.
13307 2002-03-13 André Pönitz <poenitz@gmx.net>
13310 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13312 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13317 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13319 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13321 * Painter.C (display): anon helper function, adjust code for this
13323 (pixmap): remove function.
13325 * Painter.h: remove private display variable.
13327 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13329 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13331 * WorkArea.[Ch]: remove figinset_canvas cruft.
13333 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13335 * lyxtextclass.C (operator): add one item cache optimization.
13337 * bufferlist.h: doxy changes
13339 * bufferlist.C: ws changes
13341 * DepTable.[Ch] (ext_exist): place const in the right spot.
13343 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13345 (workAreaExpose): call resizeInsets when the with BufferView changes.
13346 (Dispatch): adjust for protectedBlank removal
13347 (specialChar): call updateInset if the insert went ok.
13349 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13350 specialChar instead.
13352 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13354 * BufferView.h: doxy change
13356 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13358 * lyxtextclass.C (operator[]): remove non-const version
13359 (defaultLayout): remove non-const version
13361 2002-03-12 Juergen Vigna <jug@sad.it>
13363 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13364 did resize the LyXText too.
13366 * buffer.C (readLyXformat2): set layout information on newly allocated
13369 * tabular.C (OldFormatRead): set layout information on the paragraph.
13371 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13373 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13375 2002-03-11 Juergen Vigna <jug@sad.it>
13377 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13379 (resizeCurrentBuffer): force also the insets to resize themselfes.
13380 (moveCursorUpdate): fixed up for InsetText.
13382 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13385 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13386 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13387 value of Dialogs::tooltipsEnabled().
13388 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13390 2002-03-08 Juergen Vigna <jug@sad.it>
13392 * BufferView_pimpl.C (updateInset): update inset inside inset also
13393 if it isn't inside theLockingInset().
13395 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13397 * buffer.C (asciiParagraph): redo some of the word and line length
13399 (getLists): look for Caption instead of caption.
13401 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13403 * buffer.C (Buffer): initialize niceFile to true
13405 (makeLinuxDocFile):
13406 (makeDocBookFile): make sure niceFile is true on exit
13408 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13410 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13412 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13414 * LyXSendto.C: remove.
13415 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13416 * lyx_gui.C: remove now-redundant comment.
13417 * ColorHandler.h: remove forward declaration of class WorkArea.
13418 * lyxfunc.C: remove #include "WorkArea.h".
13420 2002-03-07 Juergen Vigna <jug@sad.it>
13422 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13423 got moved away with the DEPM and also set the inset_owner always
13424 right which before could have been omitted.
13426 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13428 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13429 wanted layout is not found.
13431 2002-03-07 Juergen Vigna <jug@sad.it>
13433 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13435 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13437 * paragraph.C (breakParagraph): use default layout not layout of
13439 (Paragraph): clear ParagraphParameters.
13441 2002-03-06 Juergen Vigna <jug@sad.it>
13443 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13444 otherwise it would not be a valid lenght. Fixed a special case in
13445 the minipage compatibility read where we end the document with a
13448 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13449 was set as it could be 0 for InsetTexts first entry.
13451 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13453 * paragraph.C (writeFile): if layout is empty write out
13454 defaultLayoutName().
13456 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13457 file without named layout we set layout to defaultLayoutName().
13459 2002-03-06 Juergen Vigna <jug@sad.it>
13461 * CutAndPaste.C (copySelection): set layout for new paragraph.
13463 * text.C (prepareToPrint): leave ERT inset left aligned
13464 (leftMargin): don't indent paragraphs inside ERT insets
13466 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13468 * paragraph.C (breakParagraph): dont call clear do the work manually
13470 * paragraph.[Ch] (clear): remove function
13472 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13474 * paragraph.C (Paragraph): dont call clear, the work has already
13477 * lyxtextclass.C (operator): assert if n is empty
13479 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13480 work manually instead.
13482 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13484 * BufferView_pimpl.C: protect selectionLost against text == 0
13486 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13488 * text.C (breakParagraph): fix a setting layout to '0' problem.
13490 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13492 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13493 final location of file, for the included files, and graphics.
13495 2002-03-05 Juergen Vigna <jug@sad.it>
13497 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13499 2002-03-04 Juergen Vigna <jug@sad.it>
13501 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13503 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13504 last column of multicolumn cells.
13505 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13507 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13509 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13510 file if it doesn't go to a temporary file.
13512 * buffer.C (sgmlOpenTag):
13513 (sgmlCloseTag): remove extra newline insertion.
13515 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13517 * text.C (getRowNearY): comment out debug msg
13519 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13521 * text2.C: first -> first_y
13523 * text.C (getRowNearY): add some attemts at a possible
13524 optimization, not working.
13526 * tabular.[Ch]: add BufferParams to several function so that newly
13527 created paragraph can be initialized to he default layotu for the
13530 * tabular-old.C (ReadOld): add buf->params to call of Init
13532 * screen.C: rename text->first to text->first_y
13534 * paragraph.C (breakParagraph): always set layout in the broken
13537 * lyxtextclass.C (Read): remove lowercase
13540 (delete_layout): ditto
13542 * lyxtext.h: rename first -> first_y
13544 * lyxlayout.C (Read): remove lowercase
13547 (obsoleted_by): ditto
13549 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13551 * buffer.C (insertErtContents): add params are to InsetERT
13552 (parseSingleLyXformat2Token): add code to check if a paragraphs
13553 layout really exist.
13554 (parseSingleLyXformat2Token): add params to several inset
13556 (asciiParagraph): remove lowercase, do the layout comparisons with
13559 * BufferView_pimpl.C (cursorNext): first -> first_y
13560 (resizeCurrentBuffer): first -> first_y
13561 (updateScrollbar): first -> first_y
13562 (scrollCB): first -> first_y
13563 (workAreaMotionNotify): first -> first_y
13564 (workAreaButtonPress): first -> first_y
13565 (checkInsetHit): first -> first_y
13566 (cursorPrevious): first -> first_y
13567 (cursorNext): first -> first_y
13568 (Dispatch): add buffer_->params to severl inset contructors
13570 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13572 * lyxlayout.C (Read): remove some debug info that I forgot.
13574 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13575 clean up the code slightly.
13576 (makeLinuxDocFile): ditto
13577 (makeDocBookFile): ditto
13579 * text2.C: layout as string
13581 * text.C: layout as string
13583 * paragraph_pimpl.C: layout as string
13585 * paragraph.[Ch]: layout as string
13587 * lyxtextclasslist.[Ch]: layout as string
13589 * lyxtextclass.[Ch]: layout as string
13591 * lyxtext.h: layout as string
13593 * lyxlayout.[Ch]: layout as string
13595 * lyx_cb.C: layout as string
13597 * bufferview_funcs.C: layout as string
13599 * bufferparams.C: layout as string
13601 * buffer.C: layout as string
13603 * LyXView.[Ch]: layout as string
13605 * LaTeXFeatures.[Ch]: layout as string
13607 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13609 * BufferView_pimpl.C: change current_layout to string, remove
13614 (workAreaButtonRelease): layout as string
13616 * BufferView2.C (unlockInset): adjust
13618 * vspace.C (asLatexCommand): use an explict temp variable.
13620 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13622 * Makefile.am: use FRONTEND_*
13624 2002-03-01 Juergen Vigna <jug@sad.it>
13626 * tabular.C (SetWidthOfMulticolCell): changed to something better
13627 I hope but still work in progress.
13628 (recalculateMulticolumnsOfColumn): renamed function from
13629 recalculateMulticolCells as it is more appropriate now.
13630 (SetWidthOfCell): calculate multicols better.
13632 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13634 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13636 * lyxfunc.C (processKeySym): print sequence also if it is
13637 `deleted' (complete)
13639 * kbsequence.C (print): print sequence even if it is deleted
13640 (complete would be a better word, actually).
13642 * lyxfunc.C (dispatch): print complete options after a prefix key
13644 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13646 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13648 * text2.C (setCharFont): eliminate setCharFont code duplication.
13650 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13652 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13653 LFUN_TABULAR_FEATURE (bug #177)
13655 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13657 * Makefile.am: remove figure.h
13659 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13661 * Bufferview_pimpl.C:
13673 * text2.C: remove #include "lyx_gui_misc.h".
13675 * LaTeX.C: added #include <cstdio>
13677 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13679 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13680 that the paragraph following this one can have.
13682 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13684 * vspace.C (asLatexCommand): fix bogus gcc warning
13686 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13688 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13690 * text2.C (setLayout): get rid of redundant code
13692 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13694 * text2.C (incDepth): make sure depth cannot be increased beyond
13697 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13699 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13700 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13702 * PainterBase.h (image):
13703 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13704 a LyXImage const *.
13706 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13710 * BufferView_pimpl.C:
13711 * BufferView_pimpl.h:
13731 * sp_spell.C: remove fig inset, and the crap house of
13732 cards that follows it
13734 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13739 * os2_errortable.h:
13740 * nt_defines.h: move .h into support/
13742 * vms_defines.h: remove
13744 * WorkArea.C: add space in debug output
13748 * buffer.C: add WITH_WARNINGS
13752 * bufferlist.C: s/retrive/retrieve/, add docs
13761 * chset.C: add docs
13763 * lyxgui.C: add ID to X error handler
13765 * lyxtestclass.c: fix typo
13767 2002-02-26 Juergen Vigna <jug@sad.it>
13769 * tabular_funcs.C (write_attribute): changed so that some default
13770 attributes are not written at all.
13771 (getTokenValue): set default values before trying to read the
13772 value so we have the return value always set as default if we don't
13773 find the token we search for.
13775 * tabular.C (Write): write bools as bools not as strings!
13777 2002-02-22 Juergen Vigna <jug@sad.it>
13779 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13780 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13782 * text.C (leftMargin): don't add an indent for paragraphs inside
13783 tabular cells (fix #208).
13785 2002-02-21 José Matos <jamatos@fep.up.pt>
13787 * tabular.C (docBook): fixed support for long tables.
13789 2002-02-20 Juergen Vigna <jug@sad.it>
13791 * text2.C (getFont): get the drawing font of the Inset if this
13792 paragraph is inside an inset (only important for InsetERT for now).
13794 * buffer.C (insertErtContents): use new lanugage params in ERT
13797 * CutAndPaste.C: commenting out seemingly uneeded code.
13799 2002-02-19 Allan Rae <rae@lyx.org>
13801 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13802 Iterators might be simple to use but they also get invalidated.
13803 (removeAutoInsets): renamed saved cursor tracking variables and added
13804 some comments to clarify what everything does.
13806 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13813 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13814 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13817 * vc-backend.h: remove #include "support/syscall.h"
13821 * converter.C: rearrange #includes in Lars' approved fashion.
13823 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13824 forward declare class Timeout in the header file.
13826 * XFormsView.C: changes due to the above.
13828 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13829 similar to LyXView.
13831 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13832 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13834 2002-02-18 José Matos <jamatos@fep.up.pt>
13836 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13839 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13841 * a lot of small ws changes
13842 * add a lot of using std::XXX
13843 * use std construcs some places where approp.
13844 * use some exisint stuff from lyxfunctional where approp.
13845 * Make file changes to use partial linking (lets test this now...)
13847 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13851 remove #include "support/syscontr.h" as it's redundant. Always has been.
13859 change Systemcalls::System to Systemcalls::Wait and
13860 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13861 No change of functionality, just reflects the stripped down Systemcalls
13864 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13866 * debug.[Ch]: add a GRAPHICS type to the enum.
13868 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13870 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13872 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13875 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13877 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13878 match the changes below.
13880 * text2.C (toggleInset): if there is not editable inset at cursor
13881 position, try to see if cursor is _inside_ a collapsable inset
13884 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13886 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13887 document menu has a nice checkbox
13889 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13891 * lyxlength.C (asLatexString): change PW to output as percent of
13894 * lengthcommon.C: change '%' to 't%'
13896 * lyxfunc.C (dispatch): a few comments from Martin
13898 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13902 * BufferView_pimpl.h:
13903 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13906 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13908 * vspace.C (inPixels): fix compiler warning
13910 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13912 * lyxfunc.C (getStatus): fix status message for disabled commands.
13914 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13916 * BufferView_pimpl.C: fix crash on close buffer
13917 during selection (#227)
13919 2002-01-27 Herbert Voss <voss@lyx.org>
13921 * buffer.C: link old Figure to new graphic inset
13923 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13925 * FontLoader.C (getFontinfo): Change the latex font names in order
13926 to match the names of type1inst.
13928 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13930 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13932 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13933 (extchanged): ditto
13935 (remove_files_with_extension): ditto
13936 (remove_file): ditto
13939 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13940 document is smaller than the work area height. Do not initialize
13941 static variables to 0.
13943 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13945 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13947 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13948 LFUN_LAYOUT_PARAGRAPHS.
13950 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13951 tabular. It is possible to provide a possible cell, which will
13952 typically be the actcell from the corresponding insettabular
13954 * lyxfunc.C (getStatus): small cleanup; disable
13955 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13958 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13960 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13962 * paragraph.C (startTeXParParams):
13963 (endTeXParParams): new methods. The LaTeX code to
13964 start/end paragraph formatting
13965 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13966 empty (fixes bug #200)
13968 * vspace.C (inPixels): adapt to the change below
13969 (inPixels): [later] more cleanups (remove unused variables)
13971 * lyxlength.C (inPixels): change to use a width and a height as
13974 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13976 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13977 Replaced with \paperwidth
13979 * DepTable.C (insert): add std:: qualifier
13981 2002-01-18 Allan Rae <rae@lyx.org>
13983 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13986 * text.C (drawInset): Turned out I didn't know enough about how
13987 rebreaking worked. This fixes most of the redraw problems. I see
13988 an occasional cursor trail when a line is broken now and the cursor
13989 placement can seem out by a few pixels also after a rebreak.
13991 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13993 * buffer.C (parseSingleLyXformat2Token): update because minipage
13994 width is now a LyXLength
13996 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13998 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14001 2002-01-17 Juergen Vigna <jug@sad.it>
14003 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14005 * BufferView2.C (lockInset): call edit() so that theLockingInset()
14006 is set correctly and the inset is updated correctly.
14008 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14010 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14011 the beginning of the loop.
14013 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
14015 * lyxrc.C: improve help for use_scalable_fonts
14017 2002-01-17 Allan Rae <rae@lyx.org>
14019 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14021 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14023 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14024 make sure to set their inset_owner to the right value (bug #171)
14026 2001-12-12 Ben Stanley <bds02@uow.edu.au>
14029 * DepTable.C: Implement mtime checking to reduce time spent doing
14032 2002-01-16 Juergen Vigna <jug@sad.it>
14034 * tabular.C (GetAdditionalHeight): one of error fixed.
14036 * lyxrc.C (output): small fix in writing use_pspell.
14038 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
14040 * sp_base.h: #include LString.h
14042 2002-01-16 Allan Rae <rae@lyx.org>
14044 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
14045 Can someone check this please?
14047 * text.C (drawInset): It was possible that p.row would be removed by
14048 breakAgainOneRow upsetting a few other settings. There may be another
14049 small tweak possible by setting need_break_row = 0 when p.row has been
14050 removed but I don't know enough about the logic here.
14052 2002-01-15 Allan Rae <rae@lyx.org>
14054 * text.C (insertChar): removed conditional truism.
14056 * BufferView2.C (removeAutoInsets): More tweaks.
14057 cur_par_prev could be a stray pointer. Check for trailing empty line
14058 in case last line was cur_par and only had an error inset on it.
14060 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14062 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14065 * vc-backend.C (most methods):
14066 * exporter.C (Export):
14067 * converter.C (convert):
14069 * LyXSendto.C (SendtoApplyCB):
14070 * lyxfunc.C (dispatch):
14074 * lyx_cb.C (AutoSave):
14076 * BufferView_pimpl.C (MenuInsertLyXFile):
14077 * buffer.C (runChktex): use Buffer::filePath().
14079 * buffer.h: rename filename to filename_; rename filepath to
14080 filepath_ and make it private
14081 (filePath): new method
14083 * buffer.C (writeFile): use fileName()
14086 * lyx_main.C (init): fix starting of LyX when the binary is a
14087 link from so,ewhere else.
14089 * minibuffer.C: include <cctype> for isprint
14091 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14093 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14094 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14095 name clash with InsetCollapsable's width function.
14097 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14099 * lastfiles.C: include <iterator>
14101 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14103 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14106 * buffer.C (makeLaTeXFile): ditto.
14107 Also make loop operation more transparent.
14109 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14111 * ToolbarDefaults.C: remove trailing comma closing namespace.
14113 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14115 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14118 * trans.C (Load): comment out unused variable, allowed.
14120 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14122 * minibuffer.[Ch] (append_char): new method to recieve input from the
14123 drop-down completion browser. If a key was pressed, then recieve this
14124 char and append it to the existing string.
14125 (peek_event): modify the positioning data passed to the completion
14126 browser so that it can be placed above the minibuffer rather than below.
14127 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14129 * LyXAction.C (init): alloe error-next for readonly documents.
14131 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14134 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14136 * bufferlist.C (readFile): create the buffer _after_ checking that
14139 * lyxfunc.C (verboseDispatch): fix handling of arguments
14141 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14143 * lyxrc.C: use string::erase() instead of initializing to "".
14146 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14148 * BufferView_pimpl.h:
14149 * BufferView_pimpl.C:
14152 * text2.C: tell X when we have made a selection for copying
14154 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14156 * BufferView_pimpl.C (MenuInsertLyXFile):
14157 * lyxfunc.C (menuNew):
14159 (doImport): add shortcuts to directory buttons
14161 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14164 * lyxfunc.C (setStatusMessage):
14165 (getStatusMessage): new methods
14166 (getStatus):use setStatusMessage instead of setErrorMessage
14167 (dispatch): when function is disabled, set error message here
14168 [instead of in getStatus previously]
14170 * BufferView_pimpl.C (workAreaButtonRelease): update
14171 toolbar/menubar here too.
14173 2002-01-13 Allan Rae <rae@lyx.org>
14175 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14176 Now seems indestructible. Remaining task is to audit all other
14177 code affected by deleteEmptyParagraphMechanism. One small quirk
14178 left is that an empty document with an error in the preamble can
14179 be made to report an error but no error box appears. I don't know
14181 (removeAutoInsets): Improved comments.
14183 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14186 * Thesaurus.C: update for Aiksaurus 0.14
14188 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14190 * text2.C (firstParagraph): removed member function, all uses
14191 replaces with ownerParagraph
14192 (redoParagraphs): here
14193 (updateInset): here
14194 (toggleAppendix): here
14195 * BufferView2.C (insertErrors): here
14196 (setCursorFromRow): here
14198 2002-01-13 Allan Rae <rae@lyx.org>
14200 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14201 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14202 There is still a way to segfault this although you may have to do this
14203 multiple times: Have an InsetERT with an unknown command in it.
14204 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14205 <down-arrow>, <Enter> again, View->DVI, BANG!
14207 * text2.C (setCursor):
14208 (deleteEmptyParagraphMechanism):
14209 * lyxtext.h (setCursor):
14210 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14211 Making use of the return value may help fix other bugs.
14213 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14215 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14217 * LyXView.C (updateMenubar): call MenuBar::update here
14218 (updateToolbar): but not here
14219 (showState): do not update toolbar/menubar
14221 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14222 should need to care about that.
14224 * lyxfunc.C (verboseDispatch): simplify a bit
14225 (getStatus): have a version which takes a pseudoaction, and
14226 another which requires a (kb_action,string).
14228 * LyXAction.C (retrieveActionArg): make it work also when action
14229 is not a pseudo-action.
14230 (getActionName): simplify a bit
14233 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14235 * lyxfunc.C (verboseDispatch): new families of methods with
14236 several ways to specify a command and a bool to indicate whether
14237 the command name and shortcut should be displayed in minibuffer
14238 (eventually, we could extend that to a finer bitmask like
14239 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14240 (dispatch): the pristine dispatch command which just, well,
14241 dispatchs! Note it still sets its result to minibuffer; I'm not
14244 * lyxfunc.h: remove setHintMessage
14246 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14248 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14250 * BufferView_pimpl.C (specialChar): delete new inset if we have
14251 not been able to insert it.
14253 * kbmap.C: revert to using int instead of kb_action, since all we
14254 are dealing with is pseudo-actions.
14256 * LyXAction.C (searchActionArg): change to return int instead of
14257 kb_action, since the result is a pseudoaction.
14259 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14261 * buffer.C (insertErtContents): Fix (partially) the font bug.
14263 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14265 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14266 as the other one is broken on my machine!
14268 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14271 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14273 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14275 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14276 reflect their actual use. Provide compatibility code for older lyxrc
14279 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14281 change names of popup font variables in line with the changes to lyxrc.C
14283 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14285 * buffer.C (asciiParagraph): avoid outputing a word twice after
14288 * lyxrc.C (getDescription): document that document_path and
14289 template_path can be empty.
14291 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14293 * LaTeXFeatures.C (getMacros):
14294 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14296 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14298 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14300 (getPackages): rename feature "floats" to "float". Use an array to
14301 iterate over 'simple' features (i.e. just a \usepackage). Add
14302 handling of "amsmath" (renamed from "amsstyle").
14304 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14306 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14309 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14311 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14312 FuncStaus::FuncStatus & FuncStaus::some_method().
14314 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14316 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14317 of the func_satus stuff. Edited and massaged in various ways by
14320 * lyxfunc.C (getStatus): use FuncStatus
14322 2002-01-08 Juergen Vigna <jug@sad.it>
14324 * text.C (nextBreakPoint): use function Inset::isChar().
14326 * paragraph.C (TeXOnePar): use function
14327 Inset::forceDefaultParagraphs.
14329 * buffer.C (latexParagraphs): use function
14330 Inset::forceDefaultParagraphs.
14332 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14334 * lyx_gui.C (init): set the style of the menu popups to
14335 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14337 2002-01-07 Juergen Vigna <jug@sad.it>
14339 * text.C (setHeightOfRow): small fix
14340 (prepareToPrint): don't look at alignment if we don't have the place
14343 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14345 * box.C: New file. Move the Box methods and functions out of box.h,
14346 following Lars' suggestion.
14348 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14350 * box.h: #include "support/LOstream.h", needed for inlined function.
14353 * lyxtextclasslist.C: added some using std declarations.
14355 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14357 * box.h: make signed dimensions to allow insets wider than
14358 the screen (bug #162)
14360 * BufferView_pimpl.C: add some insetHit debug
14362 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14364 * vc-backend.C: add FIXME
14366 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14368 * lyxfunc.C (getStatus): enable code for showing math font status
14371 2002-01-07 Juergen Vigna <jug@sad.it>
14373 * text.C (nextBreakPoint): removed debug output not needed anymore.
14375 2002-01-06 Juergen Vigna <jug@sad.it>
14377 * text.C (nextBreakPoint): fixed up this function we had this bug
14378 since ever but now hopefully we break row better.
14379 (insertChar): we have to check if an inset is the next char as it
14380 could now happen that a large inset is causing a break.
14382 2002-01-05 Juergen Vigna <jug@sad.it>
14384 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14385 if it doesn't like to be drawed.
14387 2002-01-04 Juergen Vigna <jug@sad.it>
14389 * BufferView2.C (lockInset): forgot to set a cursor.
14391 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14393 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14395 * FormMathsPanel.C:
14398 * form_maths_panel.C:
14399 * form_maths_panel.h:
14400 * form_maths_panel.fd: implemented sub- and super- buttons in math
14403 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14404 (or ^ space) to be used as in TeX (req'd by Andr�.
14406 * lyxfunc.C: Allow ^ and _ again to be used both as
14407 super/subscript (mathed) and as themselves (in text).
14409 2002-01-03 Allan Rae <rae@lyx.org>
14411 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14412 "LyX" or the filename of the current buffer if it has one. This is a
14413 modified form of John Levon's patch.
14415 * XFormsView.C (setWindowTitle): also set icon title.
14417 * LyXView.h (setWindowTitle): signature changed.
14418 * XFormsView.h (setWindowTitle): ditto.
14420 2002-01-02 Juergen Vigna <jug@sad.it>
14422 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14424 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14426 * screen.C (topCursorVisible): introduce a temp var for
14427 text->cursor.row(), handle the case where this row is null. (kindo
14430 * text2.C (setCursor): add a couple of asserts.
14432 * paragraph.h (inset_iterator): add -> operator
14434 * paragraph.[Ch] (autoDeleteInsets): remove member function
14436 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14437 cursor pos correctly and handle inset deletion by itself.
14438 (insertErrors): move iterator declaration out of for expression
14440 * lyxtextclass.C: add <algorithm>
14442 * Makefile.am: added the new files to sources, removed layout.C
14444 * layout.C: removed file
14446 * layout.h: remove LYX_DUMMY_LAYOUT
14448 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14452 * lyxtextclass.[Ch]:
14453 * lyxtextclasslist.[Ch]: new files
14455 * include order changes to a lot of files, also changes because of
14458 2001-12-27 Juergen Vigna <jug@sad.it>
14460 * buffer.C (asciiParagraph): more fixes.
14462 * tabular.C (ascii): make ascii export support export of only the
14463 data separated by a column-delimiter.
14464 (ascii): better support for ascii export.
14466 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14468 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14470 * tabular_funcs.C: use a "using std::getline" instead of the
14471 previous fix from Angus (necessary for cxx + lyxstring)
14473 2001-12-24 Juergen Vigna <jug@sad.it>
14475 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14477 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14478 problems. First check a minipage also if we have some ert-contents
14479 (not only on par->size(), second set the right depth of the paragraph
14480 on the relink to the root-paragraph-list!
14482 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14483 which then did not anymore update the main paragraphs on undo/redo!
14485 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14487 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14488 code. Support all font-changing funcs (even those which are not in
14489 menu currently). Support for reporting font settings in
14490 mathed (disabled until Andre provides a function on mathed's side).
14492 * func_status.h (toggle): small helper function to set toggle
14495 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14497 * tabular_funcs.C: getline -> std::getline
14499 2001-12-21 Juergen Vigna <jug@sad.it>
14501 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14502 accessed and could be 0 (I couldn't generate this but it seems
14505 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14507 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14508 * tabular_funcs.h: here and include iosfwd
14510 2001-12-20 Juergen Vigna <jug@sad.it>
14512 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14513 inside inset but undo_par was.
14515 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14517 * Thesaurus.C: always include <config.h> in sources.
14521 * box.h: do not include <config.h> in header files
14523 * text.C (paintLastRow): remove unused variable
14525 * text.C (transformChar):
14527 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14529 * Painter.C (text):
14530 * font.C (width): rewrite to use uppercase() instead of
14533 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14535 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14537 * lyxfind.C: clean up of find failure position change
14539 2001-12-20 Juergen Vigna <jug@sad.it>
14541 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14543 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14544 (TeXRow): added to LaTeX a single tabular row.
14545 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14546 (Latex): simplified and finally good LT-h/f support.
14547 (various_functions): just small adaptions for LT-h/f support.
14549 * tabular_funcs.[hC]: added and moved here all not classfunctions
14552 2001-12-19 Juergen Vigna <jug@sad.it>
14554 * tabular.[Ch]: better support for longtabular options (not finished
14557 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14559 * text.C (paintLastRow): use the label font instead of the font of
14560 the last character to compute the size of *_BOX. This makes more
14561 sense and avoids a crash with empty paragraphs.
14562 Use Painter::rectangle to draw EMPTY_BOX.
14564 2001-12-19 Juergen Vigna <jug@sad.it>
14566 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14567 the paragraphs if the replaced paragraph is not the first one!
14568 Tried to delete not used paragraphs but does not work yet so for
14569 now it's inside #ifdef's and by default off!
14571 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14573 * MenuBackend.C: include "lyx_main.h" instead of declaring
14574 lastfiles (actually was declared as LastFiles* instead of a
14577 2001-12-17 Juergen Vigna <jug@sad.it>
14579 * tabular.C (AppendColumn): applied John's fix
14581 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14585 * BufferView_pimpl.h:
14586 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14589 * box.h: new start of class for above
14591 * lyxfunc.C: ignore space-only minibuffer dispatches.
14592 Show the command name when it doesn't exist
14594 * minibuffer.C: don't add empty lines to the history
14596 * minibuffer.C: add a space on dropdown completion
14598 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14600 * text.C: fix line above/below drawing in insets
14602 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14604 * lyxlength.C (LyXLength): Initialize private variables.
14606 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14608 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14609 when inserting error insets.
14611 2001-12-13 Juergen Vigna <jug@sad.it>
14613 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14614 actually sometimes the before-paragraph.
14615 (setUndo): don't clear the redostack if we're not actually undoing!
14617 2001-12-06 Juergen Vigna <jug@sad.it>
14619 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14620 and fixed redoing of main paragraph, so we can use it now ;)
14622 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14624 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14626 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14629 2001-12-13 André Pönitz <poenitz@gmx.net>
14632 * undo_func.C: minor cleanup
14634 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14636 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14637 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14638 font in urw-fonts package which is marked as -urw-fontspecific and
14639 does not work (incidentally, changing the encoding in the
14640 fonts.dir of this package to -adobe-fontspecific fixes the
14643 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14644 is a crash when undoing first paragraph (Juergen, please take a
14645 look). THis does not mean the undo fix is wrong, just that it
14648 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14649 the (Paragraph*) version when needed instead of duplicating the
14652 * text.C (workWidth): use Inset::parOwner to find out where the
14653 inset has been inserted. This is a huge performance gain for large
14654 documents with lots of insets. If Inset::parOwner is not set, fall
14655 back on the brute force method
14657 * paragraph_pimpl.C (insertInset):
14658 * paragraph.C (Paragraph):
14659 (cutIntoMinibuffer): set parOwner of insets when
14660 inserting/removing them
14662 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14664 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14670 * mathed/formulabase.C:
14671 * mathed/math_cursor.[Ch]:
14672 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14675 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14677 * lyxlength.[Ch] (operator!=): new function
14679 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14681 * text.C (workWidth): use Inset::parOwner to find out where the
14682 inset has been inserted. This is a huge performance gain for large
14683 documents with lots of insets. If Inset::parOwner is not set, fall
14684 back on the brute force method
14686 * paragraph_pimpl.C (insertInset):
14687 * paragraph.C (Paragraph):
14688 (cutIntoMinibuffer): set parOwner of insets when
14689 inserting/removing them
14691 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14693 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14695 * tabular-old.C (getTokenValue):
14696 * tabular.C (getTokenValue):
14697 (write_attribute): new versions for LyXLength
14698 (everywhere): adjust the use of widths
14700 * tabular.h: change the type of widths from string to LyXLength
14702 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14704 * paragraph.C: fixed missing line number count when exporting
14705 Environments to LaTeX file
14707 * buffer.C: added informational message for checking line numbers.
14709 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14711 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14712 paragraph, do the 'double space' part, but not the 'empty
14715 * text.C (workWidth): small optimization
14716 (getLengthMarkerHeight): use minimal size for negative lengths.
14718 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14720 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14722 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14724 2001-12-11 André Pönitz <poenitz@gmx.net>
14727 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14729 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14731 * text2.C: keep selection on a setFont()
14733 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14735 * lyx_cb.C: another bv->text misuse, from insert label
14737 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14740 * kbsequence.C: re-instate nmodifier mask
14742 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14744 * lyx_main.h: make lyxGUI private.
14746 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14748 * lyxfind.C: place the cursor correctly on failed search
14750 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14752 * text.C (getLengthMarkerHeight): for small heights, the arrows
14753 are not always on top/bottom of the text
14754 (drawLengthMarker): smaller arrows; take the left margin in
14755 account; draw also vfills.
14757 (paintLastRow): remove special code for vfill and standard spaces,
14758 since everything is handled in drawLengthMarker now.
14760 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14762 * buffer.C (insertErtContents): try to handle font and language
14763 interaction a bit better.g
14765 * ColorHandler.C (updateColor): change the hash to cover the whole
14766 LColor enum, ws cleanup
14767 (getGCLinepars): ditto
14768 (getGCLinepars): only lookup in the linecache once.
14770 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14772 * iterators.C (operator++): Make the iterator more robust
14774 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14776 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14778 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14781 * text.C: better added space drawing
14783 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14786 * BufferView2.C: fix layout combo update on inset unlock
14788 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14790 * Makefile.am: don't compile unused files
14792 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14796 * LyXAction.C: remove old LFUN_LAYOUTNO
14798 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14800 * paragraph_pimpl.h:
14801 * paragraph_pimpl.C: isTextAt() doesn't need font param
14803 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14806 * lyxlex.C: little cleanup
14808 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14810 * BufferView_pimpl.C: fix insertAscii for insets
14812 2001-12-05 Juergen Vigna <jug@sad.it>
14814 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14815 set the right font on the "multi" paragraph paste!
14817 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14823 * lyxlength.C: remove out-commented code.
14825 * BufferView_pimpl:
14839 * vc-backend.C: change "while(" to "while ("
14841 * lyxlength.[Ch]: add zero function to check if length is zero or
14843 * lyxgluelength.C: use it
14845 2001-12-05 Allan Rae <rae@lyx.org>
14847 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14848 Works for 2.95.3, from what I understand of Garst's reports this should
14849 work for other g++ versions. We're screwed if the abs(int) definition
14850 changed between bugfix releases of gcc.
14852 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14854 * text.C: fix chapter label offset !
14856 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14859 * text.C: fix hfill at end of line, clean up
14861 2001-12-04 Juergen Vigna <jug@sad.it>
14863 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14864 that we force an update of the inset and it's owners if neccessary.
14866 2001-12-03 Juergen Vigna <jug@sad.it>
14868 * text.C (rowLast): simplified code
14870 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14872 * lyxfunc.C: fix show options on timeout
14874 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14876 * screen.C (topCursorVisible): scroll half a page when the cursor
14877 reached top of bottom of screen
14879 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14881 * minibuffer.C: deactivate on loss of focus
14883 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14885 * vspace.[Ch] (operator!=): add operator.
14887 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14889 * BufferView_pimpl.C: refuse to open an inset when
14890 there's a selection.
14892 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14894 * BufferView_pimpl.C: allow to click on RHS of full row insets
14896 2001-11-30 Juergen Vigna <jug@sad.it>
14898 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14899 insets for undo reasons.
14901 2001-11-28 André Pönitz <poenitz@gmx.net>
14903 * vspace.[Ch]: cosmetical changes
14905 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14915 * kbsequence.C: part re-write of old kb code
14918 * WorkArea.C: remove Lgb_bug_find_hack
14920 2001-11-30 José Matos <jamatos@fep.up.pt>
14922 * buffer.C (makeDocBookFile): add a comment to point a hack.
14923 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14924 Fixed a double write of labels.
14926 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14929 * LaTeX.h Fixed bug in LaTeX class where it would not
14930 re-run latex if no depfiles were changed, but the .dvi was removed.
14932 2001-11-28 André Pönitz <poenitz@gmx.net>
14934 * all the files from the change on 2001/11/26:
14935 use lyx::layout_type instead of LyXTextClass::size_type
14936 use lyx::textclass_type instead of LyXTextClassList::size_type
14938 2001-11-29 Juergen Vigna <jug@sad.it>
14940 * text.C: added support for paragraph::isFreeSpacing()
14942 * buffer.C: same as above
14944 * paragraph.h: inserted isFreeSpacing() function to enable
14945 FreeSpacing inside InsetERT.
14947 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14948 of the paragraph's in the cut/copy buffer to 0!
14950 * text2.C (removeRow): remove the assert as it can!
14952 * lyxtext.h: added helper function firstRow returning firstrow and
14953 made firstrow private again.
14955 * BufferView2.C (lockInset): don't relock if we're already locked!
14957 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14958 the only paragraph.
14959 (removeRow): added Assert::(firstrow)
14961 * debug.C: forgot to add INSETTEXT here.
14963 2001-11-28 Juergen Vigna <jug@sad.it>
14965 * sp_spell.C (initialize): changed error text to more general
14966 spellchecker command use (not only ispell!)
14968 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14970 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14972 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14974 * vspace.C: initialise lyxgluelength on failure
14976 2001-11-28 Allan Rae <rae@lyx.org>
14978 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14979 declaration & definition that looks like a function declaration.
14981 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14983 * BufferView2.C (copy):
14984 (copyEnvironment): do not clear the selection when doing a copy.
14986 * text.C (paintFirstRow): compilation fix
14988 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14990 * tabular.C (Latex): correct line count when writing latex.
14992 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14994 * paragraph_pimpl.h:
14995 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14998 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15002 * LColor.C: change vfillline->added_space
15004 * text.C: add markers and text for added space
15006 * vspace.C: fix comment
15008 2001-11-28 André Pönitz <poenitz@gmx.net>
15010 * paragraph.C: whitespace changes
15011 * all the other files from the change on 2001/11/26:
15012 change *::pos_type into lyx::pos_type
15014 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
15016 * buffer.C (parseSingleLyXformat2Token): Set the language to the
15017 language of the document when inserting error insets.
15019 2001-11-26 André Pönitz <poenitz@gmx.net>
15021 * BufferView_pimpl.[Ch]:
15029 * paragraph_pimpl.[Ch]:
15032 * text2.C: reduce header dependencies, introduce type for positions
15034 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15036 * <various>: change to use Alert.h
15038 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
15040 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15041 when encountering an unknown token.
15042 (readLyXformat2): Show an error message if there were unknown tokens.
15044 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
15047 * BufferView_pimpl.C:
15051 * text2.C: use par->isInset()
15053 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15055 * paragraph_pimpl.h:
15056 * paragraph_pimpl.C: cleanup
15058 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15060 * text2.C (removeRow):
15061 * text.C (setHeightOfRow): remove useless (and costly) call to
15064 2001-11-20 Allan Rae <rae@lyx.org>
15066 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15067 Now need Inset*::checkInsertChar() to return true for appropriate
15068 cases so that the characters in the minibuffer will actually be
15071 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
15073 * text.C: change the order of the includes.
15074 (workWidth): initialize it at once.
15075 (workWidth): make maxw unsigned
15076 (setHeightOfRow): remove unused variable (inset)
15077 (selectSelectedWord): remove unused variable (inset)
15078 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15080 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15082 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15083 server is not running.
15085 (closeConnection): add debug info when server is disabled.
15087 * ColorHandler.C (getGCForeground): send debug message to GUI
15090 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15092 * kbmap.C (bind): modify because return conventions of
15093 kb_sequence::parse have changed.
15095 * kbsequence.C (parse): only ignore spaces and not any stupid
15096 control character. This avoids tests like s[i] <= ' ', which are
15097 guaranteed to fail with 8bit characters and signed chars.
15098 Change return code to string::npos when there have been no error
15099 (0 was a bad idea when error is at first character)
15101 2001-11-14 José Matos <jamatos@fep.up.pt>
15104 * buffer.C (simpleDocBookOnePar): removed unused argument.
15106 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15108 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15109 insets which are part of a word. Paragraph::isLetter takes care of
15110 that now. Use Paragraph::isInset to identify insets.
15111 (selectSelectedWord): do not test for hyphenation break.
15113 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15114 that protected spaces are considered as spaces.
15116 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15119 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15122 * lyxserver.C: fix it. and small cleanup.
15124 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15126 * BufferView_pimpl.C: use inline helpers
15129 * LaTeXFeatures.C: fix typos
15132 * Spacing.C: move spacing_string into class
15134 * ToolbarDefaults.C: move stuff into namespace anon
15136 * layout.h: update enum
15138 * lyxfunc.C: use better debug
15140 * minibuffer.h: fix typo
15144 * WorkArea.C: add and use Debug::WORKAREA
15148 * text2.C: code re-organisation, inline helpers
15150 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15152 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15153 std::vector.empty().
15155 2001-11-09 Allan Rae <rae@lyx.org>
15157 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15158 '\n's after tables. Tabular and ERT inset work now makes this no
15161 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15164 * minibuffer.C: fix crash, improve drop-down completion
15166 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15169 * lyxserver.C: invalidate fd's when doing endPipe()
15171 2001-11-08 José Matos <jamatos@fep.up.pt>
15173 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15174 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15177 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15179 2001-11-07 José Matos <jamatos@fep.up.pt>
15182 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15185 * buffer.C (sgmlOpenTag):
15186 * buffer.C (sgmlCloseTag): removed debug info.
15188 * buffer.h (sgmlOpenTag):
15189 * buffer.h (sgmlCloseTag): made public.
15191 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15193 * buffer.C (saveParamsAsDefaults):
15194 * lyx_cb.C (MenuLayoutSave): remove
15196 * LyXAction.C (init):
15198 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15200 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15202 * buffer.C (setPaperStuff): removed from here...
15204 * bufferparams.C (setPaperStuff): ... and moved there.
15206 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15210 * XFormsView.C: add support for drop-down completion
15212 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15214 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15217 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15219 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15222 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15224 * lyx_main.C: change ref to known bugs
15226 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15228 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15229 to work around older babel problems.
15231 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15233 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15235 2001-10-24 Juergen Vigna <jug@sad.it>
15237 * tabular-old.C (ReadOld): below variable changes reflected.
15239 * tabular.[Ch]: added ltType struct for longtable header/footer
15240 defines and changed all instances where they are used. Added
15241 future support for double top/bottom rows.
15243 2001-10-24 José Matos <jamatos@fep.up.pt>
15245 * buffer.h (docbookHandleCaption):
15246 * buffer.C (docbookHandleCaption): removed unused function.
15247 (makeDocBookFile): moved docbook supported version to v4.1.
15249 2001-10-24 José Matos <jamatos@fep.up.pt>
15252 * tabular.C (docbookRow): new function to export docbook code of a row.
15253 (DocBook): now honors the longtable flags.
15255 2001-10-23 José Matos <jamatos@fep.up.pt>
15258 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15259 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15261 * buffer.C (makeLinuxDocFile):
15262 (makeDocBookFile): reworked the preamble, more clean, and with
15263 support for lyx defined entities. Changed the document declaration
15264 to be more XML friendly.
15266 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15267 if we need to output XML that should be done with a filter.
15269 2001-10-22 Juergen Vigna <jug@sad.it>
15271 * sp_pspell.h (class PSpell): add alive function needed in the
15272 controller to see if the spellchecker could be started.
15274 2001-10-22 Juergen Vigna <jug@sad.it>
15276 * buffer.C (insertStringAsLines): modify the font for inserting
15277 chars in certain conditions by calling checkInsertChar(font).
15279 2001-10-19 Juergen Vigna <jug@sad.it>
15281 * text.C (workWidth): use getRow instead of wrong algorithm.
15282 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15284 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15289 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15291 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15293 * text.C (workWidth): do not search for the exact row when
15294 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15295 optimization for big documents.
15297 2001-10-18 Juergen Vigna <jug@sad.it>
15299 * text.C (workWidth): new function with added Inset * parameter.
15301 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15303 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15305 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15306 change return type of getColumnNearX.
15309 * text.C (changeRegionCase): use uppercase/lowercase instead of
15312 (rightMargin): simplify code by factoring out the uses of
15317 (appendParagraph): use Paragraph::size_type
15319 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15321 * vspace.C (asLatexString): add a missing break
15323 2001-10-15 Herbert Voss <voss@perce.de>
15325 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15327 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15329 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15332 2001-10-10 André Pönitz <poenitz@gmx.net>
15334 * lyxfunc.C: removed greek_kb_flag.
15336 2001-10-10 Herbert Voss <voss@perce.de>
15338 * lyx_main.C: delete global string help_lyxdir.
15340 2001-10-09 Herbert Voss <voss@perce.de>
15342 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15344 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15346 * lyx_main.C: added global string help_lyxdir.
15348 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15350 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15352 * lyxrc.C (set_font_norm_type): support iso8859-4
15354 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15356 * LaTeX.C (deplog): add another regex for MikTeX
15358 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15360 * lyxrc.C (set_font_norm_type): support iso8859-3
15362 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15364 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15366 * LaTeXFeatures.C: remove special case of french and index
15368 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15369 before \begin{document}). This solves several incompatibilities.
15371 2001-10-03 Garst Reese <reese@isn.net>
15373 * lyx_cb.C: change CheckTex error msg.
15375 2001-10-03 José Matos <jamatos@fep.up.pt>
15377 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15379 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15381 * .cvsignore: update
15383 * lyx_main.C (commandLineVersionInfo): use new style version info.
15385 * buffer.C (writeFile):
15387 (makeLinuxDocFile):
15388 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15390 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15392 * version.h: update to use stuff in version.C
15394 * version.C.in: new file. Contains version information determined
15395 at compile time. This is a merging of version.h and
15398 2001-10-03 Juergen Vigna <jug@sad.it>
15400 * BufferView_pimpl.C (update): don't change "dirty" status in
15403 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15405 * WorkArea.C (c-tor): re-position version string slightly.
15407 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15409 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15410 revert to previous code.
15412 WorkArea.[Ch]: (show, destroySplash): methods removed.
15414 WorkArea.C: rework code so that it's an amalgam of the codes before and
15415 after the splash screen was moved to WorkArea.
15417 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15420 * vspace.C (inPixels):
15423 * buffer.C (insertStringAsLines):
15424 (asciiParagraph): fix types to be large enough
15426 * lyxlex_pimpl.h: change member status from short to int
15428 * layout.h: fix type of endlabeltype
15431 * kbsequence.C (parse): change return type to string::size_type
15433 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15436 * Bullet.C (bulletSize):
15437 (bulletEntry): do not use short ints as parameters
15439 * BufferView2.C (insertLyXFile): change a char to an int.
15441 * WorkArea.C (WorkArea): remove unneeded floats in computation
15443 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15445 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15447 * paragraph.C (asString): Do not ignore newline/hfill chars when
15448 copying to the clipboard.
15450 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15452 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15453 after a multi-line inset.
15455 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15457 * paragraph.C (validate): Set NeedLyXFootnoteCode
15459 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15461 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15462 and decrease-error to decrease.
15464 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15466 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15467 it more readable (should be equivalent)
15469 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15471 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15473 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15475 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15476 of a cursor (row, etc.) after a character has been deleted
15477 (deleteEmptyParagraphMechanism): call the method above on _all_
15478 cursors held by the LyXText when a double space has been
15481 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15483 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15485 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15487 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15488 background. Use greyOut() and the new show() methods to toggle between
15489 the foreground and background. Add code to remove the splash after
15490 its initial showing.
15492 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15493 (create_forms): no longer call Dialogs::showSplash.
15495 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15497 * .cvsignore: add version_info.h
15499 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15501 * version_info.h.in: new file
15503 * Makefile.am: add version_info.h.in
15505 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15506 version_info.h instead of VERSION_INFO
15508 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15510 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15511 The ERT inset now returns string().
15513 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15515 * lyxtext.h, text.C (selectNextWord): renamed as
15516 selectNextWordToSpellcheck.
15518 * text.C (selectNextWordToSpellcheck): Modified to not select
15519 words inside an ERT inset.
15521 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15523 * lyx_cb.C (MenuLayoutSave): change a bit the question
15525 * sp_base.h: include <sys/types.h>
15527 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15529 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15531 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15533 * several files: fix typos in user-visible strings
15535 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15537 * text2.C (pasteSelection): do not set the selection, since it
15538 will be cleared later. Actually, the intent was to fix the way the
15539 selection was set, but I figured rmoving the code was just as good.
15541 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15543 * FontLoader.C (available): Check if font is available without
15546 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15548 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15550 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15552 * lyxrc.[Ch]: added display_graphics variable and associated code.
15554 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15556 * bufferparams.C (hasClassDefaults): new method. Returns true if
15557 the buffer parameters correspond to known class defaults
15559 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15561 * XFormsView.C (show): set minimum size to the main window.
15563 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15565 * text2.C (copySelection):
15567 * lyxfind.C (LyXReplace):
15568 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15569 LyXText::selectionAsString.
15571 * paragraph.C (asString): add "label" argument to the second form
15573 * text2.C (selectionAsString): add "label" argument and pass it to
15574 Paragraph::asString.
15576 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15578 * lyx_main.C (commandLineHelp): remove version information
15580 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15582 * lyx_main.C: add -version commandline option
15584 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15586 * paragraph.h: make the optional constructor arg required instead.
15587 some modifications to other files because of this.
15589 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15591 * lyxserver.C (C_LyXComm_callback): make it static
15593 * lyx_main.C (error_handler): make it static
15595 * lyx_gui.C (LyX_XErrHandler): make it static
15597 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15599 * WorkArea.C: make the extern "C" methods static.
15601 * Makefile.am (lyx_LDADD): simplify
15603 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15605 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15606 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15608 * LyXAction.C (init):
15609 * lyxfunc.C (dispatch): associated code removal.
15611 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15613 * lyxfont.h (isSymbolFont): shut off warning
15615 * text.C (setHeightOfRow):
15616 (getVisibleRow): fix crash with empty paragraphs which have a
15619 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15621 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15624 2001-09-04 José Matos <jamatos@fep.up.pt>
15627 * tabular.C (docbook): rename docBook method to docbook.
15629 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15631 * Makefile.am: add dependencies to main.o.
15633 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15635 * FontLoader.C (available): Return false if !lyxrc.use_gui
15637 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15639 * FontInfo.C (query):
15640 * converter.C (view):
15641 * importer.C (Import):
15642 * exporter.C (Export): Can not -> cannot.
15644 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15646 * BufferView_pimpl.C: allow to create index inset even if
15649 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15651 * buffer.C (getLists): replace boost::tie code with an explicit pair
15652 as boost::tie can break some compilers.
15654 * iterators.h: Added a std:: declaration to the return type of
15657 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15659 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15662 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15664 * iterators.[Ch]: New files. Provide paragraph iterators.
15666 * buffer.C (changeLanguage): Use paragraph iterators.
15667 (isMultiLingual): ditto
15669 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15671 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15673 * FontLoader.C: Support for cmr font.
15675 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15677 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15678 (available): New method.
15680 * FontInfo.C (getFontname): Use scalable fonts even when
15681 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15684 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15686 * converter.C (Formats::view): reverted! Incorrect fix.
15688 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15690 * converter.C (Formats::view): only output the -paper option
15691 if the dvi viewer is xdvi, thereby fixing bug #233429.
15693 2001-08-23 Herbert Voss <voss@perce>
15695 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15697 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15699 * Spacing.h (Spacing): Set space to Default on in the default
15702 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15704 * vc-backend.h (RCS::versionString): add RCS to version
15705 (CVS::versionString): add CVS to version
15707 * vc-backend.C (scanMaster): do not add CVS to version.
15708 (scanMaster): do not add RCS to version
15710 * lyxvc.C (versionString): new method
15712 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15714 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15716 * Spacing.C (set): initialize fval
15718 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15720 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15723 2001-08-16 Juergen Vigna <jug@sad.it>
15725 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15727 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15729 * BufferView_pimpl.C:
15732 * text2.C: setParagraph takes linespacing now
15734 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15736 * LyxAction.C: add internal LFUN_CITATION_INSERT
15738 * LyXView.C: actually apply fix
15740 * bufferlist.C: fix open non-existent file
15742 * lyxfind.C: fix indentation
15744 * lyxfunc.C: remove unneeded assert, fix typo
15746 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15748 * MenuBackend.C: use "Floatname List"
15750 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15752 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15753 when converting LaTeX layout to insetERT.
15754 Generate a non-collapsed float when reading old float
15756 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15758 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15761 2001-08-13 Juergen Vigna <jug@sad.it>
15763 * text.C (fill): return 0 instead of 20 as this seems to be the more
15766 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15768 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15771 2001-08-13 Juergen Vigna <jug@sad.it>
15773 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15775 (SearchBackward): comment out the unlocking of the inset_owner this
15776 should not be needed!
15778 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15780 * Many files: Remove inherit_language, and add latex_language
15782 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15783 collapsible insets.
15785 2001-08-10 Juergen Vigna <jug@sad.it>
15787 * text.C (prepareToPrint): fixed hfill-width in draw!
15789 * BufferView2.C (selectLastWord): save the selection cursor as this
15790 now is cleared in the function LyXText::clearSelection!
15792 2001-08-08 Juergen Vigna <jug@sad.it>
15794 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15795 BACKSPACE type functions.
15797 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15798 is only cutted from the document but not put in the cut-buffer, where
15799 still the old stuff should be.
15801 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15803 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15805 * tabular.C (SetWidthOfCell): fixed special case where the width
15807 (LeftLine): handle '|' in align_special.
15809 (LeftAlreadyDrawed): ditto
15810 (SetWidthOfCell): ditto
15812 2001-08-07 Juergen Vigna <jug@sad.it>
15814 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15816 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15818 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15819 * lyxlex.[hC]: ditto
15821 2001-08-06 Juergen Vigna <jug@sad.it>
15823 * text.C (getVisibleRow): fix up row clearing a bit.
15825 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15827 * minibuffer.C: make sure the X server sees the changes in the input.
15829 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15831 * paragraph.C (getFont): split into...
15832 (getLabelFont): this
15833 (getLayoutFont): and this
15834 * paragraph_pimpl.C (realizeFont): calling this
15836 * text2.C (getFont): split into...
15837 (getLayoutFont): this
15838 (getLabelFont): and this
15839 (realizeFont): all three calling this
15841 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15844 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15846 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15848 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15850 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15851 layouts from the Quote inset insertion.
15853 2001-08-03 Juergen Vigna <jug@sad.it>
15855 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15857 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15858 only if status not is already CHANGED_IN_DRAW (second level).
15860 * text.C (draw): don't set the need_break_row when inside an
15863 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15865 * buffer.C (parseSingleLyXformat2Token): handle more latex
15868 * bufferview_funcs.[hC]: change function names to
15869 begin with small char, adjust other files.
15871 2001-08-02 André Pönitz <poenitz@gmx.net>
15874 BufferView_pimpl.C: remove broken special code for math-greek
15876 2001-08-02 Juergen Vigna <jug@sad.it>
15878 * BufferView_pimpl.C (update): redone this function so that we
15879 update the text again if there was a CHANGE_IN_DRAW.
15881 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15882 (drawFromTo): added a new internal bool which is used by draw() and
15884 (general): some cursor drawing problems fixed.
15886 2001-08-01 Juergen Vigna <jug@sad.it>
15888 * lyxfind.C (LyXFind): fixed
15889 (SearchForward): ditto
15890 (SearchBackward): ditto
15892 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15893 spurius drawing of the cursor in the main area.
15895 * text2.C (status): small fix which could lead to a segfault!
15896 (clearSelection): remove unneeded BufferView param.
15898 2001-08-01 André Pönitz <poenitz@gmx.net>
15900 * lyxfunc.C: small change due to changed mathed interface
15902 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15904 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15906 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15908 * lyxfunc.c: fail gracefully if file doesn't exist
15913 * BufferView_pimpl.C: IsDirWriteable() proto changed
15915 * LyXView.C: fix updateWindowTitle() to store the last title
15917 2001-07-31 Juergen Vigna <jug@sad.it>
15919 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15920 the font (wrong since using of Paragraph::highestFontInRange).
15922 * paragraph.C (highestFontInRange): added a default_size parameter.
15924 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15925 (setHeightOfRow): reformat
15927 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15929 * converter.[hC] + affected files: move to (inital-char)lowercase
15932 * ParagraphParameters.C (ParagraphParameters): remove commented code
15934 * PainterBase.[Ch]: remove commented code
15936 * LaTeXFeatures.h: add "bool floats" for float.sty
15938 * LaTeXFeatures.C (LaTeXFeatures): init floats
15939 (require): handle float
15940 (getPackages): do it with floats
15942 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15944 * BufferView_pimpl.C (Dispatch): improve handling of
15945 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15947 * commandtags.h: #include lyxfont.h here temporarily to avoid
15950 * bufferlist.h: include LString.h here.
15952 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15954 * text2.C (getStringToIndex): new method.
15956 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15958 * *: Reduced header file dependencies all over.
15960 2001-07-30 Baruch Even <baruch@lyx.org>
15962 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15964 2001-07-29 Baruch Even <baruch@lyx.org>
15966 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15968 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15970 * ParameterStruct.h (endif): add a default constructor to make
15971 sure that all variables is initialized.
15973 * ParagraphParameters.C (ParagraphParameters): adjust
15975 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15977 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15978 index; also, check that there is something to index, and that it
15979 does not span over several paragraphs.
15980 (doubleClick): use WHOLE_WORD_STRICT for double click.
15982 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15984 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15987 2001-07-26 Baruch Even <baruch@lyx.org>
15989 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15990 an InsetFig figure, backwards compatible reading of old figure code.
15992 2001-07-27 Juergen Vigna <jug@sad.it>
15994 * text2.C: font.realize function adaption.
15996 * text.C (draw): add a warnings lyxerr text if needed.
15998 * layout.C: font.realize function adaption.
16000 * language.C: add inherit_language and implement it's handlings
16002 * bufferview_funcs.C (StyleReset): remove language parameter from
16003 font creation (should be language_inherit now).
16005 * bufferparams.C (writeFile): handle ignore_language.
16007 * paragraph.C (getFontSettings): the language has to be resolved
16008 otherwise we have problems in LyXFont!
16010 * lyxfont.C (lyxWriteChanges): added document_language parameter
16011 (update): removed unneeded language parameter
16013 * paragraph.C (validate): fixed wrong output of color-package when
16014 using interface colors for certain fonts in certain environments,
16015 which should not seen as that on the final output.
16017 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
16019 * BufferView_pimpl.C:
16024 * LyXAction.C: add thesaurus support
16027 * lyxfind.C: add "once" parameter, for thesaurus, to not
16028 move to the next match
16030 2001-07-26 Juergen Vigna <jug@sad.it>
16032 * lyxfont.C (realize): honor ignore_language too!
16035 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16037 * text.C (draw): one place more for ignore_language to not draw
16040 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
16042 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16044 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16046 * buffer.C (parseSingleLyXformat2Token): a more general fix for
16047 the minipage conversion problem.
16049 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16051 * buffer.C (parseSingleLyXformat2Token): check minipage if we
16054 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16056 * BufferView.h: don't forward declare WorkArea
16058 * BufferView.C: don't include WorkArea.h
16060 2001-07-25 André Pönitz <poenitz@gmx.net>
16064 * lyxfunc.C: new LFUN 'math-space'
16066 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16068 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16070 * text2.C (toggleInset): call open/close
16072 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16074 * lyxfunc.C (dispatch): add debug for the disabled case
16076 * font.C (buttonText): make similar to rectText
16078 * buffer.C (readInset): comment out parsing of insetlist and
16081 * PainterBase.C (rectText): small correction
16083 * BufferView_pimpl.C: comment out insettheorem and insetlist
16084 * LyXAction.C: ditto
16085 * commandtags.h: ditto
16087 2001-07-24 Juergen Vigna <jug@sad.it>
16089 * text.C (draw): honor the ignore_language.
16091 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16093 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16095 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16098 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16100 * lyxtext.h: remove unused (and unimplemented) methods
16102 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16104 * text.C (getVisibleRow): honor background color
16107 * Painter.h: remove default color argument for fillRectangle
16109 * text.C (backgroundColor): new method
16111 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16113 * text.C (getVisibleRow): adjust
16115 * font.[Ch] (rectText): new method, metrics
16116 (buttonText): new method, metrics
16118 * PainterBase.[hC]: make rectText and buttonText always draw and take
16121 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16123 * ToolbarDefaults.C (read):
16124 * MenuBackend.C (read): allow escaping in all strings
16126 * BufferView_pimpl.C (insertAndEditInset): new method.
16127 (Dispatch): use insertAndEditInset whenever appropriate.
16129 * BufferView_pimpl.C (insertNote): removed
16131 * BufferView_pimpl.C (smartQuote): new method, moved from
16132 BufferView; if an insetquote cannot be inserted, insert a '"'
16135 * BufferView2.C: remove insertCorrectQuote();
16137 * lyxfunc.C (getStatus): Add support for all remaingin
16138 inset-insert lfuns.
16140 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16142 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16143 command (necessary to pass " as parameter of self-insert.
16145 * text.C (selectWordWhenUnderCursor):
16146 (selectWord): add word_location parameter
16147 (selectWordWhenUnderCursor): same + remove special code for word
16149 (selectNextWord): use kind() to guess type of insetspecialchar,
16152 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16153 (insertErtContents): create ert insets as collapsed.
16154 (readInset): better compatibility code for Info inset.
16156 2001-07-20 Juergen Vigna <jug@sad.it>
16158 * lyxfunc.C (dispatch): use always LyXFind now!
16160 * text2.C (init): add a reinit flag so that the LyXText can be
16161 reinited instead of deleted and reallocated (used in InsetText).
16163 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16169 2001-07-18 Juergen Vigna <jug@sad.it>
16171 * text.C (selectNextWord): handle insets inside inset by calling
16172 always the bv->text functions so that we can go up the_locking_inset!
16174 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16175 in strange locations when inside an inset!
16177 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16178 handling to include insets.
16180 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16182 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16184 * LyXAction.C (init):
16186 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16187 LIGATURE_BREAK, since the name is so stupid.
16189 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16191 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16194 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16196 * sp_form.[Ch]: remove.
16198 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16200 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16203 * src/buffer.C (readInset): ditto.
16205 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16207 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16208 menuSeparator(), endOfSentenceDot(), ldots() and
16209 hyphenationPoint(), which are therefore removed.
16210 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16212 * LyXAction.C (init):
16213 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16215 * paragraph.C (getWord): removed.
16217 * BufferView_pimpl.C (Dispatch): use last word or selection for
16218 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16220 * lyx_main.C (queryUserLyXDir): do not ask before creating
16221 user_dir, except if it has been named explicitely.
16223 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16225 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16226 a document of zero size.
16228 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16230 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16231 approriately in the c-tor and in require().
16232 (getPackages): output the appropriate LaTeX for natbib support.
16234 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16235 variables "use_natbib" and "use_numerical_citations" when reading the
16237 (readInset): read the various natbib cite commands.
16238 (validate): white-space change.
16240 * bufferparams.[Ch]: new variables "bool use_natbib" and
16241 "bool use_numerical_citations".
16242 (writeFile): output them in the LyX file.
16244 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16246 * lyxfunc.C (getStatus): add support for all the inset insertion
16249 * text2.C (insertInset):
16250 * paragraph.C (insetAllowed):
16251 * BufferView_pimpl.C (insertInset): update to take in account the
16252 renaming of insertInsetAllowed
16254 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16256 * text2.C (getInset): new method. returns inset at cursor position.
16258 * BufferView_pimpl.C (Dispatch): changes because of this.
16260 * LyXAction.C (init): rename open-stuff to inset-toggle.
16262 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16264 * text2.C (toggleInset): renamed from openStuff; use
16267 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16269 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16271 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16273 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16275 * buffer.C (readLyXformat2): Add filename to the error dialog
16277 2001-07-18 Juergen Vigna <jug@sad.it>
16279 * tabular.C (GetCellNumber): put an assert here instead of the check!
16281 2001-07-17 Juergen Vigna <jug@sad.it>
16283 * BufferView_pimpl.C (toggleSelection): adapted too.
16285 * text.C (selectNextWord): adapted for use with insets.
16286 (selectSelectedWord): ditto
16288 2001-07-17 Juergen Vigna <jug@sad.it>
16290 * sp_spell.C (PSpell): fix initialitation order.
16292 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16294 * paragraph.C: spacing
16296 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16298 * sp_spell.C: repair language selection for pspell
16300 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16302 * lyxfunc.h: change more methods to begin with lower char.
16304 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16306 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16307 for unknown layouts.
16309 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16311 * buffer.C (readLyXformat2): Generate an error dialog if there are
16314 2001-07-16 Juergen Vigna <jug@sad.it>
16316 * sp_spell.C: always compile ISpell part.
16318 * lyxrc.C: added use_pspell entry and it's handling.
16320 2001-07-13 Juergen Vigna <jug@sad.it>
16322 * sp_spell.C: removed double includes.
16324 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16326 Consistent use of Lsstream.h:
16327 * Lsstream.h: added using std::stringstream for consistencies sake.
16329 * buffer.C: removed using std::stringstream
16331 * lyxfont.C (stateText):
16332 * paragraph.C (asString):
16333 * text.C (selectNextWord, selectSelectedWord):
16334 * text2.C (setCounter):
16335 * vspace.C (asString, asLatexString):
16336 std::ostringstream -> ostringstream.
16338 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16340 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16341 * commandtags.h: add LFUN_HELP_ABOUTLYX
16342 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16344 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16346 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16348 * lyx_gui_misc.C: remove spellchecker
16349 * lyxfunc.C: showSpellchecker
16351 * sp_ispell.h: added
16352 * sp_pspell.h: added
16353 * sp_spell.C: added
16354 * sp_form.[Ch]: removed
16355 * spellchecker.[Ch]: removed
16357 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16359 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16361 (simpleTeXSpecialChars): Simply print the input character without
16362 any special translation if pass_thru is set.
16364 * layout.h: Added bool pass_thru to layout class for being able to
16365 implement pass through of a paragraph for Literate Programming.
16367 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16368 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16369 * layout.C (Read): add "passthru" to list of layout tags and add
16370 code to set the pass_thru boolean when it is read.
16372 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16374 * trans_decl.h: remove allowed from KmodInfo
16376 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16377 remove allowed code
16380 * paragraph_pimpl.C (erase): use boost::prior
16382 * Painter.C (text): use data() instead of c_str() when length is
16384 * WorkArea.C (putClipboard): ditto
16385 * font.h (width): ditto
16387 * BufferView2.C: use it-> instead of (*it). for iterators
16389 * paragraph_pimpl.C: ditto
16390 * paragraph.C: ditto
16391 * minibuffer.C: ditto
16392 * language.C: ditto
16394 * encoding.C: ditto
16395 * counters.C: ditto
16396 * converter.C: ditto
16398 * Variables.C: ditto
16399 * TextCache.C: ditto
16400 * MenuBackend.C: ditto
16401 * LyXAction.C: ditto
16403 * FloatList.C: ditto
16404 * DepTable.C: ditto
16405 * ColorHandler.C (LyXColorHandler): ditto
16407 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16409 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16411 * text2.C (openStuff): reintroduce this method (which had been
16412 nuked in NEW_INSETS frenzy).
16414 * lyxfunc.C (Dispatch): when an action has not been handled, use
16415 its name in the error message, not its number.
16417 * paragraph.C (inInset): change method name to begin with lowercase.
16420 * text2.C: updates because of this.
16422 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16424 * ToolbarDefaults.C (add): add spaces in error message
16426 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16428 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16429 (readLyXformat2): rename return_par to first_par, use lyxlex's
16430 pushToken and remove the manual push handling.
16431 (parseSingleLyXformat2Token): add another ert comp. variable:
16432 in_tabular, rename return_par to first_par. handle newlines better
16434 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16436 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16438 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16440 * text2.C (getParFromID): removed
16442 * buffer.C (getParFromID): new method moved form lyxtext.
16443 * BufferView2.C (insertErrors): adjust
16444 (setCursorFromRow): adjust
16445 * BufferView_pimpl.C (restorePosition): adjust
16446 * lyxfunc.C (Dispatch): adjust
16447 * undo_funcs.C (textUndo): adjust
16449 (textHandleUndo): adjust
16450 (textHandleUndo): adjust
16452 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16454 * buffer.C: up' the LYX_FORMAT
16456 * lyxfont.h: turn NO_LATEX on as default
16458 * buffer.C (insertErtContents): new methods of tex style compability.
16459 (parseSingleLyXformat2Token): use it several places.
16460 * tabular.C (OldFormatRead): and here
16462 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16464 * text2.C: remove some commented code.
16467 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16468 * trans.C: changes because of the above.
16470 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16472 * text2.C (setCounter): Fix counters bug with bibliography layout.
16474 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16476 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16477 own member functions
16478 (simpleTeXSpecialChars): ditto
16480 2001-07-06 Juergen Vigna <jug@sad.it>
16482 * a lot of files: changed the access to LyXText::status and the
16483 call of undo-functions.
16485 * undo.[Ch]: added a inset_id to the undo informations.
16487 * undo_funcs.[Ch]: added and moved here all undo functions.
16489 * lyxtext.h: give the status enum a weight, made status_ a private
16490 variable and made accessor functions for it, removed the whole bunch
16491 of undo-functions as they are now in their own file, make some
16492 functions publically available. Added function ownerParagraph with
16495 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16496 made InInset() a const function, added getParFromID() function.
16498 * buffer.[Ch]: added const version for inset_iterator functions,
16499 added getInsetFromID() function.
16501 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16502 changed undo functions for new version.
16504 2001-07-05 Juergen Vigna <jug@sad.it>
16506 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16507 unknow mechanism does not call the proper constructor but only this
16508 one also if I request the other!?
16510 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16512 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16514 * text2.C (LyXText): use initialization lists.
16516 * lyxtext.h (Selection): initialize set_ and mark_
16517 (init): remove method
16519 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16521 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16523 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16525 * screen.[Ch]: change method names to begin with lowercase
16527 * BufferView_pimpl.C (updateScrollbar): simplify further and
16528 hopefully make it a bit faster.
16530 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16532 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16533 calling directly xforms functions.
16535 * Painter.C (Painter):
16536 * lyx_cb.C (MenuWrite):
16537 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16540 * lyx_gui.C: remove bogus guiruntime extern declaration.
16542 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16544 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16546 (redoDrawingOfParagraph): ditto
16547 (redoParagraphs): ditto
16548 (cutSelection): don't create a object for CutAndPaste use the
16549 static method directly
16550 (pasteSelection): ditto
16552 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16555 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16557 * modifications to some other files because of this.
16559 * Makefile.am (lyx_SOURCES): add XFormsView
16561 * XFormsView.[Ch]: new files
16563 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16564 the main window. Move the gui dependent stuff to XFormsView
16566 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16568 * tabular.C (GetCellInset): update cur_cell also in the row/col
16569 version of this function.
16571 * lyxfunc.C: no need to include figure_form.h here.
16577 * lyxvc.C: no need to include forms.h here.
16579 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16581 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16583 * lyxfunc.C (Dispatch):
16585 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16586 constructor argument.
16588 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16590 * paragraph.C (Paragraph): dont't clear, and just set layout.
16591 (makeSameLayout): use params's copy contructor.
16593 * ParagraphParameters.[Ch] (makeSame): delete method
16595 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16597 * Variables.[Ch]: fix indentation, rename set to isSet
16599 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16601 * lyxfunc.C (Dispatch): fix typo
16603 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16605 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16608 * bufferlist.C: include assert.h for emergencyWrite().
16610 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16612 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16613 give up at last (bug #425202) !
16615 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16621 * spellchecker.C: strip spellchecker options and bring up
16622 preferences tab instead
16624 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16626 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16627 the istringstream constructor
16629 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16631 * paragraph.C (getLayout): fix return value
16633 * paragraph.h: do not declare getLayout as inline.
16635 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16637 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16639 * lyxcursor.h (operator<): new func
16640 (operator>): new func
16641 (operator>=): new func
16642 (operator<=): new func
16644 * text.C (changeCase): use selection.start and selection.end
16645 (changeRegionCase): require from to be <= to. Require par to be a
16648 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16650 2001-06-27 Juergen Vigna <jug@sad.it>
16652 * text.C (cursorLeftOneWord): changed to return the cursor and added
16653 overlay with BufferView * parameter which calls this one.
16655 (selectWord): use new getWord function.
16656 (changeCase): renamed from changeWordCase as and extended to work
16657 also on selections.
16659 * lyxtext.h: added enum word_location
16661 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16662 changeCase as this operates now also on selections.
16664 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16666 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16668 * many files: send debug output to Debug::INFO instead of
16671 * converter.C (View):
16673 (Move): send debug output to Debug::FILES instead of console.
16675 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16677 * lyxfunc.C (getStatus): use func_status
16679 * func_status.h: new header, describing the results of
16680 LyXFunc::getStatus;
16682 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16685 2001-06-25 The LyX Project <jug@sad.it>
16687 * buffer.C (sgmlOpenTag):
16689 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16691 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16693 * text2.C: remove some dead code
16695 * tabular.C (GetCellInset): store the last cell checked (gotten)
16697 * tabular.h: add the helper for the speedup
16699 * lyxtext.h: remove some dead code
16701 2001-06-26 The LyX Project <Asger>
16703 * paragraph.C: Change export to LaTeX of alignment to
16704 \begin{center} and family for better roundtrip work with reLyX.
16706 * Tune the math drawing a bit.
16708 2001-06-25 The LyX Project <Asger>
16710 * LColor.C (LColor): New color for math background. New color
16713 2001-06-25 The LyX Project <jug@sad.it>
16715 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16717 * lyxfunc.C (Open):
16718 * bufferlist.C (newFile): do not restrict to files ending with
16721 * BufferView_pimpl.C (MenuInsertLyXFile):
16723 2001-06-24 The LyX Project <jug@sad.it>
16725 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16728 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16730 * lyxtext.h: rename most methods to begin with a small char.
16731 Lots of changes because of this.
16733 * paragraph.C (Paragraph): do not call fitToSize
16734 (erase): call Pimpl::erase
16735 (insertChar): call Pimpl::insertChar
16736 (insertInset): call Pipl::insertInset
16737 (breakParagraph): do not call fitToSize
16738 (breakParagraphConservative): do not call fitToSize
16739 (fitToSize): remove method
16741 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16743 2001-06-24 The LyX Project <Asger>
16745 * Fix Qt compilation^2
16747 2001-06-24 The LyX Project <jug@sad.it>
16749 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16750 depthHook(getDepth()-1).
16753 * ParagraphParameters.h:
16754 * ParameterStruct.h: change type of depth to unsigned int ==
16755 depth_type. Many adaptations to other files before of that.
16757 2001-06-24 The LyX Project <Asger>
16759 * Fix Qt compilation.
16761 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16763 * paragraph.h: renamed several methods to begin with small letter.
16764 several changes to many parts of the code because of this.
16766 2001-06-23 The LyX Project <jug@sad.it>
16768 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16769 rewritten to discard all double spaces when KeepEmpty is off
16770 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16771 to only handle newlines but not fiddle with spaces and friends.
16773 * lyxfunc.C (MenuNew): when doing 'new from template', use
16774 template_path as default directory
16776 2001-06-23 The LyX Project <Asger>
16778 * Clean-up of header file includes all over
16779 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16781 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16783 * paragraph.h: renamed from lyxparagraph.h
16785 2001-06-23 Asger <lyx@violet.home.sad.it>
16787 * Buffer.h: Removed Buffer::resize
16788 * BufferList.h: Removed BufferList::resize
16789 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16790 the document lazily when we change the width, or the font settings.
16792 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16794 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16796 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16798 * buffer.h: remove out of date comment
16800 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16803 * screen.C: fix "theoretical" GC leak
16805 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16807 * LaTeX.C (scanAuxFile):
16808 (deplog): remove trailing \r when reading stream (useful under
16811 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16813 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16814 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16815 and BufferView::theLockingInset(Inset*), so should use them and not
16816 access bv_->text->the_locking_inset directly.
16818 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16820 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16823 * tex-defs.h: remove old unused file
16825 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16827 * BufferView_pimpl.C: fix typo, remove minibuffer message
16828 when buffer has loaded
16830 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16832 * lyxfunc.C (Dispatch): use stringstream
16833 (MenuNew): use stringstream
16834 (Open): use stringstream
16836 * importer.C (Import): use stringstream
16838 * bufferview_funcs.C (CurrentState): use stringstream
16840 * LaTeX.C (run): use stringstream
16842 * BufferView_pimpl.C (savePosition): use stringstream
16843 (restorePosition): use stringstream
16844 (MenuInsertLyXFile): use stringstream
16846 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16859 * vspace.C: removed // -*- C++ -*- as first line.
16862 * version.h: added // -*- C++ -*- as first line.
16864 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16866 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16868 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16871 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16873 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16876 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16878 * gettext.C: include LString.h even when --disable-nls is on.
16880 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16882 * converter.h (Get): changed argument type from int to
16883 FormatList::size_type to avoid unnecessary conversion.
16885 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16888 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16890 * gettext.h: include LString.h even when --disable-nls is on.
16892 2001-06-07 Juergen Vigna <jug@sad.it>
16894 * text.C (BreakAgain): subst spaces with tabs.
16896 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16897 (resizeInsetsLyXText): set force on resizeLyXText.
16899 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16901 * gettext.h (gettext_init):
16902 (locale_init): use a real definition instead of a macro
16904 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16906 * Bufferview_pimpl.C:
16908 * LColor.C: further lcolor tidies
16910 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16912 * BufferView_pimpl.C (updateScrollbar): simplify.
16914 * BufferView2.C: don't include insets/insetinfo.h, change
16915 prototype for insertInset and call the Pimpl version. let
16916 updateInset call Pimpl version.
16918 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16919 gotoInset to BufferView::Pimpl
16921 2001-06-01 Juergen Vigna <jug@sad.it>
16923 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16924 inside a LockingInset (is the update needed at all?).
16926 2001-05-31 Juergen Vigna <jug@sad.it>
16928 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16929 here not the old one otherwise how should we compare it afterwards
16932 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16937 * FontInfo.C: bring C functions into global namespace when
16940 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16942 * LString.h: make sure config.h has been loaded before LString.h.
16944 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16945 (one for each char read by EatLine!).
16947 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16950 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16952 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16953 to the same as the par we break from
16955 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16957 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16959 * MenuBackend.C (expand): also create menu entries for wide
16960 versions of the floats.
16962 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16964 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16966 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16967 frontends/Makefile.am
16973 * tabular.C (getTokenValue): add std::
16975 * tabular-old.C (getTokenValue): add std::
16976 (getTokenValue): ditto
16977 (getTokenValue): ditto
16979 * screen.C (ToggleSelection): adjust
16981 * lyxtext.h: put selection cursors inside a Selection struct.
16983 * lyxfunc.C (moveCursorUpdate): adjust
16985 * lyxfont.C (latexWriteStartChanges): add std::
16987 * lyxfind.C: adjust
16989 * font.h: delete with(char const *, LyXFont const &)
16991 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16993 * FontInfo.C (getFontname): add std::
16995 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16996 (workAreaButtonPress): adjust
16997 (tripleClick): adjust
16999 (moveCursorUpdate): adjust
17002 * BufferView2.C (gotoInset): adjust
17004 2001-05-30 Juergen Vigna <jug@sad.it>
17006 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17007 to check pspell I add this as default as I now have new pspell
17008 libraries and they seem to use this.
17010 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
17012 * text2.C (CutSelection): make the cursor valid before the call to
17015 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17017 * kbsequence.C (parse): de-uglify a bit the parsing code, which
17018 relied on 0 terminated strings and other horrors. Bug found due to
17019 the new assert in lyxstring!
17021 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17024 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
17026 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17029 * lyxfunc.C (processKeySym): change method of getting to the
17032 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17033 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17034 * BufferView_pimpl.[Ch]: here as private methods.
17036 2001-05-28 Juergen Vigna <jug@sad.it>
17038 * text.C (SetHeightOfRow): added the update() call again as it is
17039 needed to initialize inset dimensions!
17041 2001-05-16 Juergen Vigna <jug@sad.it>
17043 * text2.C (SetCharFont): Add new function with BufferView * and
17044 bool toggleall parameters for setting insets internal fonts.
17045 (SetFont): Freeze the undo as we may change fonts in Insets and
17046 all this change should be inside only one Undo!
17048 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17049 setting font's in insets as for them we have the SetFont function!
17051 2001-05-15 Juergen Vigna <jug@sad.it>
17053 * text2.C (ClearSelection): to be sure we REALLY don't have any
17056 * tabular.C (TeXCellPreamble): fixed the left border problem for
17059 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
17061 * LaTeX.C (deplog): Make sure that the main .tex file is in the
17064 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17066 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17067 LFUN_BREAKPARAGRAPH.
17069 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17070 help test to "internal only", similar for LFUN_INSERT_URL
17072 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17073 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17074 auto_region_delete and deadkeys.
17076 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17079 * LColor.C: remove some dead entries, tidy a little
17081 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17083 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17085 (Dispatch): implement LFUN_ESCAPE
17087 * commandtags.h: add LFUN_ESCAPE
17089 * LyXAction.C (init): add entry for LFUN_ESCAPE
17091 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17092 Remove commented code.
17093 (insertNote): moved here
17094 (open_new_inset): moved here
17096 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17099 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17101 * kbmap.C (findbinding): clean it up and make it work correctly.
17103 * lyx_main.C (init): do not pass argc and argv as parameters
17105 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17107 * buffer.C: fix path for OS/2 & Win32
17111 * lyx_main.C: Added os:: class.
17113 * os2_defines.h: update
17115 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17117 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17118 better by trying again with reduced state.
17120 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17122 * lyxrc.C (read): print error about invalid key sequence only when
17123 debugging (because not all latinX keysyms are known to some X
17126 * kbsequence.C (getiso): add a few std:: qualifiers
17127 (getiso): comment out extra return statement.
17129 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17131 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17133 (Dispatch): enhance the accent inset a bit. (not perfect)
17135 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17137 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17139 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17141 * bufferlist.C (emergencyWrite): fix assert() call
17143 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17145 * text.C (InsertChar): Added trivial patch to only send the "you
17146 can not do multiple spaces this way" message once during a
17149 2001-05-08 Baruch Even <baruch@lyx.org>
17151 * Makefile.am: Changed order of libraries to get LyX to link properly
17152 with the gnome frontend.
17154 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17156 * LaTeXFeatures.h: add a std:: qualifier
17158 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17160 * paragraph.C (String): use stringstream
17162 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17164 * paragraph.C (writeFile): remove footflag arg
17166 * buffer.C (makeLaTeXFile): use stringstream
17167 (latexParagraphs): remove footnot gurba
17169 * LaTeXFeatures.C (getPackages): use stringstream
17170 (getMacros): likewise
17171 (getTClassPreamble): likewise
17172 (getFloatDefinitions): new method
17174 * paragraph.C (writeFile): reindent
17177 * WorkArea.h: revert the xpos + etc changes.
17179 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17181 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17183 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17184 (pasteSelection): likewise
17185 * text2.C (CreateUndo): likewise
17187 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17189 * minibuffer.C (peek_event): temporarily reduce the functionality
17190 of the minibuffer (to allow args on lfuns)
17192 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17193 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17195 * buffer.C (readInset): add compability reading of old float
17196 lists, add reading of new style float list.
17197 (readInset): avoid reevaluation of inscmd.getCmdName()
17198 (getLists): reindent
17200 * MenuBackend.C (MenuItem): implement parsing of
17201 md_floatlistinsert and md_floatinsert.
17202 (expand::LastFiles): move initalizaton of iterators out of loop,
17203 avoid reevaluation.
17204 (expand::Documents): introduce typdedef vector<string> Strings,
17206 (expand::ExportFormats): introduce typedef vector<Format const *>
17207 Formats, and use it.
17208 (expand): implement FloatListInsert and FloatInsert.
17210 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17211 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17212 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17214 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17216 (Dispatch::LFUN_FLOAT_LIST): implement
17218 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17220 * LaTeX.C (run): Fix problem with --export code.
17222 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17224 * BufferView.[Ch] (workarea): removed.
17225 (getClipboard) new method; wrapper for workarea()->getClipboard()
17227 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17230 * WorkArea.h (width, height, xpos, ypos): These methods all
17231 returned the dimensions of the work_area sub-area of WorkArea,
17232 resulting in a position error if the WorkArea were resized. Now
17233 return the dimensions of the entire WorkArea.
17235 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17237 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17239 * LaTeX.C (deplog): correct the syntax of regex reg1
17241 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17243 * undo.C: remove !NEW_INSETS cruft
17245 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17247 * text2.C: remove !NEW_INSETS cruft
17249 * text.C: remove !NEW_INSETS cruft
17251 * tabular.C: remove !NEW_INSETS cruft
17253 * spellchecker.C: remove !NEW_INSETS cruft
17255 * lyxtext.h: remove !NEW_INSETS cruft
17257 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17259 * lyxfunc.C: remove !NEW_INSETS cruft
17261 * lyxfind.C: remove !NEW_INSETS cruft
17263 * lyx_cb.C: remove !NEW_INSETS cruft
17265 * figureForm.C: remove !NEW_INSETS cruft
17267 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17269 * buffer.[Ch]: remove !NEW_INSETS cruft
17271 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17273 * CutAndPaste.C: remove !NEW_INSETS cruft
17275 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17277 * BufferView2.C: remove !NEW_INSETS cruft
17279 * BufferView.h: remove !NEW_INSETS cruft
17281 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17283 * Lsstream.h: include LString.h before the sstream headers to
17284 fix problem with gcc 2.95.3 and lyxstring
17286 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17288 * lyx_main.C: add using directives when needed for C functions
17289 declared in std:: namespace.
17291 2001-04-27 Juergen Vigna <jug@sad.it>
17293 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17294 (SetHeightOfRow): comment out the update call should not be needed!
17296 2001-04-13 Juergen Vigna <jug@sad.it>
17298 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17299 (LyXTabular): tried to minimize operator= operations (and realized
17300 hopfully Lars wish).
17302 2001-04-27 Juergen Vigna <jug@sad.it>
17304 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17306 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17308 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17310 * buffer.C (readInset): hack to make listof algorithm work
17312 * BufferView_pimpl.C: hack to make listof algorithm work
17314 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17316 * LyXAction.C: removed all !NEW_INSETS cruft
17317 (init): moved lfun_item in method
17319 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17321 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17323 * BufferView2.C (theLockingInset): white space.
17325 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17327 * minibuffer.C: include <iostream>
17329 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17331 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17333 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17335 * text.[Ch] (TransposeChars): new method
17337 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17339 * call message directly through LyXView instead of through LyXFunc
17340 * BufferView2.C: adjust
17341 * BufferView_pimpl.C: adjust
17342 * FontLoader.C: adjust
17344 * bufferview_funcs.C: adjust
17345 * converter.C: adjust
17346 * figureForm.C: adjust
17347 * importer.C: adjust
17349 * lyx_gui_misc.C: adjust
17350 * lyxfunc.C: adjust
17353 + more files in subdirs
17355 * lyxparagraph.h (size): move up int file
17358 * adjust all uses of Assert to lyx::Assert.
17360 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17361 lyxfunctional in namespace lyx
17362 * layout.C (hasLayout): ditto
17365 (delete_layout): ditto
17366 (NumberOfClass): ditto
17367 * converter.C (GetFormat): ditto
17372 * bufferlist.C (getFileNames): ditto
17373 (emergencyWriteAll): ditto
17376 * MenuBackend.C (hasSubmenu): ditto
17379 * BufferView_pimpl.C (getInsetByCode): ditto
17381 2001-04-18 Juergen Vigna <jug@sad.it>
17383 * vspace.C (asLatexString): fixed the 100% problem.
17385 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17387 * lyxfunc.C (Dispatch):
17389 * minibuffer.h: add a few std:: qualifiers
17391 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17393 * minibuffer.[Ch]: reimplement so that commands is initiated and
17394 run from lyxfunc, simplified som handling, and made the completion
17395 and history code for complete. wip.
17397 * lyxfunc.C (processKeySym): call message
17398 (miniDispatch): new temporary method
17399 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17400 (LFUN_MESSAGE): implement
17401 (LFUN_MESSAGE_PUSH): implement
17402 (LFUN_MESSAGE_POP): implement
17403 (initMiniBuffer): the initial/defualt minibuffer message.
17405 * lyxfont.[Ch]: inline some more getters
17407 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17409 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17411 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17412 (AutoSave): use LFUN_MESSAGE
17413 (Reconfigure): ditto
17415 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17417 * figureForm.C: use LFUN_MESSAGE
17419 * converter.C (runLaTeX): use LFUN_MESSAGE
17421 * bufferview_funcs.C: use LFUN_MESSAGE
17423 (changeDepth): ditto
17425 * bufferparams.h: use boost::
17427 * bufferlist.h: inherit privately from noncopyable
17429 * bufferlist.C (loadLyXFile): remove some commented code.
17431 * buffer.C (runChktex): use LFUN_MESSAGE
17433 * ShareContainer.h: inherit privately from noncopyable
17435 * ParagraphParameters.[hC] (depth): inline it.
17437 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17439 (message): new method
17440 (messagePush): ditto
17441 (messagePop): ditto
17442 (show): init minibuffer
17443 (showState): direct call
17445 * LaTeX.[Ch]: inherit privately from noncopyable
17446 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17447 instead of WriteStatus.
17449 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17451 * BufferView_pimpl.C (buffer): don't init minibuffer
17452 (workAreaButtonPress): use LFUN_MESSAGE
17453 (workAreaButtonRelease): ditto
17454 (savePosition): ditto
17455 (restorePosition): ditto
17456 (MenuInsertLyXFile): ditto
17457 (workAreaExpose): don't init minibuffer
17458 (update): remove commented code, simplify
17460 * BufferView2.C (openStuff): use LFUN_MESSAGE
17461 (toggleFloat): ditto
17464 (copyEnvironment): ditto
17465 (pasteEnvironment): ditto
17470 (updateInset): remove some commented code
17472 * lastfiles.h: inherit privately from noncopyable
17475 * lyx_main.h: ditto
17477 * lyxlex_pimpl.h: ditto
17479 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17480 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17481 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17483 * LyXAction.h: inherit privately from noncopyable, add methods
17484 func_begin, func_end, returning iterators to the func map.
17486 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17487 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17488 (func_begin): new method
17489 (func_end): new method
17491 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17493 (copySelection): ditto
17494 (pasteSelection): ditto
17496 * BufferView.C: whitespace change
17497 * BufferView.h: inherit privately from noncopyable
17499 2001-04-16 Allan Rae <rae@lyx.org>
17501 * tabular-old.C (l_getline):
17502 * spellchecker.C (sc_check_word):
17503 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17504 an unrecognised preprocessor directive. So ensure they're wrapped.
17506 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17508 * src/exporter.C (Export): Give an error message when path to file
17511 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17513 * LaTeX.C (deplog): Always check that foundfile exists.
17515 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17518 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17520 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17522 * tabular.[Ch] (getLabelList): implement new method
17524 * minibuffer.h: comment ouf setTiimer
17526 * minibuffer.C (ExecutingCB): constify res
17527 (peek_event): constify s
17528 (Set): constify ntext
17529 (Init): constify nicename
17531 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17533 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17534 (savePosition): use two params to Minibuffer::Set
17535 (restorePosition): ditto
17537 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17539 * lyx_main.C: include language.h
17541 * Makefile.am (lyx_main.o): add language.h
17543 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17549 * CutAndPaste.C: include gettext.h
17551 * lyxfont.h: remove old hack with ON and OFF.
17554 * lyxfont.h: do not include language.h...
17559 * bufferview_funcs.C:
17565 * paragraph.C: ... but do it here instead
17567 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17569 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17571 * tabular.C: small reformat
17573 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17576 (BreakParagraph): ditto
17577 (SetOnlyLayout): ditto
17580 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17583 * lastfiles.C: removed most using decl, add std:: where needed
17585 * buffer.C: ws changes
17587 * MenuBackend.C (class compare_format): put into anon namespace
17588 (expand): constify label, names, action, action2
17591 * text.C (SingleWidth): constify font
17592 (IsBoundary): constify rtl2
17593 (GetVisibleRow): constify ww
17595 * LaTeX.C (deplog): constify logfile
17597 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17599 (workAreaExpose): constify widthChange, heightChange
17601 * lyxrow.C (par): moved
17604 * lyxrow.h: as inlines here
17606 * lyxfont.h (shape): moved from lyxfont.C
17607 (emph): moved from lyxfont.C
17609 * lyxfont.C (LyXFont): use initialization list for all
17611 (shape): move to lyxfont.h as inline
17612 (emph): move to lyxfont.h as inline
17615 2001-04-04 Juergen Vigna <jug@sad.it>
17617 * vspace.C: had to include stdio.h for use of sscanf
17619 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17622 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17623 independent of xforms.
17625 2001-04-02 Juergen Vigna <jug@sad.it>
17627 * spellchecker.C: fixed namespace placing!
17629 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17631 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17632 the LyXParagraph * is 0.
17634 2001-03-29 Juergen Vigna <jug@sad.it>
17636 * vspace.C: added support for %, c%, p%, l%.
17637 (stringFromUnit): added helper function.
17638 (asLatexString): changed to give right results for the %-values.
17640 * buffer.C: convert the widthp in a width%.
17642 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17644 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17647 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17648 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17650 * lyx_cb.[Ch]: see above.
17652 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17656 * lyx.[Ch]: replaced by figure_form.[Ch].
17660 * lyxfunc.C: changed headers associated with above changes.
17662 2001-03-27 Juergen Vigna <jug@sad.it>
17664 * BufferView_pimpl.C: set the temporary cursor right!
17666 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17668 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17670 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17672 * LString.h: removed "using std::getline"!
17674 * BufferView_pimpl.C (Dispatch): changes due to changes in
17675 InsetInclude::Params.
17677 * buffer.C (tag_name): removed redundant break statements as they were
17678 producing lots of warnings with my compiler.
17680 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17682 * LString.h: add "using std::getline" when using the real <string>.
17684 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17686 * buffer.C: removed bitset usage.
17687 PAR_TAG moved to an anonymous name space.
17688 (tag_name): new funtion, also in the anonymous namespace.
17689 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17690 (makeDocBookFile): clean code. Completed transition from string arrays
17692 (SimpleDocBookOnePar): code clean.
17694 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17696 * tabular.C: add some comments.
17698 2001-03-22 Juergen Vigna <jug@sad.it>
17700 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17701 compatibility read a bit and fixed bug with minipage in different
17704 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17706 * buffer.C (pop_tag): removed.
17707 (push_tag): removed.
17708 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17709 array replaced with vector. Added support for CDATA sections.
17710 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17712 (makeDocBookFile): XML conformant declaration of CDATA section,
17713 fixed bug related to <emphasis> in the first paragraph char.
17714 (sgmlOpenTag): exclude empty tags.
17715 (sgmlCloseTag): ditto.
17717 * buffer.h (pop_tag): removed.
17718 (push_tag): removed.
17720 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17722 * language.h (Languages): added size_type and size().
17724 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17726 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17727 response on compability reading of minipages. One probliem is that
17728 the old usage of minipages was flertydig
17730 * several files here and in subdirs: don't use static at file
17731 scope use anon namespaces instead.
17733 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17735 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17736 LaTeX output. This is necessary for Literate document
17739 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17741 * buffer.C: insert hfill when needed.
17743 * tabular.C (l_getline): use string::erase, small whitespace change.
17745 * BufferView_pimpl.C: try the anon namespace.
17746 * WorkArea.C: ditto
17748 2001-03-16 Juergen Vigna <jug@sad.it>
17750 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17751 otherwise it won't open options-dialogs.
17753 * buffer.C: honor pextraWidth(p) on converting minipages.
17755 * tabular.C (l_getline): changed the functions to strip trailing \r.
17757 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17759 * BufferView_pimpl.C:
17760 * minibuffer..C: added "using SigC::slot" declaration.
17762 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17764 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17770 * paragraph.C: ditto
17772 * lyxtext.h: NO_PEXTRA
17774 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17776 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17777 * ParameterStruct.h: ditto
17778 * ParagraphParameters.h: ditto
17779 * lyxparagraph.h: ditto
17781 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17783 * buffer.C: add compability for minipage alignment.
17784 (latexParagraphs): remove unwanted pextra check.
17786 * several files: remove CXX_WORKING_NAMESPACES
17788 * buffer.C (pop_tag): tie is in namespace boost
17790 * BufferView.h: noncopyable is in namespace boost
17792 * lyx_main.h: ditto
17795 * lastfiles.h: ditto
17796 * bufferlist.h: ditto
17797 * ShareContainer.h: ditto
17799 * LyXAction.h: ditto
17802 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17804 * Merging changes from BRANCH_MVC back into HEAD.
17806 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17808 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17810 * BufferView_pimpl.C: change from intl.C
17814 * Makefile.am: move combox.*
17820 * intl.C: remove dialog (covered by prefs)
17822 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17824 * lyxfunc.C (Dispatch): removed redundant break statement.
17826 2001-03-14 Juergen Vigna <jug@sad.it>
17828 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17830 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17832 * buffer.C: add hack to fix compability reading of minipages.
17834 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17836 * buffer.C (getLists): Cleanup.
17838 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17840 * lyxfont.C (update): don't honor toggleall on font size.
17842 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17846 * Makefile.am: moved to frontends/xforms/
17850 * BufferView_pimpl.C: changes for moved mathpanel
17852 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17854 * gettext.h: fix gettext_init() in --disable-nls
17856 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17858 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17860 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17863 * lyx.h: strip external form
17865 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17867 * BufferView_pimpl.C: add comment, destroySplash()
17869 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17871 * BufferView_pimpl.C:
17875 * lyxfunc.C: use re-worked insetinclude
17877 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17879 * buffer.C: add using std::stringstream.
17881 * lyx_cb.C: readd using std::ios.
17883 * buffer.C: add using std::map.
17885 * BufferView_pimpl.C: add using std::vector.
17887 * ShareContainer.h: add std:: to swap.
17889 * buffer.h: add some typedefs
17890 * buffer.C (getLists): use them
17891 (getLists): renamed from getTocList.
17892 add a counter for the different float types and use it in the
17894 (getLists): use the same counter for the NEW_INSETS and the "non"
17897 * lyx_cb.h: remove unused items, includes, using etc.
17899 * ShareContainer.h: remove some commented code, add more comments
17900 and "documentation".
17902 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17904 * buffer.C (getTocList): make the list also when NEW_INSETS is
17907 * buffer.h: remove TocType
17909 * buffer.C (getTocList): change to return a map<string,
17910 vector<TocItem> >, implement for dynamic number of list.
17912 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17913 * text2.C (PasteSelection): adjust
17914 * CutAndPaste.C (pasteSelection): adjust
17916 * FloatList.C (FloatList): update from the new_insets branch.
17917 * Floating.[Ch]: ditto
17918 * LaTeXFeatures.C: ditto
17920 * lyxlex_pimpl.C: ditto
17922 * paragraph.C (Last): remove when NEW_INSETS is defined.
17924 * other file: changes because of the above.
17926 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17928 * lyxparagraph.h: rename next to next_, previous to previous_,
17929 make them private for NEW_INSETS. Rename Next() to next(),
17930 Previous() to previous().
17932 * other files: changes because of the above.
17934 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17937 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17940 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17942 * main.C (main): pass lyx_localedir to gettext_init().
17944 * gettext.h: remove locale_init and gettext_init macros
17946 * gettext.C (locale_init): new function
17947 (gettext_init): new function
17949 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17952 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17954 * Moved credits to frontends:
17955 * credits.[Ch]: removed
17956 * credits_form.[Ch]: removed
17957 * lyx_gui_misc.C: remove credits stuff
17960 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17962 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17964 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17965 unneeded destructor.
17967 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17968 a standalone pointer again.
17970 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17972 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17978 * ToolbarDefaults.C:
17987 * BufferView_pimpl.C: use new file dialog in GUII
17990 * lyx_cb.C: remove LayoutsCB to Toolbar
17992 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17994 * ShareContainer.h (get): add std:: qualifier
17996 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17998 * ShareContainer.h: define a proper ShareContainer::value_type
17999 type (and use typename to please compaq cxx)
18001 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18003 * lyxparagraph.h: move serveral local vars to
18004 ParameterStruct/ParagraphParameters., use ShareContainer in
18005 FontTable., make vars in FontTable private and add getter and
18008 * paragraph.C: changes because of the above.
18010 * lyxfont.h: remove copy constructor and copy assignment. (the
18011 default ones is ok), move number inside FontBits. move inlines to
18014 * lyxfont.C: add number to initializaton of statics, move several
18015 inlines here. constify several local vars. some whitespace
18016 cleanup. Dont hide outerscope variables.
18018 * Spacing.h: add two new constructors to match the set methods.
18020 * ShareContainer.h: new file, will perhaps be moved to support
18022 * ParameterStruct.h: new file
18024 * ParagraphParameters.h: new file
18026 * ParagraphParameters.C: new file
18028 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18029 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18031 * BufferView_pimpl.C: ParagraphParameter changes.
18032 * buffer.C: Likewise.
18033 * bufferview_funcs.C: Likewise.
18034 * text.C: Likewise.
18035 * text2.C: Likewise.
18037 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18039 * lyxfind.C (LyXReplace): do not redefine default argument in
18041 (IsStringInText): ditto
18042 (SearchForward): ditto
18043 (SearchBackward): ditto
18045 2001-03-06 Juergen Vigna <jug@sad.it>
18047 * lyxfind.C (IsStringInText): put parentes around expressions.
18049 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
18051 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18053 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
18055 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18057 * stl_string_fwd.h: add comment
18059 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18062 * tabular.C: remove unused DocBook methods
18068 killed DO_USE_DEFAULT_LANGUAGE
18070 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18072 * lyx_gui.C: do not include language.h.
18074 * bufferview_funcs.C (ToggleAndShow): do not provide optional
18075 arguments in function implementation.
18077 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18079 * BufferView_pimpl.C: add <ctime>
18081 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18083 * BufferView_pimpl.C: add using std::find_if
18085 2001-02-27 José Matos <jamatos@fep.up.pt>
18087 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18090 2001-02-11 José Matos <jamatos@fep.up.pt>
18092 * buffer.C (makeDocBookFile): command styles now have a parameter as
18093 "title" by default.
18095 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18097 * layout_forms.[Ch]: removed
18098 * lyx_cb.[Ch]: out character
18099 * lyx_gui.C: out character
18100 * lyx_gui_misc.C: out character
18101 * bufferview_funcs.C: : out character,
18102 added toggleall as parameter in ToggleAndShow
18104 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18106 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18108 * text2.C (SetCurrentFont): Disable number property at boundary.
18110 2001-02-26 Juergen Vigna <jug@sad.it>
18112 * lyxfunc.C (getStatus): added a string argument override function so
18113 that this is correctly called from LyXFunc::Dispatch if it contains a
18114 do_not_use_argument which is used!
18115 (Dispatch): added check for "custom" export and call appropriate func.
18117 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18119 * lyxrc.C: Add language_command_local, language_use_babel and
18120 language_global_options.
18122 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18124 * buffer.C (makeLaTeXFile): Use language_use_babel and
18125 language_global_options.
18127 2001-02-23 Juergen Vigna <jug@sad.it>
18129 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18130 which works with LyXText and putted it inside BufferView. Here now we
18131 only call for that part the BufferView::Dispatch() function.
18133 * BufferView.C (Dispatch): added.
18135 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18136 functions which needs to use a LyXText over from LyXFunc.
18137 (MenuInsertLyXFile): added
18138 (getInsetByCode): added
18139 (moveCursorUpdate): added
18140 (static TEXT): added
18142 2001-02-22 Juergen Vigna <jug@sad.it>
18144 * BufferView_pimpl.C (update): call a status update to see if LyXText
18147 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18149 * vc-backend.C (revert): implement for CVS
18150 (getLog): implement for CVS
18152 2001-02-20 Juergen Vigna <jug@sad.it>
18154 * text2.C (ClearSelection): added BufferView param for inset_owner call
18156 * lyxfunc.C (TEXT): added this function and use it instead of
18157 directly owner->view()-text of getLyXText().
18159 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18161 * src/layout_forms.C: out preamble
18162 * src/layout_forms.h: out preamble
18163 * src/lyx_cb.C: out preamble
18164 * src/lyx_cb.h: out preamble
18165 * src/lyx_gui.C: out preamble
18166 * src/lyx_gui_misc.C: out preamble
18167 * src/lyxfunc.C: connect with guii preamble
18169 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18171 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18173 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18175 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18176 whether to run bibtex.
18178 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18180 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18182 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18184 * Makefile.am (lyx_SOURCES): removed bibforms.h
18186 * vspace.h: doxygen
18188 * text.C (GetVisibleRow): make several local vars const
18190 * tabular.C: small cleanup.
18192 * lyxserver.C (callback): use compare instead of strncmp
18194 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18195 inlines to after class or to paragraph.C
18197 * lyxfont.h: remove friend operator!=
18199 * converter.h: move friend bool operator< to non friend and after
18202 * combox.h: small cleanup
18204 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18205 to inlines after class def.
18207 * buffer.C (pop_tag): use string operations instead of strcmp
18209 * bmtable.c: doxygen, small cleanup
18211 * LaTeX.h: remove friend operator==
18213 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18225 * BufferView_pimpl.C:
18226 * BufferView.[Ch]: remove cruft
18228 2001-02-14 Juergen Vigna <jug@sad.it>
18230 * lyxfunc.C: removed #if 0 unused code
18232 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18234 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18236 * text2.C (SetSelection): added a BufferView * parameter
18238 2001-02-13 Juergen Vigna <jug@sad.it>
18240 * lyxfunc.C (Dispatch): fixed protected blank problem.
18241 * BufferView2.C (protectedBlank): added LyxText * parameter.
18243 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18244 (AppendColumn): same as above for column_info.
18246 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18247 (moveCursorUpdate): use a LyXText param for support of InsetText.
18249 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18250 (tripleClick): ditto
18252 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18254 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18256 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18258 * text2.C (SetSelection): set correct update status if inset_owner
18259 (ToggleFree): ditto
18261 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18263 * tabular.C: remove some commented code.
18265 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18267 * BufferView_pimpl.C: call hideSplash()
18269 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18272 * bibforms.h: remove
18275 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18276 add LFUN_CHILD_CREATE
18278 * counters.h: fix tiny typo
18283 * lyx.C: move splash to frontends/xforms/
18285 * lyx_gui_misc.C: move Include and Bibform to frontends
18287 * lyxvc.h: clarify comment
18289 * vspace.C: tiny housekeeping
18291 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18293 * text.C (PrepareToPrint): RTL Fix.
18295 * paragraph.C (GetUChar): New method.
18296 (String): Use GetUChar.
18298 * buffer.C (asciiParagraph): Use GetUChar.
18300 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18302 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18304 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18307 * buffer.C: rename to getLogName(), handle
18308 build log / latex log nicely
18310 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18313 * MenuBackend.h: remove support for reference menuitem type.
18315 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18317 * BufferView_pimpl.C: housekeeping
18318 * BufferView_pimpl.h:
18323 * minibuffer.h: move Timeout GUI-I
18325 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18327 * lyxrc.C (read): Update converters data-structures.
18329 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18331 * LaTeX.h (operator!=): add operator != for Aux_Info
18333 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18335 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18337 * LaTeXLog.C: deleted, useful code moved to Buffer
18340 * buffer.C: new function getLatexLogName()
18346 * lyxfunc.C: use frontends for LaTeX and VC logs
18348 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18350 * LaTeX.h: yet another std:: that Allan forgot.
18352 * Variables.C (set): renamed from isset(), because this clashes
18353 with some HP-UX macros (grr).
18355 2001-02-06 Allan Rae <rae@lyx.org>
18357 * LaTeX.h: Another bug fix. Missing std:: this time.
18359 2001-02-04 Allan Rae <rae@lyx.org>
18361 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18362 floats problem. I've left it commented out because it's not quite
18363 correct. It should also test that the current object is a table or
18364 figure inset. But I haven't gotten around to figuring out how to do
18365 that. I *think* it'll be something like: "table" == inset.type()
18367 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18370 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18372 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18373 all the citation/databases/styles in the auxilary file.
18374 (run): Rerun latex if there was a babel language error.
18376 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18378 * text.C (Backspace): Preserve the font when changing newline char
18380 (BreakParagraph): If the cursor is before a space, delete the space.
18382 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18384 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18386 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18387 new argument (code).
18388 (ChangeCitationsIfUnique): New method.
18390 * paragraph.C (GetPositionOfInset): Handle bibkey.
18392 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18394 * BufferView_pimpl.h: change type of Position::par_pos to
18395 LyXParagraph::size_type.
18397 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18399 * BufferView_pimpl.C (savePosition, restorePosition): Write
18400 messages to minibuffer.
18402 2001-01-28 José Matos <jamatos@fep.up.pt>
18404 * buffer.C (makeDocBookFile): adds support for document language.
18405 A silly restriction on the name of LatexCommand types where removed.
18406 Added support for CDATA sections, allows to chars unescaped, used
18407 among others in code, to avoid escape < and >.
18409 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18411 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18412 saved positions instrad of a stack. Furthermore, a position is
18413 stored using paragraph id/paragraph position.
18415 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18416 Remove LFUN_REF_BACK.
18418 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18420 * converter.C (dvipdfm_options): New method.
18422 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18424 * vspace.C (isValidLength): Fix for empty input string.
18426 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18428 * LyXAction.C (init): change description of LFUN_FIGURE to
18431 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18433 * LaTeX.C: add using directive
18435 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18437 * MenuBackend.C (expand): Fix the sorting of the formats.
18439 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18441 * lyx_main.C: tiny error message fix
18443 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18445 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18446 calling fl_initialize(). This fixes the problem with ',' as
18447 decimal separator in text files.
18449 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18451 * trans.C (process): Fix the keymap bug.
18453 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18455 * LaTeX.C (scanAuxFiles): New method. Provides support for
18456 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18457 (scanLogFile) Scan for "run BibTeX" messages.
18459 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18460 OT1 font encoding. Also, load the aecompl package if the ae
18463 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18465 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18467 * texrow.C (increasePos): turn two error messages into debug
18470 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18472 * LaTeX.C (scanAux): Handle the \@input macro.
18473 (runBibTeX): Use scanAux().
18475 * language.C (latex_options_): New field.
18477 * LaTeXFeatures.C (getMacros): Add language macros.
18479 * buffer.C (makeLaTeXFile): Small fix.
18481 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18483 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18485 * text2.C: add a using directive.
18487 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18492 * lyxfunc.C: kill LyXBell.
18494 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18496 * text.C (IsBoundary): Remove the error message
18498 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18500 * lyxrc.C (setDefaults): Correct initialization value for
18503 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18505 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18508 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18509 and GotoNextNote().
18511 * src/LyXAction.C: Added reference-next.
18513 * text.C (InsertChar): Use contains instead of strchr.
18515 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18517 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18519 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18520 alignment commands (when needed).
18522 * text.C (InsertChar): Add ':' to number separator chars.