1 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
4 do not remove it (this inset behaves differently from the others).
6 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10 * BufferView_pimpl.C (getStatus): it is only possible to insert a
13 * buffer.C (readDocument): remove pit argument and code releated
14 to it; set the inset owner correctly (unrelated, but useful).
15 (readFile): get rid of pit argument.
17 * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
18 textclass instead of a selection index.
19 (pasteParagraphList): new function.
20 (pasteSelection): make it a wrapper around pasteParagraphList.
22 * BufferView_pimpl.C (MenuInsertLyXFile): use
23 cap::pasteParagraphList to insert a file.
25 2005-11-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
27 * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
29 2005-11-17 Michael Gerz <michael.gerz@teststep.org>
31 * exporter.C: fix typo in text message
33 2005-11-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
35 * text2.C (setLayout): move recUndo call to other setLayout method
36 * tabular.C (toggleFixedWidth): new, handle cell width changes
37 * tabular.C (setColumnPWidth): move some code from insettabular.C here
38 and use toggleFixedWidth
39 * tabular.C (setMColumnPWidth): ditto
41 2005-11-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
43 * paragraph.C (asString): use new inset->textString method (fix
46 2005-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
48 * CutAndPaste.C (numberOfSelections): new helper function.
50 * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
52 * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
53 LyXFunc::getStatus; implement LFUN_PASTE.
55 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
57 * dociterator.[Ch]: new member realInset() that returns the cell
58 for tabulars and the inset for the rest (bug 1952).
59 * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
62 2005-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
64 * text.C (leftMargin): honor the NextNoIndent tag in layouts.
66 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
70 * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
73 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
75 * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
76 line after typing ctrl-enter
78 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
80 * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
81 math insets do not return a proper editable() state yet (bug 2124).
83 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
85 * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for
86 docs containing very large paragraphs.
88 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
90 * cursor.C (selectionBegin, selectionEnd):
91 * text.C (drawSelection): Fix bug 2115: assertion when anchor and
92 cursor at different depths.
94 2005-11-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
96 * bufferview_funcs.C (coordOffset): do not call cursorPos
97 for collapsed collapsables (fix bug 2094).
99 2005-11-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
101 * paragraph.C (fontSpan): make sure that the FontSpan does not
102 span across beginOfBody (bug 1947).
104 2005-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
106 * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
108 2005-11-03 Michael Gerz <michael.gerz@teststep.org>
110 * messages.C: fix crash and localization on MinGW/Windows platform
112 2005-11-02 Angus Leeming <leeming@lyx.org>
115 * lyxtextclass.C: trivial fixes to some MSVS warnings.
117 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
119 * text3.C (getStatus): re-enable disabled code. (bug 2081)
121 * BranchList.h (empty): constify.
123 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
125 * text3.C (getStatus):
126 * MenuBackend.C (expandBranches): take the branch list from the
127 master document (bug 2092).
129 * MenuBackend.C (expandBranches):
130 * bufferparams.C (writeFile): use BranchList type.
132 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
134 * text3.C (dispatch, getStatus):
135 * LyXAction.C (init):
136 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
138 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
140 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
142 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
144 * text.C (insertChar): do not reset boundary (bug 2061)
146 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
148 * dociterator.C (updateInsets): new method. Updates the inset_
149 cache of all the slices of the iterator.
151 * text2.C (deleteEmptyParagraphMechanism): compare also containing
152 insets when comparing pit/pos; pass the right cursor to
153 recordUndo; when a paragraph has been deleted, compare `old.top()' to
154 the right cursor slice of `cur'; use updateInsets on cur to make
155 sure that the inset caches are correct; general cleanup.
157 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
159 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
160 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
161 containg inset. If this does not work, the same command will be
162 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
164 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
167 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
169 * lyxtextclass.C (Read): convert layout file if the format is wrong
170 * lyxtextclass.C (layout2layout): new, needed for the above
172 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
174 * messages.C: do not forget to include <cerrno>.
176 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
178 * dociterator.h (StableDocIterator): add access to pos().
179 * undo.C (samePar): new method to check if two
180 iterators are in the same paragraph
181 * undo.C (recordUndo): check for samePar instead of cell identity
182 (which includes pos() and is too strict) (fixes bug 2097)
184 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
186 * text.C (setCursorFromCoordinates): return a bool telling whether
189 * text3.C (cursorPrevious): update if needed after
190 setCursorFromCoordinates (when dEPM triggered).
192 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
193 (otherwise the anchor may be completely wrong and make dEPM assert).
195 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
197 * buffer.C: version upgrade to 245.
198 * bufferparams.C: remove \quotes_times (bug 2090).
199 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
200 quotation marks as default.
202 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
204 * CutAndPaste.C (nrOfParagraphs): remove (unused)
205 * CutAndPaste.C (cutSelection): Remove debug message
206 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
207 undo information and only copy if this is a real cut
208 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
210 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
212 * CutAndPaste.C (eraseSelection): prevent cursor corruption
213 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
214 superflous cur.selection() setting
215 * CutAndPaste.[Ch] (grabSelection): take a const cursor
216 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
218 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
220 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
223 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
225 * BufferView_pimpl.C: comment layout change
227 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
231 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
232 by bibliography managers (bug 2071).
234 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
236 * BufferView_pimpl.C (update): choose arguments to update call so
237 that single-par update works most times
238 * text3.C (dispatch): carefully tune updating separately for
239 whole-screen and current-paragraph
240 * rowpainter.C (paintText): 1) replace painting by caching for
241 the two extra paragraphs, because we can;
242 2) suppress greying out of areas below/above drawn area in case of
244 * lyxfunc.C (dispatch): remove superfluous update
245 * LyXAction.[Ch]: introduce SingleParUpdate
247 2005-10-05 Angus Leeming <leeming@lyx.org>
249 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
250 always initialised before use.
252 * text.C (setHeightOfRow): squash warning about comparison
253 of signed and unsigned types.
255 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
257 * text.C (cursorX): two fixes involving RtL text drawing
259 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
261 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
262 items, not only large ones (part of bug 2057)
264 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
266 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
267 argument, use "newcommand".
269 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
271 * cursor.C (setSelection): do not open collapsable insets;
272 the insets do by themselves now (autoopen).
274 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
276 * buffer.C: format is up to 244.
278 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
280 * text.C (redoParagraph): fix calcultation of inset width wrt
281 leftMargin (bug 1957).
283 * text3.C (dispatch): leave inset to the right when hitting ESC
286 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
291 * messages.C: include <boost/current_function.hpp>
293 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
295 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
296 when command is internal. (bug 1941)
298 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
300 * text2.C (cursorRight): do not honor boundary when at the end of
301 a paragraph. (bug 2010 again)
303 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
305 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
307 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
309 * rowpainter.C (paintText): fix RtL space width display bug (2029)
311 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
313 * text2.C (setCursor): remove the unused 'boundary' parameter for
314 the CursorSlice version; adapt the LCursor version.
317 * paragraph_pimpl.C (markErased):
318 * cursor.C (bruteFind2, bruteFond3): fix warnings.
320 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
322 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
323 as is already done for "chapter".
325 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
327 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
328 textclass; do not record undo if nothing is changed.
330 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
332 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
334 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
336 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
338 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
340 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
341 combox, it is necessary to search for the topmost paragraph in the
342 cursor stack (bug 1926)
344 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
346 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
347 end of paragraph. (bug 2010)
349 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
351 * text.C (leftMargin): check for inInset == 0
353 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
355 * text.C (leftMargin): test for insetbase's new neverIndent()
356 bool instead of listing each and every inset that does not
357 wish par indendation.
359 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
361 * buffer_funcs.C (setCounter): put the code to compute enum label
362 here (where it belongs).
364 * counters.C (enumLabel): move code to buffer_funcs.C.
366 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
368 * outputparams.[Ch]: store local_font instead of local_language
369 * paragraph.C (simpleTeXOnePar): adapt to the change above
371 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
374 * counters.[Ch]: clean up special code for Hebrew.
376 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
378 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
381 2005-09-08 Angus Leeming <leeming@lyx.org>
384 * lyxrc.C: correct grammar describing invocation of the
387 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
389 * text.C (read): remove unused variable.
390 (readParToken): remove static Change variable (never good in
391 recursive settings...); add it as a parameter instead.
393 * paragraph_pimpl.C (acceptChange): make debug info conditional.
395 * metricsinfo.C (PainterInfo): add new member erased_.
397 * rowpainter.C (RowPainter): add erased_ member, initialized from
399 (paintInset): pass erased_ to Inset::draw.
401 * lyxfunc.C (lookupChange): new function. Tells whether change
402 tracking is disabled at a given postion.
403 (getStatus): disable some actions when in deleted text with change
406 2005-08-03 John Levon <levon@movementarian.org>
408 * tabular.C (appendColumn, setMultiColumn): adapt to change to
411 * paragraph_pimpl.C (markErased): add bool argument and handle it.
412 Also make sure to mark insets recursively.
413 (rejectChange, erase): be recursive
415 * paragraph.C (markErased): add bool argument.
416 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
418 * lyxfind.C (findNextChange): tiny cleanup.
420 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
421 change tracking with the cursor in an inset; make sure the first
422 change is not skipped.
424 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
426 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
427 tabularStackDirty to work around bug 1919 (tabular needs
428 to know whether its own cell paste buffer or the one of
430 * CutAndPaste.C: mark tabular_stack_ clean after copy.
432 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
434 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
436 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
438 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
439 use old deleteion algorithm when changetracking is on.
441 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
443 * messages.C (get): add debug output.
445 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
447 * text.C (cursorX): fix bug 1965: cursor movement at
448 line end broken in RtL.
449 (drawSelection): fix bug 1970: drawing of single-line
450 selection broken for RtL.
452 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
456 * dociterator.h (clear, push_back, pop_back): change from
459 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
460 and changed to just return the value of the item depth; take a
461 ParIterator as argument; take the itemdepth at outer nesting level
462 in account if necessary; cleanup and comment the code.
463 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
464 and changed to just return true if reset is needed; take a
465 ParIterator as argument; cleanup and comment the code.
466 (setCounter): adapt to above changes.
468 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
470 * text3.C (dispatch): make debug message optional
472 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
474 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
477 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
479 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
481 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
483 * text.C (insertChar):
484 * text2.C (deleteEmptyParagraphMechanism): take care whether
485 a blank has been deleted (in change tracking mode) (bug 1254).
487 2005-07-20 John Levon <levon@movementarian.org>
489 * text2.C (insertStringAsLines): remove old dubious code,
492 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
494 * MenuBackend.C (expandToc): use Floating::listName() as title of
497 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
499 * toc.[Ch]: Do not use translatable strings (bug 1870).
501 2005-07-20 John Levon <levon@movementarian.org>
503 * tabular.C: fix 1748 - setting multicolumn adds
504 left line to the first cell
506 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
509 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
512 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
514 * messages.C: supress some lyxerr messages
516 2005-07-18 Juergen Vigna <jug@lyx.org>
518 * text.C (drawSelection): honor boundary when asking for cursorX.
520 2005-07-17 José Matos <jamatos@fc.up.pt>
522 * tabular.C (recalculateMulticolumns): fix handling of one column
525 2005-07-17 Juergen Vigna <jug@lyx.org>
527 * text.C (Delete, backspace): fixed so that paragraph with the
528 same layout can be merged by Delete/Backspace.
530 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
532 * text.C (readParToken): fix spelling.
534 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
536 * text2.C: fix counter update for DEPM problem reported by
539 2005-07-17 Juergen Vigna <jug@lyx.org>
541 * BufferView_pimpl.C (setBuffer): save/restore the
542 cursor/selection when switching buffers
545 * buffer.C (saveCursor): add saveDocumentIterators to save the
546 cursor when switching buffer.
548 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
551 * buffer.C: clarify message
553 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
555 * dociterator.C (DocIterator): fix initialization order
557 2005-07-17 Juergen Vigna <jug@lyx.org>
559 * text2.C (cursorHome):
560 * text.C (drawSelection, cursorX):
561 * dociterator.C (textRow): add boundary to getRow() call
563 * paragraph.C (getRow): implementation of below
565 * paragraph.h: add parameter boundary for getRow() function
567 2005-07-17 José Matos <jamatos@fc.up.pt>
571 * tex-strings.[Ch]: new file format, remove support for a4.sty,
572 a4wide.sty and a4widemargins.
574 2005-07-17 Juergen Vigna <jug@lyx.org>
576 * text2.C (cursorLeft): fix one of error
578 2005-07-17 Juergen Vigna <jug@lyx.org>
580 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
582 more fixes for boundary handling
584 * text3.C (dispatch): don't reset cursor if boundary has changed
587 2005-07-16 Juergen Vigna <jug@lyx.org>
589 * text2.C (getColumnNearX): hopefully got it right now,
590 check if we are on column 0 for special case.
592 2005-07-16 Juergen Vigna <jug@lyx.org>
594 * text2.C (getColumnNearX): handle special case Newline Inset
596 * text.C (singleWidth): Just remove bogus check
598 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
600 * funcrequest.C (split): avoid reading uninitialized char c
602 2005-07-16 José Matos <jamatos@fc.up.pt>
608 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
609 single papersize variable.
611 2005-07-16 Juergen Vigna <jug@lyx.org>
613 * text3.C (dispatch): honor boundary when checking if a cursor
614 movement has been done
616 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
617 (setCursor, setCursorIntern): fix cursor movement with boundary
619 2005-07-16 Juergen Vigna <jug@lyx.org>
621 * text.C (currentState): output the actual Boundary
623 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
625 * factory.C (createInset): fix bad logic for tabular creation
627 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
629 * lyx_main.C (init): change some reLyX reference to tex2lyx
631 2005-07-16 Juergen Vigna <jug@lyx.org>
633 * dociterator.C (DocIterator): initialize boundary
635 2005-07-16 Juergen Vigna <jug@lyx.org>
637 * text2.C (getColumnNearX): Consider rows without trailing blank.
639 2005-07-16 André Pönitz <poenitz@gmx.net>
641 * lyxfont.h: Change order of declarations to give the compiler
642 a better chance to inline things
644 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
645 questions on unsaved docs for better scritability
647 2005-07-16 André Pönitz <poenitz@gmx.net>
649 * paragraph.h (getChar): remove asserts as the same kind of security
650 can be achieved by using a suitable standard library implementation
651 and the function was in the critical path (25.9% in profiler)
653 2005-07-16 Juergen Vigna <jug@lyx.org>
655 * cursor.C (bruteFind2):
656 * bufferview_funcs.C (coordOffset):
657 * text.C (cursorX,cursorY): Handle cursor position after last char
658 in row before a inset which uses a whole row.
660 2005-07-15 José Matos <jamatos@lyx.org>
662 * output_plaintext.[Ch] (writeFileAscii): control reference title
664 (asciiParagraph): noparbreak was already deal and was incorrectly
667 2005-07-15 Juergen Vigna <jug@lyx.org>
669 * lyxfunc.C (dispatch): save and restore the cursor after a
672 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
674 * text.C (backspace): bug 806 for empty keepempty paragraphs we
675 change the layout to default before letting DEPM do its thing.
677 * paragraph_funcs.C (breakParagraph): dont reset the layout on
680 * text.C (setCursorFromCoordinates): add a debug statement
682 * text2.C (getColumnNearX): bug 1825 make sure that we don't
683 return a pos that is not on the row
685 * output_latex.C (TeXDeeper): get rid of potential dereferencing
686 of past the end iterator
688 2005-07-14 André Pönitz <poenitz@gmx.net>
690 * undo.C (recordUndoFullBuffer): implement undo for
693 2005-07-14 André Pönitz <poenitz@gmx.net>
695 * cursor.C (setSelection): open insets when selection is set there
696 to avoid crashs with cold coord cache
698 2005-07-14 André Pönitz <poenitz@gmx.net>
700 * trans_mgr.C (insert): move cursor to the right after inserting
703 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
705 * BufferView_pimpl.C (update): dampen some of the debug blabbering
706 * factory.C (readInset): ditto
707 * text.C, text2.C: ditto
709 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
711 * buffer.C: format incremented to 242. There is no file format per
712 se, but the "frenchb" language has been removed from lib/language
713 and has to be translated to "french" by lyx2lyx.
715 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
717 * cursor_slice.h, dociterator.h: add some documentation
718 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
720 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
722 * text.C (leftMargin): do not add identation to display() style
723 insets, because they are always centered (bug 1293).
725 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
727 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
728 formatted_time methods in support/lyxtime.
730 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
732 * toc.[Ch]: new method getGuiName, which is used by the frontends
733 to set the toc combo (fixes bug 1870). Make TOC string translatable.
735 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
737 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
738 StableDocIterator const &)
739 * undo.C (recordUndo): use the above instead of cell.size() comparison
740 (fixes bug 1808; instructed by Andr�.
742 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
745 * dociterator.h: Fix the assert when copying rows/cols in math
747 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
749 * BufferView_pimpl.C:
751 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
753 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
754 (findInset): new functions, refactored from goto Inset that return
755 the position of a certain inset without setting the buffer's cursor
757 (gotoInset): rewrite to call findInset and then set the cursor
760 2005-06-16 Angus Leeming <leeming@lyx.org>
762 * lyxrc.C (output, read): wrap all input and output of paths with
763 calls to os::internal_path and os::external_path, respectively.
764 (output): wrap bind_file inside quotes.
766 * format.C (view): enable the viewer to use the '$$s' placeholder.
768 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
770 * LColor.[Ch] (getFromLaTeXName): new
772 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
774 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
776 2005-06-14 Angus Leeming <leeming@lyx.org>
778 * lyx_main.C (init): ensure that the LyX binary dir is the first
779 element in the PATH on non-POSIX builds.
781 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
783 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
785 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
787 * rowpainter.C (paintInset, paintHebrewComposeChar)
788 (paintArabicComposeChar, paintChars): add a LyXFont argument.
789 (paintChars): use getFontSpan to reduce calls to getFont to a
790 minimum; use Paragraph::lookupChange instead of isXXXText.
791 (paintForeignMark): rename LyXFont argument.
792 (paintFromPos): pass a LyXFont object to the various paintXXX
795 * FontIterator.C (FontIterator, operator++): use
796 Paragraph::getFontSpan
798 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
799 version that returns the font span as a pair.
801 2005-06-09 Angus Leeming <leeming@lyx.org>
803 * converter.C (convert): Don't forget "outfile = real_outfile" as
804 the final step in a conversion where the input and output file names
805 are the same. Otherwise, future conversion steps won't work...
807 2005-06-09 Angus Leeming <leeming@lyx.org>
809 * lyxsocket.C: remove stub code as it isn't needed by
810 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
812 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
814 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
815 effectively disabled -x
817 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
819 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
820 when it actually makes sense.
822 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
824 * BufferView_pimpl.C: revert to showCursor in connection with
825 Lars's front-end stack
827 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
829 * text.C (redoParagraph): move cursor right after a bibitem
832 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
834 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
836 * buffer_funcs.C (bufferErrors): fix computation of the end of an
839 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
841 * BufferView.[Ch] (update):
842 * BufferView_pimpl.[Ch] (update, metrics):
843 * dimension.h (operator==):
844 * lyxfunc.C (dispatch):
845 * metricsinfo.h (ViewMetricsInfo):
846 * rowpainter.C (paintText):
848 * text.C (redoParagraph):
849 * text3.C (dispatch): Make LyX only repaint current paragraph in
850 case of character insert --> speedup. Also fix cursor draw
853 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
855 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
856 avoid a crash (bug 1891)
858 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
862 * text2.C (getStringToIndex): constify cur argument.
864 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
865 argument has been given
866 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
867 try to invoke LFUN_INSET_APPLY).
869 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
870 if no inset was created by doInsertInset
871 (doInsertInset): return true if an inset has been inserted.
873 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
875 * vspace.C (asGUIName): new method. A version of the space
876 suitable for showing on screen.
878 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
881 * lyxrc.C: rename "ASCII" to "Plain Text"
883 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
885 * buffer_funcs.C (expandLabel): take a Buffer as argument;
886 translate the labelstring.
887 (setCounter): translate labelstring as needed.
889 * output_docbook.C (makeCommand): fix expandLabel invokation
891 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
893 * BufferView.C: fix dialog title
895 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
897 * lyx_main.C (priv_exec): fix logic error with help from Angus
898 * lyx_main.C (parse_execute): set is_gui = false and remove now
899 obsolete comment about a segfault
901 2005-05-18 Angus Leeming <leeming@lyx.org>
903 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
905 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
907 * tabular.[hC]: added setCellInset to fix tabular paste.
909 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
911 * buffer.C (save): check if destination is writable before trying
914 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
916 * BufferView_pimpl.C (update): fix processEvents -caused update
919 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
921 * buffer_funcs.C (setCounter): fix test for numbering of
924 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
925 depth correctly; use optional argument when it exists
927 * lyxtextclass.C: remove unused MaxCounterTags enum
928 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
929 (max_toclevel, min_toclevel): new methods.
931 * MenuBackend.C (expandToc2): fix case where depth is smaller than
932 the smallest depth in toc.
934 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
935 layouts that should not appear in a table of contents.
937 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
939 * cursor.h (undispatched, noUpdate): add comments from Andr�
940 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
944 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
946 2005-05-07 André Pönitz <poenitz@gmx.net>
948 * cursor.[Ch] (leaveInset): new function
950 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
952 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
954 2005-05-04 Angus Leeming <leeming@lyx.org>
956 * lyxfunc.C (getStatus): disable the spell checker dialog if
957 none of USE_[AIP]SPELL are defined.
959 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
961 * tabular.C (setWidthOfCell): remove obsolete comment
963 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
965 * paragraph.C (bibitem):
966 * buffer_funcs.C (setCounter):
967 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
969 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
971 * text3.C (getStatus): immediately return after setOnOff
973 * rowpainter.C: fix drawing of appendix start
975 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
977 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
978 SwitchBetweenClasses and remove the unused return value.
979 Handle character styles, too
981 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
983 * factory.C (createInset): handle undefined character styles
985 2005-05-02 Angus Leeming <leeming@lyx.org>
987 * buffer.C: protect the #include of utime.h with a preprocessor
990 2005-05-02 Angus Leeming <leeming@lyx.org>
992 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
993 function so that auto-saving works, albeit in a blocking manner.
995 * Makefile.am: make compilation of the client sub directory, of
996 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
997 on conditionals set at configure time.
999 * SpellBase.[Ch]: no longer an abstract base class. Instead,
1000 it can be compiled in its own right but has no-op functionality.
1002 * aspell.C, pspell.C: remove preprocessor guards. The files should
1003 be compiled only if the necessary functionality exists.
1005 * lyxserver.C, lyxsocket.C: disable on Windows.
1007 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
1009 * text.C (leftMargin): Fix the parindent use bug (1764)
1012 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
1014 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1017 2005-04-25 Angus Leeming <leeming@lyx.org>
1025 include <config.h> in .C files, not .h ones.
1027 protect headers inside preprocessor guards.
1029 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1031 * FuncStatus.h (StatusCodes): document
1033 2005-04-21 André Pönitz <poenitz@gmx.net>
1035 * FuncStatus.h (enabled, onoff): document
1037 2005-04-19 Angus Leeming <leeming@lyx.org>
1039 * BufferView_pimpl.C (cursorToggle): no longer test whether
1040 any child processes have been reaped before calling
1041 handleCompletedProcesses().
1043 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
1045 * text3.C (dispatch): fix, finally fix, the language problem in
1046 new lyxtexts, without disabling on-the-fly font changes (Helge's
1049 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1051 * text3.C (dispatch): set cursor on double/triple click events
1054 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1056 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1057 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1059 * rowpainter.C (paintFirst): simplify the code a little bit. In
1060 particular, remove the test for secnumdepth.
1061 * text.C (setHeightOfRow): only allocate space for chapter number
1062 when updateCounters provided an actual label, instead of looking
1063 at secnumdepth directly.
1065 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1067 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1068 paragraphs when secnumdepth is large enough or, for environments,
1069 when they are not the first in a sequence.
1071 2005-04-17 Angus Leeming <leeming@lyx.org>
1073 * buffer.C (makeLaTeXFile): replace code to manipulate a path
1074 containing space and '~' characters with a call to latex_path().
1076 2005-04-17 Angus Leeming <leeming@lyx.org>
1078 * converter.C (convert): protect all args of convertDefault.sh
1081 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1083 * text3.C (dispatch): change the layout to "Caption" after inserting
1086 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1088 * text3.C (dispatch): fix language problem in newly created
1089 textinsets (and main text) in non-english docs
1091 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1093 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1094 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1095 * text3.C (getStatus): disable LFUN_INSET_MODIFY
1097 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1101 * text2.C (getFont):
1102 * rowpainter.C (getFont): Fix metrics bug introduced by inset
1105 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1107 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1108 output of \item arguments without trailing text.
1110 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1112 * FontIterator.C (operator*): avoid a copy of the font.
1114 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1116 * rowpainter.C (getFont): fix language bug from previous fix
1118 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1120 * rowpainter.C (RowPainter, getFont): fix font inside inset
1123 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1125 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1126 preventing inserted font, deco, delim insets jumping to start of
1129 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1131 * lyxfunc.C (dispatch): translate message before sending it to the
1134 2005-03-29 Angus Leeming <leeming@lyx.org>
1136 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1137 to LyX on the command line.
1139 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1141 * vc-backend.C: use QuoteName to protect file names wherever
1144 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1147 * BranchList.h: fix bugs 1844,1845: document settings don't
1150 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1152 * lyxrc.C (setDefaults, read, output, getDescription): add support
1153 for tex_allows_spaces.
1155 * exporter.C (Export): allows files in directory containing spaces
1156 if tex_allows_spaces is true.
1158 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1159 output it in double quotes.
1161 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1163 * rowpainter.C: use default text height for drawing change tracker
1166 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1168 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1170 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1172 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1173 directory is missing.
1175 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1177 * text2.C: fixed the fix, extended to other case.
1179 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1181 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1183 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1185 * text2.C (cursorUp): get rid of a crash
1186 * text.C (x2pos): add an assert
1188 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1190 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1194 * dociterator.C: include <boost/current_function.hpp>, which is
1195 needed when assertions are disabled.
1197 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1199 * text2.C: fix for stuck cursor when traversing two
1200 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1202 2005-02-25 Andreas Vox <avox@arcor.de>
1204 * output_docbook.C (makeParagraph): suppress trailing newline
1205 after a run of paragraphs
1207 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1209 * paragraph.C: fix for confused change tracker when pasting
1210 text that begins with a lineseparator. [bug 1827]
1211 (setChange(0, Change::INSERTED);)
1213 * paragraph_funcs.C: fix for lost changes on triple-paste
1214 in change tracking mode [bug 1827] (par.setChange()).
1216 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1218 * text2.C (updateCounters, setCounter, expandLabel): move to
1221 * buffer_funcs.C (updateCounters): turn into a free standing
1222 function and add a buffer parameter. Remove dead code for tracking
1224 (setCounter): change into a free-standing function which gets a
1225 dociterator as argument. Use this iterator to fix captions in a
1226 simple way. When no float is found above the caption, use the
1227 labelstring of the caption layout as default.
1229 * text.C (breakParagraph, backspace):
1230 * text2.C (init, setLayout, changeDepth):
1231 * text3.C (dispatch):
1232 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1235 * dociterator.C (forwardPar): make it much faster by calling
1236 forwardPos() only when really necessary.
1238 * output_docbook.C (makeCommand): adapt to expandLabel move.
1240 * cursor.C: remove unused variable
1242 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1244 * paragraph_funcs.C: fix crash when pasting insets in change
1245 tracking mode [bug 1277] (honour change type in moveItem).
1247 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1249 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1251 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1253 * BufferView.C (setCursor): change to use a DocIterator.
1254 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1255 (putSelectionAt): adapt to BufferView::setCursor change.
1257 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1258 moved here from LyXText and rewritten to use proper cursor
1259 methods. Fixes bug 1787, 616 and 835.
1261 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1262 when inside an inset (part of bug 781).
1263 (dispatch): adapt to change of BufferView::setCursor.
1264 (getStatus, dispatch): handle LFUN_GOTOERROR,
1265 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1267 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1268 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1269 * text3.C (gotoNextInset, gotoInset): removed.
1271 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1273 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1275 2005-02-15 Angus Leeming <leeming@lyx.org>
1277 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1278 can be used meaningfully in a comparison.
1280 2005-02-13 André Pönitz <poenitz@gmx.net>
1282 * bufferview_funcs.C (coordOffset): improve cursor drawing
1284 2005-02-13 André Pönitz <poenitz@gmx.net>
1286 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1287 * Cursor.C (dispatch): use fixIfBroken
1288 * lyxfunc.C (getStatus): use fixIfBroken
1290 2005-02-15 Angus Leeming <leeming@lyx.org>
1292 * lyx_main.C (error_handler):
1294 * lyxrc.C (setDefaults):
1296 #include "environment.h".
1298 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1300 2005-02-15 Angus Leeming <leeming@lyx.org>
1302 * lyxserver.C (startPipe): squash MSVC warning "local variable
1303 'fd' used without having been initialized".
1305 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1307 * BufferView_pimpl.C: revert accidental commit.
1309 2005-02-14 André Pönitz <poenitz@gmx.net>
1311 * dociterator.[Ch]: new member forwardPosNoDescent(),
1312 which doesn't enter nested insets.
1313 * text2.C (setFont): use forwardPosNoDescent() instead
1314 of ForwardPos() (fixes crash on font change).
1316 2005-02-13 Angus Leeming <leeming@lyx.org>
1318 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1319 only if lyxrc.path_prefix is not empty.
1321 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1323 * bufferparams.C (readGraphicsDriver): prevent crash
1325 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1327 * text2.C (setCounter): check for inInset() == 0
1329 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1331 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1332 but use update() to get correct screen display; use convert
1333 instead of istringstream.
1334 (getStatus): handle LFUN_GOTO_PARAGRAPH
1336 * lyxfunc.C (dispatch, getStatus): do not handle
1337 LFUN_GOTO_PARAGRAPH here.
1339 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1341 * text3.C (dispatch): size() -> depth()
1343 * text2.C: remove some debug output
1345 * paragraph.C: ws changes only
1347 * lyxfunc.C (getStatus): size() -> depth()
1349 * dociterator.h (clear, push_back, pop_back, internalData,
1350 operator[], resize, empty): new functions
1351 Make StableDocIterator and operator== be friends. Don't inherit
1352 from std::vector use a privat class variable slices_ instead.
1355 * dociterator.C: update because of not inheriting from std::vector
1356 anymore. Call explictly to slices_ instead. Use depth() instead of
1357 size() and top() instead of back()
1359 * cursor.C: chagne size() -> depth and back() -> top(). Also
1360 remove some direct operator[](i) calls in favour of foo[i]
1361 (getFont): remove some dead code
1363 * bufferview_funcs.C (coordOffset): size() -> depth()
1365 * buffer.C: ws changes only
1367 * CutAndPaste.C (eraseSelection): back() -> top()
1369 * BufferView_pimpl.C (selectionRequested): back() -> top()
1371 * BufferView.C (setCursor): size() -> depth()
1373 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1375 * text3.C (cursorPrevious): return true if depm changed something
1377 (dispatch): rename sl to oldTopSlice, remove moving use the new
1378 NoUpdate func attrib instead. Make sure that needsUpdate is set
1379 for function that have NoUpdate, but where depm might have changed
1382 * text2.C (cursorLeft): make us return true if depm changed
1384 (cursorRight): ditto
1385 (cursorUpParagraph): ditto
1386 (curosrDownParagraph): ditto
1387 (cursorUp, cursorDown): ditto, make sure to read comments in code
1388 (deleteEmptyParagraphMechanism): remove an assert, also return
1389 true if just a single char was deleted.
1391 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1392 cursor that we modify, to avoid modifying an active cursor before
1393 we call setCursor. This allows depm to run. Also return true if
1394 depm deleted something.
1396 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1397 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1398 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1399 something was changed in the buffer because of them (ie. depm run)
1401 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1402 debug messages. Make update by default be false. Make sure that
1403 the result of update is retained throught several calls down to
1406 * LyXAction.h: add a new func_attrib: NoUpdate
1408 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1409 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1410 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1412 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1414 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1416 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1417 bv_->owner(), bv_->buffer() by direct references to the private
1419 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1420 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1421 (fitCursor): center() is in BufferView::Pimpl.
1422 (getStatus, trackChanges, dispatch): no need for a temporary buf
1424 (fitCursor, workAreaDispatch): use workarea().workheight()
1426 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1428 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1430 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1432 * buffer.C: format up to 241.
1433 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1434 break if pasting into ERT
1435 * lyxfunc.C (getStatus): suppress mathpanel and
1436 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1438 2005-02-01 Angus Leeming <leeming@lyx.org>
1440 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1442 2005-02-01 Angus Leeming <leeming@lyx.org>
1444 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1445 calling fs::is_directory().
1447 2005-01-31 Angus Leeming <leeming@lyx.org>
1449 * lyx_main.C (priv_exec): specify explicitly the relative location
1450 of the top level build directory when run in-place.
1452 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1454 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1455 LyXText containing the cursor, not the top-level one.
1457 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1459 (insertStringAsLines): rename par to pit; use temporary variable
1460 par to hold a Paragraph; do not store par.layout() in a variable,
1461 since the pointer may die when breaking paragraphs; pass pars to
1462 breakParagraph() instead of Buffer::paragraphs().
1464 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1466 * lyxlex_pimpl.h: #include <fstream>.
1468 * BufferView.[Ch] (getLyXText): add a const version.
1470 * BufferView_pimpl.C: add debug aids.
1475 * paragraph_funcs.h: add commentary explaining what the class does.
1478 * coordcache.[Ch]: add lots of commentary.
1479 (startUpdating, doneUpdating): debug aids.
1480 (arrays, insets, parPos, getParPos): accessors to private data.
1482 * cursor_slice.[Ch] (text): add a const version.
1483 * dociterator.[Ch] (text, innerText): add const versions.
1485 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1488 * paragraph.C (getRow, pos2ros): add asserts.
1490 * paragraph.h: add commentary. Lots of.
1492 * paragraph.[Ch] (metrucs, draw): removed.
1495 * rowpainter.[Ch]: const-correct changes.
1497 * text.C: various obvious clean-ups. Removal of ancient cruft.
1500 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1502 * vc-backend.C (find_file): rewrite to use boost.filesystem
1505 * main.C (main): set default name check for boost.filesystem to
1508 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1511 (actOnUpdatedPrefs): ditto
1513 * lyx_main.C (init): rewrite to use boost.filesystem
1514 (queryUserLyXDir): ditto
1516 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1517 (getContentsOfAsciiFile): ditto
1519 * lastfiles.C (readFile): rewrite to use boost.filesystem
1521 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1523 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1524 (loadLyXFile): ditto
1526 * buffer.C (Buffer): adjust for destroydir
1527 (getLogName): rewrite to use boost.filesystem
1528 (setFileName): ditto
1529 (save): use fs::copy_file (from fs_extras)
1531 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1533 * LaTeX.C (run): rewrite to use boost.filesystem
1534 (scanAuxFiles): ditto
1535 (handleFoundFile): ditto
1537 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1539 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1541 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1543 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1545 * lyxlayout.[Ch]: change some vars from float to double
1547 * buffer.C (readFile): make a local var const
1549 * Several files: use convert<> instead of atoi,strToXXX and friends
1551 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1553 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1554 holds the contents of packages.lst. New functions getAvailable
1555 and isAvailable to parse and check that list, resp.
1559 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1561 * bufferparams.[Ch]: new param output_changes.
1563 * Buffer.C: increase file format to 240.
1564 Use output_changes and isVailable.
1568 * paragraph_pimpl.C: Use output_changes and isVailable.
1570 2005-01-23 Angus Leeming <leeming@lyx.org>
1572 * output_latex.C: #include "insetbibitem.h", rather than
1573 forward declare function bibitemWidest.
1575 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1577 * lyx_main.C (init): make it compile on the Mac.
1579 2005-01-20 Angus Leeming <leeming@lyx.org>
1581 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1582 (setLyXMisc): (char string literal) != (char string literal) is
1583 performing a comparison on the addresses. Convert one operand
1584 explicitly to string to guarantee expected behaviour.
1587 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1590 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1592 * output_plaintext.C: remove unneeded #include gzstream.h.
1594 2005-01-20 Angus Leeming <leeming@lyx.org>
1596 * SpellBase.h: rename some of the elements of the Result enum.
1603 * pspell.C (check): ditto
1605 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1607 * buffer.C: add #include <fstream>.
1609 * lyx_main.C (init): Compile fix.
1611 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1613 2005-01-20 Angus Leeming <leeming@lyx.org>
1615 * mover.h: change commentary to reflect the changed meaning of
1616 the $$s placeholder.
1618 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1620 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1622 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1624 2005-01-20 Angus Leeming <leeming@lyx.org>
1626 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1627 printing diagnostic data by not dereferecing an iterator past the
1630 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1632 * buffer.C (readHeader): use "&&" rather than "and".
1634 * lyxserver.h (inPipeName, outPipeName): make these const.
1636 2005-01-19 Angus Leeming <leeming@lyx.org>
1638 * lyx_main.C (error_handler, init): protect SIGHUP with
1639 #ifdef SIGHUP guards.
1641 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1643 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1645 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1647 * text.C (setHeightOfRow): add a margin at the top and bottom of
1648 the document (bug 1761)
1650 2005-01-17 Angus Leeming <leeming@lyx.org>
1652 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1653 with "python ". Workaround for a brain-dead Windows.
1655 2005-01-16 Angus Leeming <leeming@lyx.org>
1657 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1658 for MacOSX and Windows to use prependEnvPath.
1659 Strip out the hard-coded block to add elements to the PATH for
1660 MacOSX and replace it with a call to prependEnvPath using the
1661 contents of LyXRC::path_prefix.
1662 (queryUserLyXDir): strip out the code to run reconfigure, instead
1663 returning a boolean indicating the necessity to do so.
1664 (reconfigureUserLyXDir): contains the code to reconfigure the
1665 user support directory. Is now called after the various LyXRC data
1666 files have been read.
1668 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1670 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1672 * converter.[Ch] (convert): take a new parameter try_default. Use
1673 a default converter (imagemagick) if try_default is true.
1675 2005-01-13 Angus Leeming <leeming@lyx.org>
1677 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1678 os::cygwin_path_fix.
1679 (write): output LyXRC::cygwin_path_fix as necessary.
1681 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1684 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1686 2005-01-12 Angus Leeming <leeming@lyx.org>
1688 * lyx_main.C (init): set the PATH variable to include the
1689 directory containing the LyX binary when running on Mac or Windows.
1691 2005-01-12 Angus Leeming <leeming@lyx.org>
1693 * lyx_main.C (init): remove cruft that purports to set the locale
1694 dir. It doesn't and is not needed anyway.
1696 2005-01-10 Angus Leeming <leeming@lyx.org>
1698 * Makefile.am: remove the lyx_main.C special casing.
1700 * BufferView_pimpl.C:
1706 * messages.C: use support/package.h to provide the paths to the
1707 various directories used by LyX.
1709 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1711 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1712 layout if pasting into an empty paragraph)
1714 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1716 * tex-accent.C: add <string>
1718 2005-01-06 José Matos <jamatos@lyx.org>
1720 * ParagraphParameters.C (write): put every parameter in its own line.
1721 * paragraph.C (write): reduce number of consecutive empty lines exported.
1722 * buffer.C (LYX_FORMAT): increase file format to 239.
1724 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1726 * everywhere: change support/tostr.h -> support/convert.h
1728 * tabular.C: make all write_attributes templates, tostr -> convert
1730 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1731 (emptyTag): and -> &&, and fix type for ret from getChar
1732 (getFirstWord): fix type for ret from getChar
1733 (onlyText): and -> &&
1734 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1737 * toc.C (goTo, action):
1738 * text3.C (dispatch):
1739 * text.C (currentState):
1740 * tex-accent.C (DoAccent):
1743 * lyxfunc.C (menuNew):
1744 * lyxfinc.C (replace):
1745 * counters.C (laberItem):
1746 * bufferview_funcs.C (font2string):
1747 * bufferparams.C (writeFile):
1748 * buffer.C (readFile):
1750 * MenuBackend.C: tostr -> convert
1752 * LaTeX.C (runMessage): fix format
1753 (scanAuxFiles): tostr -> convert
1755 * BufferView_pimpl.C (savePosition): fix format
1756 (restorePosition): ditto
1759 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1761 * Spacing.[Ch]: New method getValueAsString().
1765 * ParagraphParameters.C:
1768 * text3.C: store/read spacing value as string.
1770 * rowpainter.C: change float value (spacing_val) to double.
1772 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1773 broken custom document spacing).
1775 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1777 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1778 namespace, also more use of temp references and const
1780 * cursor.[Ch] (getStatus): move to lyxfunc.C
1782 * bufferparams.C: reformat slightly
1784 * bufferview_funcs.C (font2string): constify arg
1790 * buffer_funcs.C: (many funcs): constify arg on function
1791 definitions, also make more local vars const, also add ASSERTS on
1794 * buffer.C (LYX_FORMAT): put const in correct place
1795 (many funcs): constify arg on function definitions, also make
1796 more local vars const
1798 * aspell_local.h: remove "struct" from typdef setup
1800 * aspell.C (check): make word_ok const
1801 (nextMiss): simplify slightly
1804 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1806 * lyxrc.[Ch]: store all float values as strings.
1807 use int (not float) for lyxrc.dpi.
1809 2005-01-04 Angus Leeming <leeming@lyx.org>
1811 * lyx_cb.C (Reconfigure):
1812 * lyx_main.C (queryUserLyXDir):
1813 to run the <system_lyxdir>/configure correctly on Windows, prefix
1814 the path to the script with "sh " when generating the string that
1815 is passed to system().
1817 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1819 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1821 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1823 * lyxlength.C (asLatexString): get rid of setprecision
1825 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1827 * text2.C (setLayout): remove unused variable endpit.
1828 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1830 * paragraph.C (onlyText): remove unused variable style.
1832 * cursor.C (bruteFind): remove unused variables beg and end.
1834 * Makefile.am (dist_noinset_DATA): not needed anymore
1836 * cheaders/*: remove.
1838 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1840 * text3.C: fix LFUN_MATH_MODE.
1842 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1844 * buffer_funcs.C (countWords): new function. Counts words between
1847 * BufferView_pimpl.C (getStatus, dispatch): handle
1850 * LyXAction.C (init):
1851 * lfuns.h: add LFUN_WORDS_COUNT.
1853 2004-12-19 Angus Leeming <leeming@lyx.org>
1855 * buffer.C (save): s/slashify_path/internal_path/.
1857 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1859 * lyxfind.C (findChange): do not search for end of pars, because
1860 the change tracker cannot handle this (fixes bug 1719).
1862 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1864 * paragraph.[Ch] (autoBreakRows): remove
1866 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1868 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1869 avoid using the paragraph one
1871 * text2.C (LyXText, insertStringAsLines): adjust
1873 2004-12-16 Angus Leeming <leeming@lyx.org>
1877 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1879 2004-12-14 Angus Leeming <leeming@lyx.org>
1881 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1883 * bufferlist.C (emergencyWrite):
1884 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1887 2004-12-14 Angus Leeming <leeming@lyx.org>
1889 * main.C: (main): no longer pass pointers to os::init.
1891 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1893 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1894 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1896 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1899 * text3.C: remove selection_possible global flag
1901 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1903 * text2.C (getSelectionSpan): remove
1904 (changeDepth, changeDepthAllowed): adjust
1906 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1908 * Makefile.am (BOOST_LIBS): use boost variables
1910 2004-12-03 José Matos <jamatos@lyx.org>
1912 * buffer.C: format up to 238.
1914 2004-12-03 José Matos <jamatos@lyx.org>
1916 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1918 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1920 * cursor.C (goUpDown): remove call to idxUpDown2
1922 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1924 * tabular.[Ch]: use size_t-like types for cell, row and column
1927 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1929 * lyxfunc.C (getStatus): do not lose previous information when
1930 calling BufferView::getStatus; do not set a default "Command
1931 disabled" message at the beginning, but just before returning.
1933 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1935 * cursor.h (getStatus): add better comment from src/cursor.C
1937 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1939 * text3.C (getStatus): return false when the lfun is not handled
1941 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1943 * broken_headers.h: remove
1945 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1947 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1949 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1950 offset_ref accessors
1952 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1953 top_y_, merge fitcursor with update
1954 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1956 (metrics): introduce
1957 (workAreaDispatch): adapt to new coord scheme
1958 (redoCurrentBuffer): remove
1960 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1962 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1965 * coordcache.[Ch]: add paragraph cache and helpers
1967 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1970 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1971 (targetX, setTargetX): introduce
1973 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1974 baseline -> ascent, as the rest of lyx
1976 * lyxtext.h: remove redoParagraphs, updateParPositions,
1977 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1978 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1979 have ascent/descent (ascent is ascent of first par)
1981 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1984 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1986 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1988 * pariterator.C: fix infinite loop introduced in par->pit renaming
1990 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1991 in insets and LyXText, draw two off-screen paragraphs using
1992 NullPainter, and adapt to new coord scheme
1996 * text3.C: adapt lfun handlers to the new coord scheme, which
1997 means: there's only guaranteed coord information for onscreen pars
1998 plus one above and one below. This implies that one can do search
1999 from y coordinates in the range [-1,workHeight]
2001 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2003 * rename a lot of InsetOld to InsetBase
2005 2004-11-25 Angus Leeming <leeming@lyx.org>
2007 * BufferView_pimpl.C:
2009 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2011 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2013 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2014 call BufferView::getStatus if LCursor::getStatus did nothing
2015 (setStatusMessage, getStatusMessage): removed.
2017 * FuncStatus.C (message): new methods. Used to provide an error
2018 message indicating why a command is disabled.
2019 (clear, |=, FuncStatus): update for message.
2021 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2023 * lyxfunc.C (dispatch): always call sendDispatchMessage
2025 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2028 * BufferView_pimpl.C:
2033 * cursor_slice.[Ch]:
2036 * paragraph_funcs.C:
2042 * undo.C: par->pit renaming
2044 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2046 * tabular.C (cellstruct): use initialization, store a shared_ptr
2047 to insettext instead of the insettext directly, adjust to fit.
2048 (operator=): new function
2049 (swap): new function
2050 (rowstruct): use initialization
2051 (columnstruct): use initialization
2052 (ltType): use initialization
2055 * lyxlength.h (swap): new function
2057 * LColor.[Ch] (operator=): use the common semantics
2059 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2061 * lyxfind.C (findNextChange): update the bufferview after setting
2064 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2066 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2067 number of InsetOptArgs has already been inserted.
2069 * output_latex.C (latexOptArgInsets): new method. This outputs all
2070 the optarg insets, up to the limit defined in the layout file.
2071 (optArgInset): removed
2072 (TeXOnePar): call latexOptArgInsets; correctly update texrow
2074 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2076 * paragraph.C (isLetter): remove special spellchecker-related
2077 code; return true also for digits
2078 (isWord, isKomma): remove
2080 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2081 * lyxfind.C (MatchString()): use isLetter instead of isWord
2083 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2085 * pariterator.h (operatir=): comment out un-implemented member
2088 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2091 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2093 * lyxfont.h: include LColor.h to satisfy concept checks.
2095 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2097 * pariterator.h: add typdefs for value_type, difference_type,
2098 pointer and reference to satisfy concept checks. Also add default
2099 constructor for same reason.
2101 * pariterator.C (operator++): add post-increment operator to
2102 satisfy concept checks.
2104 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2107 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2109 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2110 checks. Also rename base_type to BaseType to follow naming
2113 * FloatList.h: include Floating.h to satisfy concept checks.
2115 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2117 * lyxfunc.C (getStatus): when the origin of the request is menu or
2118 toolbar, and the LyXView does not have focus, do as if there was
2119 no buffer (bug 1720)
2121 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2122 FuncRequest to individual entries of LFUN_SEQUENCE
2124 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2126 * output_latex.C (TeXOnePar): override runparams.moving_arg
2127 according to the needprotect value of the current paragraph (bug
2130 * paragraph.C (simpleTeXOnePar): no need to override
2131 runparams.moving_args here
2133 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2135 * vspace.C: fix off-by-one-error, related to fix #1682
2137 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2139 * lengthcommon.C: a more general fix for bug 1682
2141 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2143 * text.C (backspace): fix crash
2145 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2147 * format.[Ch] (getFormatFromFile): new method
2148 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2150 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2152 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2154 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2156 * lyxfunc.C (dispatch): remove the verbose argument
2157 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2160 * kbmap.C (defkey): set the origin of func to KEYBOARD
2162 * MenuBackend.C (MenuItem):
2163 * ToolbarBackend.C (add): set the origin of func to UI
2165 * funcrequest.[Ch]: add origin member, which indicates which part
2166 of LyX requests an action
2168 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2170 * converter.C (move): don't lie in the error message
2171 * converter.h (isReachable, move): document
2173 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2175 * buffer.C: remove unused using lyx::support::atoi
2176 * paragraph_funcs.C: ditto
2178 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2180 * bufferlist.C (exists): use bind and equal_to instead of
2183 * lyxtextclasslist.C (NumberOfClass): ditto
2185 * cursor.C (insert): use for_each instead of explicit for loop
2187 * bufferlist.C (getFileNames): use std::transform and
2188 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2190 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2193 * buffer.C (changeLanguage): use for_each instead of explicit for
2195 (hasParWithID): implement using getParFromID
2197 * LaTeXFeatures.C: ws change only
2199 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2202 * BufferView_pimpl.C (trackChanges): use for_each instead of
2205 2004-11-04 André Pönitz <poenitz@gmx.net>
2208 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2210 * dociterator.C (asDocIterator): use hard assert again.
2212 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2214 * lyxlength.C (asLatexString): rewrite so that it does not use
2217 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2219 * text3.C (specialChar, dispatch): make sure cursor moves to the
2220 right after inserting an inset
2222 2004-11-02 José Matos <jamatos@lyx.org>
2224 * output_docbook.C (docbook):
2225 * paragraph.C (getID):
2226 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2227 garantee that the output is always legal.
2229 * tabular.C (docbook):
2230 * outputprams.[Ch]: remove mixed contents.
2232 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2234 * text2.C (setCounter): prevent endless loop
2236 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2238 * exporter.C (copyFile): use the mover instead of support::copy()
2239 * exporter.C (Export): pass format and latex name to copyFile()
2240 * exporter.h (addExternalFile): document
2241 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2243 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2245 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2247 2004-10-30 José Matos <jamatos@lyx.org>
2249 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2250 text and no inset or font change. This allows to use CDATA
2251 sections just for the whole paragraph.
2253 2004-10-30 José Matos <jamatos@lyx.org>
2255 * paragraph.C (getFirstWord): remove unused variable.
2257 2004-10-30 José Matos <jamatos@lyx.org>
2259 * paragraph.C (getFirstWord): the content should always be escaped
2261 (simpleDocBookOnePar):
2262 * output_docbook.C (makeEnvironment): replace reference to CDATA
2265 2004-10-30 José Matos <jamatos@lyx.org>
2267 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2269 2004-10-30 José Matos <jamatos@lyx.org>
2271 * output_docbook.C (makeParagraphs):
2272 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2273 standard paragraph has only a given type of content drop the wrapper.
2275 2004-10-29 José Matos <jamatos@lyx.org>
2277 * output_docbook.C (makeEnvironment):
2279 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2281 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2283 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2284 (cleanID): sanitize any id.
2286 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2288 * buffer.C, lyxlex_pimpl.C:
2289 * lyxlex_pimpl.C (setFile):
2290 s/getExtFromContents/getFormatFromContents/
2292 2004-10-28 José Matos <jamatos@lyx.org>
2294 * output_docbook.C (makeEnvironment): move id to broadest possible
2297 * sgml.C (openTag): apply substitution of <> for all attributes.
2299 2004-10-28 José Matos <jamatos@lyx.org>
2301 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2302 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2303 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2305 * sgml.[Ch]: new version for open and closeTag for paragraph and
2306 for strings. Now they handle the ids of paragraphs.
2308 2004-10-26 Angus Leeming <leeming@lyx.org>
2310 * Makefile.am: add mover.[Ch].
2312 * converter.C (convert, move): use the new Movers to move external
2313 files to the temp directory.
2315 * lyx_main.C (init): ensure that the global system_movers data
2318 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2321 * mover.[Ch]: new files, defining a Mover as a utility to move an
2322 external file between directories and, if necessary, manipulate this
2323 file using a helper script.
2325 2004-10-25 José Matos <jamatos@lyx.org>
2327 * output_docbook.C (makeCommand): merge two if's that tested the
2330 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2332 * sgml.C (escapeString): fix warning in a better way
2334 2004-10-25 José Matos <jamatos@lyx.org>
2336 * sgml.C (escapeString): import the require boosts header file for
2337 tie, and avoid a signed unsigned comparison.
2339 2004-10-25 José Matos <jamatos@lyx.org>
2341 * sgml.h: add #include <string>
2343 2004-10-25 José Matos <jamatos@lyx.org>
2345 * sgml.[Ch] (escapeString): new function to escape all the string.
2347 2004-10-24 José Matos <jamatos@lyx.org>
2349 * paragraph.[Ch] (getFirstWord): new function to get the first
2350 word. Useful for description.
2351 (simpleDocBookOnePar): remove depth argument, add another that
2352 says where to start the paragraph.
2354 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2355 use the new functions to fix cleanly the support for descriptions.
2357 2004-10-24 José Matos <jamatos@lyx.org>
2359 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2360 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2361 * output_linuxdoc.C (linuxdocParagraphs):
2362 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2363 add buffer as argument.
2365 2004-10-24 José Matos <jamatos@lyx.org>
2367 * output_docbook.C (makeEnvironment, searchEnvironment): place
2368 CDATA inside paragraphs and fix scope for listitems.
2370 2004-10-24 José Matos <jamatos@lyx.org>
2372 * output_docbook.C: remove using statement for stack.
2374 2004-10-23 José Matos <jamatos@lyx.org>
2376 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2377 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2378 docbook. The new scheme is recursive and makes use of iterators, the
2379 same as latex export works.
2380 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2381 directly with the paragraph contents. This code was moved up to
2382 output_docbook.C (docbookParagraphs).
2383 * sgml.C (openTag, closeTag): removed unneeded newlines.
2384 (closeEnvTags) removed.
2386 2004-10-23 André Pönitz <poenitz@gmx.net>
2388 * undo.C (textUndoOrRedo):
2389 * dociterator.C (asDocIterator): work around crash
2391 * cursor.C (getStatus): replace ASSERT by more verbose error message
2392 and manual correction of the problem. Should increase stability
2393 while providing more sensible information.
2395 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2397 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2399 * bufferlist.C (previous, next): new methods
2402 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2404 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2406 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2407 entities to preamble.
2409 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2411 * messages.C (Pimpl): strip off translation context information
2413 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2415 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2416 the cursor is correct (bug 1694)
2418 2004-10-13 José Matos <jamatos@lyx.org>
2420 * output_docbook.C (docbookParagraphs): fix closing tags in the
2421 end of the document.
2423 2004-10-09 José Matos <jamatos@lyx.org>
2425 * buffer.C: format up to 237.
2426 * bufferparams.C (write): use tostr to convert booleans to strings.
2428 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2430 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2432 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2434 * LaTeX.C: implement use of babel language in xindy.
2436 2004-10-05 José Matos <jamatos@lyx.org>
2438 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2439 Add new translators to help reading and writing the lyx file.
2441 2004-10-05 José Matos <jamatos@lyx.org>
2443 * ParagraphParameters.C (read):
2444 * text.C (readParToken): replace nexToken by more appropriate lex
2447 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2449 * LaTeX.C (runMakeIndex):
2450 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2451 (usually 'makeindex') configurable.
2453 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2454 with a variable rather than with a number.
2456 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2458 * output_latex.C (TeXOnePar): make sure font setting is the first
2459 thing that gets output (and the last at the end). Should fix bug
2462 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2464 * pch.h: use proper signal include
2466 * LaTeX.h: Use preferred calling of Boost.Signal
2469 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2471 * pch.h: dont include <boost/function/function0.hpp>
2473 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2475 * paragraph_pimpl.h: remove usage of ShareContainer
2477 * paragraph_pimpl.C: remove initialization of ShareContainer.
2479 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2483 * BufferView.C (putSelectionAt): change the semantics when
2484 backwards == true: now, this just swaps cursor and anchor wrt the
2487 * BufferView.h (putSelectionAt): add some documentation
2489 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2490 make sure backwardChar is done at least once (to avoid getting
2492 (findNextChange): use putSelectionAt in the forward direction
2493 (operator()): use Paragraph::isWord
2495 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2497 * Spacing.C (set): c_str fix
2499 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2501 * lyx_cb.C (Reconfigure): quote the name of configure script in
2502 case it contains spaces
2504 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2508 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2509 (BOOST_LIBS): use top_buildir when looking for the file
2511 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2513 * pch.h: do not use include boost/format.hpp, multiple symbols
2514 will result (gcc bug)
2517 2004-08-23 José Matos <jamatos@lyx.org>
2519 * bufferparams.C (readToken): fix reading of the author field.
2521 2004-08-20 José Matos <jamatos@lyx.org>
2523 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2525 2004-08-20 José Matos <jamatos@lyx.org>
2527 * lyxlex.[Ch] (findToken): remove function.
2529 * ParagraphParameters.C (findToken):
2530 * bufferparams.C (findToken): replace call for previous function
2531 with local copy. This local function has one more argument, the
2532 read string argument.
2534 2004-08-16 José Matos <jamatos@lyx.org>
2536 * ParagraphParameters.C (write):
2537 * Spacing.C (writeFile):
2538 * bufferparams.C (writeLaTeX):
2539 * lyx_cb.C (Reconfigure):
2540 * paragraph.C (write):
2541 * tabular.C (write): remove unnecessary space at end of line.
2544 2004-08-16 José Matos <jamatos@lyx.org>
2546 * text.C (readParagraph): remove debug message.
2548 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2550 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2553 * output_plaintext.C (asciiParagraph): set depth correctly
2555 * outputparams.h: add member depth
2557 * paragraph_funcs.C (ownerPar): remove.
2559 * text2.C (setCounter): remove first_pit; comment out some
2560 non-working code that uses ownerPar
2562 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2565 2004-08-16 José Matos <jamatos@lyx.org>
2567 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2568 For the same level of importance use the same chanel to report problems.
2569 (read): add code to deal with \begin_body and \end_body.
2572 2004-08-15 José Matos <jamatos@lyx.org>
2574 * lyxlex.C (getString): fix comment, buffer::readBody is now
2575 buffer:readDocument.
2577 * tex-strings.C (string_papersize): Default -> default,
2578 Custom -> custom, for consistency with other options.
2580 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2584 * Makefile.am: support pch
2586 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2588 * text.C (readParToken): remove the static LyXFont variable and
2589 pass it as a parameter instead. This fixes a nasty bug where an
2590 inset will be inserted with a bad font in some situations
2591 (readParagraph): adapt
2593 * text2.C (setCounter): reduce number of calls to pars_[pit]
2595 * text.C (singleWidth): add an assert, fix a test
2597 * rowpainter.C (paintText): reduce number of calls to singleWidth
2599 * paragraph.C (isHfill):
2600 (isNewline): ws only
2602 2004-08-14 André Pönitz <poenitz@gmx.net>
2607 * lyxtext.h (several functions): use a Paragraph & argument
2610 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2612 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2614 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2616 * text.C (singleWidth): remove useless test
2618 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2620 * tabular.h: remove bogus comments
2622 * tabular.C (getDescentOfRow):
2623 (isPartOfMultiColumn): add assertions
2625 * lyxlength.C (inPixels): remove #warning
2627 2004-08-14 André Pönitz <poenitz@gmx.net>
2629 * paragraph.h: inline getChar()
2631 * BufferView.h: remove unused declarations
2633 2004-08-14 José Matos <jamatos@lyx.org>
2635 * Buffer.[Ch] (readDocument): new name for old readBody.
2636 * Buffer.C: new file format, new keywords: \begin_document,
2637 \begin_header, \begin_body, \end_body.
2639 * bufferparams.C (readToken): replace all calls to lex.nextToken
2640 by lex.next(). Do the same to eatLine except where really needed.
2642 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2643 line when writing to the lyx file.
2645 * output_plaintext.C (asciiParagraph): fix Bibliography style
2648 * text.C (read): fix end of file handling.
2650 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2652 * MenuBackend.C (Menu::operator[]): new method to access
2653 individual menu items
2654 (Menu::hasFunc): new method. search for an item that corresponds
2656 (MenuBackend::specialMenu): new method
2657 (MenuBackend::expand): if a special menu has been set, skip
2658 entries whose func() appears in this menu
2660 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2662 * text3.C: use Debug::DEBUG a bit more
2664 * text.C (leftMargin): try to simplify a tiny bit change var x to
2665 l_margin. Dont output the wide margins always.
2666 (rightMargin): no margin in inner texts
2668 * rowpainter.h (nestMargin): new func
2669 (changebarMargin): new func
2670 (rightMargin): new func
2672 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2676 * factory.C (createInset): modify setDrawFrame
2678 * cursor.C: use Debug::DEBUG a bit more
2680 2004-08-14 André Pönitz <poenitz@gmx.net>
2683 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2684 cache for all insets in (at least partially) visible (top-level)
2687 * BufferView_pimpl.C: reset external coord cache before every update.
2688 This means the coord cache only contains valid entries.
2690 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2693 * BufferView_pimpl.C (getInsetByCode): move function out of class
2694 and change in to a template in anon namespace. Also fix to do what
2697 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2700 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2702 (breakParagraph): rename par to par_offset and use a local
2703 reference. Add code to keep the language over a rebreak.
2704 (breakParagraphConservative): rename par to par_offset, use a
2706 (mergeParagraph): ditto
2708 (isFirstInSequence): ditto
2709 (outerFont): rename pit to par_offset
2711 * paragraph.C: ws change
2712 * paragraph.h: ditto
2716 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2718 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2721 * paragraph.C (simpleTeXOnePar): when we have a \item with
2722 optional argument, enclose the argument with curly brackets (in
2723 case it contains a closing square bracket)
2727 * text3.C (checkInsetHit): constify
2729 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2731 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2732 documents (bug 1629)
2734 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2736 Fix toggling of collapsable insets with the mouse (bug 1558)
2738 * lyxfunc.C (dispatch): adapt to LCursor changes
2740 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2741 make sure that dispatch is not invoked twice
2743 * cursor.C (needsUpdate): new method
2744 (dispatch): return void
2745 (result): new method, to access the DispatchResult of the cursor.
2747 2004-08-13 José Matos <jamatos@lyx.org>
2749 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2751 2004-08-13 André Pönitz <poenitz@gmx.net>
2753 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2755 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2758 2004-08-12 André Pönitz <poenitz@gmx.net>
2760 * text3.C: take out the 'cursor right' form insertInset and only
2761 do it in those places when it is really needed. Fixes crash on
2764 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2766 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2768 * BufferView_pimpl.C (setBuffer): initialize the current font of
2769 the underlying LyXText
2771 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2773 * kbsequence.C (print): use UI native formatting for menu
2776 * text.C (insertChar): call Paragraph::insertChar with a font
2779 * paragraph.C (insertInset, insertChar): the version that takes a
2780 LyXFont argument is now a wrapper around the other one (the
2781 opposite used to be true).
2783 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2784 argument. Font setting is done in Paragraph now.
2786 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2788 * outputparams.h: add new members intitle and lang.
2790 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2791 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2793 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2795 * text3.C (dispatch): remove special handling of button 4 and 5,
2796 it is now taken care of in the frontend code.
2798 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2800 * Spacing.h: add <string> (STLPort compile fix)
2802 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2804 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2806 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2808 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2811 * converter.C (showMessage): inherit from unary_function, make
2814 * buffer.C (writeFile): initialize retval
2816 * InsetList.h: rename private variable list to list_
2817 * InsetList.[Ch]: adjust accordingly.
2819 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2821 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2822 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2823 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2824 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2825 * ParagraphParameters.C, LaTeXFeatures.C: replace
2826 "support/std_sstream.h" with <sstream>
2828 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2830 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2831 * lyxsocket.C (LyXServerSocket): ditto
2832 (serverCallback): ditto
2834 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2836 * LaTeXFeatures.C: check release date when loading jurabib.
2838 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2840 * lyxserver.C (startPipe): call register_socket_callback
2841 (endPipe): call unregister_socket_callback
2843 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2845 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2846 (LyXServerSocket): register the callback
2847 (LyXServerSocket): unregister the callback
2848 (fd): delete function
2849 (serverCallback): improve error checking and setup the callbacks.
2850 (dataCallback): change arg to fd.
2851 (writeln): new func (copied fro the client socket) used for server
2853 (LyXDataSocket): simplify
2854 (~LyXDataSocket): close ann unregiser callback
2855 (server): delete function
2856 (fd): delete function
2857 (readln): small changes, improve some std::string usage
2858 (writeln): constify a bit
2860 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2862 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2865 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2867 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2868 after it has been populated
2870 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2872 * text2.C (insertInset): move cursor when inserting inset.
2874 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2876 * kbmap.C (findbindings): a couple of new methods. returns a
2877 container of kb_sequence objects. The real work is done by the
2878 private recursive version
2879 (printbindings): uses findbindings to print out a bracketed list
2880 of bindings (renamed from findbinding).
2882 * MenuBackend.C (binding): use kb_keymap::findbindings
2884 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2886 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2888 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2890 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2892 * paragraph.C (isWord): return true on insets that report
2895 * text.C (getWord): use Paragraph::isWord to decide what is in a
2896 word and what is not; fix bug 1609.
2898 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2900 * tex-strings.C: add "none" to string_paperpackages[], fixes
2901 off-by-one-error in the paperpackage selection.
2904 * tex-strings.[Ch]: char const * string[n]
2905 -> char const * const string[]
2907 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2909 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2910 command, return early.
2912 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2914 * debug.h: add DEBUG to enum and fix size of ANY.
2916 * debug.C: add support for Debug::DEBUG
2917 (showTags): cast errorTags.level to unsigned int
2919 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2920 (redoCurrentBuffer): ditto
2921 (updateScrollbar): ditto
2922 * cursor.C (dispatch): ditto
2923 * text2.C (setLayout): ditto
2925 (updateCounters): ditto
2927 (deleteEmptyParagraphMechanism): ditto
2929 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2931 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2932 annotations to cleanup the Makefile slightly.
2934 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2936 * lyxrc.C: do not set user_email to a default value but use empty
2937 instead. The entry used to be translated, which does not work
2938 since at the point where lyxrc is constructed there is no
2939 translation service available
2941 * messages.C (getLocaleDir): remove and use directly
2942 lyx_localedir() instead
2944 2004-06-02 Angus Leeming <leeming@lyx.org>
2946 Fix crash caused by dereferencing null pointer 'exportdata' in
2947 OutputParams by creating a new ExportData variable on the heap,
2948 storing it in a boost::shared_ptr.
2949 The crash was triggered when generating an Instant Preview
2950 of an external inset.
2952 * Makefile.am: add outputparams.C
2954 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2955 (c-tor): allocate memory to it.
2957 * exporter.C (c-tor): associated changes.
2959 2004-06-01 Angus Leeming <leeming@lyx.org>
2961 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2962 contains data before calling isInset(0). (Bug 1513.)
2964 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2966 * exporter.C (checkOverwrite): new method
2967 * exporter.C (copyFile): new method
2968 * exporter.C (Export): copy referenced files to the document dir
2969 * exporter.[Ch]: new class ExportedFile
2970 * exporter.[Ch]: new class ExportData. Contains currently the
2971 names of referenced external files
2972 * outputparams.h: add exportdata member.
2974 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2976 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2979 2004-05-19 Angus Leeming <leeming@lyx.org>
2984 * lyxfunc.C: small changes due to the introduction of namespace
2985 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2987 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2989 * text3.C (dispatch): supress update when only moving the cursor
2990 * cursor.C (selHandle): remove commented code
2992 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2994 * paragraph.C (startTeXParParams): correct column count
2995 * CutAndPaste.C (pasteSelection): remove const_cast
2996 * output_docbook.C (docbookParagraphs): remove const_cast
2997 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2998 const_cast and return ParagraphList::const_iterator
2999 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3000 * output_plaintext.C (writeFileAscii): remove const_cast
3001 * paragraph.[Ch] (simpleTeXOnePar): make const
3002 * paragraph_funcs.C (outerPar): use const iterators
3003 * paragraph_pimpl.C (validate): use const iterators
3004 * text.C (setHeightOfRow): use const iterators
3006 2004-05-17 Angus Leeming <leeming@lyx.org>
3009 * LyXAction.C (init): new LFUN_INSET_REFRESH.
3011 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3012 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3013 if the citation engine has changed.
3015 2004-05-14 José Matos <jamatos@lyx.org>
3017 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3018 if the textclass does not provide it. Have it different for sgml and
3020 support the language of document.
3021 * output_docbook.C (docbookParagraphs):
3022 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3023 first anchor as the id of the paragraph, remove special case code.
3024 * sgml.C (escapeChar): escape only < & >.
3026 2004-05-14 Angus Leeming <leeming@lyx.org>
3028 * bufferparams.h: move biblio::CiteEngine enum here to minimize
3029 dependencies on src/frontends/controllers/biblio.h. Define a
3030 CiteEngine_enum wrapper class to enable the enum to be forward
3033 2004-05-12 Angus Leeming <leeming@lyx.org>
3035 * buffer.C: up LYX_FORMAT to 234.
3036 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3037 use_numerical_citations with a single biblio::CiteEngine cite_engine
3039 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3041 2004-05-13 José Matos <jamatos@lyx.org>
3044 * converter.C (Converter, readFlags): add xml member.
3045 * outputparams.h: add XML flavor.
3046 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3048 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3050 * lyxfunc.C (dispatch):
3051 (getStatus): fix handling of LFUN_SEQUENCE
3053 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3055 * debug.C (showLevel): do not forget the end-of-line marker
3057 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3059 * kbmap.C (read): do not stop parsing a bind file when an error
3062 2004-04-29 Angus Leeming <leeming@lyx.org>
3067 * text2.C: wrap a bunch of #warning statements
3068 inside #ifdef WITH_WARNINGS blocks.
3070 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3072 * buffer.C: increment format to 233.
3074 2004-04-28 Angus Leeming <leeming@lyx.org>
3076 * BufferView_pimpl.C:
3079 s/updateToolbar()/updateToolbars()/
3080 s/Toolbar.h/Toolbars.h/
3082 2004-04-28 Angus Leeming <leeming@lyx.org>
3084 * BufferView.[Ch] (c-tor):
3085 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3086 No longer passes these data to the WorkArea generator.
3088 2004-04-28 Angus Leeming <leeming@lyx.org>
3090 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3092 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3094 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3096 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3098 * output_latex.C (TeXEnvironment): make sure that there is a line
3099 break before \end{foo} for the last paragraph of a document
3100 (TeXOnePar): if the paragraph is at the end of the document (or
3101 inset) and the language has to be reset, then make sure that the
3102 line break is _before_ the language command, not after (fixes bug
3103 1225); also make sure that the language reset command is the first
3104 thing after the paragraph (to ensure proper nesting of
3105 environments and thus fix bug 1404)
3107 2004-04-21 John Levon <levon@movementarian.org>
3110 * ToolbarBackend.C: make "name" be a programmatic name
3111 and a gui_name field.
3113 * lyxfunc.C: display the minibuffer on M-x
3115 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3117 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3120 2004-04-19 Angus Leeming <leeming@lyx.org>
3122 * BufferView_pimpl.C (setBuffer): changed preview interface.
3124 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3127 2004-04-19 John Levon <levon@movementarian.org>
3129 * BufferView_pimpl.C:
3130 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3132 2004-04-05 Angus Leeming <leeming@lyx.org>
3134 * text.C (redoParagraphs): add call to updateCounters(), thereby
3135 fixing the missing "Figure #:" label from the caption of a
3138 2004-04-13 Angus Leeming <leeming@lyx.org>
3140 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3141 cursor is clicked out of an inset.
3143 2004-04-13 Angus Leeming <leeming@lyx.org>
3145 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3146 than an InsetOld one.
3148 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3150 * format.[Ch]: add editor to Format
3151 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3152 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3154 2004-04-08 André Pönitz <poenitz@gmx.net>
3156 * metricsinfo.h: remove PainterInfo::width member
3158 2004-04-08 Angus Leeming <leeming@lyx.org>
3160 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3161 "\providecommand" rather than "\newcommand", thereby preventing
3162 clashes with packages that define "\boldsymbol" themselves.
3165 2004-04-08 Angus Leeming <leeming@lyx.org>
3167 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3168 thereby squashing an unnecessary warning.
3170 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3172 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3175 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3177 * BufferView.C (setCursor): call redoParagraph (some insets could
3179 (putSelectionAt): remove the 'double update' trick
3181 * BufferView_pimpl.C (fitCursor): call refreshPar
3182 (workAreaDispatch): remove an uneeded update call
3183 (dispatch): remove some manual update calls
3185 * cursor.[Ch]: remove cached_y_, updatePos
3186 (selHandle): set noUpdate when appropriate
3188 * lyxfunc.C (dispatch): track if we need an update
3190 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3192 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3193 (paintSelection): cheap optimization, do not call cursorX when not
3195 (paintPars): change signature
3198 (paintTextInset): adjust
3202 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3204 * lengthcommon.C: compilation fix: remove explicit array size from
3205 unit_name[] and friends
3207 2004-04-05 Angus Leeming <leeming@lyx.org>
3209 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3211 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3212 present only for the preferences dialog.
3213 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3215 2004-04-05 Angus Leeming <leeming@lyx.org>
3217 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3218 to enable the frontends to export changes to lyxrc correctly.
3220 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3222 2004-04-07 André Pönitz <poenitz@gmx.net>
3224 * cursor.[Ch] (selClear, adjust): remove math
3226 * cursor_slice.C: more agressive assert
3229 * BufferView_pimpl.C: rework mouse event dispatch
3236 2004-04-05 André Pönitz <poenitz@gmx.net>
3238 * cursor.[Ch] (valign, halign...): remove unneeded functions
3240 2004-04-05 Angus Leeming <leeming@lyx.org>
3242 * lyxlength.[Ch] (unit_name et al.): const-correct.
3244 2004-04-05 Angus Leeming <leeming@lyx.org>
3246 * BufferView_pimpl.C:
3255 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3257 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3259 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3261 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3263 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3264 * BufferView_pimpl.[Ch] (getStatus)
3265 * BufferView.[Ch] (getStatus): add
3266 * lyxfunc.C (getStatus): move lfuns handled in
3267 BufferView::dispatch to te function above
3268 * Cursor.C (setSelection): set selection() = true
3270 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3272 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3274 2004-03-31 Angus Leeming <leeming@lyx.org>
3276 * lyxfunc.C (dispatch): Fall through to the generic
3277 Dialogs::show("preamble").
3279 2004-03-31 Angus Leeming <leeming@lyx.org>
3281 * lyxfunc.C (dispatch): Fall through to the generic
3282 Dialogs::show("spellchecker").
3284 2004-03-31 Angus Leeming <leeming@lyx.org>
3286 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3289 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3294 * insetiterator.[Ch]:
3299 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3301 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3303 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3304 insets where we are putting the cursor.
3306 2004-03-31 Angus Leeming <leeming@lyx.org>
3309 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3311 * lyxrc.[Ch] (read, write): overloaded member functions taking
3312 a std::[io]stream arguments.
3314 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3316 2004-03-31 Angus Leeming <leeming@lyx.org>
3318 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3319 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3321 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3322 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3324 2004-03-31 Angus Leeming <leeming@lyx.org>
3326 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3327 the LFUN_ALL_INSETS_TOGGLE code.
3329 2004-03-30 Angus Leeming <leeming@lyx.org>
3331 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3332 has died. Fall through to the generic Dialogs::show("document").
3334 2004-03-30 Angus Leeming <leeming@lyx.org>
3337 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3338 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3340 * lyxfunc.C (getStatus, dispatch): define the actions for these
3341 lfuns. Little more than a cut and pste job from ControlDocument.C
3343 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3345 2004-03-30 Angus Leeming <leeming@lyx.org>
3348 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3349 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3351 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3352 open/closed state of ollapsable insets. Usage:
3354 all-inset-toggle <state> <name>, where
3355 <state> == "open" || "closed" || "toggle" and
3356 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3358 * lyxtext.h, text2.C (toggleInset): removed.
3360 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3361 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3362 now passes LFUN_INSET_TOGGLE to the found inset.
3364 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3365 is now invoked as "all-insets-toggle toggle branch".
3367 2004-03-30 Angus Leeming <leeming@lyx.org>
3371 * pariterator.[Ch]: added/corrected header blurb.
3373 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3375 * dociterator.[Ch]: add an inset_ member
3376 (backwardPos): implemented
3377 (backwardPos, forwardPos): use inset_ when the stack is empty.
3378 (doc_iterator_begin, doc_iterator_end): implemented
3379 * pariterator.[Ch]: adjust, add begin, end
3380 * insetiterator.[Ch]: adjust, add begin, end
3384 * BufferView_pimpl.C:
3385 * CutAndPaste.C: adjust
3387 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3389 * buffer.C: increment file format to 232.
3390 * LaTeXFeatures.C: add bibtopic package.
3391 * bufferparams.[Ch]: param \use_bibtopic.
3393 * lyxrc.[Ch]: add lyxrc bibtex_command
3394 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3396 * buffer.C: increment file format to 231.
3398 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3400 * dociterator.C: implement forwardPar
3401 * iterators.[Ch]: remove, replaced by
3402 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3404 * BufferView_pimpl.C:
3407 * bufferview_funcs.C:
3413 * Makefile.am: adjust
3415 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3417 * CutAndPaste.C (pasteSelection): fix 2 crashes
3418 (eraseSelection): fix a crash
3419 * paragraph_funcs.C: remove a warning
3421 2004-03-28 Angus Leeming <leeming@lyx.org>
3424 * LyXAction.C (init): new LFUN_PRINT.
3426 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3428 2004-03-27 Angus Leeming <leeming@lyx.org>
3431 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3433 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3435 2004-03-27 Angus Leeming <leeming@lyx.org>
3437 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3438 insetlist always contains non-null pointers to insets.
3440 2004-03-26 Angus Leeming <leeming@lyx.org>
3442 * src/BufferView_pimpl.C:
3443 * src/CutAndPaste.C:
3446 * src/output_plaintext.C:
3447 * src/outputparams.h:
3448 * src/paragraph_funcs.C:
3452 * src/frontends/controllers/ControlErrorList.C:
3453 * src/frontends/gtk/FileDialogPrivate.C:
3454 * src/frontends/gtk/GPainter.C:
3455 * src/frontends/gtk/GToolbar.C:
3456 * src/frontends/qt2/QRef.C:
3457 * src/mathed/math_scriptinset.C: squash compiler warnings.
3459 2004-03-26 Angus Leeming <leeming@lyx.org>
3461 * ispell.C (LaunchIspell::start):
3462 * lyx_cb.C (AutoSaveBuffer::start):
3463 invoke run(DontWait) rather than runNonBlocking().
3465 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3467 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3469 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3471 * kbsequence.C (print): adjust
3473 * kbmap.C (printKeySym): rename and change signature
3474 (printKey): use LyXKeySym::print()
3476 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3478 * undo.C: add using std::advance to compile for stlport
3480 2004-03-24 Angus Leeming <leeming@lyx.org>
3482 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3483 it leads to a crash when no buffer is present.
3485 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3486 Martin Vermeer <martin.vermeer@hut.fi>
3488 * lyxfunc.C (dispatch):
3489 * bufferparams.C (readToken): use the new LColor::setColor
3491 * LColor.[Ch] (setColor): new version that takes two strings as
3492 argument and creates a new color entry if necessary
3494 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3496 * buffer.C (makeLaTeXFile): if the main latex file that is
3497 processed is usually a subdocument of some master, then pretend
3498 for a while that it is actually the master
3500 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3502 * buffer.C (getLabelList):
3503 (getBibkeyList): use getMasterBuffer()
3504 (getMasterBuffer): new method. Returns the main document in the
3505 case where one is using included documents.
3507 2004-03-25 André Pönitz <poenitz@gmx.net>
3511 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3513 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3515 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3516 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3518 * ParameterStruct.h: merge with ParagraphParameters
3520 * lyxtext.h: remove LyXText::parOffset() and getPar()
3522 * text3.C: Remove all 'manual' update calls. We do now one per user
3523 interaction which is completely sufficient.
3527 * BufferView_pimpl.C:
3528 * FontIterator.[Ch]:
3530 * ParagraphParameters.[Ch]:
3535 * cursor_slice.[Ch]:
3542 * output_docbook.[Ch]:
3543 * output_latex.[Ch]:
3544 * output_linuxdoc.[Ch]:
3545 * output_plaintext.[Ch]:
3547 * paragraph_funcs.[Ch]:
3548 * paragraph_pimpl.[Ch]:
3556 * frontends/controllers/ControlDocument.C:
3557 * frontends/controllers/ControlErrorList.C:
3558 * frontends/controllers/ControlSpellchecker.C:
3561 * insets/insetbase.h:
3562 * insets/insetbibitem.C:
3563 * insets/insetbox.C:
3564 * insets/insetbranch.C:
3565 * insets/insetcaption.C:
3566 * insets/insetcharstyle.C:
3567 * insets/insetcharstyle.h:
3568 * insets/insetcollapsable.C:
3569 * insets/insetcollapsable.h:
3570 * insets/insetert.C:
3571 * insets/insetfloat.C:
3572 * insets/insetfoot.C:
3573 * insets/insetmarginal.C:
3574 * insets/insetnote.C:
3575 * insets/insetoptarg.C:
3576 * insets/insettabular.C:
3577 * insets/insettext.C:
3578 * insets/insettext.h:
3579 * insets/insetwrap.C:
3580 * mathed/math_mboxinset.C:
3581 * mathed/math_nestinset.C:
3582 * mathed/math_scriptinset.C:
3583 * mathed/math_scriptinset.h:
3586 2004-03-24 Angus Leeming <leeming@lyx.org>
3588 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3589 deal with any child processes that have finished but are waiting to
3590 communicate this fact to the rest of LyX.
3592 2004-03-24 Angus Leeming <leeming@lyx.org>
3594 64-bit compile fixes.
3596 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3597 (c-tor): pass lyx::pos_types rather than ints.
3599 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3602 * text.C (Delete): compile fix.
3603 (getPar): ensure that function declaration is the same as that in
3606 2004-03-23 Angus Leeming <leeming@lyx.org>
3608 * ispell.C (LaunchIspell):
3609 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3610 a boost::shred_ptr rather than a std::auto_ptr.
3612 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3614 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3615 handle LFUN_FILE_INSERT_*
3617 * lyxrc.C (setDefaults, getDescription, output, read):
3618 * lyxrc.h: remove ps_command
3620 2004-03-22 Angus Leeming <leeming@lyx.org>
3622 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3623 Ensure that error_handler is processed once only and that all data
3624 is saved before attempting to output any warning messages.
3626 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3628 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3630 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3632 2004-03-19 André Pönitz <poenitz@gmx.net>
3634 * cursor.[Ch] (reset): take main text inset as argument
3636 * BufferView: adjust
3637 * BufferView_pimpl.C: adjust
3639 * paragraph.[Ch]: fix completely broken operator=()
3641 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3643 * LColor.C (getFromLyXName): make sure that the color name is used
3646 2004-03-17 Angus Leeming <leeming@lyx.org>
3649 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3651 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3652 dialog and to kill a forked process.
3654 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3656 * text2.C (setCursorFromCoordinates): fix font problem
3658 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3660 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3661 bogus "rebuild cursor" code
3663 2004-03-11 André Pönitz <poenitz@gmx.net>
3665 * buffer.[Ch]: use InsetText instead of LyXText as container for
3668 * dociterator.[Ch]: drop the BufferView * member which is not needed
3669 anymore after the change to buffer.C
3671 * paragraph_funcs.C:
3675 * BufferView_pimpl.[Ch]:
3677 * cursor_slice.[Ch]: adjust
3679 * text3.C: fix bug in mathDispatch
3681 2004-03-08 André Pönitz <poenitz@gmx.net>
3683 * undo.[Ch]: use 'StableDocumentIterator' as base for
3686 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3689 * bufferparams.[Ch]: add jurabib support and param.
3691 * LaTeX.C: add FIXME/comment.
3693 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3695 * buffer.C: increment file format to 230.
3697 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3699 * cursor.C (dispatch): avoid infinite loops
3701 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3703 * rowpainter.C (paintSelection): fix x coordinates
3705 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3707 * text.C (rowBreakPoint): fix breaking before displayed insets
3709 2004-03-01 André Pönitz <poenitz@gmx.net>
3711 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3713 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3717 * BufferView_pimpl.C:
3725 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3731 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3732 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3734 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3736 * Bidi.[Ch] (computeTables): const correctness
3737 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3738 fill_hfill, fill_label_hfill and x from Row
3739 * lyxtext.h: prepareToPrint returns a RowMetrics
3740 * rowPainter.C: adjust
3741 * text.C (prepareToPrint): use width, not textWidth. adjust
3742 (redoParagraphInternal, cursorX): adjust
3743 * text2.C (getColumnNearX): adjust
3744 (init): put a default value to the top LyXText::width
3746 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3748 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3750 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3752 * lyxtext.h: add FontIterator class
3754 * text.C (FontIterator, operator*, operator->, operator++): add
3755 (rowBreakPoint, setRowWidth): adjust (fixing a
3758 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3760 * BufferView_pimpl.C (workAreaDispatch): allow also
3761 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3763 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3765 * text.C (rowBreakPoint): fix a bug showing with very large insets
3767 2004-02-25 André Pönitz <poenitz@gmx.net>
3770 * cursor.[Ch]: move some mathed specific code to mathed
3772 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3774 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3775 use_tempdir in preferences
3776 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3778 * lyx_main.C: ensure that tempdir is valid
3779 * lyxlex.h: correct typo
3780 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3781 * paragraph.[Ch] (isMultiLingual): make const
3782 * cursor.[Ch] (openable): make const
3784 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3786 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3788 2004-02-20 André Pönitz <poenitz@gmx.net>
3790 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3792 * cursor.[Ch]: prepare for localized getStatus()
3798 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3800 2004-02-20 André Pönitz <poenitz@gmx.net>
3802 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3804 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3806 * text2.C (setCursorFromCoordinates): switch to absolute coords
3808 (cursorDown): adjust
3809 * text3.C (dispatch): adjust
3811 2004-02-16 André Pönitz <poenitz@gmx.net>
3813 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3816 * cursor_slice.[Ch]: remove unneeded acessor function
3818 * lyxtext.h: rename rtl() to isRTL()
3826 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3828 * rowpainter.C (paintSelection): coord fix
3830 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3832 * Spacing.C: compile fix
3834 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3836 * cursor.C (dispatch): restore current_ before returning
3838 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3840 * text2.C (cursorUp, cursorDown): fix coords
3843 2004-02-12 André Pönitz <poenitz@gmx.net>
3848 * text3.C: add LCursor & parameter to most cursor movement functions
3849 remove usage of LyXText::cursorRow() and cursorPar()
3851 * cursor.[Ch]: add textRow() needed members
3854 * BufferView_pimpl.C:
3857 * BufferView_pimpl.C: adjust
3859 2004-02-11 André Pönitz <poenitz@gmx.net>
3863 * BufferView_pimpl.C: shift undo/redo handling
3865 * cursor.[Ch]: fix mathed crash
3868 * lyxtext.h: move selectionAsText to LCursor
3876 * rowpainter.C: fix excessive drawing
3878 2004-02-06 André Pönitz <poenitz@gmx.net>
3881 * BufferView_pimpl.[Ch]:
3882 * text3.C: move some text specific LFUN handling
3884 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3886 * text3.C (checkInsetHit): adjust coords
3887 * text2.C (getColumnNearX): adjust coords
3888 (edit): adjust coords
3889 * text.C (getRowNearY): add two asserts
3891 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3894 * format.C: add using std::distance to compile on gcc 2.95/stlport
3896 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3898 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3900 2004-02-04 André Pönitz <poenitz@gmx.net>
3902 * BufferView.[Ch] (insertInset):
3903 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3908 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3910 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3911 on the default clause of the switch
3912 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3913 wasn't catched by LCursor::dispatch
3915 2004-02-03 André Pönitz <poenitz@gmx.net>
3918 * cursor.[Ch]: some additional asserts
3920 * undo.[Ch]: remove LyXText dependency in interface
3924 * lyxtext.h (firstPar, lastPar): remove dead functions
3929 * paragraph.[Ch]: adjust
3931 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3933 * lyxfind.C (find): fix argument order in call to ::find
3935 2004-02-02 André Pönitz <poenitz@gmx.net>
3937 * cursor.[Ch]: remove direct access to anchor
3939 * text.C: remove findText() hack
3941 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3943 * iterators.[Ch] (lockPath): remove in favour of...
3944 * BufferView.[Ch] (setCursor): this addition
3945 * BufferView.C (putSelectionAt): adjust
3946 * undo.C (performUndoOrRedo): adjust
3947 * lyxfunc.C (dispatch): adjust
3949 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3951 * iterators.C (lockPath): add a missing slice
3952 * undo.C (performUndoOrRedo): remove redundant positioning code
3954 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3956 * vc-backend.C (scanMaster): ";" -> ';'
3958 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3960 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3961 std::binary_function
3963 * lyxtextclass.C (compare_name): rename to...
3964 (LayoutNamesEqual): ...this
3966 * lyxlex_pimpl.C (compare_tags): inherit from
3967 std::binary_function, put back into anon namespace
3969 * lyxfind.C (MatchString): inherig from std::binary_function
3970 (findChange): use empty() istead of !size()
3972 * format.C (FormatNamesEqual): new functor
3979 * converter.C (compare_Converter): rename to...
3980 (ConverterEqual): ...this, and fixup a bit.
3981 (getConverter): use it, and make function const
3982 (getNumber): use it, and make function const
3986 * bufferlist.C: add using boost::bind
3988 * MenuBackend.C (MenuNamesEqual): new functor
3989 (hasMenu): use it, and make function const
3990 (hasSubmenu): use nested bind to get rid of compare_memfun.
3992 2004-01-30 André Pönitz <poenitz@gmx.net>
3994 * BufferView_pimpl.C:
3997 * cursor_slice.[Ch]:
4000 * paragraph_funcs.C:
4001 * paragraph_funcs.h:
4005 * text3.C: move some of the edit(x,y) handling to the insets
4006 some coordinate changes.
4008 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4010 * text.C: add using statements for std::advance and std::distance
4012 * paragraph.C: add using statement for std::distance
4014 * lyxfind.C: add using statement for std::advance
4016 * cursor.C (region): remove std:: from swap
4017 (openable): use nucleus in stead of operator->
4019 * BufferView.C: add using statements for std::distance and std::swap
4021 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4023 * iterators.C: Remove the pimple, move the needed structures to
4024 the header file. Create accessor for the positions stack.
4025 (asPosIterator): remove function
4027 * PosIterator.C (PosIterator): move constructors to top of file
4028 (PosIterator): reimplement the constructor taking a ParIterator in
4030 (setFrom): new function
4031 (operator!=): inline it
4033 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4035 * lyxfind.C (replaceAll): use std::advance
4037 * iterators.h: inherit from std::iterator.
4039 * PosIterator.C (advance, distance): remove
4040 * PosIterator.h: interit from std::iterator.
4042 2004-01-26 André Pönitz <poenitz@gmx.net>
4045 * BufferView_pimpl.[Ch]:
4049 * bufferview_funcs.C:
4059 * output_linuxdoc.C:
4060 * output_plaintext.C:
4062 * paragraph_funcs.[Ch]:
4063 * paragraph_pimpl.[Ch]:
4069 * text3.C: more IU: dumps most of the rest of the mathcursor
4070 implementation into cursor.[Ch]; "globalize" a bit of it.
4072 2004-01-25 Angus Leeming <leeming@lyx.org>
4074 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4076 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4078 * LaTeXFeatures.h: add nice_ and nice() const
4079 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4081 2004-01-20 André Pönitz <poenitz@gmx.net>
4084 * BufferView_pimpl.C:
4086 * bufferview_funcs.C:
4088 * cursor_slice.[Ch]:
4099 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4100 LCursor and mathcursor parts to LCursor and InsetBase.
4102 2004-01-15 André Pönitz <poenitz@gmx.net>
4104 * cursor_slice.[Ch]: add a few covienience functions
4106 * funcrequest.[Ch]: remove BufferView * member
4108 * BufferView_pimpl.C:
4115 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4117 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4119 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4120 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4122 2004-01-13 André Pönitz <poenitz@gmx.net>
4125 * lyxtext.h: hide cursor and selection anchor behind accessor function
4128 * BufferView_pimpl.[Ch]:
4130 * bufferview_funcs.C:
4140 * cursor_slice.[Ch]: some integer type changes for inset unification
4142 * lyxcursor.[hC]: remove, it's CursorSlice now.
4145 * BufferView_pimpl.[Ch]:
4146 * bufferview_funcs.C:
4152 * textcursor.[Ch]: adjust
4154 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4156 * text2.C (undoSpan): add and use
4157 * text.C (breakParagraph): use undoSpan (fix bug 578)
4160 2004-01-08 Angus Leeming <leeming@lyx.org>
4162 * BufferView_pimpl.C (MenuInsertLyXFile):
4163 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4164 * lyxfunc.C (menuNew, open, doImport):
4165 FileFilterList change to the FileDialog open and save functions.
4167 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4169 * ShareContainer.h: make isEqual and isUnique adaptable
4171 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4173 2004-01-07 Angus Leeming <leeming@lyx.org>
4176 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4178 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4180 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4181 functions replacing find, replace and replaceAll.
4183 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4184 LFUN_WORDFIND(FORWARD|BACKWARD).
4186 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4188 * text.C (breakParagraph): remove an outdated #warning
4190 2004-01-07 André Pönitz <poenitz@gmx.net>
4192 * lyxfind.C: somewhat clearer logic
4194 * text.C: prevent crash in cursorX on unitialized row cache
4196 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4198 * lyxcursor.[Ch] (operator>): add
4199 * textcursor.C (selStart, selEnd): use std::min and std::max
4201 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4203 * Chktex.C: include boost/format.hpp
4205 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4207 * InsetList.C: replace functor MathcIt with adaptable functor
4209 (insetIterator): modify accordingly
4211 * BranchList.h: move the BranchNamesEqual functor here from...
4212 * BranchList.C: ... to here
4214 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4216 (add): replace a finding loop with std::find_if.
4218 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4220 * output_docbook.C: moving LatexParam functionality into
4223 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4225 * buffer.C: increment format to 229.
4227 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4230 * lyx_sty.[Ch]: remove minipageindent_def
4236 * text3.C: remove LFUN_INSET_MINIPAGE
4238 2003-12-28 Angus Leeming <leeming@lyx.org>
4240 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4242 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4244 * text2.C (setParagraph): fix off-by-one crash
4246 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4248 * output_docbook.C: header stuff for AGU
4250 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4252 * text2.C (redoCursor): remove
4255 * BufferView_pimpl.C: remove calls to redoCursor and
4256 setCursor(cursor.par(), cursor.pos()) all around
4258 2003-12-15 Angus Leeming <leeming@lyx.org>
4260 * buffer.C: up the format to 228.
4262 2003-12-15 André Pönitz <poenitz@gmx.net>
4264 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4269 * BufferView_pimpl.C:
4278 2003-12-15 Angus Leeming <leeming@lyx.org>
4280 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4281 than getFromGUIName to manipulate the color.
4283 2003-12-14 Angus Leeming <leeming@lyx.org>
4285 * BranchList.[Ch]: minimize the API.
4286 (Branch::getBranch, getColor): now return a 'const &'.
4287 (Branch::setSelected) now returns a bool set to true if the
4288 selection status changes.
4289 (BranchList::clear, size, getColor, setColor, setSelected,
4290 allBranches, allSelected, separator): removed.
4291 (BranchList::find): new functions, returning the Branch with
4293 (BranchList::add, remove): return a bool indicating that
4294 the operation was successful.
4296 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4297 new InsetBranch::isBranchSlected member function.
4299 * LColor.[Ch]: mimimize the API.
4300 (fill): renamed as addColor and made private.
4301 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4302 versions of these functions taking a string arg have been removed.
4304 * bufferparams.C (readToken):
4305 * lyxfunc.C (dispatch):
4306 * lyxrc.C (read): changes due to the altered BranchList and
4309 * factory.C (createInset, readInset): changes due to altered
4312 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4315 * lyxfunc.C: remove insetminipage. "minipage-insert"
4316 now produces a frameless minipage box inset.
4318 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4320 * textcursor.[Ch] (selStart,selEnd): add new methods
4321 remove selection::start, end, use LyXCursor::operator<
4322 * lyxcursor.[Ch] (operator<): add
4323 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4324 * BufferView.[Ch] (unsetXSel): add
4325 * text2.C (clearSelection): use unsetXSel,adjust
4328 * rowpainter.C: adjust
4329 * bufferview_funcs.C (put_selection_at): adjust
4331 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4333 * BufferView_pimpl.C: small coord. correction
4335 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4337 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4338 dragging over the splash screen.
4340 2003-12-11 Angus Leeming <leeming@lyx.org>
4342 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4343 as it is now handled in LyXText::dispatch.
4345 * text3.C (doInsertInset): remove a level of nesting.
4347 2003-12-11 Angus Leeming <leeming@lyx.org>
4349 * factory.C (createInset): changes due to the changed interface to
4350 InsetCommandMailer::string2params.
4352 2003-12-10 Angus Leeming <leeming@lyx.org>
4354 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4355 'dialog-show-new-inset <inset name>'
4357 2003-12-10 Angus Leeming <leeming@lyx.org>
4359 * buffer.C: up the format to 227.
4361 * factory.C: the box inset is now identified simply by 'Box'.
4363 2003-12-10 Angus Leeming <leeming@lyx.org>
4365 * buffer.C: up the format to 226.
4367 * factory.C: the note inset is now identified simply by 'Note'.
4369 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4371 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4372 when a pit is enough. Standarize a couple of loops.
4374 2003-12-05 Angus Leeming <leeming@lyx.org>
4376 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4377 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4378 data to the re-worked "log" dialog.
4380 2003-12-03 André Pönitz <poenitz@gmx.net>
4386 * paragraph_funcs.C:
4388 * text2.C: use Inset::getText instead of Inset::getParagraph
4390 2003-12-03 André Pönitz <poenitz@gmx.net>
4394 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4395 InsetText::read() as LyXText::read()
4397 2003-12-02 Angus Leeming <leeming@lyx.org>
4399 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4400 type. Add a comment in the implementation that the function uses
4401 the stream's bad() function rather than fail() as the std::streams
4404 2003-12-02 André Pönitz <poenitz@gmx.net>
4406 * lyxlex.[Ch]: make interface more similar to std::stream
4408 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4410 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4412 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4414 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4416 * vspace.[Ch]: remove VSpace::NONE
4418 2003-12-01 André Pönitz <poenitz@gmx.net>
4421 * lyxtext.h: move ParagraphList member to LyXText
4422 rename LyXText::ownerParagraphs to LyXText::paragraph
4425 * bufferview_funcs.C:
4435 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4437 * undo.C: fix cursor positioning
4439 2003-12-01 John Levon <levon@movementarian.org>
4441 * BufferView_pimpl.C: fix a crash on exit with
4444 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4446 * BranchList.C: fix setSelected() method.
4448 2003-11-28 André Pönitz <poenitz@gmx.net>
4450 * ParagraphParameters.[Ch]:
4451 * ParameterStruct.h: remove space above/below from Paragraph to
4454 * BufferView_pimpl.C:
4460 * paragraph_funcs.C:
4466 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4468 * factory.C: Syntax change for CharStyles
4470 2003-11-28 André Pönitz <poenitz@gmx.net>
4475 * buffer.[Ch]: move LyXText member
4477 2003-11-28 André Pönitz <poenitz@gmx.net>
4479 * BufferView.[Ch]: make LyXText * text a private member
4481 * BufferView_pimpl.C:
4492 * output_plaintext.C: cleanup
4494 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4497 * lyxtextclass.[Ch]: parametrize SGML document header
4499 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4502 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4505 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4507 * text2.C (setFont): rework using PosIterator (no more recursive)
4508 (setCharFont): no more needed
4509 (setLayout): no more selection cursors fiddling (done by redoCursor)
4510 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4511 destroy remaining ones)
4513 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4515 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4517 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4520 * text3.C: adjust + re-allow multi par depth changes
4521 * textcursor.C: simplify a bit
4523 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4529 * src/output_docbook.C:
4530 * src/output_latex.C:
4535 * src/text2.C: Introducing a number of tags parametrizing various
4536 XML formats that we may want to support
4538 2003-11-25 André Pönitz <poenitz@gmx.net>
4540 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4542 * lyxtext.h (leftMargin/rightMargin): simplify interface
4549 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4551 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4552 master file to any child files. Fixes bug 546.
4554 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4556 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4558 2003-11-24 André Pönitz <poenitz@gmx.net>
4560 * rowpainter.C: simplification
4562 * text2.C (updateCounters): remove call to redoParagraph on
4563 changed labels as this is far too expensive.
4565 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4567 * converter.C (convert): fix a crash: this function gets
4568 called with buffer == 0 from importer code.
4570 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4572 * text3.C (cursorPrevious): make sure that we do not compare
4573 iterators form different containers.
4576 * rowpainter.C (paintSelection): make sure that we do not compare
4577 iterators from different containers.
4579 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4580 iterators from different ParagraphList containers.
4583 * text2.C (LyXText): change order of initialization slightly
4584 (operator=): new function. copy all variables except cache_par_
4585 (moveUp): make sure that we do not compare iterators from
4586 different ParagraphList constainers.
4589 * text.C (firstPar): new function
4590 (lastPar): new function
4591 (endPar): new function
4593 * lyxtext.h: move things around and group public functions, public
4594 variables, private functions, private variables
4596 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4598 * factory.C: change call to InsetERT constructor to avoid
4599 additional invocation of method status
4600 * text2.C (toggleInset): remove redundant update() call
4601 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4602 instead of a Bufferview pointer
4604 2003-11-21 André Pönitz <poenitz@gmx.net>
4606 * rowpainter.C: simplification
4608 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4610 * text3.C (dispatch): make possible to extend a word/row selection
4613 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4615 * lyxtext.h: x0_,y0_ -> xo_,yo_
4616 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4617 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4618 * rowpainter.C (paintRows): paint full paragraphs
4620 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4622 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4625 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4627 * lyxtext.h: add x0_, y0_
4628 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4629 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4631 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4633 * text2.C (setCursorIntern): move the x_target update here *
4634 * text3.C: change some bv() to true/false in calls to
4635 cursorUp/Down/Right/Left
4636 * cursor.C: use helper function.
4638 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4640 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4641 * paragraph_funcs.[Ch]: correct comment
4642 * rowpainter.C: do not paint selections away from bv->cursor()
4643 Fix a long standing selection painting bug.
4644 * text3.C: generalize mouse-selection code to LyXTexts other that
4646 * textcursor.C: do not use y coords if we can use par offsets
4648 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4650 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4651 cursor position after e.g. inset insert)
4653 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4655 * lyxfind.C (replace): adjust to locking removal + some
4658 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4660 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4663 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4666 * output_docbook.C: XML sanitation: new layout
4667 parameters InnerTag and CommandDepth
4669 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4671 * BufferView_pimpl.C:
4673 * text3.C: Fix the insertion and modification of button-style
4676 2003-11-13 André Pönitz <poenitz@gmx.net>
4678 * InsetList.[Ch]: remove deleteLyXText
4680 * paragraph.[Ch]: cache beginOfBody position
4685 * text3.C: remove superfluous update() calls
4689 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4691 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4692 * BufferView.C (fitLockedInsetCursor): remove
4693 * cursor.[Ch] (getDim): add
4694 * text.C (getRowNearY): add faster version
4695 * text3.C: remove some update calls
4697 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4709 * text3.C: The Character Style /XML short element patch.
4711 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4714 * factory.C: Small step to solving 'unable to insert some insets'
4717 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4719 * cursor.[Ch] (updatePos): new function for updating the y
4720 position of the tip inset
4721 * bufferview_funcs.C (put_selection_at):
4722 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4724 2003-11-11 André Pönitz <poenitz@gmx.net>
4726 * text.C: remove big comment on invalid Paragraph pointers as it is
4729 2003-11-11 André Pönitz <poenitz@gmx.net>
4731 * text_funcs.[Ch]: merge with ...
4739 * Makefile.am: remove text_funcs.[Ch]
4741 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4743 * cursor.C (getPos): return absolute cached y coord
4745 * BufferView_pimpl.C (fitCursor): new simplistic code
4746 (workAreaDispatch): add a fitCursor call
4748 2003-11-10 André Pönitz <poenitz@gmx.net>
4751 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4753 2003-11-10 André Pönitz <poenitz@gmx.net>
4755 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4756 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4757 indicate that the cursor needs to leave an inset
4759 * lyxtext.h: remove inset locking
4761 * cursor.[Ch]: re-implement functionality provided by inset locking
4764 * BufferView_pimpl.[Ch]:
4766 * bufferview_funcs.[Ch]:
4778 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4780 * PosIterator.[Ch]: replace the stack with a vector, add inset
4782 * iterators.[C]: adjust
4784 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4786 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4788 * paragraph_funcs.C (readParToken): put the correct id in the
4789 error item, not the id of the top paragraph
4791 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4793 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4794 * bufferview_funcs.C (put_selection_at): use the above
4796 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4798 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4800 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4802 * output_linuxdoc.h:
4803 * output_plaintext.h:
4805 * output_docbook.h: add #include statements
4807 2003-11-05 José Matos <jamatos@lyx.org>
4809 * output_docbook.[Ch]:
4810 * output_latex.[Ch]:
4811 * output_linuxdoc.[Ch]:
4812 * output_plaintext.[Ch]: New files for output formats.
4813 * output.[Ch]: New file for helper functions.
4816 * paragraph_funcs.[Ch]: output functions moved to new files.
4818 * outputparams.h: rename of latexrunparams.h
4826 * paragraph_funcs.[Ch]:
4827 * paragraph_pimpl.[Ch]:
4828 * tabular.[Ch]: rename ascii to plaintext
4829 and LatexRunParams to OutputParams.
4831 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4833 * iterators.[Ch] (text): require bv argument
4834 * undo.C (recordUndo):
4835 * lyxfunc.C (dispatch):
4836 * bufferview_funcs.C (put_selection_at): adjust
4838 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4840 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4842 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4844 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4847 2003-11-04 André Pönitz <poenitz@gmx.net>
4849 * cursor.[Ch]: restructure
4852 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4854 * iterators.[Ch] (asCursor): remove
4856 * lfuns.h: remove LFUN_INSET_EDIT
4862 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4864 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4866 * lyxfind.[Ch]: complete overhaul
4867 * BufferView_pimpl.C:
4869 * paragraph.[Ch] (insert): add
4871 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4875 * text.C: remove dead spellcheck code
4877 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4879 * dispatchresult.h: add a val setter
4881 * cursor.C (dispatch): use a tempvar for data_[i]
4883 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4885 * PosIterator.[Ch]: compile fix
4887 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4889 * text.C (cursorPar): deactivate the cursor cache
4891 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4893 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4895 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4897 * text3.C (dispatch): adjust for new DisptchResult semantics.
4899 * lyxfunc.C (dispatch): handle update when return from
4900 Cursor::dispatch, adjust for new DispatchResult semantics.
4902 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4903 DispatchResult(true) mean to not update. Add class functions for
4904 setting dispatched and update, as well as reading.
4906 * cursor.C (dispatch): don't handle update here
4908 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4910 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4911 * trans_mgr.C: adjust
4913 * paragraph_funcs.C (readParToken): exception safety
4915 * lyxvc.h: store the vcs pointer in a scoped_ptr
4918 * lyxsocket.C (serverCallback): exception safety
4920 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4922 * ispell.C (clone): make it return a auto_ptr
4924 * factory.C (createInset): exception safety
4925 (readInset): exception safety
4927 * bufferlist.C (newBuffer): exception safety
4929 * Thesaurus.C (Thesaurus): use initialization for aik_
4931 * MenuBackend.C (expandToc): exception safety.
4933 2003-11-03 André Pönitz <poenitz@gmx.net>
4937 * bufferview_funcs.C: remove getInsetFromId()
4940 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4946 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4948 * PosIterator.C (distance, advance): new
4949 * bufferview_funcs.[Ch] (put_selection_at): new
4950 * iterators.[Ch] (lockPath): new
4952 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4954 * iterators.[Ch] (asPosIterator): added
4955 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4956 * PosIterator.[Ch]: added
4958 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4962 * cursor.C (dispatch):
4963 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4965 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4966 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4967 contructor, add a class function dispatched. Remove operator>=
4969 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4971 * debug.C: only use the default constructor for debugstream
4974 * main.C (main): include debug.h and setup the lyxerr streambuf
4977 2003-10-31 José Matos <jamatos@lyx.org>
4979 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4981 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4982 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4983 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4984 * paragraph_pimpl.C (simpleTeXSpecialC):
4985 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4986 add LatexRunParams argument.
4988 * exporter.C (Export): change call accordingly.
4990 * latexrunparams.h: add new member to take care of the other backends.
4991 2003-10-30 José Matos <jamatos@lyx.org>
4993 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4994 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4995 factorise code for paragraph output.
4997 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5000 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5002 * text3.C (dispatch):
5003 * lyxfunc.C (dispatch):
5004 * cursor.C (dispatch):
5005 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5007 * dispatchresult.h: make the dispatch_result_t ctor explicit
5009 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
5012 * buffer.C: small refactoring of docbook stuff
5014 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5016 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5019 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5021 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5022 operator dispatch_result_t, and operators for == != and >=
5024 * cursor.C (dispatch): adjust for operator dispatch_result_t
5025 removal. comment out call to update
5027 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5029 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5037 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5040 * dispatchresult.h: new file, DispatchResult broken out of
5043 * Makefile.am (lyx_SOURCES): add dispatchresult.h
5045 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5047 * text.C (rowBreakPoint): put a hack inside #if 0
5049 2003-10-28 André Pönitz <poenitz@gmx.net>
5053 * paragraph_funcs.C:
5056 * text2.C: general cleanup (lots of small stuff)
5058 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5060 * text2.C (cursorEnd): simple fix to the "end key goes to one
5061 before the end on last row" bug
5063 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5065 * text.C (backspace): fix the "zombie characters"
5067 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5069 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5071 2003-10-27 André Pönitz <poenitz@gmx.net>
5073 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5075 * factory.C: handle new InsetPagebreak, InsetLine
5077 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5078 and move handling into new InsetPagebreak, InsetLine
5080 * BufferView_pimpl.C:
5082 * ParagraphParameters.C:
5083 * ParameterStruct.h:
5088 * paragraph_funcs.C:
5089 * paragraph_pimpl.C:
5095 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5098 * lyxrow_funcs.[Ch]:
5104 * text3.C: remove lastPos uses in favour of Row::endpos
5106 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5108 * undo.C (performUndoOrRedo): fix two crashes by setting a
5109 cursor by hand and reordering some calls. Use bv->lockInset instead
5110 of inset->edit because the latter loses cursor information
5112 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5114 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5116 (rowBreakPoint): fix width. change point to point + 1.
5117 Add a missing check.
5119 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5122 * lyxfunc.C: fix (at least partly) the problems
5123 with the Nav menu and headers inside branch insets
5126 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5128 * paragraph.C (getChar): add strong asserts
5130 * lyxrow_funcs.C (lastPos): remove hideous hack
5132 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5133 (fill): adjust to that (avoid an infinite loop)
5135 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5137 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5139 2003-10-23 André Pönitz <poenitz@gmx.net>
5141 * RowList_fwd.h: change list<> to vector<> to gain speed
5142 after suggestion from Alfredo
5144 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5146 * lyxtext.h: move the bidi stuff from here...
5149 * Bidi.[Ch]: ... to here
5151 2003-10-23 André Pönitz <poenitz@gmx.net>
5154 * text.C (isLastRow, isFirstRow): new functions
5156 * paragraph.h: new width cache member
5158 * rowpainter.C: replace RowList::iterator with Row & where possible
5160 * lyxfunc.C: replace several view()->text with a single call
5162 * toc.C: fix 'unused' warning
5164 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5166 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5167 when woring with stream::pos_type
5168 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5170 2003-10-22 André Pönitz <poenitz@gmx.net>
5173 * text.C: use Row & instead of RowList::iterator
5175 * lyxrow.h: rename end() to endpos()
5181 2003-10-22 Angus Leeming <leeming@lyx.org>
5183 * buffer.[Ch] (fully_loaded): new member function, returning true
5184 only when the file has been loaded fully.
5185 Used to prevent the premature generation of previews and by the
5186 citation inset to prevent computation of the natbib-style label.
5188 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5189 templates are all set up.
5191 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5193 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5195 * text.C: fixed an "oops" in the "is a bit silly"
5198 2003-10-21 André Pönitz <poenitz@gmx.net>
5200 * FuncStatus.[Ch]: small stuff, whitespace
5202 * lyxfont.[Ch]: operator<<() for debug reasons
5206 * lyxtext.h: whitespace, spelling
5208 * paragraph.C: naming of variables
5211 * text2.C: small stuff
5214 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5216 * text.C: (1) finish off the inset display() work;
5217 (2) fix the "is a bit silly" bug (accessing char
5220 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5222 * text.C: re-introduce display() for insets, fixing the
5223 various bugs (stretch of line above, math inset
5226 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5228 * text.C (rightMargin): remove spurious semicolon
5230 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5233 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5235 * text3.C: fix one crash due to wrong cursor def
5237 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5239 * vc-backend.C (scanMaster): make the regex static
5241 * LaTeX.C (scanAuxFile): make the regexs static
5243 * text3.C (doInsertInset, dispatch, dispatch):
5244 * text2.C (cursorUp, cursorDown):
5245 * text.C (selectNextWordToSpellcheck):
5246 * BufferView_pimpl.C (dispatch):
5247 * lyxfunc.C (dispatch): localDispatch -> dispatch
5249 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5251 * lyxsocket.C: include <cerrno>
5253 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5255 * lyxfunc.C (dispatch): remove textcache stuff
5257 * bufferlist.C (release): remove textcache stuff
5260 * TextCache.C: delete file
5261 * TextCache.h: delete file
5263 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5265 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5266 delete of the bv_->text.
5267 (resizeCurrentBuffer): remove texcache stuff
5268 (workAreaResize): ditto
5270 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5272 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5275 2003-10-16 André Pönitz <poenitz@gmx.net>
5282 * text3.C: speed up by storing y positions per paragraph plus per-row
5283 offset instead of having a 'full' y position in the row.
5285 2003-10-15 André Pönitz <poenitz@gmx.net>
5289 * undo.[Ch]: make undo aware of inner insets
5291 2003-10-14 Angus Leeming <leeming@lyx.org>
5293 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5294 static member functions LyX::ref() and LyX::cref.
5295 (lastfiles): new accessor functions for the new lastfiles_ member var.
5296 (addLyXView, views_): add a new LyXView to the list of views_.
5297 (updateInset): loop over all LyXViews to call their own updateInset
5298 member function, returning a pointer to the Buffer owning the inset.
5300 * BufferView_pimpl.C (loadLyXFile):
5301 * MenuBackend.C (expandLastfiles):
5302 * bufferlist.C (MenuWrite, QuitLyX):
5303 lastfiles is no longer a global variable.
5304 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5306 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5307 static function. Access through LyX::cref().emergencyCleanup().
5309 2003-10-14 André Pönitz <poenitz@gmx.net>
5311 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5313 * undo.[Ch]: restoring part of 'undo in insets'
5316 * undo_funcs.[Ch]: merge with undo.[Ch]
5318 * tabular.C: small cleansing stuff
5320 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5322 * paragraph_funcs.C (readParToken): report unknown insets as error
5323 boxes. Use the outer paragraph as location (also for unknown
5326 * factory.C (readInset): do not abort on reading an unknown inset.
5327 Eat it and return 0.
5329 2003-10-13 Angus Leeming <leeming@lyx.org>
5331 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5333 * lyxrc.C: displayTranslator is now a function,
5334 declared in GraphicsTypes.h.
5336 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5338 * format.C: new placeholder $$a to pass the socket address.
5340 * bufferlist.[Ch]: new function getBufferFromTmp.
5342 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5343 files in the temporary dir.
5345 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5347 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5349 * Makefile.am: add lyxsocket.[Ch].
5351 * lyx_main.C (error_handler): handle SIGPIPE.
5353 2003-10-13 André Pönitz <poenitz@gmx.net>
5355 * BufferView_pimpl.C:
5360 * undo_funcs.[Ch]: use paroffset_type instead of
5361 ParagraphList::iterators to prevent multiple conversion
5362 (and get a more robust interface)
5364 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5366 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5368 * text3.C (dispatch): ditto
5370 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5372 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5373 move the onlyfile, use onlyfile instead of foundfile in a couple
5376 * DepTable.C (update): flush the error stream a bit more
5378 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5380 * lyxserver.C (callback): adjust
5382 * lyxfunc.C (getStatus): add a missing brace in commented code
5383 (ensureBufferClean): reindent
5384 (dispatch): delete version taking a string
5386 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5388 * LaTeX.C (deplog): move found file handlig from here...
5389 (handleFoundFile): .. to new function here.
5390 (deplog): make sure to discover several files mentioned on the
5393 2003-10-10 André Pönitz <poenitz@gmx.net>
5400 * text3.C: fix some of the tabular crashes
5402 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5404 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5406 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5408 2003-10-09 André Pönitz <poenitz@gmx.net>
5410 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5413 * BufferView_pimpl.C:
5414 * bufferview_funcs.C:
5425 * undo_funcs.C: adjust
5427 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5429 * text2.C (incrementItemDepth): new function, use a backtracking
5430 algorithm to discover the correct item depth.
5431 (resetEnumCounterIfNeeded): new function, use a backtracking
5432 algorithm to discover if counter reset is needed.
5433 (setCounter): use them. Simplify a bit. Add different labels for
5434 different item depths for itemize.
5436 * paragraph.C (Paragraph): remove initialization of enumdepth
5439 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5440 enumerate and itemize. Change the type of itemdepth to signed char.
5442 2003-10-08 André Pönitz <poenitz@gmx.net>
5444 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5449 * tabular.[Ch]: fix crash after 'row-insert'
5451 2003-10-08 Angus Leeming <leeming@lyx.org>
5453 Fix doxygen warnings.
5455 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5456 Remove CutAndPaste:: prefix from header file declaration.
5458 * LColor.h (fill): remove LColor:: prefix from declaration.
5460 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5461 use lyx::depth_type rather than Paragraph::depth_type so that
5462 header file and .C file match.
5464 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5466 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5467 * aspell.C: \file aspell_local.C -> \file aspell.C
5468 * gettext.C: \file gettext.C -> \file src/gettext.C
5469 * gettext.h: \file gettext.h -> \file src/gettext.h
5470 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5471 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5472 * text.C: \file text.C -> \file src/text.C
5474 * toc.C: move comment so that doxygen is not confused.
5476 2003-10-07 Angus Leeming <leeming@lyx.org>
5478 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5480 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5483 * aspell_local.h: add forgotten std::string's.
5485 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5492 * text3.C: The Box patch. Fancybox support, minipage, parbox
5494 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5500 * ParagraphParameters.h:
5510 * lyxtextclasslist.h:
5513 * paragraph_pimpl.C:
5514 * textcursor.h: add <string> and other small fixes to make Lars'
5515 std::string patch compile with STLport.
5517 2003-10-06 Angus Leeming <leeming@lyx.org>
5519 * LColor.h: Add missing #include <string>.
5521 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5523 * All most all file in all subdirs: Make <string> be the prefered
5524 way of getting to std::string, add using declarations.
5526 2003-10-06 André Pönitz <poenitz@gmx.net>
5528 * metricsinfo.C: initialize LyXFont before changing attribute.
5529 (fixes the 'math in \emph is upright' bug)
5531 2003-10-06 André Pönitz <poenitz@gmx.net>
5533 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5535 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5538 * paragraph_pimpl.C: Small fixes to build using STLport
5540 2003-10-02 André Pönitz <poenitz@gmx.net>
5543 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5545 2003-10-01 André Pönitz <poenitz@gmx.net>
5547 * factory.C: assert early
5549 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5551 * lyx_main.C: remove the global debug object
5553 * debug.h: adjust for new debugstream
5555 * debug.C: adjust for new debugstream and keep the global debug
5558 2003-09-22 Angus Leeming <leeming@lyx.org>
5560 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5561 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5562 an incomplete class LyXFont.
5564 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5566 * factory.C: bug fix in branches
5568 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5570 * lyxfunc.C (processKeySym): adjust
5572 (dispatch): change arg name from ev to func, adjust
5573 (sendDispatchMessage): ditto
5575 * lyx_main.C (defaultKeyBindings): adjust keybindings
5576 (deadKeyBindings): ditto
5578 * kbsequence.C (addkey): return a FuncRequest
5580 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5582 * kbmap.C (bind): take a FuncRequest as arg, adjust
5585 (defkey): change to take a FuncRequest as arg, adjust
5586 (findbinding): take a FuncRequest as arg, adjust.
5588 * funcrequest.h (operator=): added
5590 * funcrequest.C (FuncRequest): default kb_action changed from
5591 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5593 * buffer.C (dispatch): simplify
5594 (dispatch): adjust to take a FuncRequest as arg, adjust
5596 * boost.C (assertion_failed): change assertion message slightly
5598 * ToolbarBackend.C (read): simplify
5600 * MenuBackend.C (binding): adjust call to findbinding, add a
5601 message if no binding is found.
5603 (expandToc): correct by adding a empty FuncRequest
5605 * LyXAction.C: include <boost/assert.hpp>
5606 (isPseudoAction): delete function
5607 (LookupFunc): change name to...
5608 (lookupFunc): this. change return type to FuncRequest.
5609 (getActionName): take kb_action as arg, simplify
5610 (funcHasFlag): add an assert, simplify.
5612 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5614 * toc.C (action): return a FuncRequest, simplify
5616 * lyxfunc.C (processKeySym): adjust
5617 (getStatus): delete version that takes an int.
5619 (dispatch): delete version that takes action as int
5621 (sendDispatchMessage): simplify and adjust
5623 * funcrequest.C (getArg): take unsigned int as arg
5625 * ToolbarBackend.C (read): adjust
5626 (add): delete version that takes func as a string.
5627 (getIton): take a FuncRequest as arg
5629 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5632 * MenuBackend.C (MenuItem): add a new construct that only takes a
5633 Kind, simplify the constructor use for submenus.
5635 (expandLastfiles): adjust
5636 (expandDocuments): adjust
5637 (expandFormats): adjust
5638 (expandFloatListInsert): adjust
5639 (expandFloatInsert): adjust
5640 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5642 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5643 Remove class variables lyx_pseudo_map and lyx_arg_map
5645 * LyXAction.C (searchActionArg): delete function
5646 (getPseudoAction): delete function
5647 (retrieveActionArg): delete function
5648 (LookupFunc): make it return kb_action, simplify.
5649 (getActionName): simplify
5651 * factory.C (createInset): fix new bug
5653 2003-09-19 Angus Leeming <leeming@lyx.org>
5655 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5656 masterFilename_ parameter in the include inset.
5658 * factory.C (createInset): changes due to the changes to InsetInclude.
5660 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5662 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5664 2003-09-18 Angus Leeming <leeming@lyx.org>
5667 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5668 Inset::fillWithBibKeys.
5669 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5671 2003-09-18 Angus Leeming <leeming@lyx.org>
5673 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5675 (ctor): pass and store a 'Buffer const &'
5676 (buffer): new member function.
5678 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5679 '*this' to the LaTeXFeatures ctor.
5681 2003-09-18 Angus Leeming <leeming@lyx.org>
5687 * text.C: rename EnumLColor as LColor_color.
5689 2003-09-18 Angus Leeming <leeming@lyx.org>
5691 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5692 remove #include "insets/insetbase.h" from cursor.h.
5694 2003-09-18 Angus Leeming <leeming@lyx.org>
5696 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5697 InsetOld_code to remove #include "inset.h".
5699 * iterators.C: add #include "insets/inset.h"
5701 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5703 * BufferView.C: remove more locking stuff that apparently doesn't
5704 do anything sensible.
5706 2003-09-16 André Pönitz <poenitz@gmx.net>
5709 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5712 2003-09-16 Angus Leeming <leeming@lyx.org>
5714 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5716 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5719 * paragraph.h: remove #include "lyxfont.h". Forward declare
5722 2003-09-16 Angus Leeming <leeming@lyx.org>
5724 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5725 of support/textutils.h.
5726 (isWord): move the contents of support/textutils.h's IsWordChar here.
5732 * text2.C: add #include "paragraph.h".
5735 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5737 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5743 * LaTeX.C: use namespace alias for lyx::support::os
5745 2003-09-16 Angus Leeming <leeming@lyx.org>
5748 * bufferview_funcs.C:
5751 * paragraph_pimpl.C:
5753 * text.C: add #include "LColor.h".
5755 2003-09-16 Angus Leeming <leeming@lyx.org>
5757 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5758 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5760 Store the FontBits::color variable as an int rather than as an
5761 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5764 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5765 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5766 string calls together.
5768 * lyxrc.C: add #include "LColor.h".
5770 2003-09-15 Angus Leeming <leeming@lyx.org>
5772 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5775 2003-09-15 Angus Leeming <leeming@lyx.org>
5777 * LColor.h: add an EnumLColor wrapper for LColor::color.
5779 * lyxfont.[Ch] (color, setColor, realColor):
5780 * lyxtext.h, text.C (backgroundColor):
5781 pass EnumLColor args to/from the functions, rather than LColor::color
5785 * lyxtext.h: forward declare EnumLColor.
5787 * lyx_main.C: add #include "LColor.h".
5789 2003-09-15 Angus Leeming <leeming@lyx.org>
5791 * .cvsignore: add lyx-gtk.
5793 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5798 * ParagraphParameters.C
5802 * bufferview_funcs.C
5812 * vc-backend.C: remove usage of STRCONV
5814 2003-09-15 Angus Leeming <leeming@lyx.org>
5816 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5817 explicitly define the color passed to the painter.
5819 2003-09-15 Angus Leeming <leeming@lyx.org>
5821 * bufferparams.C (BufferParams): reorder member initializers to avoid
5824 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5826 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5827 * text.C (updateRowPositions): remove an unusual nop
5829 2003-09-12 André Pönitz <poenitz@gmx.net>
5831 * BufferView_pimpl.C:
5840 * Counters.[Ch]: finish the 'automatic counters' job
5842 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5844 * aspell.C: include <boost/assert.cpp> (compile fix)
5846 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5848 * boost.C (assertion_failed): use lyx::support::abort instead of
5851 2003-09-10 Angus Leeming <leeming@lyx.org>
5853 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5854 with their _fwd progeny.
5856 2003-09-09 Angus Leeming <leeming@lyx.org>
5858 134 files throughtout the source tree: replace 'using namespace abc;'
5859 directives with the appropriate 'using abc::xyz;' declarations.
5861 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5863 * boost.C (emergencyCleanup): moved here from LAssert.c
5864 (assertion_failed): new function, called by BOOST_ASSERT
5866 * several files: change Assert to BOOST_ASSERT
5868 2003-09-09 Angus Leeming <leeming@lyx.org>
5870 * buffer.[Ch]: Add an Impl class and move Buffer's member
5871 variables into it. As a result move several header files out of
5874 Add header files to lots of .C files all over the tree as a result.
5876 2003-09-09 Angus Leeming <leeming@lyx.org>
5878 * buffer.[Ch]: make Buffer's member variables private. Add
5881 Lots of changes all over the tree as a result.
5883 2003-09-08 Angus Leeming <leeming@lyx.org>
5885 * graph.C: #include <config.h>.
5887 2003-09-08 Angus Leeming <leeming@lyx.org>
5891 * BufferView_pimpl.C:
5920 * toc.C: remove redundant using directives.
5922 2003-09-07 Angus Leeming <leeming@lyx.org>
5924 * LaTeXFeatures.h: remove #include "support/types.h".
5925 * ToolbarBackend.h: remove #include <algorithm>.
5926 * changes.h: remove #include <ctime>.
5927 * debug.h: remove #include <iosfwd>.
5928 * graph.h: remove #include "support/std_string.h".
5929 * lyx_main.h: remove #include <csignal>.
5930 * lyxlex_pimpl.h: remove #include <fstream>.
5931 * sgml.h: remove #include <algorithm>, <utility>.
5932 * toc.h: remove #include "support/std_ostream.h".
5933 Add #include <iosfwd>.
5935 2003-09-07 Angus Leeming <leeming@lyx.org>
5937 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5939 * converter.h: forward declare LatexRunParams.
5940 * encoding.h: remove #include "lyxrc.h".
5941 * lyxtext.h: remove #include "LColor.h".
5942 * lyxtextclass.h: remove #include "support/types.h".
5943 * trans.h: remove #include "tex-accent.h".
5944 * trans_mgr.h: remove #include "tex-accent.h".
5945 * insets/inset.h: remove #include "support/types.h", <vector>.
5946 * insets/insetcollapsable.h: remove #include "LColor.h".
5947 * insets/insetinclude.h: remove #include "dimension.h".
5948 * insets/insetlatexaccent.h: remove #include "dimension.h".
5949 * insets/insetoptarg.h:: remove #include "insettext.h".
5950 * insets/insettext.h: remove #include "dimension.h",
5951 <boost/shared_ptr.hpp>
5953 * insets/renderers.h: add #include "dimension.h".
5954 * insets/updatableinset.h: add #include "support/types.h".
5956 * many .C files: Associated changes.
5958 2003-09-06 Angus Leeming <leeming@lyx.org>
5960 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5961 one, inside testInvariant.
5963 * PrinterParams.C: new file.
5964 * PrinterParams.[Ch]: move the function bodies out of line.
5966 2003-09-06 Angus Leeming <leeming@lyx.org>
5968 * ParagraphParameters.h: forward declare ParameterStruct rather than
5969 including its header file.
5970 (depth): moved out-of-line.
5972 2003-09-06 Angus Leeming <leeming@lyx.org>
5974 * BufferView_pimpl.h:
5977 * lyxfunc.h: forward declare LyXKeySym rather than
5978 #include "frontends/LyXKeySym.h".
5980 * BufferView_pimpl.C:
5983 * lyxfunc.C: associated changes.
5985 2003-09-06 Angus Leeming <leeming@lyx.org>
5987 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5988 As a result, can remove the #include "insets/inset.h" from BufferView.h
5990 2003-09-06 Angus Leeming <leeming@lyx.org>
5992 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5993 As a result, can remove the #include "insets/inset.h" from BufferView.h
5995 2003-09-06 Angus Leeming <leeming@lyx.org>
6001 * bufferview_funcs.C:
6002 * BufferView_pimpl.C:
6007 * ParagraphParameters.C:
6012 * frontends/controllers/ControlDocument.C:
6013 * insets/insetcaption.C: rearrange the #includes into some sort of
6016 * buffer.h: remove #includes ErrorList.h, undo.h
6018 2003-09-06 Angus Leeming <leeming@lyx.org>
6020 * support/types.h: add a 'depth_type' typedef, used to store the
6021 nesting depth of a paragraph.
6024 * ParameterStruct.h: use this lyx::depth_type typedef rather than
6025 defining explicitly.
6028 * paragraph_funcs.h:
6029 * ParagraphParameters.h:
6030 * sgml.h: use lyx::depth_type rather than Paragraph or
6031 ParameterStruct's depth_type.
6034 * paragraph_funcs.h: no need to #include paragraph.h anymore.
6037 * BufferView_pimpl.C:
6039 * ParagraphParameters.C:
6042 * bufferview_funcs.C:
6049 * frontends/LyXView.C:
6050 * frontends/controllers/ControlDocument.C:
6051 * frontends/controllers/ControlErrorList.C:
6052 * insets/insetbibitem.C:
6053 * insets/insetbranch.C:
6054 * insets/insetcaption.C:
6055 * insets/insetcollapsable.C:
6056 * insets/insetenv.C:
6057 * insets/insetert.C:
6058 * insets/insetfloat.C:
6059 * insets/insetfoot.C:
6060 * insets/insetfootlike.C:
6061 * insets/insetnewline.C:
6062 * insets/insetquotes.C:
6063 * insets/insettabular.C:
6064 * insets/insettext.C:
6065 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6067 * frontends/controllers/ControlChanges.C: #include "changes.h".
6069 2003-09-06 Angus Leeming <leeming@lyx.org>
6071 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6072 than #including paragraph.h.
6075 * RowList.h: deleted. Superfluous.
6085 * insets/insettext.h: use ParagraphList_fwd.h rather than
6088 * paragraph.h: don't forward declare ParagraphList.
6091 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6092 rather than ParagraphList.h. paragraph.h is still needed for the
6093 Paragraph::depth_type parameters.
6095 * textcursor.h: enable it to compile stand-alone in light of the
6098 * bufferview_funcs.C:
6110 * frontends/controllers/ControlParagraph.C:
6111 * frontends/controllers/ControlTabular.C:
6112 * insets/insetmarginal.C:
6113 * insets/insetminipage.C:
6114 * insets/insetnote.C:
6115 * insets/insetoptarg.C: add header files needed to compile again.
6117 2003-09-06 Angus Leeming <leeming@lyx.org>
6119 * RowList_fwd.h: new file, forward-declaring Row rather than
6120 #including lyxrow.h.
6125 * insets/insettext.h: use it instead of RowList.h
6127 * bufferview_funcs.C:
6134 * text3.C: #include "RowList.h".
6136 2003-09-05 Angus Leeming <leeming@lyx.org>
6138 * factory.C (createInset):
6139 * vspace.C (c-tor): replace sscanf call with an istringstream.
6140 * ispell.C: re-add missing HP/UX headers.
6141 * lyxserver.C: re-add missing os2 headers.
6143 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6152 * text3.C: re-add missing system headers, needed for 2.95.2.
6154 2003-09-05 Angus Leeming <leeming@lyx.org>
6156 Changes most place everywhere due to the removal of using directives
6157 from support/std_sstream.h.
6159 2003-09-05 Angus Leeming <leeming@lyx.org>
6161 Replace LString.h with support/std_string.h,
6162 Lsstream.h with support/std_sstream.h,
6163 support/LIstream.h with support/std_istream.h,
6164 support/LOstream.h with support/std_ostream.h.
6166 Changes resulting throughout the tree.
6168 2003-09-05 Angus Leeming <leeming@lyx.org>
6170 * sgml.h: ensure that the header file can be compiled stand-alone.
6171 * *.C: strip out redundant #includes. (320 in total.)
6173 2003-09-04 Angus Leeming <leeming@lyx.org>
6175 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6176 here (from getPackages).
6178 * debug.[Ch]: add a new EXTERNAL tag.
6180 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6182 * text2.C (cursorEnd): simplify
6184 (getColumnNearX): adjust
6186 * text.C (computeBidiTables): adjust
6189 * rowpainter.C (paintChars): adjust
6190 (paintSelection): adjust
6191 (paintChangeBar): adjust
6194 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6196 (numberOfSeparators): adjust
6198 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6204 * text3.C: Restricts the mouse click functionality
6205 of insets like bibtex, include, toc and floatlist to the visible
6206 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6207 up the dialogs. Cursor has to be in front of the inset (i.e.
6208 start of row) for this to function.
6210 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6212 * bufferview_funcs.C (currentState): output row information
6214 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6216 * bufferview_funcs.C (currentState): output paragraph position
6218 2003-09-04 Angus Leeming <leeming@lyx.org>
6220 * FloatList.h: move out #include "Floating.h".
6221 * LaTeX.h: move out #include "DepTable.h".
6222 * LyXAction.h: move out #include "funcrequest.h".
6223 * buffer.h: move out #include "author.h", "iterators.h".
6224 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6225 * lyx_main.h: move out #include "errorlist.h".
6226 * lyxfunc.h: move out #include "FuncStatus.h".
6227 * lyxtext: move out #include "lyxcursor.h".
6228 * paragraph_pimpl.h: move out #include "counters.h".
6230 2003-09-03 Angus Leeming <leeming@lyx.org>
6232 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6233 preamble_snippets list, enabling us to add snippets to the preamble
6234 only if the snippet was not there already.
6236 2003-09-04 Angus Leeming <leeming@lyx.org>
6238 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6240 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6242 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6245 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6247 * BranchList.C: point fix, earlier forgotten
6249 2003-09-02 Angus Leeming <leeming@lyx.org>
6251 * box.C (contains): renamed from 'contained' after a fantastic
6254 2003-09-02 John Levon <levon@movementarian.org>
6260 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6262 2003-09-02 John Levon <levon@movementarian.org>
6264 * text2.C: simplification of cursorEnd(), including partial
6267 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6269 * buffer.C (readFile): add a space
6271 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6273 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6275 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6277 * buffer.C (readFile): new function, take a filename and a
6278 ParagraphList::iterator
6280 (readFile): adjust, make it private. don't use setStream, make
6281 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6282 always contain the filename.
6284 * BufferView.C (insertLyXFile): simplify and make it work for
6287 2003-08-30 John Levon <levon@movementarian.org>
6289 * Makefile.am: fix dist (from Kayvan)
6291 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6293 * most files: change to use const Buffer refs
6295 2003-08-27 André Pönitz <poenitz@gmx.net>
6297 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6298 on top of ownerPar().
6300 2003-08-27 John Levon <levon@movementarian.org>
6302 * funcrequest.C: properly initialise POD members
6304 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6306 * lyxtext.h (top_y): move top_y from here
6311 * BufferView_pimpl.[Ch]: to here
6312 * frontends/screen.C:
6313 * insets/insettabular.C:
6314 * insets/insettext.C: adjust
6315 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6317 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6320 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6322 2003-08-26 André Pönitz <poenitz@gmx.net>
6324 * paragraph_func.[Ch] (outerPar): new function
6327 * paragraph_funcs.C:
6328 * paragraph_funcs.h:
6329 * paragraph_pimpl.C:
6330 * text2.C: remove Inset::par_owner
6332 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6337 * text2.C: eliminates the needFullRow/display() stuff
6338 altogether, putting the logic in metrics/draw in the insets.
6340 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6342 * text2.C (redoParagraphInternal, redoParagraphs):
6343 * text.C (redoParagraph): add a call to updateRowPositions at the
6344 end of each 'metrics-like' call. Remove all others.
6345 (getRow): remove the 'y-computing' version.
6346 (getRowNearY): do not compute nor return the real y. Solve the
6347 'y < 0' problem and simplify.
6349 2003-08-22 Angus Leeming <leeming@lyx.org>
6351 * *.[Ch]: clean-up of licence and author blurbs.
6352 Also move config.h out of a few .h files and into a few .C files.
6354 2003-08-22 André Pönitz <poenitz@gmx.net>
6356 * lyxrow.[Ch]: add x_ and *fill_ members
6361 * text2.C: adjust/remove prepareToPrint() calls
6363 2003-08-22 André Pönitz <poenitz@gmx.net>
6365 * lyxrow.[Ch]: add end_ member
6367 * lyxrow_funcs.C: use LyXRow::end_
6369 * lyxtext.h (singleWidth): add LyXFont parameter
6372 * text2.C: adjust LyXText::singleWidth() calls
6374 * text.C (redoParagraph): simplify row breaking logic
6377 2003-08-19 André Pönitz <poenitz@gmx.net>
6379 * funcrequest.C: initialize button_ member
6382 * rowpainter.[Ch]: interface consolidation
6384 2003-08-18 André Pönitz <poenitz@gmx.net>
6387 * BufferView_pimpl.C:
6389 * paragraph_funcs.C:
6391 * text3.C: remove LyXScreen::draw() and fitCursor calls
6393 * BranchList.h: remove spurious semicolons
6395 * MenuBackend.C: fix branchlist related crash
6397 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6405 * bufferparams.[Ch]:
6409 * text3.C: implements the 'branch inset'
6410 idea. This allows the output of various versions of a document
6411 from a single source version, selectively outputing or suppressing
6412 output of parts of the text.
6413 This implementation contains a 'branch list editor' in a separate
6414 tab of the document settings dialog. Branches are user definable
6415 and have a "display colour" to distinguish them on-screen.
6417 ColorHandler was somewhat cleaned up.
6418 (1) make possible a dynamically growing LColor list by allowing
6419 the graphic context cache to grow along (vector);
6420 (2) eliminate an IMHO unnecessary step in colour allocation.
6422 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6424 * BufferView_pimpl.C: compile fix
6426 2003-08-15 André Pönitz <poenitz@gmx.net>
6428 * rowpainter.C: remove extra metrics calls
6430 * lyxtext.h: merge the two constructors into a single one,
6431 pass reference to owner's par list
6433 * BufferView_pimpl.C:
6437 2003-08-15 André Pönitz <poenitz@gmx.net>
6439 * lyxrow_funcs.[Ch]:
6442 * paragraph_funcs.C:
6447 * text_funcs.C: split LyXText::rowlist_ into individual
6448 Paragraph::rows_ chunks
6451 * BufferView_pimpl.[Ch]:
6454 * text3.C: remove toggleSelection()
6456 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6458 * bufferlist.C: beautify two alerts (shorter text of buttons)
6459 * buffer.C: Remove redundant ' ' from message
6461 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6462 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6463 rename VALIGN_CENTER to VALIGN_MIDDLE
6465 2003-08-11 André Pönitz <poenitz@gmx.net>
6467 * lyxtext.h (getPar):
6468 * text.C: new function
6470 2003-08-11 André Pönitz <poenitz@gmx.net>
6473 * tracer.[Ch]: remove unneeded files
6475 * InsetList.[Ch]: remove resizeInsetsLyXText()
6480 * text3.C: merge insertParagraphs() and appendParagraph()
6481 remove breakAgain(), update()
6483 * BufferView_pimpl.[Ch]:
6484 * bufferview_funcs.[Ch]:
6488 * tabular.C: adjust after text & InsetList changes.
6490 2003-08-08 André Pönitz <poenitz@gmx.net>
6492 * text.C (insertChar, backspace): replace rowlist fiddling
6493 with rebreak of full par
6496 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6497 checkParagraph, updateInset): removed
6499 2003-08-07 André Pönitz <poenitz@gmx.net>
6502 * text3.C: merge some LFUN handlers, remove dead code
6504 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6506 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6508 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6510 * text2.C (DEPM): fix part of bug 1255 and 1256
6512 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6514 * BufferView_pimpl.C (workAreaDispatch): change to use
6515 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6516 that are no mouse related.
6518 2003-08-05 André Pönitz <poenitz@gmx.net>
6521 * BufferView_pimpl.[Ch]:
6522 * bufferview_funcs.C:
6524 * text3.C: rip out "deep update"
6526 * textcursor.[Ch] (last_sel_cursor): remove unused member
6528 2003-08-04 André Pönitz <poenitz@gmx.net>
6531 * BufferView_pimpl.[Ch]:
6532 * ParagraphParameters.C:
6533 * bufferview_funcs.C:
6539 * text3.C: replace "complicated" BufferView::update(...) calls with
6542 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6544 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6546 * Makefile.am (lyx_SOURCES): add paper.h
6548 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6550 * Makefile.am: move things around so that both lyx-qt and
6551 lyx-xforms can be built (according to --with-frontend). Then lyx
6552 is a symbolic link to lyx-[firstfrontend]
6554 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6556 * Always use std::endl with lyxerr
6558 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6560 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6562 2003-08-01 André Pönitz <poenitz@gmx.net>
6565 * BufferView_pimpl.[Ch]:
6567 * text3.C: merge BufferView::repaint() and BufferView::update()
6569 2003-08-01 José Matos <jamatos@lyx.org>
6571 * buffer.[Ch]: file_format is no longer a buffer data element.
6573 2003-08-01 André Pönitz <poenitz@gmx.net>
6578 * text2.C: make redoParagraph more independent of current cursor
6580 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6582 * text2.C: remove unneeded members
6584 2003-07-30 André Pönitz <poenitz@gmx.net>
6586 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6588 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6589 create a single function...
6591 * paragraph_funcs.C (moveItem): ... here.
6594 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6596 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6598 * LColor.[Ch]: Add comment and greyedout logical colors.
6600 2003-07-30 André Pönitz <poenitz@gmx.net>
6602 * tabular.C: don't use Assert too heavily. This crashes where it
6605 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6607 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6608 is disabled (bug 1232)
6610 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6612 * factory.C: limited 'arg' scope
6614 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6616 * factory.C: fixed Note submenu issues
6618 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6620 * factory.C: submenu for Note/Comment/Greyedout
6622 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6625 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6627 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6630 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6631 greyedout. Patch provided by Jürgen Spitzmüller.
6633 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6635 * kbmap.C (read): fix error message when reading bind files
6637 2003-07-29 Angus Leeming <leeming@lyx.org>
6639 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6640 certainly does not do what it purports to do. I am doing it, and
6641 us, a favour by killing it.
6643 2003-07-28 José Matos <jamatos@lyx.org>
6645 * buffer.C (readBody, do_writeFile):
6646 * paragraph.C(readParagraph): \end_document replaces \the_end.
6648 2003-07-29 André Pönitz <poenitz@gmx.net>
6651 * BufferView_pimpl.[Ch]:
6655 * textcursor.[Ch]: remove toggleToggle & Co
6657 2003-07-28 José Matos <jamatos@fep.up.pt>
6659 * buffer.C (readParagraph):
6660 * params_func (readParToken, readParagraph):
6661 * paragraph.C (write): \layout -> \begin_layout.
6663 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6665 * lyxlex_pimpl.C (setFile): clean up slightly.
6667 * bufferparams.h: add compressed var
6669 * buffer_funcs.C (readFile): adjust for LyXLex change
6670 (newFile): ditto + simplify
6672 * buffer.C (writeFile): handle writing of compressed files
6674 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6675 Check if the file is compressed and set a bufferparm if so.
6677 * Makefile.am (lyx_LDADD): remove explicit -lz
6679 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6681 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6682 makeDocBookFile): put the real LyX version in the first line of
6686 * version.C.in: remove lyx_docversion
6688 * tabular.C (write_attribute): add a template-based version to
6689 write enums properly
6691 2003-07-28 André Pönitz <poenitz@gmx.net>
6696 * text3.C: use doubles again for x-coordinates. They are needed.
6698 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6700 * messages.C (getLocaleDir): use lyx_localedir()
6702 * lyxlex_pimpl.C (setFile): compress stuff
6704 * buffer.C (writeFile): add some compression stuff
6705 (do_writeFile): new func, dont call expliti close... will this
6708 * Makefile.am (lyx_LDADD): add -lz
6710 2003-07-28 José Matos <jamatos@fep.up.pt>
6712 * buffer.C: increment file format.
6713 * paragraph_funcs (readParagraph, readParToken):
6714 * paragraph.C (readParagraph): add \end_layout.
6716 2003-07-27 Angus Leeming <leeming@lyx.org>
6718 * Makefile.am: remove special casing for configure-time setting of
6719 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6721 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6722 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6724 2003-07-26 André Pönitz <poenitz@gmx.net>
6726 * paragraph_func.[Ch]:
6727 * paragraph.C (realizeFont): inline it whereever it is used
6732 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6735 2003-07-26 André Pönitz <poenitz@gmx.net>
6739 * text2.C: get rid of LyXText::need_break_row
6741 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6743 * toc.[Ch]: put namespace toc inside namespace lyx
6745 * MenuBackend.C (expandToc2): adjust for lyx::toc
6748 * lyxfunc.C (dispatch): adjust for lyx::find
6750 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6751 lyx::find instead. Reorganize a bit.
6752 (LyXReplace): rename to replace
6753 (LyXFind): rename to find
6755 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6758 2003-07-26 André Pönitz <poenitz@gmx.net>
6760 * text.C (setHeightOfRow): restrict scope of temporary variable
6762 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6763 code (never has been used?)
6765 2003-07-27 Asger Alstrup <alstrup@local>
6767 * text.C (fill): Optimise algorithm to exploit that we can reuse
6768 the LyXFont for many characters.
6769 (setHeightOfRow): Same thing.
6770 (rowBreakPoint): Same thing.
6772 2003-07-26 Asger Alstrup <alstrup@local>
6774 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6776 * text.C (singleWidth): Spurious font copying in hot-spot
6777 singleWidth avoided. Reorder tests for arabic for efficiency.
6779 * text.C (fill): handle empty paragraphs better.
6781 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6784 * encoding.h: add includes
6786 * lyxrc.C: remove reading of bind files
6788 * lyx_main.C (init): setup bindings and menus only if we have a
6791 * kbmap.C (read): new method. Do the actual reading of bind
6794 * converter.C (dvipdfm_options):
6797 (output): adapt PAPER_* enums.
6799 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6801 * bufferparams.h: remove paper-related enums from there
6803 * paper.h: New file. A trivial header file to hold paper-related
6804 enums. It should later expand to contain many paper-related
6807 * lyxrc.C: declare extern displayTranslator
6809 2003-07-27 José Matos <jamatos@fep.up.pt>
6811 * tabular.[Ch] (linuxdoc): add support for tables and figures
6814 2003-07-27 José Matos <jamatos@fep.up.pt>
6816 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6817 consistency in both functions.
6818 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6820 2003-07-26 Asger Alstrup <alstrup@local>
6822 * rowpainter.C (paintRows): Change algorithm to work directly on
6823 the insets rather than asking every character in the document
6824 whether its an inset.
6826 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6828 * buffer.C (openFileWrite): factorize some code
6830 2003-07-26 Angus Leeming <leeming@lyx.org>
6833 * lyx_main.[Ch]: replace occurances of system_tempdir with
6836 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6838 * rename Inset to InsetOld
6840 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6842 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6843 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6844 which I think is a bit clearer. EDIT is gone, since it was
6845 premature optimisation, and broken for mathed anyway.
6846 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6847 with cursor positioning in insets as well (math insets still do not
6848 work, but that's a different story anyway.) It mysteriously
6849 crashes sometimes with undo in the first paragraph, but I'm fairly
6850 confident that this is a compiler bug.
6852 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6854 * paragraph.C (Paragraph): adjust for new clone return type
6856 (copyIntoMinibuffer): ditto
6858 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6860 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6861 by not having a special case, and always doing a full rebreak of
6862 the document after undo.
6864 2003-07-23 Angus Leeming <leeming@lyx.org>
6866 * factory.C (createInset): InsetExternal::setParams now takes a
6869 2003-07-23 Angus Leeming <leeming@lyx.org>
6871 * factory.C (createInset): changed interface to the external and
6872 graphics mailers' string2params functions.
6874 2003-07-23 Angus Leeming <leeming@lyx.org>
6876 * factory.C (createInset): pass a
6877 Buffer const * parameter to InsetExternalMailer's string2params.
6879 2003-07-22 John Levon <levon@movementarian.org>
6881 * Thesaurus.h: include the right aiksaurus header
6883 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6885 * MenuBackend.C (expand): check menu shortcuts unconditionally
6887 2003-07-21 Angus Leeming <leeming@lyx.org>
6889 * factory.C (createInset): pass a
6890 buffer_path parameter to InsetGraphicsMailer's string2params.
6892 2003-07-21 Angus Leeming <leeming@lyx.org>
6894 * BufferView_pimpl.C (buffer):
6897 * lyxfunc.C (dispatch):
6898 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6899 rather than the grfx shortcut.
6901 2003-07-21 André Pönitz <poenitz@gmx.net>
6903 * rowpainter.C: remove unused variables
6906 * tabular_funcs.h: move to tabular.C
6907 * Makefile.am: adjust
6909 * tabular.[Ch]: basic optical cleaning
6911 * author.h: pass references, not values
6913 2003-07-18 André Pönitz <poenitz@gmx.net>
6921 * text3.C: two-phase drawing for InsetText and InsetTabular
6922 some float -> int changes.
6924 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6926 * lyx_main.C: fix the fix
6928 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6930 * lyx_main.C: fix a crash in batch mode if no files specified
6933 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6935 * format.[Ch] (papersize): moved to BufferParams
6936 * converter.[Ch] (dvips_options): moved to BufferParams
6937 (dvipdfm_options): moved to anon namespace
6938 * bufferparams.[Ch]: added above functions.
6940 2003-07-17 André Pönitz <poenitz@gmx.net>
6944 * text2.C: don't call inset->update() anymore
6946 * metricsinfo.[Ch]: add convenience constructor
6948 2003-07-16 André Pönitz <poenitz@gmx.net>
6953 * text2.C: replace the LyXCursor::irow_ member with
6954 on-demand computation of the value
6956 2003-07-16 John Levon <levon@movementarian.org>
6958 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6960 2003-07-15 André Pönitz <poenitz@gmx.net>
6963 * text2.C: remove no more needed refresh_row
6965 2003-07-15 André Pönitz <poenitz@gmx.net>
6970 * text3.C: refresh_status tristate -> need_update bool
6972 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6974 * lyxtext.h (init): remove reinit argument (act as if always true)
6975 * text2.C: adjust to that
6977 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6979 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6980 * text3.C: use it to delete selections in some cases
6981 (bugs 441, 673, 702, 954).
6983 2003-07-14 André Pönitz <poenitz@gmx.net>
6985 * rowpainter.[Ch]: reduce interface
6987 2003-07-14 André Pönitz <poenitz@gmx.net>
6989 * BufferView_pimpl.C:
6990 * text2.C: adjust after removing unused BufferView * argument
6992 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6994 * text2.C (init): fix a crash fired on resize
6996 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6998 * buffer.[Ch]: added new closing signal
6999 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7000 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7001 BufferView::Pimpl via the closing the signal
7003 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
7005 * buffer.[Ch]: take out all bv-related from buffer
7007 * BufferView_pimpl.[Ch]: connect to new signals
7008 * CutAndPaste.C: removed useless asserts
7009 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7012 * lyxfunc.C: moved view-related funciontality from vc here
7013 * paragraph.C: removed outdated comments
7016 2003-07-10 André Pönitz <poenitz@gmx.net>
7018 * BufferView_pimpl.C:
7022 * text2.C: remove InsetText::InnerCache, clean up consequences
7024 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7026 * ispell.C: fix two typos in error messages
7028 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
7030 * Extend Note inset to other forms of annotation like Comment
7031 and Greyedout. Right button click gives dialog.
7033 Files modified or added (+):
7037 * ControlNote.[Ch] +
7039 * Makefile.am in frontends/xforms, frontends/xforms/forms,
7040 frontends/controllers
7044 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7046 * aspell.C: add missing namespace lyx::support
7048 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
7050 * BufferView.[Ch] (newFile): Add
7051 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7052 * LaTeX.[Ch] (message): added this signal and use it
7053 * buffer.[Ch] (busy, message): added these signals and use them
7054 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7058 * importer.C: use buffer signals instead of direct bv calling
7059 * lyx_cb.[Ch] (ShowMessage): removed
7062 * paragraph_funcs.C:
7063 * text2.C: use buffer signals
7065 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7067 * introduce namespace lyx::graphics
7069 2003-07-02 André Pönitz <poenitz@gmx.net>
7071 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7073 2003-07-01 André Pönitz <poenitz@gmx.net>
7080 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7081 text*.C to text_func.C
7083 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7085 * introduce namespace lyx::support
7087 2003-06-30 André Pönitz <poenitz@gmx.net>
7092 * text.C: re-enable --with-included-string
7094 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7096 * textcursor.C: add <config.h>
7098 * text.C (getWord): remove const from word_location arg
7100 * lyxvc.C (getLogFile): fix const type order
7102 * lyxtext.h: remove const from word_location arg, add arg name
7104 * lyxlayout.h: currect type on labeltype.
7106 * importer.C: correct \file
7108 * converter.C (intToFormat): use std:: on ret val, ws changes
7110 * bufferlist.h: correct \file
7112 * buffer.C (makeLinuxDocFile): fix const type order
7113 (makeDocBookFile): ditto
7114 (fillWithBibKeys): use std:: on stdlib args.
7116 * CutAndPaste.C: fix authors.
7117 (availableSelections): use std:: on return vector
7119 2003-06-27 André Pönitz <poenitz@gmx.net>
7121 * BufferView_pimpl.C:
7122 * bufferview_funcs.C:
7130 * text3.C: remove LyXCursor::row_ member
7133 * text.C: rename fullRebreak() to partialRebreak() and implement
7134 a fullRebreak() that really bereks fully
7136 * textcursor.h: new struct for cursor-related data
7138 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7140 * lyx_main.C (LyX): get full path of document loaded on the
7143 2003-06-26 André Pönitz <poenitz@gmx.net>
7145 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7146 remove unused/broken operator>,<,>=.
7148 * text.C: remove only use of broken operator<= in an Assert().
7150 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7152 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7153 moved errorlist_.clear to showErrorList
7155 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7157 * converter.C (scanLog, runLaTeX):
7158 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7159 move the bv->showErrorList call to the callers
7160 * lyxfunc.C: i.e. here...
7162 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7163 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7164 namespace, the second to...
7165 * buffer_funcs (BufferFormat, parseErrors): added
7166 * errorlist.C (ErrorList(TeXErrors const &)): removed
7168 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7170 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7172 2003-06-24 "Garst R. Reese" <reese@isn.net>
7176 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7178 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7180 * version.C.in: change docversion to 1.4
7182 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7184 * buffer.C: fix a bug just introduced
7186 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7188 * buffer.[Ch]: added the parseError signal and use it, removed
7190 * BufferView.[Ch] (addError): moved to ...
7191 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7192 to the Buffer::parseError signal to catch (guess what) parse errors
7193 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7195 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7197 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7198 ability to create a buffer and to return an existing one from
7199 the list. Moved these functions to...
7200 * buffer_funcs.[Ch]: added
7201 * BufferView.[Ch] (loadLyXFile): added
7202 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7203 job removed from bufferlist::loadLyXFile.
7204 * buffer.C (setReadOnly): make it work without view
7205 (i.e added an if (users))
7207 2003-06-19 Angus Leeming <leeming@lyx.org>
7210 * LyXAction.C (init):
7211 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7212 with LFUN_DIALOG_SHOW <name> <data>.
7214 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7216 * CutAndPaste.C (availableSelections): small compilation fix for
7217 ancient (gcc 2.9x) compilers
7219 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7221 * text3.C (cursorNext): add tmp var
7223 * text2.C (updateCounters): for function calling out of for clause
7224 (replaceSelectionWithString): ditto
7225 (insertStringAsParagraphs): ditto
7226 (getColumnNearX): add tmp var
7227 (setCursorFromCoordinates): add tmp var
7228 (cursorDownParagraph): add tmp var
7229 (deleteEmptyParagraphMechanism): add tmp var
7231 * text.C (insertChar): add tmp var
7233 * rowpainter.C (paintDepthBar): add tmp var
7235 * CutAndPaste.C (availableSelections): potentially check all
7236 paragraphs in a cut to fill the shown strings.
7238 2003-06-18 André Pönitz <poenitz@gmx.net>
7240 * kbmap.[Ch]: use vector<> instead of list<>
7242 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7244 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7245 pasteSelection with index
7247 * text2.C (pasteSelection): modify, call pasteSelection with index
7249 * paragraph.C (asString): reimplement version with no interval to
7250 call the one with interval.
7252 * lyxtext.h: add index arg to pasteSelection
7254 * MenuBackend.C (MenuItem): handle PasteRecent
7255 (Menu::read::Menutags): add md_pasterecent
7257 (expandPasteRecent): new function
7260 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7262 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7264 (availableSelections): new function
7266 2003-06-17 Angus Leeming <leeming@lyx.org>
7268 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7270 2003-06-17 Angus Leeming <leeming@lyx.org>
7273 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7275 * lyxfunc.C (dispatch): invoke it.
7277 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7279 * iterators.C (operator++, ParPosition): reintroduce some
7280 const_cast for the benefit of older compilers.
7282 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7284 * text3.C (dispatch): do not modify clipboard when doing
7285 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7286 LFUN_DELETE_SKIP on a selection selection
7288 2003-06-16 André Pönitz <poenitz@gmx.net>
7294 * tabular.[Ch]: IU of clone() and getLabelList();
7296 2003-06-13 André Pönitz <poenitz@gmx.net>
7298 * tabular.h: compactification
7300 2003-06-12 André Pönitz <poenitz@gmx.net>
7304 * tabular_funcs.h: some renaming plus whitespace
7306 2003-06-12 André Pönitz <poenitz@gmx.net>
7309 * BufferView_pimpl.C:
7315 * toc.C: Return a Paragraph & for ParIterator::operator*()
7317 2003-06-11 John Levon <levon@movementarian.org>
7321 * ToolbarBackend.C: add "Toolbars" section and
7324 2003-06-10 Angus Leeming <leeming@lyx.org>
7327 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7329 * lyxfunc.C (dispatch): invoke it.
7331 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7333 * main.C: protect <ios> with HAVE_IOS
7334 (main): protect sync_with_stdio with HAVE_IOS
7336 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7338 * text2.C (cutSelection): adjust
7339 (pasteSelection): adjust
7341 * messages.C: handle get of empty string
7343 * main.C (main): use sync_with_stdio(false)
7345 * lyxfunc.C (dispatch): adjust
7347 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7348 (WriteAs): remove unneeded BufferView arg.
7350 * bufferparams.h: use correct types on papersize, papersize2 and
7353 * bufferparams.C (readToken): adjust for type
7354 (writeLaTeX): add missing cases to switch.
7356 * bufferlist.C (quitWriteBuffer): adjust
7359 * buffer.C (asciiParagraph): remove some commented code.
7361 * CutAndPaste.C: remove current_view extern variable.
7362 (cutSelection): add BufferParams arg.
7363 (eraseSelection): add BufferParams arg.
7364 (pasteSelection): add Buffer const & arg
7366 2003-06-07 John Levon <levon@movementarian.org>
7369 * paragraph_funcs.C:
7370 * paragraph_pimpl.C:
7374 * paragraph.C: allow InsetERT to freely space lines,
7375 and some consolidation of code
7377 2003-06-06 José Matos <jamatos@fep.up.pt>
7379 * buffer.C (makeDocBookFile): fix bug #821
7381 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7383 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7385 2003-06-04 Angus Leeming <leeming@lyx.org>
7387 * buffer.C: bump format to 224.
7389 2003-06-05 André Pönitz <poenitz@gmx.net>
7391 * text2.C (redoParagraphs): remove two const_cast<>
7393 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7395 * ParagraphList.h: remove last remnants of NO_STD_LIST
7397 2003-06-03 Angus Leeming <leeming@lyx.org>
7399 * factory.C (createInset): small change to the way InsetExternal's params
7402 2003-06-04 André Pönitz <poenitz@gmx.net>
7404 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7406 * paragraph_pimpl.h:
7407 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7409 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7411 * undo_funcs.C: make some simple cases of undo work again
7413 2003-06-03 John Levon <levon@movementarian.org>
7415 * ispell.C: HPUX doesn't have sys/select.h
7418 2003-06-03 John Levon <levon@movementarian.org>
7420 * CutAndPaste.C: update tabular and include inset
7425 * paragraph.C: remove owningBuffer(), don't pass Buffer
7428 * factory.C: insetGraphicsParams changed
7430 2003-06-02 John Levon <levon@movementarian.org>
7436 * text3.C: remove insetparent
7438 2003-06-02 John Levon <levon@movementarian.org>
7441 * buffer.C: fix inset_iterator.end(), move out of line
7444 2003-06-01 John Levon <levon@movementarian.org>
7446 * text3.C: use a proper cut/paste when doing inset
7447 insert (from Jürgen Spitzmüller)
7449 2003-06-01 John Levon <levon@movementarian.org>
7451 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7453 2003-05-30 André Pönitz <poenitz@gmx.net>
7455 * rowpainter.C: unify second drawing phase
7457 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7459 * trans_mgr.C: remove one case of current_view
7461 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7463 * paragraph_funcs.h: remove paragraph.h include
7465 * paragraph.h: delete NO_STD_LIST stuff
7467 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7469 * buffer.h: remove paragraph.h include
7471 * ParagraphList.C: delete file
7473 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7475 * toc.C (getTocList): adjust
7477 * paragraph_pimpl.C (validate): adjust
7479 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7481 * paragraph.C (Paragraph): adjust
7482 (getPositionOfInset): use const_iterator, adjust
7483 (bibitem): use const_iterator, adjust
7484 (setInsetOwner): adjust
7486 * iterators.C (operator++): adjust
7488 * InsetList.[Ch]: Replace selfmade iterator with standard
7489 vector::iterator also introduce const_iterator. Remove getPos,
7490 getInset and setInset from InsetTable. Adjust accordingly.
7492 * BufferView.C (lockInset): adjust
7493 (ChangeInsets): adjust
7495 * tabular.[Ch]: delete commented same_id functions
7497 2003-05-28 John Levon <levon@movementarian.org>
7499 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7501 2003-05-28 André Pönitz <poenitz@gmx.net>
7503 * metricsinfo.[Ch]: remove 'fullredraw' member
7505 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7507 * lyxtextclass.C (operator): remove caching.
7509 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7513 * text2.C (cursorBottom): adjust
7514 (setCounter): use ParagraphList::find, adjust
7516 * text.C (workWidth): use ParagraphList::find, adjust
7518 * lyxcursor.C (LyXCursor): adjust
7520 * buffer.C (inset_iterator): adjust
7522 * ParagraphList.h: make iterator(value_type) private, make
7523 ParagraphList a friend of iterator.
7525 * ParagraphList.C (find): new function
7527 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7529 2003-05-27 André Pönitz <poenitz@gmx.net>
7531 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7533 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7535 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7537 2003-05-26 John Levon <levon@movementarian.org>
7539 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7541 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7543 * remove same_id from function signatures, adjust.
7545 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7547 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7549 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7551 * paragraph.C (Paragraph): get rid of same_ids parameter
7553 * ParagraphList.C (insert): adjust
7556 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7558 * paragraph_funcs.C (breakParagraph): adjust
7559 (breakParagraphConservative): adjust
7561 * buffer.C (readParagraph): adjust
7563 * ParagraphList.C (insert): take a reference instead of a pointer
7566 * paragraph.[Ch] (id): new function
7568 * bufferlist.C (newFile): adjust
7570 * ParagraphList.C (ParagraphList): adjust
7572 (push_back): take a reference instead of a pointer.
7574 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7576 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7579 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7580 set else use old code.
7582 * ParagraphList.C: remove all NO_NEXT code and only compile this
7583 code of NO_STD_LIST is set.
7585 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7587 * BufferView_pimpl.C:
7597 * graphics/GraphicsConverter.C:
7598 * graphics/PreviewLoader.C: header adjustment
7600 2003-05-23 Angus Leeming <leeming@lyx.org>
7602 * LaTeXFeatures.[Ch] (useBabel): new method.
7603 * bufferparams.C (writeLaTeX): use it.
7605 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7607 * ParagraphList.h (set): remove unused function.
7609 2003-05-23 André Pönitz <poenitz@gmx.net>
7612 * BufferView_pimpl.C:
7616 * undo_funcs.C: setUndo reworked
7618 * iterators.[Ch]: add access to topmost ParagraphList
7620 * lyxtext.[Ch] (workWidth): add a const
7622 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7624 * texrow.[Ch] (increasePos): remove function
7625 * exporter.C (export): removed unused var and outdated comment
7627 2003-05-23 Angus Leeming <leeming@lyx.org>
7629 * latexrunparams.h: rename fragile as moving_arg.
7630 * paragraph.C (simpleTeXOnePar): ditto.
7631 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7633 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7635 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7637 (textUndoOrRedo): comment out a currently unused var.
7639 * paragraph.h (NO_NEXT): enable NO_NEXT
7641 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7643 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7645 * exporter.C (Export): adjust for removeAutoInsets removal.
7647 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7649 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7651 * BufferView.[Ch] (removeAutoInsets): delete function
7653 2003-05-22 Angus Leeming <leeming@lyx.org>
7655 * latexrunparams.h: add a free_spacing variable.
7657 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7658 to pass moving_arg, as the data is stored in runparams.fragile.
7660 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7661 to Inset::latexOptional or to simpleTeXOnePar.
7663 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7664 free_spacing arg to Inset::latexOptional.
7666 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7669 2003-05-22 Angus Leeming <leeming@lyx.org>
7671 * latexrunparams.h: add fragile and use_babel variables.
7673 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7674 * buffer.C (makeLaTeXFile): store this returned value in
7675 runparams.use_babel, thus passing it to the inset::latex methods.
7677 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7678 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7680 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7681 longer has a fragile arg, as it is stored in runparams.fragile.
7683 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7684 moving_arg parameter as the data is stored in runparams.fragile.
7686 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7687 a fragile parameter as the data is stored in runparams.fragile.
7689 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7691 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7693 2003-05-22 Angus Leeming <leeming@lyx.org>
7695 * latexrunparams.h: add a 'bool nice' which defaults to false.
7697 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7698 now encapsulated within runparams.
7700 * bufferlist.C (updateIncludedTeXfiles):
7701 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7703 2003-05-22 Angus Leeming <leeming@lyx.org>
7705 * latexrunparams.h: new file containing struct LatexRunParams.
7706 * Makefile.am: add new file.
7708 * LaTeX.[Ch] (c-tor, run):
7709 * buffer.[Ch] (makeLaTeXFile):
7710 * bufferlist.[Ch] (updateIncludedTeXfiles):
7711 * converter.C (convert, scanLog):
7712 * converter.[Ch] (runLaTeX):
7713 * exporter.C (Export):
7714 * paragraph.[Ch] (simpleTeXOnePar):
7715 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7716 * paragraph_funcs.[Ch] (latexParagraphs):
7717 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7718 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7719 pass around a LatexRunParams parameter.
7721 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7723 * paragraph.[Ch]: remove unused constructor
7725 * ParagraphList.C (erase): new function, taking two iterators
7727 2003-05-22 André Pönitz <poenitz@gmx.net>
7729 * undo_funcs.C: remove duplicated code
7731 * iterator.[Ch]: operator=
7733 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7735 * tabular.C (SetMultiColumn): ws changes
7737 * rowpainter.C (paintFirst): get rid of a ->previous
7739 * lyx_cb.C (getPossibleLabel): parlist simplification
7741 * BufferView.C (ChangeInsets): simplify slightly.
7743 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7745 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7746 * lfuns.h: new LFUN_SPACE
7747 * lyxfunc.C: protected space has a new lfun
7748 * paragraph_funcs.C: read new space insets
7750 * factory.C: handle new space insets
7752 2003-05-22 André Pönitz <poenitz@gmx.net>
7755 * BufferView_pimpl.C:
7758 * undo_funcs.C: return a ParIterator from getParFromID.
7760 * iterators.[Ch]: add two const's
7762 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7764 * toc.C (getTocList): adjust
7766 * iterators.[Ch]: rework for parlist
7768 * buffer.C (par_iterator_begin): adjust
7769 (par_iterator_end): adjust
7771 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7773 * BufferView.C (removeAutoInsets): adjust
7774 (ChangeInsets): adjust
7776 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7778 * text.C (top_y): fix bug 1110
7780 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7782 * errorlist.[Ch]: added
7785 * BufferView_pimpl.C:
7786 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7789 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7791 * Makefile.am: ensure that lyx is relinked upon changes to the
7792 various "convenience" libs.
7794 2003-05-20 Angus Leeming <leeming@lyx.org>
7796 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7797 files are compiled in alphabetical order again.
7799 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7801 2003-05-19 Angus Leeming <leeming@lyx.org>
7803 * gettext.[Ch]: remove "char const * _(char const *)".
7805 2003-05-19 André Pönitz <poenitz@gmx.net>
7807 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7816 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7818 2003-05-19 André Pönitz <poenitz@gmx.net>
7822 * lyxtextclass.[Ch]:
7824 * paragraph_funcs.[Ch]:
7826 * text3.C: more insetenv work
7828 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7830 * ParagraphParameters.C (params2string): small bug fixed
7832 2003-05-16 André Pönitz <poenitz@gmx.net>
7835 * bufferview_funcs.C: patch from Kornel Benko to prevent
7836 crash when _(...) is called twice in a statement
7838 2003-05-16 André Pönitz <poenitz@gmx.net>
7845 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7847 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7849 * lyx_main.C (init): remove spurious static_cast
7851 2003-05-14 André Pönitz <poenitz@gmx.net>
7853 * BufferView.C: fix format string
7855 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7857 * BufferView.[Ch] (insertErrors): removed
7858 * BufferView.[Ch] (showErrorList): added
7859 * buffer.C (runChkTeX):
7860 * converter.C (scanLog): call showErrorList instead of inserterrors
7862 2003-05-13 André Pönitz <poenitz@gmx.net>
7864 * BufferView_pimpl.C:
7866 * bufferview_func.C:
7873 * tabular_funcs.h: tostr() from its own header
7875 * ParagraphParameters.C:
7880 * text3.C: STRCONV()
7882 2003-05-12 André Pönitz <poenitz@gmx.net>
7885 * BufferView_pimpl.C:
7889 * ParagraphParameters.C:
7893 * bufferview_funcs.C:
7906 * paragraph_funcs.C:
7910 * text3.C: boost::format -> bformat all over the place
7913 2003-05-09 André Pönitz <poenitz@gmx.net>
7915 * LColor.[Ch]: Pimpl the #include <map> away
7917 2003-05-09 John Levon <levon@movementarian.org>
7919 * bufferlist.C: never remove emergency saves
7921 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7923 * Makefile.am: better lib building
7925 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7927 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7929 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7930 (simpleTeXSpecialChars): adjust
7931 (simpleTeXSpecialChars): adjust
7932 * paragraph.C (simpleTeXOnePar): adjust
7933 * buffer.C (makeLaTeXFile): adjust
7935 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7937 * text2.C (changeDepth): parlist cleanup
7938 (getColumnNearX): ditto
7940 * rowpainter.C (getLabelFont): parlist cleanup
7942 * bufferlist.C (newFile): parlist cleanup
7944 * CutAndPaste.C (eraseSelection): parlist cleanup
7946 * BufferView_pimpl.C (trackChanges): parlist cleanup
7949 * BufferView.C (lockInset): parlist cleanup.
7950 (ChangeInsets): ditto
7952 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7954 * CutAndPaste.h: Update file header.
7956 * CutAndPaste.C: Update file header.
7957 Store the parts cut out of the Document in a limited_stack.
7958 (copySelection): adjust
7959 (pasteSelection): new function, takes the index in the limited stack.
7960 (nrOfParagraphs): adjust
7961 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7962 simplify error inset insertion.
7963 (checkPastePossible): adjust
7965 2003-05-06 John Levon <levon@movementarian.org>
7967 * text2.C: don't cast wrap inset to float
7969 2003-05-05 André Pönitz <poenitz@gmx.net>
7972 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7974 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7975 few naked Paragraph *.
7977 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7979 * bufferparams.C: Output warning if a document with missing
7980 TeX document class is loaded
7981 * exporter.C: Disable TeX exports if the document class is missing
7984 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7985 isTeXClassAvailable()
7987 2003-05-03 John Levon <levon@movementarian.org>
7990 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7991 explicit cursor show/hide
7993 * BufferView_pimpl.h:
7994 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7995 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7997 * lyxfunc.C: hide cursor before dispatching.
8002 * text3.C: remove explicit cursor hides
8004 2003-05-02 André Pönitz <poenitz@gmx.net>
8006 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8009 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8012 * text2.C: tiny whitespace
8014 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8016 * undo_funcs.C: almost only ws changes.
8018 * ParagraphList.C (splice): just return if pl is empty.
8020 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8022 * ParagraphList.C (splice): new function.
8024 * CutAndPaste.C (pasteSelection): use it
8026 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8028 * CutAndPaste.C (pasteSelection): remove the last next and
8029 previous from this file.
8031 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8033 * CutAndPaste.C (pasteSelection): more clean up, user proper
8034 ParagraphList functions for pasteing.
8036 * ParagraphList.C (insert): new function, three arg insert
8038 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8040 * ParagraphList.C (insert): new function, three arg insert
8042 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8045 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8047 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8049 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8051 * CutAndPaste.C (pasteSelection): remove some unneeded code.
8053 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8055 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8056 (copySelection): clean up a bit.
8057 (pasteSelection): use make_pair
8059 * ParagraphList.C (ParagraphList): implement copy constructor
8060 (operator=): implement, base on copy constructor.
8063 * paragraph.C (erase): return a bool
8065 * paragraph_pimpl.C (erasePos): remove function, move contents...
8066 (erase): ... here. Return a bool.
8067 (erase): call erase instead of erasePos.
8069 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
8071 * ParagraphList.h: define PitPosPair
8072 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8073 ParagraphList, fix a bug on pasting multiple pars
8074 * text2.C: change interface to C&P
8076 2003-04-30 André Pönitz <poenitz@gmx.net>
8078 * undo_func.C: revert part of yesterday's patch 2
8080 2003-04-30 John Levon <levon@movementarian.org>
8082 * LColor.C: s/tabular/table/
8084 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8086 * text3.C (dispatch): do not convert iterator -> pointer
8087 * undo_funcs.C (setCursorParUndo): ditto
8088 * text_funcs.C (transposeChars): ditto
8090 * text2.C (setLayout): ws changes only
8092 * text.C (breakParagraph): do not convert iterator -> pointer
8094 (acceptChange): ditto
8095 (rejectChange): ditto
8100 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8103 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8105 * text3.C (gotoInset): YABG (yet another bad getChar)
8107 2003-04-29 André Pönitz <poenitz@gmx.net>
8109 * paragraph.h: make operator= private unimplemented as long as
8112 * ParagraphList.C: whitespace
8115 * paragraph_pimpl.[Ch]:
8116 * paragraph_funcs.C:
8118 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8121 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8123 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8125 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8126 * paragraph.[Ch] (erase):
8127 * paragraph_pimpl.[Ch] (erase): change return type and value
8128 * text2.C (cutSelection): some rework
8130 2003-04-28 John Levon <levon@movementarian.org>
8132 * bufferlist.C: changes for unsaved changes dialog
8134 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8136 * bufferlist.C (newFile): set language (messages_) for new
8139 * buffer.C (readFile): ws changes only.
8141 2003-04-28 André Pönitz <poenitz@gmx.net>
8146 * BufferView_pimpl.C:
8147 * BufferView.C: getParFromID related ParagraphList::iterator changes
8149 2003-04-28 André Pönitz <poenitz@gmx.net>
8151 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8154 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8156 * messages.C: remove one more localedir class variable.
8158 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8160 * messages.C (getLocaleDir): singleton generation function
8162 (Messages): add a default constructor.
8164 * main.C (main): do not setup localedir here, do not call
8167 * gettext.C (_): use it.
8168 (gettext_init): delete funciton
8170 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8172 * gettext.C (getLyXMessages): new singleton generating function.
8174 * buffer.C (updateDocLang): adjust
8176 * Makefile.am (messages.o): add target
8177 (main.o): remove target
8179 2003-04-27 John Levon <levon@movementarian.org>
8184 * lyxvc.C: specify cancel button in Alert::prompt
8186 2003-04-26 John Levon <levon@movementarian.org>
8191 * LyXAction.C: add LFUN_INSET_SETTINGS
8193 * lyxfunc.C: don't enable tabular-feature when there's
8194 just any locking inset
8196 2003-04-26 John Levon <levon@movementarian.org>
8198 * bufferlist.C: re-add Cancel to buffer close question
8200 * lyxfunc.C: fix import UI a bit
8202 2003-04-25 John Levon <levon@movementarian.org>
8204 * gettext.C: remove the broken asserts for now
8206 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8208 * messages.C: make case where setlocale cannot comply work better.
8210 * buffer.C (updateDocLang): new function
8211 (changeLanguage): use it
8214 * text2.C (setCounter): use B_ a bit.
8216 * lyxlayout.C (Read): be sure to trim the label strings.
8218 * messages.C (Messages): fix typo in comment
8220 * buffer.C (readFile): set message_ after file is loaded.
8221 (makeDocBookFile): remove double return
8222 (changeLanguage): reset message_ upon language change.
8223 (B_): new func, use this to get translated buffer strings.
8225 * main.C: add myself and Jean Marc as authors.
8227 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8229 * messages.[hC]: pimplify Messages, and three different pimpls to be
8230 used in different circumstances.
8232 * gettext.[Ch]: change for use with new message code.
8234 2003-04-24 André Pönitz <poenitz@gmx.net>
8236 * factory.C: support for eqref
8238 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8240 * messages.[Ch]: add missing char
8242 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8244 * messages.[Ch]: New files
8246 2003-04-18 John Levon <levon@movementarian.org>
8250 * BufferView_pimpl.C:
8254 * text2.C: remove layout-copy/paste (bug 778)
8256 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8258 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8260 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8262 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8263 if they succeed. Act accordingly.
8265 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8267 * text2.C (setCharFont): adjust
8268 (setCounter): adjust
8269 (insertStringAsLines): adjust
8271 * text.C (leftMargin): adjust
8272 (setHeightOfRow): adjust
8274 * rowpainter.C (paintFirst): adjust
8277 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8279 (isFirstInSequence): ditto
8280 (getEndLabel): ditto
8283 * paragraph.C (getParLanguage): comment out some hard stuff.
8285 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8287 (simpleDocBookOnePar): ditto
8288 (makeDocBookFile): use ParagraphList::iterator
8290 * CutAndPaste.C (pasteSelection): adjust
8292 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8294 * text2.C (getFont): adjust
8295 (getLayoutFont): adjust
8296 (getLabelFont): adjust
8298 * paragraph_funcs.C (TeXOnePar): adjust
8300 * buffer.C (simpleLinuxDocOnePar): adjust
8301 (simpleDocBookOnePar): adjust
8303 * CutAndPaste.C (pasteSelection): adjust
8305 * BufferView.C (getEncoding): adjust
8307 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8309 2003-04-16 John Levon <levon@movementarian.org>
8311 * lyxfind.C: use parlist stuff for search/changes
8313 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8315 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8317 * text2.C (deleteEmptyParagraphMechanism): adjust
8319 * text2.[Ch] (ownerParagraph): delete func (both of them
8321 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8323 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8325 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8327 * ParagraphList.C: prepare for NO_NEXT
8329 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8331 * text2.C (getFont): adjust
8332 (getLayoutFont): adjust
8333 (getLabelFont): adjust
8335 * paragraph.C (getFont): adjust
8336 (getLabelFont): adjust
8337 (getLayoutFont): adjust
8339 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8341 2003-04-15 John Levon <levon@movementarian.org>
8345 * lyx_main.C: handle Include in .ui files
8347 2003-04-15 John Levon <levon@movementarian.org>
8349 * MenuBackend.C: make the doc files length shorter
8352 * ToolbarBackend.C: handle toolbar placement flags,
8355 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8357 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8360 * paragraph_funcs.C (TeXOnePar): adjust
8362 * paragraph.C (getLabelFont): add outerfont arg, adjust
8363 (getLayoutFont): ditto
8364 (simpleTeXOnePar): adjust
8366 * paragraph_pimpl.C (realizeFont): delete func
8368 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8370 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8371 row argument, constify cur argument.
8373 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8375 * text2.C (getFont): adjust
8376 (getLayoutFont): adjust
8377 (getLabelFont): adjust
8379 * paragraph_funcs.C (TeXOnePar): adjust
8380 (outerFont): new func...
8381 (realizeFont): ...moved out from here, changed this to facilitate
8384 * paragraph.C (getFont): take outerfont as arg, adjust
8385 (simpleTeXOnePar): add outerfont arg, adjust
8387 * buffer.C (simpleLinuxDocOnePar): adjust
8388 (simpleDocBookOnePar): adjust
8390 * CutAndPaste.C (pasteSelection): adjust
8392 * BufferView.C (getEncoding): adjust
8394 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8396 * text2.C (setCharFont): adjust
8397 (setCounter): adjust
8399 * text.C (leftMargin): adjust
8400 (setHeightOfRow): adjust
8402 * rowpainter.C (paintFirst): adjust
8405 * paragraph_pimpl.C (realizeFont): adjust
8407 * paragraph.C (isFirstInSequence): move from here...
8408 * paragraph_funcs.C (isFirstInSequence): ...to here
8410 * paragraph.C (outerHook): move from here...
8411 * paragraph_funcs.C (outerHook): ...to here
8413 * paragraph.C (depthHook): move from here...
8414 * paragraph_funcs.C (depthHook): ...to here
8416 * paragraph.C (getEndLabel): move from here...
8417 * paragraph_funcs.C (getEndLabel): ...to here
8419 * text2.C (realizeFont): move from here...
8420 * paragraph_funcs.C (realizeFont): ...to here
8422 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8424 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8426 2003-04-14 Angus Leeming <leeming@lyx.org>
8428 * LColor.[Ch]: scrap LColor mathcursor.
8430 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8432 * lyxlex.[Ch] (text): delete function
8433 * trans.C (Load): adjust
8434 * paragraph_funcs.C (readParToken): adjust
8436 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8438 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8439 vector<char> instead of a char[].
8441 * lyxlex_pimpl.C (getString): adjust
8443 (lex): use getString
8447 * lyxlex.C (text): use pimpl_->getString()
8451 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8453 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8454 (makeFontEntriesLayoutSpecific): temp var for par.size()
8455 (setLayout): temp var for ownerParagraphs().end()
8456 (fullRebreak): temp var for rows().end()
8457 (selectionAsString): temp var for boost::next(startpit), realize
8458 that the while really is a regular for loop.
8459 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8460 setCursor in one place.
8461 (setParagraph): temp vr for ownerParagraphs().end()
8462 (updateCounters): make the while loop a for loop
8463 (cutSelection): temp var for ownerParagraphs().end()
8464 (updateInset): make the do {} while() a regular for loop
8465 (getCursorX): use temp vars
8466 (setCurrentFont): use temp vars
8467 (getColumnNearX): use temp vars
8469 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8471 * text.C (transformChar): use temp var for getChar
8472 (computeBidiTables): use temp var for row->par()
8473 (fill): move temp vars for row->par() and pit->layout() earlier in
8475 (labelFill): use temp var for row->par()
8476 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8477 asc and desc, realize that pit never changes and that firstpit is
8478 just a duplicate and not needed. Exchange rit->par() with pit in a
8480 (breakAgain): use a temp var for boost::next(rit)
8481 (breakAgainOneRow): ditto
8482 (breakParagraph): use a temp var for rows().begin()
8483 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8484 (cursorRightOneWord): use temp var for cursor.par() and
8485 cursor.pos(), remove usage of tmpcursor.
8486 (cursorLeftOneWord): use temp var for cursor.par() and
8487 cursor.pos() only set cur at end of function.
8489 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8491 * text.C, text2.C: exchange all usage of Paragraph::next with
8492 boost::next(ParagraphList::iterator)
8494 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8496 * text2.C (cursorTop): simplify implementation
8497 (cursorBottom): ditto
8498 (setParagraph): use ParagraphList::iterator
8499 (setCurrentFont): adjust
8500 (getColumnNearX): adjust
8501 (cursorRight): adjust
8502 (cursorLeft): remove usage of Paragraph::previous
8503 (cursorUpParagraph): ditto
8504 (deleteEmptyParagraphMechanism): slight cleanup
8506 * text.C (isBoundary): take a Paragraph const & instead of a
8508 (addressBreakPoint): ditto
8509 (leftMargin): remove usage of Paragraph::previous.
8510 (setHeightOfRow): ditto
8511 (cursorLeftOneWord): ditto
8512 (selectNextWordToSpellcheck): ditto
8515 (breakParagraph): remove one usage of Paragraph::next
8516 (redoParagraph): ditto
8517 (acceptChange): ditto
8518 (insertChar): adjust
8519 (rowBreakPoint): adjust
8521 * bufferview_funcs.C (toggleAndShow): adjust
8523 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8525 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8526 methods to access it.
8528 * text.C: Added updateRowPositions to compute all row positions.
8529 Make top_y and getRowNearY() to use the cached y position
8531 2003-04-11 John Levon <levon@movementarian.org>
8533 * text.C (rowBreakPoint): reintroduce the labelEnd
8534 checks, code copied from the row fill stuff. Deep voodoo.
8536 * text.C (fill): add a comment and debugging for the
8539 2003-04-11 John Levon <levon@movementarian.org>
8541 * text.C: make sure fullrow insets get wrapped to the next line,
8542 even when they're in a manual label
8544 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8546 * text2.C (insertParagraph): make it take ParagraphList::iterator
8548 (setLayout): make it return ParagraphList::iterator
8549 (redoParagraphs): ditto
8551 (checkParagraph): ditto
8553 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8555 * text2.C: adjust several funcs.
8556 (realizeFont): take a ParagraphList::iterator as arg.
8557 (getLayoutFont): ditto
8558 (getLabelFont): ditto
8559 (setCharFont): ditto
8561 * text.C: adjust several funcs.
8563 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8565 * text.C (selectNextWordToSpellcheck): don't accidentally
8568 2003-04-10 John Levon <levon@movementarian.org>
8570 * ToolbarBackend.C (getIcon): special handling for
8573 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8575 * text2.C (cursorRight): a getChar assert fixed
8577 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8579 * text2.C (getFont): change to take a ParagraphList::iterator
8580 instead of Paragraph*
8581 Adjust several functions.
8583 * text.C (transformChar): change to take a ParagraphList::iterator
8584 instead of Paragraph*
8585 (singleWidth): ditto
8586 Adjust several functions.
8588 * rowpainter.C: adjust several functions
8589 * rowpainter.h:store a ParagraphList::iterator and not a
8593 2003-04-09 John Levon <levon@movementarian.org>
8598 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8599 and the "help" bits as well
8601 2003-04-09 John Levon <levon@movementarian.org>
8604 * ToolbarBackend.C: allow multiple toolbars
8606 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8608 * undo_funcs.C (setCursorParUndo): adjust
8610 * text_funcs.C (transposeChars): adjust
8612 * text3.C (gotoNextInset): adjust
8615 * text2.C (setLayout): adjust
8616 (changeDepth): adjust
8618 (redoParagraphs): adjust
8619 (selectionAsString): adjust
8620 (setParagraph): adjust
8621 (insertInset): adjust
8622 (cutSelection): adjust
8623 (copySelection): adjust
8624 (pasteSelection): adjust
8625 (insertStringAsLines): adjust
8626 (updateInset): adjust
8627 (setCursor): change to take a ParagraphList::iterator parameter
8628 (setCursorIntern): change to take a ParagraphList::iterator parameter
8629 (setCurrentFont): adjust
8630 (cursorLeft): adjust
8631 (cursorRight): adjust
8632 (deleteEmptyParagraphMechanism): adjust
8634 * text.C (breakParagraph): adjust
8635 (insertChar): adjust
8636 (acceptChange): adjust
8637 (rejectChange): adjust
8638 (selectNextWordToSpellcheck): adjust
8639 (changeCase): adjust
8643 * lyxfind.C (SearchForward): adjust
8644 (SearchBackward): adjust
8645 (nextChange): adjust
8647 * lyxcursor.C (par): adjust
8649 * lyxcursor.h: store a ParagraphList::iterator instead of a
8652 * lyx_cb.C (getPossibleLabel): adjust
8654 * bufferview_funcs.C (toggleAndShow): adjust
8656 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8659 * BufferView.C (removeAutoInsets): adjust
8660 (lockedInsetStoreUndo): adjust
8662 2003-04-09 John Levon <levon@movementarian.org>
8664 * ToolbarBackend.C: try icon without argument
8665 if with argument fails
8667 2003-04-08 John Levon <levon@movementarian.org>
8670 * ToolbarBackend.C: add getIcon(), handle tooltip,
8671 and change from "Icon" to "Item".
8673 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8675 * BufferView.C (lockInset): another bad getchar crunched
8677 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8679 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8682 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8684 * lyxfind.C (searchForward, searchBackwards): bug 782
8686 2003-04-07 John Levon <levon@movementarian.org>
8688 * paragraph.C: remove dead comment
8690 * text.C: remove troublesome depth-fiddling code
8691 in leftMargin() and rightMargin() (bug 1017)
8693 * text.C: fix breaking of rows in nested lists
8696 * text2.C (updateCounters): fix up depth values
8699 2003-04-07 John Levon <levon@movementarian.org>
8701 * BufferView_pimpl.C: clear message when doc finishes resizing,
8702 and after a mouse event
8704 * lyxfunc.C: clear message after exiting inset
8706 2003-04-07 John Levon <levon@movementarian.org>
8708 * bufferview_funcs.C: show math status not outside
8709 status in the statusbar
8711 2003-04-07 John Levon <levon@movementarian.org>
8713 * lyxfunc.C: note status changed after a depth change
8715 2003-04-04 Angus Leeming <leeming@lyx.org>
8717 * LaTeX.h: move AuxInfo operator==, != out of line.
8718 Remove LaTeX virtual destructor; nothing derives from it.
8719 Move operator()() out of public area and rename it startscript().
8720 Change protected for private.
8722 2003-04-04 Angus Leeming <leeming@lyx.org>
8725 * text2.C: remove unneeded #includes.
8727 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8729 * text2.C (dEPM): fix the heigth of the next row
8731 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8733 * text.C: squashed an invalid getChar requester + some ws changes
8735 2003-04-03 John Levon <levon@movementarian.org>
8737 * bufferview_funcs.h:
8738 * bufferview_funcs.C:
8741 * text2.C: make getStatus work for the env depth lfuns
8743 2003-04-03 John Levon <levon@movementarian.org>
8745 * bufferview_funcs.h:
8746 * bufferview_funcs.C:
8749 * text2.C: parlistize decDepth(), by merging it with incDepth()
8751 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8753 * lyxrow.h: store a ParagraphList::iterator instead of a
8754 Paragraph* and adjust other class functions to suit.
8756 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8759 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8761 * text2.C (setCursor): do not anchor to cursor row for the time being
8763 2003-04-02 John Levon <levon@movementarian.org>
8770 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8772 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8774 * paragraph.h: make ParagraphList and ParagraphList::iterator
8775 friends of Paragraph.
8777 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8779 * ParagraphList.C: Use the private next_ and previous_ from
8782 2003-04-01 John Levon <levon@movementarian.org>
8786 * Makefile.am: rename, remove defaults gunk
8789 * MenuBackend.C: remove defaults gunk
8792 * Languages.C: remove defaults gunk
8795 * lyx_main.C: error out if files couldn't be found.
8797 2003-04-02 John Levon <levon@movementarian.org>
8799 * text2.C: make incDepth() use parlist
8801 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8803 * undo_funcs.C (firstUndoParagraph): adjust
8805 * text3.C (gotoInset): adjust
8806 (dispatch): adjust, and rewrite loop.
8808 * text2.C (init): adjust, and rewrite loop.
8809 (redoParagraphs): adjust
8810 (updateInset): adjust, and rewrite loop.
8811 (deleteEmptyParagraphMechanism): adjust
8813 * tabular.C (LyXTabular): adjust
8814 (SetMultiColumn): adjust
8817 * lyxtext.[Ch] (ownerParagraph): delete function
8818 (ownerParagraphs): new function returns a ParagraphList.
8820 * BufferView.C (removeAutoInsets): adjust
8821 (insertErrors): adjust
8822 (setCursorFromRow): adjust
8824 2003-04-01 Angus Leeming <leeming@lyx.org>
8826 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8829 2003-04-02 John Levon <levon@movementarian.org>
8835 * text_funcs.C: make transposeChars a free function
8837 * lyxrow_funcs.C: remove wrong comment
8839 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8842 * rowpainter.C: adjust
8847 * lyxrow_funcs. [Ch]: new files
8849 * lyxrow.[Ch]: remove next and previous pointers
8850 (next,previous): remove accessor functions
8851 (isParEnd): move to lyxrow_funcs
8852 (lastPos): move to lyxrow_funcs
8853 (nextRowIsAllInset): move to lyxrow_funcs
8854 (lastPrintablePos): move to lyxrow_funcs
8855 (numberOfSeparators): move to lyxrow_funcs
8856 (numberOfHfills): move to lyxrow_funcs
8857 (numberOfLabelHfills): move to lyxrow_funcs
8858 (hfillExpansion): move to lyxrow_funcs
8862 * bufferview_funcs.C (toggleAndShow): adjust
8864 * RowList.h: Remove class RowList from file leave just a
8867 * RowList.C: delete file
8869 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8872 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8874 * text3.C (cursorPrevious): adjust
8875 (cursorNext): adjust
8878 * text2.C (redoHeightOfParagraph): adjust
8879 (redoDrawingOfParagraph): adjust
8882 * text.C (breakParagraph): adjust
8883 (insertChar): adjust
8886 * rowpainter.C (RowPainter): adjust
8887 (leftMargin): simplify and adjust
8888 (most rowpainter functions): adjust.
8890 * rowpainter.h: store the row as RowList::iterator not as Row*
8892 * lyxcursor.C (row): taka RowList::iterator as arg
8895 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8898 2003-04-01 Angus Leeming <leeming@lyx.org>
8900 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8901 stuff like bool Bool.
8903 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8905 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8908 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8910 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8913 * lyxtext.h (rows): drop one version and leve a const variant that
8914 returns a RowList::iterator.
8916 2003-03-31 Angus Leeming <leeming@lyx.org>
8918 * text.C (fill): ensure that the signature is the same as that in the
8921 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8923 * text2.C (redoParagraphs): adjust
8924 (updateCounters): adjust
8925 (checkParagraph): adjust
8926 (getColumnNearX): adjust and reformat a bit.
8928 * text.C (top_y): adjust
8930 (leftMargin): adjust
8931 (prepareToPrint): adjust
8933 (getRowNearY): adjust
8935 * lyxtext.h: make rowlist_ mutable.
8937 * RowList.h: add const_iterator
8938 * RowList.C: adjust for RowList::const_iterator.
8940 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8943 2003-03-31 John Levon <levon@movementarian.org>
8946 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8948 * lyx_main.C: set default fonts from using lyx_gui funcs
8950 * exporter.C: pdf_mode moved from lyxrc
8953 * lyxfunc.C: changes from above
8955 2003-03-31 John Levon <levon@movementarian.org>
8957 * lyx_main.C: fix to the last fix
8959 2003-03-31 John Levon <levon@movementarian.org>
8961 * bufferlist.C: "Load original" -> "Load Original"
8967 * format.C: more Alert cleanups
8969 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8971 * text2.C (removeParagraph): make it take a RowList::iterator as
8973 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8974 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8976 * text.C (anchor_row): make it take a RowList::iterator as arg,
8978 (computeBidiTables): make it take a const reference to Row instead
8979 of Row pointer, adjust.
8980 (leftMargin): make it take a RowList::iterator as arg, adjust.
8981 (rowBreakPoint): adjust
8982 (breakAgainOneRow): make it take a RowList::iterator as arg,
8984 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8986 * bufferview_funcs.C (toggleAndShow): adjust
8988 2003-03-30 John Levon <levon@movementarian.org>
8992 * boost-inst.C: moved to support
8994 * several files: changes as a result
8996 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8998 * text2.C (LyXText): adjust.
9000 (removeRow): make it take a RowList::iterator as arg, adjust.
9001 (fullRebreak): adjust
9002 (deleteEmptyParagraphMechanism): adjust
9003 (clearPaint): adjust
9006 * text.C (top_y): adjust
9007 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9008 (breakAgain): make it take a RowList::iterator as arg, adjust.
9009 (breakParagraph): adjust
9010 (insertChar): adjust
9013 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9014 need_break_row, and refresh_row.
9016 * text3.C (dispatch): adjust
9018 * text2.C (checkParagraph): adjust
9020 (setCursorFromCoordinates): adjust
9022 * text.C (top_y): adjust
9024 (getRow): make it return a RowList::iterator, adjust
9025 (getRowNearY): make it return a RowList::iterator, adjust
9027 * text2.C (init): adjust
9028 (insertRow): remove function
9029 (insertParagraph): adjust
9030 (redoParagraphs): adjust
9031 (fullRebreak): adjust
9032 (updateCounters): adjust
9034 * text.C (top_y): rewrite to use RowList iterators.
9036 (setHeightOfRow): rewrite to sue RowList iterators.
9037 (appendParagraph): adjust
9038 (breakAgain): adjust
9039 (breakAgainOneRow): adjust
9040 (breakParagraph): adjust
9042 (getRowNearY): adjust, and remove commented code.
9044 * lyxtext.h (firstRow): delete function
9045 (lastRow): delete function
9046 (rows): new function (const and non-const versions.)
9047 (insertRow): delete function
9049 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9051 2003-03-29 John Levon <levon@movementarian.org>
9053 * BufferView_pimpl.C: always update scrollbar top
9054 because pasting text when we're anchored could mean we
9055 miss an update altogether
9057 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9059 * text2.C (init): use rowlist_.end() and not 0.
9060 (insertRow): change to take a RowList::iterator as arg, adjust
9062 (insertParagraph): change to take a RowList::iterator as arg,
9064 (redoParagraphs): remove some debug msgs.
9066 * text.C (appendParagraph): change to take a RowList::iterator
9067 arg, adjust for this.
9068 (breakAgain): add an assert
9069 (breakAgainOneRow): ditto
9071 2003-03-29 John Levon <levon@movementarian.org>
9073 * text2.C: do not clear selection after inc/decDepth
9076 2003-03-29 John Levon <levon@movementarian.org>
9079 * buffer.C: fix broken strerrors according to Lars
9081 2003-03-29 John Levon <levon@movementarian.org>
9083 * converters.C: more Alert cleanups
9085 2003-03-29 John Levon <levon@movementarian.org>
9087 * bufferview_funcs.C: remove pointless Alert
9089 * buffer.C: fix confusing error message when
9090 a template is chmoded 000
9092 2003-03-29 John Levon <levon@movementarian.org>
9096 * BufferView_pimpl.C: Alert fixes
9100 * tabular-old.C: remove unused table compat reading
9102 2003-03-29 John Levon <levon@movementarian.org>
9107 * lyx_cb.C: more Alert cleanups
9109 * lyxfunc.C: don't allow chktex if not latex document
9111 2003-03-29 John Levon <levon@movementarian.org>
9115 * buffer.C: warnings pushed down from support/,
9118 2003-03-29 John Levon <levon@movementarian.org>
9120 * lyxfunc.C: safety check for C-r (revert)
9122 2003-03-29 John Levon <levon@movementarian.org>
9125 * bufferlist.C: several UI fixes using Alert::prompt.
9126 Fix the pointless looping quit code. Fix stupid revert
9131 * lyx_cb.C: use Alert::prompt
9133 * lyx_main.C: remove a silly question
9135 * lyxfunc.C: remove a couple of silly questions,
9138 2003-03-28 John Levon <levon@movementarian.org>
9140 * text2.C: fix bug 974 (End on empty par)
9142 2003-03-28 John Levon <levon@movementarian.org>
9144 * BufferView_pimpl.C:
9146 * lfuns.h: remove do-nothing math greek lfuns
9148 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9150 * lyxgluelength.h (isValidGlueLength): add default arg on
9151 parameter 2. Remove default arg from friend in class.
9153 * lyxlength.h (isValidLength): add default arg on parameter 2.
9154 Remove default arg from friend in class.
9156 * text2.C (LyXText): adjust, initialize refresh_row.
9160 (insertParagraph): adjst
9161 (redoParagraphs): adjust
9162 (fullRebreak): adjust
9163 (updateCounters): adjust
9164 (deleteEmptyParagraphMechanism): first attempt at fixing a
9167 * text.C (top_y): adjust
9168 (setHeightOfRow): adjust
9170 (getRowNearY): adjust
9172 * lyxtext.h: include RowList.h
9173 (~LyXText): not needed anymore, deleted.
9174 (firstRow): modify for RowList
9175 (lastRow): new function
9176 Delete firstrow and lastrow class variables, add a Rowlist
9177 rowlist_ class variable.
9179 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9182 * RowList.C (insert): fix case where it == begin().
9184 2003-03-26 Angus Leeming <leeming@lyx.org>
9186 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9187 the thesaurus dialog.
9189 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9191 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9193 * RowList.[Ch]: new files
9195 * ParagraphList.C (erase): handle the case where it == begin
9198 2003-03-25 John Levon <levon@movementarian.org>
9202 * aspell.C: add new aspell support
9205 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9208 2003-03-25 Angus Leeming <leeming@lyx.org>
9211 * LyXAction.C (init): new LFUN_INSET_INSERT.
9213 * BufferView_pimpl.C (dispatch): split out part of the
9214 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9216 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9219 2003-03-25 Angus Leeming <leeming@lyx.org>
9221 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9223 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9226 * text3.C: remove useless row->height(0)
9228 2003-03-25 John Levon <levon@movementarian.org>
9232 * text3.C: rename the refreshing stuff to better names
9234 2003-03-24 John Levon <levon@movementarian.org>
9236 * BufferView_pimpl.h:
9237 * BufferView_pimpl.C: update layout choice on a mouse
9240 2003-03-23 John Levon <levon@movementarian.org>
9242 * Makefile.am: fix commandtags.h reference
9244 2003-03-22 John Levon <levon@movementarian.org>
9246 * BufferView_pimpl.C:
9251 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9253 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9256 * text.C: take the rtl methods out of line
9258 2003-03-21 André Pönitz <poenitz@gmx.net>
9260 * metricsinfo.[Ch]: new files containing structures to be passed around
9261 during the two-phase-drawing...
9263 2003-03-21 André Pönitz <poenitz@gmx.net>
9265 * lyxtextclass.C: read 'environment' tag.
9267 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9269 * text2.C (removeRow): fix bug 964
9271 2003-03-20 John Levon <levon@movementarian.org>
9275 * text2.C: paint cleanups. Inset::update() dropped font
9278 2003-03-19 John Levon <levon@movementarian.org>
9280 * lyxfunc.C: only fitcursor/markDirty if available()
9282 2003-03-19 John Levon <levon@movementarian.org>
9284 * commandtags.h: rename to ...
9286 * lfuns.h: ... this, and renumber / cleanup
9288 2003-03-19 John Levon <levon@movementarian.org>
9290 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9291 fit the cursor after an lfun
9295 * BufferView_pimpl.h:
9296 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9298 * LyXAction.C: layout-character should have ReadOnly
9300 * ParagraphParameters.C:
9302 * bufferview_funcs.C:
9309 * undo_funcs.C: changes from above
9311 2003-03-18 John Levon <levon@movementarian.org>
9313 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9314 remove it from update()
9316 * lyxfunc.C: update layout choice after an lfun
9318 * text3.C: remove extra updateLayoutChoice()s
9320 2003-03-18 John Levon <levon@movementarian.org>
9322 * text.C: top_y change means full repaint, fix
9323 a drawing bug with cursor movement
9325 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9329 * text2.C: anchor row on setCursor
9331 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9333 * lyxtext.h: remove almost all mutable keywords
9336 * text3.C: remove const keywords accordingly
9338 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9340 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9342 (TeXEnvironment): ditto
9345 2003-03-17 John Levon <levon@movementarian.org>
9347 * text.C (rowBreakPoint): remove attempt to fix displayed
9348 math insets inside a manual label
9350 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9352 * lyxtext.h: remove BufferView* as first arg from almost all class
9354 * other files: adjust.
9356 2003-03-17 John Levon <levon@movementarian.org>
9360 * text2.C: more paint cleanups
9362 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9365 * rowpainter.C: remove "smart" background painting code
9367 2003-03-16 John Levon <levon@movementarian.org>
9372 * text3.C: add helper functions for setting refresh_row/y
9374 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9376 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9377 newline inset which *can* get inserted in the pass_thru layouts.
9378 This is primarily for literate documents.
9380 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9382 * buffer.C: increment LYX_FORMAT to 223
9384 2003-03-14 André Pönitz <poenitz@gmx.net>
9386 * textclass.h: prepare for environment handling, ws changes
9387 * lyxlayout.C: read latexheader and latexfooter tags
9389 2003-03-14 John Levon <levon@movementarian.org>
9391 * text2.C: rewrite ::status() a bit
9393 2003-03-13 John Levon <levon@movementarian.org>
9395 * lyxtext.h: add some docs
9397 2003-03-13 John Levon <levon@movementarian.org>
9402 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9404 2003-03-13 John Levon <levon@movementarian.org>
9406 * text3.C: fix appendix redrawing
9408 2003-03-13 John Levon <levon@movementarian.org>
9410 * text.C (setHeightOfRow):
9412 * rowpainter.C: make appendix mark have the text
9413 "Appendix" so the user knows what it is
9416 * LColor.C: s/appendixline/appendix/ from above
9418 2003-03-13 John Levon <levon@movementarian.org>
9420 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9422 * text.C: fix a getChar(pos) bug properly
9424 2003-03-13 Angus Leeming <leeming@lyx.org>
9427 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9428 Probably only temporary. Let's see how things pan out.
9430 * BufferView.C (unlockInset):
9431 * BufferView_pimpl.C (fitCursor):
9432 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9434 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9435 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9437 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9438 new functions that convert ParagraphParameters to and from a string.
9440 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9441 BufferView::Pimpl's dispatch.
9442 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9444 2003-03-13 André Pönitz <poenitz@gmx.net>
9448 * factory.C: make it aware of InsetEnv
9450 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9452 * text2.C (setCursor): never ask for one past last
9453 (setCursor): add some debugging messages.
9455 * text.C (singleWidth): never ask for one past last
9456 (singleWidth): ditto
9458 (rightMargin): ditto
9459 (rowBreakPoint): ditto
9460 (setHeightOfRow): ditto
9461 (prepareToPrint): ditto
9463 * rowpainter.C (paintBackground): never ask for one past last
9464 (paintText): never ask for one past last
9466 * paragraph_pimpl.C (getChar): make the assert stricter, never
9467 allow the one past last pos to be taken
9469 * paragraph.C (getChar): ws changes only
9471 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9472 (numberOfSeparators): ditto
9473 (numberOfHfills): ditto
9475 2003-03-12 John Levon <levon@movementarian.org>
9481 * paragraph_funcs.C: fix per-buffer authorlists
9483 2003-03-12 John Levon <levon@movementarian.org>
9485 * text.C: fix newline in right address
9487 2003-03-12 Angus Leeming <leeming@lyx.org>
9489 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9490 duplicate those in LyXFunc::dispatch.
9494 * ToolbarDefaults.C:
9495 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9496 Add LFUN_FONTFREE_UPDATE.
9498 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9499 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9501 * bufferview_func.[Ch]: several new functions to facilliate
9502 transfer of data to and from the character dialog.
9504 2003-03-12 John Levon <levon@movementarian.org>
9509 * paragraph_funcs.C:
9510 * paragraph_pimpl.C:
9514 * text3.C: remove META_NEWLINE in favour of an inset
9517 * rowpainter.C: remove paintNewline (done by inset)
9519 2003-03-12 John Levon <levon@movementarian.org>
9521 * paragraph_pimpl.C: complain about bad getChar()s
9522 for a while at least
9524 2003-03-12 John Levon <levon@movementarian.org>
9527 * buffer.C: move paragraph read into a separate function,
9528 a little renaming to reflect that.
9531 * bufferparams.C: remove the author_ids map, not necessary now
9534 * factory.C: moved Buffer::readInset to here
9536 * paragraph_funcs.h:
9537 * paragraph_funcs.C: readParagraph free function moved from
9540 * tabular.C: name change
9542 2003-03-12 John Levon <levon@movementarian.org>
9545 * ParagraphParameters.C: move par params input to
9548 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9549 behave like a normal read from the stream wrt reading
9550 a line vs. a \\token
9552 2003-03-12 John Levon <levon@movementarian.org>
9555 * ParagraphParameters.h:
9556 * ParagraphParameters.C: move output code to a
9559 2003-03-12 John Levon <levon@movementarian.org>
9561 * BufferView.C (insertLyXFile):
9564 * tabular.C: use a parlist iterator for creating the
9567 2003-03-12 John Levon <levon@movementarian.org>
9569 * buffer.C: make current_change static local not
9572 2003-03-12 John Levon <levon@movementarian.org>
9574 * buffer.C: fix insertStringAsLines for change tracking
9576 2003-03-12 John Levon <levon@movementarian.org>
9583 * bufferparams.C: move author list into params. Rename some
9584 functions. Move the header reading into a separate token
9585 loop. Move the header token reading into BufferParams.
9587 2003-03-12 John Levon <levon@movementarian.org>
9589 * changes.C: put debug inside lyxerr.debugging() checks
9591 2003-03-11 André Pönitz <poenitz@gmx.net>
9593 * factory.C: make it aware of InsetHFill
9595 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9597 * buffer.C (latexParagraphs): move function from here...
9598 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9601 2003-03-10 Angus Leeming <leeming@lyx.org>
9603 * LyXAction.C (init): fix bug in poplating array with multiple entries
9604 with the same LFUN (spotted by JMarc).
9606 2003-03-10 John Levon <levon@movementarian.org>
9609 * text2.C: move getColumnNearX() near its
9612 2003-03-10 John Levon <levon@movementarian.org>
9614 * text.C: fix break before a minipage
9616 2003-03-10 John Levon <levon@movementarian.org>
9618 * text.C: fix the last commit
9620 2003-03-09 John Levon <levon@movementarian.org>
9624 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9625 bug 365 (don't break before insets unless needed). Don't
9626 return a value > last under any circumstances.
9628 2003-03-09 Angus Leeming <leeming@lyx.org>
9630 * BufferView_pimpl.C (trackChanges, dispatch): call
9631 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9633 2003-03-09 Angus Leeming <leeming@lyx.org>
9635 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9636 than Dialogs::showAboutlyx().
9638 2003-03-09 Angus Leeming <leeming@lyx.org>
9640 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9641 than Dialogs::showTabularCreate().
9643 2003-03-09 John Levon <levon@movementarian.org>
9647 * text2.C: 3rd arg to nextBreakPoint was always the same.
9650 2003-03-08 John Levon <levon@movementarian.org>
9657 * text2.C: Remove the "main" bit from the "main body"
9660 2003-03-08 John Levon <levon@movementarian.org>
9662 * text.C (leftMargin): The left margin of an empty
9663 manual label paragraph should not include the label width
9666 * text.C (prepareToPrint): don't attempt to measure hfills
9667 for empty manual label paragraphs - the answer should be 0
9669 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9671 * CutAndPaste.C: remove commented code and reindent.
9673 2003-03-08 John Levon <levon@movementarian.org>
9676 * lyxfunc.C: move reloadBuffer()
9679 * BufferView.C: to here
9681 * lyxvc.C: add comment
9684 * vc-backend.C: call bv->reload() to avoid
9685 getStatus() check on MENURELOAD
9687 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9689 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9690 to an old format .dep file.
9692 2003-03-07 Angus Leeming <leeming@lyx.org>
9694 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9695 when the LFUN_MOUSE_RELEASE should have been handled by
9696 inset->localDispatch.
9698 2003-03-07 Angus Leeming <leeming@lyx.org>
9700 * BufferView_pimpl.C (dispatch):
9701 * LyXAction.C (init):
9702 * ToolbarDefaults.C (init):
9704 * lyxfunc.C (getStatus):
9705 remove LFUN_INSET_GRAPHICS.
9707 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9709 2003-03-07 Angus Leeming <leeming@lyx.org>
9712 * LyXAction.C (init):
9713 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9715 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9718 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9720 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9721 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9723 2003-03-07 Angus Leeming <leeming@lyx.org>
9725 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9728 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9730 * ParagraphList.C (front): new function
9733 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9735 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9736 and top_row_offset_. removed var first_y.
9738 * text2.C (LyXText, removeRow):
9740 * BufferView_pimpl.C:
9741 use these methods instead of using first_y
9743 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9745 * text2.C (pasteSelection): adjust for checkPastePossible
9747 * CutAndPaste.C: remove Paragraph * buf and replace with
9748 ParagraphList paragraphs.
9749 (DeleteBuffer): delete
9750 (cutSelection): change the tc type to textclass_type
9751 (copySelection): change the tc type to textclass_type
9752 (copySelection): adjust for ParagraphList
9753 (pasteSelection): change the tc type to textclass_type
9754 (pasteSelection): adjust for Paragraphlist
9755 (nrOfParagraphs): simplify for ParagraphList
9756 (checkPastePossible): simplify for ParagraphList
9757 (checkPastePossible): remove unused arg
9759 * ParagraphList.C (insert): handle the case where there are no
9762 * CutAndPaste.h: make CutAndPaste a namespace.
9764 * text3.C (dispatch): adjust
9766 * text.C (breakParagraph): add a ParagraphList as arg
9768 * paragraph_funcs.C (breakParagraph): change to take a
9769 BufferParams and a ParagraphList as args.
9770 (breakParagraphConservative): ditto
9771 (mergeParagraph): ditto
9772 (TeXDeeper): add a ParagraphList arg
9773 (TeXEnvironment): ditto
9776 * buffer.C (readLyXformat2): adjust
9777 (insertStringAsLines): adjust
9778 (latexParagraphs): adjust
9780 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9781 (cutSelection): adjust
9782 (pasteSelection): adjust
9784 * BufferView_pimpl.C (insertInset): adjust
9786 2003-03-05 Angus Leeming <leeming@lyx.org>
9789 * LyXAction.C (init):
9790 * BufferView_pimpl.C (dispatch):
9791 * lyxfunc.C (getStatus):
9792 remove LFUN_CHILD_INSERT.
9794 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9796 2003-03-05 Angus Leeming <leeming@lyx.org>
9799 * LyXAction.C (init):
9800 * src/factory.C (createInset):
9801 * lyxfunc.C (getStatus):
9802 * text3.C (dispatch):
9803 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9805 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9807 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9809 * ParagraphList.C (insert): handle insert right before end()
9810 (erase): fix cases where it can be first or last paragraph.
9812 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9814 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9815 Paragraph::next and Paragraph::previous
9818 * text.C (breakParagraph): adjust
9820 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9821 BufferParams& as arg.
9822 (breakParagraph): use ParagraphList::insert
9823 (breakParagraphConservative): take a Buffer* instead of a
9824 BufferParams& as arg.
9825 (breakParagraphConservative): use ParagraphList::insert.
9827 * buffer.C (insertStringAsLines): un-const it
9828 (insertStringAsLines): adjust
9830 * ParagraphList.C (insert): new function
9832 * CutAndPaste.C (pasteSelection): adjust
9834 * text.C (backspace): adjust
9836 * tabular.C (SetMultiColumn): adjust
9838 * CutAndPaste.C (cutSelection): adjust
9839 (pasteSelection): adjust
9841 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9842 Buffer const * as arg
9844 * ParagraphList.C (erase): new function
9845 * paragraph_funcs.C (mergeParagraph): use it
9846 (mergeParagraph): make it take a Buffer* instead of a
9847 BufferParams* as arg
9849 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9851 (breakParagraphConservative): ditto
9853 * paragraph.h: remove the breakParagraph friend
9855 * paragraph.C (eraseIntern): new function
9856 (setChange): new function
9858 * paragraph_funcs.C (mergeParagraph): make it take a
9859 ParagraphList::iterator instead of a Paragraph *, adjust
9862 * paragraph.h: move an #endif so that the change tracking stuff
9863 also works in the NO_NEXT case.
9865 2003-03-04 Angus Leeming <leeming@lyx.org>
9868 * LyXAction.C: new LFUN_INSET_MODIFY.
9870 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9871 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9873 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9875 * several files: ws changes only
9877 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9878 (TeXEnvironment): ditto
9881 * buffer.C (makeLaTeXFile): adjust
9882 (latexParagraphs): make it take ParagraphList::iterator as args
9884 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9886 * buffer.C (latexParagraphs): adjust
9888 * paragraph.C (TeXOnePar): move function...
9889 (optArgInset): move function...
9890 (TeXEnvironment): move function...
9891 * paragraph_pimpl.C (TeXDeeper): move function...
9892 * paragraph_funcs.C: ...here
9894 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9896 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9898 * buffer.C (readInset): remove compability code for old Figure and
9901 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9903 * buffer.C: ws changes
9906 * BufferView_pimpl.C: ditto
9909 * bufferlist.h: ditto
9913 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9915 * converter.[Ch]: split into itself +
9918 * Makefile.am: += graph.[Ch] + format.[Ch]
9925 * lyxrc.C: added #include "format.h"
9927 2003-02-27 Angus Leeming <leeming@lyx.org>
9929 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9932 * factory.C (createInset): add "label" to the factory.
9934 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9935 string and do no more.
9937 2003-02-27 Angus Leeming <leeming@lyx.org>
9940 * LyXAction.C (init):
9941 * factory.C (createInset):
9942 * BufferView_pimpl.C (dispatch):
9943 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9945 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9947 * lyxfunc.C (dispatch):
9948 * text3.C (dispatch): pass name to params2string.
9950 2003-02-26 Angus Leeming <leeming@lyx.org>
9952 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9954 Rearrange the ~includes. Strip out the unnecessary ones.
9956 * factory.C (createInset): reformat.
9957 create new insets for the various LFUN_XYZ_APPLY lfuns.
9959 2003-02-26 John Levon <levon@movementarian.org>
9962 * lyxrow.C: add isParStart,isParEnd helpers
9964 * paragraph.h: make isInserted/DeletedText take refs
9966 * paragraph_funcs.h:
9967 * paragraph_funcs.C: remove #if 0'd code
9972 * text.C: use lyxrow helpers above.
9973 Move draw and paint routines to RowPainter.
9974 Make several methods use refs not pointers.
9975 Make backgroundColor() const.
9976 Add markChangeInDraw(), isInInset().
9977 Merge changeRegionCase into changeCase.
9978 Make workWidth() shouldn't-happen code into an Assert.
9981 * rowpainter.C: new class for painting a row.
9984 * vspace.C: make inPixels take a ref
9986 2003-02-26 Angus Leeming <leeming@lyx.org>
9988 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9991 2003-02-25 John Levon <levon@movementarian.org>
9993 * ispell.C: give the forked command a more accurate name
9995 2003-02-22 John Levon <levon@movementarian.org>
9998 * toc.C: make TocItem store an id not a Paragraph *
10001 2003-02-21 Angus Leeming <leeming@lyx.org>
10003 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10004 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10005 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10006 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10007 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10008 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10010 * BufferView_pimpl.C (dispatch):
10011 * LyXAction.C (init):
10012 * factory.C (createInset):
10013 * lyxfunc.C (getStatus, dispatch):
10014 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10016 2003-02-21 Angus Leeming <leeming@lyx.org>
10018 * BufferView_pimpl.C (MenuInsertLyXFile):
10019 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10020 * lyxfunc.C (menuNew, open, doImport):
10021 no longer pass a LyXView & to fileDlg.
10023 2003-02-21 Angus Leeming <leeming@lyx.org>
10025 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10026 * LyXAction.C: change, BIBKEY to BIBITEM.
10027 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10028 Change InsetBibKey to InsetBibitem.
10029 Change BIBKEY_CODE to BIBITEM_CODE.
10030 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10031 * factory.C: replace insetbib.h with insetbibitem.h.
10032 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10033 * paragraph.C: replace insetbib.h with insetbibitem.h.
10034 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10035 Change bibkey() to bibitem().
10036 * text.C: remove insetbib.h.
10037 * text2.C: replace insetbib.h with insetbibitem.h.
10038 change bibkey() to bibitem().
10039 * text3.C: remove insetbib.h.
10040 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10042 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10044 * lyxrc.C (output): enclose user email in quotes (in case there are
10047 2003-02-18 John Levon <levon@movementarian.org>
10049 * buffer.h: add std::
10051 2003-02-17 John Levon <levon@movementarian.org>
10057 * pspell.C: reworking. Especially in ispell, a large
10058 number of clean ups and bug fixes.
10060 * lyxfunc.C: fix revert to behave sensibly
10062 2003-02-17 André Pönitz <poenitz@gmx.net>
10065 * commandtags.h: new LFUN_INSERT_BIBKEY
10075 * paragraph_func.C: remove special bibkey handling
10077 2003-02-17 John Levon <levon@movementarian.org>
10079 * text.C (Delete): fix case where delete at the end of
10080 the very first paragraph would not merge the pars
10082 2003-02-17 John Levon <levon@movementarian.org>
10084 * lyxrow.C: fix lastPrintablePos()
10086 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10088 * bufferparams.C (writeLaTeX): add a std:here
10090 * buffer.C: and remove a using directive there
10092 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10094 * buffer.C (makeLaTeXFile): move the code that generates the
10097 * bufferparams.C (writeLaTeX): ... in this new method
10099 * LaTeXFeatures.C (getEncodingSet): make const
10100 (getLanguages): make const
10102 * MenuBackend.C (binding): returns the binding associated to this
10104 (add): sets the status of each item by calling getStatus. Adds
10106 (read): add support for OptSubMenu
10107 (expand): remove extra separator at the end of expanded menu
10109 2003-02-15 John Levon <levon@movementarian.org>
10112 * BufferView_pimpl.C:
10114 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10115 inset code that had no actual effect. Remove unneeded status
10118 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10120 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10123 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10125 * text.C (drawLengthMarker): also draw an arrow marker for
10126 symbolic lengths (medskip...)
10128 2003-02-14 John Levon <levon@movementarian.org>
10131 * tabular.C: better method names
10133 2003-02-14 John Levon <levon@movementarian.org>
10135 * BufferView_pimpl.C:
10140 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10141 it's a more accurate name. Remove some pointless uses.
10143 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10145 * text2.C (LyXText): change order of initilizers to shut off
10148 2003-02-14 John Levon <levon@movementarian.org>
10150 * buffer.C: use ParIterator for getParFromID()
10154 * paragraph_pimpl.h:
10155 * paragraph_pimpl.C: remove unused getParFromID()
10157 2003-02-14 John Levon <levon@movementarian.org>
10159 * buffer.C: remove some very old #if 0'd parse code
10161 2003-02-13 John Levon <levon@movementarian.org>
10165 * text2.C: move hfillExpansion(), numberOfSeparators(),
10166 rowLast(), rowLastPrintable(), numberofHfills(),
10167 numberOfLabelHfills() ...
10170 * lyxrow.C: ... to member functions here.
10175 * text.C: remove LyXText::beginningOfMainBody(), and call
10176 p->beginningOfMainBody() directly. Move the check for
10177 LABEL_MANUAL into the latter.
10184 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10190 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10191 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10193 2003-02-13 John Levon <levon@movementarian.org>
10195 * CutAndPaste.C: remove debug
10197 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10199 * paragraph.C (asString): remove two unused variables
10201 * lyxtextclass.C (readTitleType):
10203 (LyXTextClass): handle new members titletype_ and titlename_
10205 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10207 2003-02-09 John Levon <levon@movementarian.org>
10210 * buffer.C: replace hand-coded list with a map for the dep clean
10212 2003-02-08 John Levon <levon@movementarian.org>
10214 * LaTeX.C: consolidate code into showRunMessage() helper
10216 2003-02-08 John Levon <levon@movementarian.org>
10221 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10222 and pass the size in explicitly
10224 * BufferView_pimpl.h:
10225 * BufferView_pimpl.C:
10227 * BufferView.C: add getCurrentChange()
10229 * BufferView_pimpl.h:
10230 * BufferView_pimpl.C: handle change lfuns
10232 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10233 for changes. Mark pasted paragraphs as new.
10235 * support/lyxtime.h:
10236 * support/lyxtime.C:
10237 * DepTable.C: abstract time_t as lyx::time_type
10240 * LColor.C: add colours for new text, deleted text, changebars
10242 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10243 package use "usenames" option.
10247 * LyXAction.C: add change lfuns
10251 * author.C: author handling
10254 * buffer.C: add a per-buffer author list, with first entry as
10255 current author. Handle new .lyx tokens for change tracking. Output
10256 author list to .lyx file. Output dvipost stuff to .tex preamble.
10257 Bump lyx format to 222.
10260 * bufferlist.C: add setCurrentAuthor() to reset current author details
10264 * bufferparams.C: add param for tracking
10266 * bufferview_funcs.C: output change info in minibuffer
10270 * changes.C: add change-tracking structure
10273 * debug.C: add CHANGES debug flag
10276 * lyxfind.C: add code for finding the next change piece
10279 * lyxrc.C: add user_name and user_email
10282 * lyxrow.C: add a metric for the top of the text line
10285 * text.C: implement accept/rejectChange()
10288 * text.C: paint changebars. Paint new/deleted text in the chosen
10289 colours. Strike through deleted text.
10293 * paragraph_pimpl.h:
10294 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10295 in the current change to the insert functions. Rework erase to
10296 mark text as deleted, adding an eraseIntern() and a range-based
10297 erase(). Implement per-paragraph change lookup and
10300 * paragraph_funcs.C: Fixup paste for change tracking.
10302 * tabular.C: mark added row/columns as new.
10304 * text.C: fix rowLast() to never return -1. Don't allow
10305 spellchecking of deleted text. Track transpose changes. Don't
10306 allow paragraph break or merge where appropriate.
10308 * text2.C: leave cursor at end of selection after a cut.
10310 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10312 * text.C (getLengthMarkerHeight):
10313 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10314 visible on screen too.
10316 2003-02-07 John Levon <levon@movementarian.org>
10318 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10320 2003-02-05 Angus Leeming <leeming@lyx.org>
10322 * lyxserver.C (read_ready): revert my patch of 11 September last year
10323 as it sends PC cpu through the roof. Presumably this means that
10324 the lyxserver will no longer run on an Alpha...
10326 2003-01-30 Angus Leeming <leeming@lyx.org>
10328 * factory.C (createInset): create an InsetCommandParam of type "index"
10329 and use it to 'do the right thing'.
10331 * text2.C (getStringToIndex): ensure that cursor position is always
10332 reset to the reset_cursor position.
10334 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10336 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10339 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10343 * lyxfunc.C: Output messages with identical spelling, punctuation,
10346 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10348 * MenuBackend.C (expandFormats): List only viewable export formats
10351 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10354 * lyxfunc.C (getStatus): Make sure that formats other than
10355 "fax" can also be disabled
10357 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10359 * text3.C (dispatch): put the lfuns that insert insets in 3
10360 groups, and call doInsertInset with appropriate arguments.
10361 (doInsertInset): new function, that creates an inset and inserts
10362 it according to some boolean parameters.
10364 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10366 * buffer.C (readFile): remember to pass on 'par' when calling
10367 readFile recursively.
10369 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10371 * MenuBackend.C (expandFormats): add "..." to import formats.
10373 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10375 * paragraph.C (asString): Remove XForms RTL hacks.
10377 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10378 * buffer.C: fix typo
10380 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10382 * Makefile.am (LIBS): delete var
10383 (lyx_LDADD): add @LIBS@ here instead.
10385 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10387 * Clarify the meaning of "wheel mouse jump"
10389 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10391 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10394 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10396 * importer.C (Loaders): do not preallocate 3 elements in the
10397 vector, since one ends up with 6 elements otherwise
10399 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10401 * DepTable.C (write): write the file name as last element of the
10402 .dep file (because it may contain spaces)
10403 (read): read info in the right order
10405 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10407 * paragraph_pimpl.C (simpleTeXBlanks):
10408 (simpleTeXSpecialChars):
10409 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10411 * tabular.C (latex): add some missing case statements. Reindent.
10413 * MenuBackend.C (expandToc): remove unused variable.
10415 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10424 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10427 2003-01-05 John Levon <levon@movementarian.org>
10430 * BufferView.C: add getEncoding()
10433 * kbsequence.C: do not store last keypress
10436 * lyxfunc.C: store last keypress here instead. Pass encoding
10439 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10441 * lyx_main.C (init): remove annoying error message when following
10442 symbolic links (bug #780)
10444 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10446 * text.C (insertChar):
10447 * lyxrc.C (getDescription): remove extra spaces
10449 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10451 * lyxrc.C (getDescription): remove extra spaces
10453 2002-12-20 John Levon <levon@movementarian.org>
10455 * text3.C: hack fix for page up/down across tall rows
10457 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10459 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10462 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10464 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10465 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10466 thesaurus is not compiled in
10468 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10470 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10472 2002-12-16 Angus Leeming <leeming@lyx.org>
10475 * lyx_main.C (init): remove override_x_deadkeys stuff.
10477 2002-12-12 John Levon <levon@movementarian.org>
10479 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10480 insert. Only remove shift modifier under strict
10483 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10485 * MenuBackend.C (expandToc): fix crash.
10487 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10489 * MenuBackend.C (expandToc): gettext on float names.
10491 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10493 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10494 implement bool empty() [bug 490]
10496 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10498 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10500 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10502 * several files: ws changes
10504 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10506 * text2.C (setCounter): clean up a bit, use boost.format.
10507 (updateCounters): initialize par upon declaration.
10509 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10510 if the layout exists. We do not just store the layout any more.
10511 (SwitchLayoutsBetweenClasses): use boost.format
10513 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10515 * converter.C (convert): if from and to files are the same, use a
10516 temporary files as intermediary
10518 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10521 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10523 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10525 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10527 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10529 * tabular.C (asciiPrintCell): use string(size, char) instead of
10532 * sgml.C (openTag): fix order of arguments to string constructor
10535 * lyxfunc.C (dispatch): use boost.format
10537 * lots of files: change "c" -> 'c'
10539 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10541 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10543 2002-11-25 Angus Leeming <leeming@lyx.org>
10545 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10547 * lyx_main.C (init): compile fix.
10549 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10551 * lyx_cb.C (start): boost.formatify
10552 do not include <iostream>
10554 * lengthcommon.C: ws only
10556 * boost-inst.C,BoostFormat.h: add more explict instantations
10558 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10560 * lots of files: handle USE_BOOST_FORMAT
10562 2002-11-21 John Levon <levon@movementarian.org>
10564 * pspell.C: fix compile
10566 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10568 * lyxfunc.C (dispatch): use boost::format
10572 * lyxfont.C (stateText): use boost::format
10574 * lyx_main.C (LyX): use boost::format
10576 (queryUserLyXDir): ditto
10577 (readRcFile): ditto
10579 (typedef boost::function): use the recommened syntax.
10581 * importer.C (Import): use boost::format
10583 * debug.C (showLevel): use boost::format
10585 * converter.C (view): use boost::format
10590 * bufferview_funcs.C (currentState): use boost::format
10592 * bufferlist.C (emergencyWrite): use boost::format
10594 * buffer.C (readLyXformat2): use boost::format
10595 (parseSingleLyXformat2Token): ditto
10597 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10599 * LaTeX.C (run): use boost::format
10601 * Chktex.C (scanLogFile): use boost::format
10603 * BufferView_pimpl.C (savePosition): use boost::format
10604 (restorePosition): ditto
10605 (MenuInsertLyXFile): ditto
10607 * BoostFormat.h: help file for explicit instation.
10609 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10611 * tabular.C (latex): Support for block alignment in fixed width
10614 2002-11-17 John Levon <levon@movementarian.org>
10616 * BufferView_pimpl.C:
10618 * lyxfunc.C: split filedialog into open/save
10620 2002-11-08 Juergen Vigna <jug@sad.it>
10622 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10623 by my last patch (hopefully).
10625 2002-11-08 John Levon <levon@movementarian.org>
10634 * toc.C: ParConstIterator, and use it (from Lars)
10636 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10638 * lyxtextclass.[Ch]: revise and add doxygen comments
10640 2002-11-07 John Levon <levon@movementarian.org>
10642 * text.C: fix progress value for spellchecker
10644 * toc.C: fix navigate menu for insetwrap inside minipage
10646 * paragraph_funcs.C: added FIXME for suspect code
10648 2002-11-07 John Levon <levon@movementarian.org>
10650 * BufferView_pimpl.C: fix redrawing of insets
10653 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10655 * text2.C (updateCounters): fix bug 668
10657 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10659 * text3.C (dispatch): Do not make the buffer dirty when moving the
10662 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10664 * vc-backend.C: STRCONV
10665 (scanMaster): ditto
10667 * text2.C (setCounter): STRCONV
10669 * paragraph.C (asString): STRCONV
10671 * lyxlength.C (asString): STRCONV
10672 (asLatexString): ditto
10674 * lyxgluelength.C (asString): STRCONV
10675 (asLatexString): ditto
10677 * lyxfunc.C (dispatch): STRCONV
10680 * lyxfont.C (stateText): STRCONV
10682 * importer.C (Import): STRCONV
10684 * counters.C (labelItem): STRCONV
10685 (numberLabel): ditto
10686 (numberLabel): remove unused ostringstream o
10691 * bufferview_funcs.C (currentState): STRCONV
10693 * buffer.C (readFile): STRCONV
10694 (asciiParagraph): ditto
10695 (makeLaTeXFile): ditto
10697 * Spacing.C (writeEnvirBegin): STRCONV
10699 * LaTeXFeatures.C (getLanguages): STRCONV
10700 (getPackages): ditto
10702 (getBabelOptions): ditto
10703 (getTClassPreamble): ditto
10704 (getLyXSGMLEntities): ditto
10705 (getIncludedFiles): ditto
10709 (scanAuxFile): ditto
10712 * LString.h: add the STRCONV macros
10714 * BufferView_pimpl.C (savePosition): STRCONV
10715 (restorePosition): ditto
10716 (MenuInsertLyXFile): ditto
10718 * vc-backend.C (scanMaster): change from submatch[...] to
10721 * funcrequest.C: include config.h
10723 * factory.C: include config.h
10725 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10727 * box.C: include config.h
10729 * LaTeX.C (scanAuxFile): change from submatch[...] to
10733 2002-10-25 Angus Leeming <leeming@lyx.org>
10735 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10737 * ispell.[Ch] (setError): new method.
10738 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10739 Use setError() insetead of goto END.
10741 * lyx_cb.C (AutoSave): move out child process into new class
10744 2002-10-30 John Levon <levon@movementarian.org>
10746 * text3.C: make start appendix undoable
10748 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10750 * lyxlength.C (inPixels): Fix returned value.
10752 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10755 2002-10-24 Angus Leeming <leeming@lyx.org>
10757 * lyxgluelength.h: no need to forward declare BufferParams
10758 or BufferView, so don't.
10760 2002-10-21 John Levon <levon@movementarian.org>
10762 * BufferView.C: menuUndo ->undo, redo
10764 * BufferView.h: document, remove dead, make some methods private
10766 * paragraph_funcs.h:
10767 * paragraph_funcs.C:
10768 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10773 * sgml.C: move sgml open/close tag into sgml.C
10775 * bufferview_funcs.h: unused prototype
10778 * lyxfunc.C: remove unused
10781 * text.C: remove unused
10783 2002-10-21 John Levon <levon@movementarian.org>
10787 * BufferView_pimpl.h:
10788 * BufferView_pimpl.C: fix mouse wheel handling based on
10789 patch from Darren Freeman
10791 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10793 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10795 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10797 * lyxlength.C (inPixels): Fix hanfling of negative length.
10798 Fix LyXLength::MU case.
10800 2002-10-16 John Levon <levon@movementarian.org>
10802 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10804 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10806 * converter.C (view): add support for $$i (file name) and $$p
10807 (file path) for the viewer command. If $$i is not specified, then
10808 it is appended to the command (for compatibility with old syntax)
10810 2002-10-14 Juergen Vigna <jug@sad.it>
10812 * undo_funcs.C (textHandleUndo): alter the order in which the
10813 new undopar is added to the LyXText, as we have to set first
10814 the right prev/next and then add it as otherwise the rebuild of
10815 LyXText is not correct. Also reset the cursor to the right paragraph,
10816 with this IMO we could remove the hack in "redoParagraphs()".
10818 2002-10-09 Angus Leeming <leeming@lyx.org>
10820 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10821 to turn off an optimisation if a new inset is to be inserted.
10823 2002-10-11 André Pönitz <poenitz@gmx.net>
10825 * lyxtext.h: make some functions public to allow access
10826 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10828 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10830 * text3.C (dispatch): when changing layout, avoid an infinite loop
10833 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10835 * lyxrc.C (read): treat a viewer or converter command of "none" as
10838 * MenuBackend.C (expandFormats): for an update, also allow the
10839 formats that are not viewable
10841 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10842 script if it is newer than the lyxrc.defaults in user directory
10844 2002-10-07 André Pönitz <poenitz@gmx.net>
10846 * text.C: Vitaly Lipatov's small i18n fix
10848 2002-09-25 Angus Leeming <leeming@lyx.org>
10850 * ispell.h: doxygen fix.
10852 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10854 * buffer.h (readFile): Add a new argument to the method, to allow
10855 reading of old-format templates.
10857 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10859 * toc.C (getTocList): Get TOC from InsetWrap.
10861 2002-09-16 John Levon <levon@movementarian.org>
10863 * lyxfunc.C: check tabular for cut/copy too
10865 2002-09-12 John Levon <levon@movementarian.org>
10867 * LyXAction.C: tidy
10870 * factory.C: add header
10872 * paragraph_funcs.h:
10873 * paragraph_funcs.C: cleanup
10875 2002-09-11 John Levon <levon@movementarian.org>
10877 * PrinterParams.h: odd/even default to true
10879 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10881 * PrinterParams.h: update printer parameters for new xforms dialog
10883 2002-09-11 Angus Leeming <leeming@lyx.org>
10885 * lyxserver.C (read_ready): re-write to make it more transparent
10886 and to make it work in coherent fashion under Tru64 Unix.
10888 2002-09-11 André Pönitz <poenitz@gmx.net>
10892 * text3.C: implement LFUN_WORDSEL
10894 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10896 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10897 make floatlist_ a boost::shared_ptr<FloatList>
10899 * lyxtextclass.C: include FloatList.h
10900 (LyXTextClass): initialize floatlist_
10901 (TextClassTags): add TC_NOFLOAT
10902 (Read): match "nofloat" to TC_NOFLOAT and use it.
10903 (readFloat): modify call to floatlist_
10907 * FloatList.[Ch] (FloatList): remove commented out float
10909 (erase): new function
10911 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10913 * MenuBackend.C (expandToc): fix crash when there is no document
10916 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10918 * many files: Add insetwrap.
10920 2002-09-09 John Levon <levon@movementarian.org>
10922 * text2.C: remove confusing and awkward depth wraparound
10924 2002-09-09 John Levon <levon@movementarian.org>
10926 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10929 * buffer.C: remove getIncludeonlyList()
10932 * lyxfunc.C: remove headers
10934 2002-09-09 Juergen Vigna <jug@sad.it>
10936 * text.C (getColumnNearX): fix form Michael this is most
10937 probably a cut&paste bug.
10939 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10941 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10943 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10944 references, ws changes.
10946 * text2.C (init): update counters after init
10947 (insertParagraph): no need to set counter on idividual paragraphs.
10948 (setCounter): access the counters object in the textclass object
10949 on in the buffer object.
10950 (updateCounters): ditto
10952 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10953 shared_ptr<Counters> to avoid loading counters.h in all
10955 (LyXTextClass): initialize ctrs_
10956 (TextClassTags): add TC_COUNTER, and ...
10957 (Read): use it here.
10958 (CounterTags): new tags
10959 (readCounter): new function
10960 (counters): new funtion
10961 (defaultLayoutName): return a const reference
10963 * counters.C (Counters): remove contructor
10964 (newCounter): remove a couple of unneeded statements.
10965 (newCounter): simplify a bit.
10966 (numberLabel): some small formatting changes.
10968 * buffer.[Ch]: remove all traces of counters, move the Counters
10969 object to the LyXTextClass.
10971 2002-09-06 Alain Castera <castera@in2p3.fr>
10973 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10974 package to set the horizontal alignment on fixed width columns.
10977 * lyx_sty.h: added tabularnewline macro def.
10979 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10981 2002-09-06 John Levon <levon@movementarian.org>
10983 * LyXAction.C: tooltips for sub/superscript
10985 * MenuBackend.C: a bit more verbose
10987 * lyxfunc.C: tiny clean
10989 * undo_funcs.C: document undo_frozen
10991 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10993 * counters.C (Counters): add missing algorithm counter.
10995 * text2.C (setCounter): lookup the counter with layouts latexname
10996 instead of by section number.
10997 (setCounter): use a hackish way to lookup the correct enum
10999 a float name->type change
11000 reset enum couners with counter name directly instead of depth value.
11002 * counters.C (Counters): remove the push_backs, change to use the
11003 float type not the float name.
11004 (labelItem): remove unused string, float name->type change
11006 * counters.h: don't include vector, loose the enums and sects vectors
11008 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
11010 * lyxtextclass.C (TextClassTags): add TC_FLOAT
11011 (Read): add float->TC_FLOAT to textclassTags
11012 (Read): and handle it in the switch
11013 (readFloat): new function
11015 * FloatList.C (FloatList): comment out the hardcoded float
11018 * lyxlayout.h: ws change.
11020 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
11022 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11024 2002-09-03 Angus Leeming <leeming@lyx.org>
11026 * BufferView_pimpl.h: qualified name is not allowed in member
11027 declaration: WorkArea & Pimpl::workarea() const;
11029 * factory.C: added using std::endl directive.
11031 * text3.C: added using std::find and std::vector directives.
11033 2002-08-29 André Pönitz <poenitz@gmx.net>
11036 * text2.C: remove unused member number_of_rows
11039 * BufferView2.C: remove file, move contents to...
11040 * BufferView.C: ... here
11042 * BufferView_pimpl.C:
11043 * factory.C: move more inset creation to factory
11045 * vspace.C: avoid direct usage of LyXText, ws changes
11048 don't provide direct access to WorkArea, use two simple
11049 acessors haveSelction() and workHeight() instead
11052 2002-08-29 John Levon <levon@movementarian.org>
11054 * BufferView_pimpl.C (dispatch): do not continue when
11057 2002-08-28 André Pönitz <poenitz@gmx.net>
11059 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11062 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11064 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
11066 * buffer.C: increment LYX_FORMAT to 221
11068 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11069 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11071 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11073 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11075 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11077 * factory.C (createInset): use LyXTextClass::floats
11079 * MenuBackend.C (expandFloatListInsert):
11080 (expandFloatInsert):
11083 * text2.C (setCounter):
11085 * LaTeXFeatures.C (useFloat):
11086 (getFloatDefinitions):
11088 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11090 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11091 floatlist_, with accessor floats().
11093 * FloatList.h: remove global FloatList
11095 2002-08-26 André Pönitz <poenitz@gmx.net>
11097 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11101 * BufferView_pimpl.C:
11102 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11104 2002-08-25 John Levon <levon@movementarian.org>
11106 * LyXAction.C: fix margin note description
11108 2002-08-24 John Levon <levon@movementarian.org>
11112 * bufferview_funcs.C:
11114 * undo_funcs.C: cleanups
11116 * lyxfunc.C: disable CUT/COPY when no selection
11118 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11120 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11121 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11123 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11124 Add backward compatibility to "mono", "gray" and "no".
11126 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11128 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11129 (and file_format >= 200).
11131 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11133 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11135 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11137 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11139 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11141 * BufferView_pimpl.C:
11148 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11149 inset and code to make it work with the paragraph code. The inset
11150 can be anywhere in the paragraph, but will only do the expected
11151 thing in LaTeX if the layout file contains the parameter line
11153 (or more generally, a nonzero value) for that layout.
11155 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11157 * paragraph.h: remove the declaration of undefined counters class
11160 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11162 * text2.C (setCounter): fixed enumeration mis-count as reported by
11163 Dr. Richard Hawkins.
11165 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11167 * paragraph_funcs.h: remove some unneeded includes
11169 * text.C (backspace): pasteParagraph now in global scipe
11171 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11172 (pasteSelection): ditto
11174 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11175 * paragraph_funcs.C (pasteParagraph): ... here
11177 2002-08-20 André Pönitz <poenitz@gmx.net>
11179 * commandtags.h: new LFUNs for swapping/copying table row/colums
11182 * lyxfunc.C: support for new lfuns
11184 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11187 * buffer.[Ch]: remove NO_COMPABILITY stuff
11189 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11191 * boost.C (throw_exception): new file, with helper function for
11192 boost compiled without exceptions.
11197 * ParameterStruct.h:
11198 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11200 * bufferlist.C (emergencyWriteAll): use boost bind
11202 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11204 * text.C: include paragraph_funcs.h
11205 (breakParagraph): breakParagraph is now in global scope
11207 * paragraph_funcs.[Ch]: new files
11209 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11212 * buffer.C: include paragraph_funcs.h
11213 (insertStringAsLines): breakParagraph is now in global scope
11215 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11218 * CutAndPaste.C: include paragraph_funcs.h
11219 (cutSelection): breakParagraphConservative is now in global scope
11220 (pasteSelection): ditto
11222 * buffer.h: declare oprator== and operator!= for
11223 Buffer::inset_iterator
11225 * bufferlist.C (emergencyWrite): don't use fmt(...)
11227 * text3.C: add using std::endl
11229 * BufferView.C (moveCursorUpdate): remove default arg
11231 2002-08-20 André Pönitz <poenitz@gmx.net>
11233 * buffer.[Ch]: move inline functions to .C
11236 * BufferView_pimpl.C:
11238 * buffer.[Ch]: use improved inset_iterator
11241 * paragraph.[Ch]: write one paragraph at a time
11243 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11245 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11246 style if style is not specified.
11248 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11250 * text2.C (setCounter): when searching for right label for a
11251 caption, make sure to recurse to parent insets (so that a caption
11252 in a minipage in a figure float works) (bug #568)
11254 2002-08-20 André Pönitz <poenitz@gmx.net>
11256 * text3.C: new file for LyXText::dispatch() and helpers
11258 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11260 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11262 2002-08-19 André Pönitz <poenitz@gmx.net>
11265 * text.C: new LyXText::dispatch()
11267 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11269 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11271 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11273 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11276 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11278 * Makefile.am: use $(variables) instead of @substitutions@
11280 2002-08-15 André Pönitz <poenitz@gmx.net>
11283 * BufferView_pimpl.C: streamlining mathed <-> outer world
11287 * LyXAction.C: remove unused LFUN_MATH
11289 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11291 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11293 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11295 * paragraph.C (Paragraph): reformat a bit
11296 (cutIntoMinibuffer): use builtin InsetList function instad of
11300 * buffer.C: include boost/bind.hpp, add using std::for_each
11301 (writeFileAscii): use ParagraphList iterators
11302 (validate): use for_each for validate traversal of paragraphs
11303 (getBibkeyList): use ParagraphList iterators
11304 (resizeInsets): use for_each to resizeInsetsLyXText for all
11306 (getParFromID): use ParagraphList iterators
11308 * BufferView2.C (lockInset): use paragraph list and iterators
11310 2002-08-14 John Levon <levon@movementarian.org>
11312 * lyxserver.C: remove spurious xforms include
11314 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11316 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11318 2002-08-13 André Pönitz <poenitz@gmx.net>
11321 * lyxfunc.C: further cleaning
11323 2002-08-13 André Pönitz <poenitz@gmx.net>
11325 * funcrequest.h: new constructor
11327 * funcrequest.C: move stuff here from .h
11330 * BufferView_pimpl.C:
11333 * lyxfunc.C: subsequent changes
11335 * lyxfunc.h: new view() member function
11337 * lyxfunc.C: subsequent changes
11339 2002-08-13 Angus Leeming <leeming@lyx.org>
11342 * BufferView_pimpl.C:
11350 changes due to the changed LyXView interface that now returns references
11351 to member variables not pointers.
11353 2002-08-13 Angus Leeming <leeming@lyx.org>
11355 * WordLangTuple (word, lang_code): return references to strings,
11360 * lyxtext.h: forward-declare WordLangTuple.
11365 * text.C: #include "WordLangTuple.h".
11368 * text.C: (selectNextWordToSpellcheck): constify return type.
11370 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11376 * paragraph_pimpl.h:
11379 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11380 suggested by Angus.
11381 Made updateCounter always count from start of buffer, and removed
11382 second argument (par).
11383 Reverted floats number display to '#'. Perhaps I'll try again when the
11384 code base is sanitized a bit.
11386 2002-08-12 Angus Leeming <leeming@lyx.org>
11388 * buffer.[Ch] (getLabelList): constify.
11390 2002-08-07 André Pönitz <poenitz@gmx.net>
11392 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11394 * funcrequest.h: extension to keep mouse (x,y) position
11396 2002-08-12 Juergen Vigna <jug@sad.it>
11398 * BufferView2.C (insertErrors): forbid undo when inserting error
11401 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11403 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11405 * ParagraphList.[Ch]: new files
11407 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11409 * BufferView2.C (lockInset): ParagraphList changes
11412 * bufferlist.C: ditto
11416 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11418 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11419 unused class variable counter_,
11421 * paragraph.[Ch] (getFirstCounter): delete unused function
11423 * counters.C: include LAssert.h
11424 (reset): add a new function with no arg, change other version to
11425 not have def. arg and to not allow empty arg.
11427 * text2.C (setCounter): remove empty arg from call to Counters::reset
11429 2002-08-11 John Levon <levon@movementarian.org>
11431 * Makefile.am: add WordLangTuple.h
11433 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11435 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11436 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11438 * insets/insettext.C: InsetList changes
11440 * graphics/GraphicsSupport.C (operator()): InsetList changes
11442 * toc.C (getTocList): InsetList changes
11444 * paragraph_pimpl.[Ch]: InsetList changes
11446 * paragraph.[Ch]: InsetList changes
11448 * buffer.C (inset_iterator): InsetList changes
11449 (setParagraph): ditto
11450 * buffer.h (inset_iterator): ditto
11451 * iterators.C (operator++): ditto
11452 * iterators.h: ditto
11454 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11456 * InsetList.[Ch]: new files, most InsetList handling moved out of
11459 * BufferView2.C (removeAutoInsets): InsetList changes
11461 (ChangeInsets): ditto
11463 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11465 * paragraph_pimpl.h (empty): new function
11467 * paragraph.[Ch] (empty): new function
11469 * other files: use the new Paragraph::empty function
11471 2002-08-09 John Levon <levon@movementarian.org>
11473 * lyxtext.h: remove unused refresh_height
11475 2002-08-09 John Levon <levon@movementarian.org>
11482 * paragraph.C: move sgml char escaping out of paragraph
11485 * paragraph.C: remove id setter
11489 * paragraph_pimpl.C: remove dead tex_code_break_column
11491 * bufferview_funcs.C: small cleanup
11493 * lyxfunc.C: remove dead proto
11495 * lyxtext.h: make some stuff private. Remove some dead stuff.
11497 * lyxgluelength.C: make as[LyX]String() readable
11499 2002-08-08 John Levon <levon@movementarian.org>
11504 * ToolbarDefaults.C:
11507 * toc.C: lyxaction cleanup
11509 2002-08-08 John Levon <levon@movementarian.org>
11511 * BufferView2.C: small cleanup
11514 * lyxfind.C: move unnecessary header into the .C
11516 2002-08-08 John Levon <levon@movementarian.org>
11518 * funcrequest.h: just tedious nonsense
11521 * lyx_main.C: cleanups
11524 * vspace.C: remove dead header lyx_main.h
11526 2002-08-07 Angus Leeming <leeming@lyx.org>
11529 * paragraph_pimpl.h:
11530 Forward declare class Counters in paragraph.h by moving the ctrs member
11531 variable into Paragraph::Pimpl.
11532 (counters): new method, returning a reference to pimpl_->ctrs.
11534 * text2.C: ensuing changes.
11536 2002-08-07 John Levon <levon@movementarian.org>
11538 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11540 * BufferView_pimpl.C: announce X selection on double/triple
11543 * lyx_main.C: use correct bool in batch dispatch
11545 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11547 2002-08-07 André Pönitz <poenitz@gmx.net>
11549 * funcrequest.h: new class to wrap a kb_action and its argument
11552 * BufferView_pimpl[Ch]:
11556 * lyxrc.C: subsequent changes
11559 2002-08-07 John Levon <levon@movementarian.org>
11561 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11562 document options change.
11564 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11569 * makefile.am: move counters functionality over from
11570 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11572 2002-08-06 John Levon <levon@movementarian.org>
11574 * WordLangTuple.h: new file for word + language code tuple
11585 * BufferView2.C: use WordLangTuple
11588 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11590 2002-08-06 John Levon <levon@movementarian.org>
11592 * lyx_main.C: fix cmdline batch handling
11594 2002-08-06 André Pönitz <poenitz@gmx.net>
11596 * lyxrc.C: set default for show_banner to true
11598 2002-08-06 John Levon <levon@movementarian.org>
11600 * pspell.C: fix a crash, and allow new aspell to work
11602 2002-08-06 John Levon <levon@movementarian.org>
11605 * kbmap.C: small cleanup
11608 * vspace.C: add const
11610 2002-08-05 John Levon <levon@movementarian.org>
11612 * LyXAction.C: back to tabular-insert
11614 2002-08-04 John Levon <levon@movementarian.org>
11617 * BufferView.C: cosmetic change
11619 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11629 * BufferView2.C: purge all "Lyx" not "LyX" strings
11632 * lyxcursor.C: attempt to add some documentation
11637 * ToolbarDefaults.C:
11638 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11639 merge with LFUN_TABULAR_INSERT
11646 * pspell.C: split up i/pspell implementations into separate
11647 files, many cleanups
11649 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11651 * text2.C: some cleanup
11653 * lyxfunc.C: don't check for isp_command == "none" any more, it
11654 didn't make any sense
11656 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11661 * makefile.am: move counters functionality over
11662 from text2.C/paragraph.[Ch] to counters.[Ch], and
11664 2002-08-02 John Levon <levon@movementarian.org>
11666 * buffer.C: s/lyxconvert/lyx2lyx/
11668 2002-08-02 Angus Leeming <leeming@lyx.org>
11670 * lyxlex.C: revert John's change as it breaks reading of the user
11673 2002-08-02 Angus Leeming <leeming@lyx.org>
11675 * importer.C (Import):
11676 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11677 changes due to LyXView::view() now returning a boost::shared_ptr.
11679 2002-08-02 John Levon <levon@movementarian.org>
11681 * lyxlex.C: small cleanup
11683 2002-08-02 John Levon <levon@movementarian.org>
11685 * text2.C (status): small cleanup, no logic change
11687 2002-08-01 John Levon <levon@movementarian.org>
11690 * buffer.C (writeFile): don't output alerts, caller
11694 * lyx_cb.C: from above
11696 * lyxfunc.C: allow to open non-existent files
11698 2002-07-31 John Levon <levon@movementarian.org>
11700 * lyxserver.C: don't let incidental errors get
11703 2002-07-30 John Levon <levon@movementarian.org>
11705 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11707 2002-07-30 John Levon <levon@movementarian.org>
11710 * lyxserver.C: remove I/O callback too
11712 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11714 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11717 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11719 * many files: strip,frontStrip -> trim,ltrim,rtrim
11721 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11723 * PrinterParams.h: remove extern containsOnly, and include
11724 support/lstrings.h instead.
11726 * LaTeX.C (scanAuxFile): modify because of strip changes
11728 * buffer.C (makeLaTeXFile): ditto
11729 * bufferparams.C (writeFile): ditt
11730 * lyxfont.C (stateText): ditto
11731 * lyxserver.C (read_ready): ditto
11732 * vc-backend.C (scanMaster): ditto
11734 * BufferView_pimpl.h: ws changes
11736 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11738 2002-07-26 André Pönitz <poenitz@gmx.net>
11740 * kb_sequence.C: remove unnedred usings
11742 2002-07-26 Juergen Vigna <jug@sad.it>
11744 * lyxfind.C (LyXReplace): we have to check better if the returned
11745 text is not of theLockingInset()->getLockingInset().
11747 2002-07-25 Juergen Vigna <jug@sad.it>
11749 * lyxfind.C (LyXReplace): don't replace if we don't get the
11752 * undo_funcs.C (createUndo): remove debugging code.
11754 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11756 * buffer.C (parseSingleLyXformat2Token): Use default placement
11757 when reading old floats.
11759 * FloatList.C (FloatList): Change the default placement of figure
11760 and tables to "tbp".
11762 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11764 * MenuBackend.C: using std::max
11766 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11768 * MenuBackend.C (expandToc):
11769 (expandToc2): code moved from xforms menu frontend. It is now
11770 generic and TOCs are transparent to menu frontends.
11772 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11774 * toc.C (getTocList): protect against buf=0
11776 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11777 Menu as first parameter. Now, this calls itself recursively to
11778 expand a whole tree (this will be useful for TOC handling)
11779 (expandFloatInsert): remove 'wide' version of floats
11781 * MenuBackend.h (submenuname): returns the name of the submenu.
11782 (submenu): returns the submenu itself, provided it has been
11783 created by MenuBackend::expand
11785 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11787 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11788 insets which have noFontChange == true. (bug #172)
11790 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11792 * BufferView_pimpl.C: add connection objects and use them...
11795 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11797 * MenuBackend.C (expandLastfiles):
11800 (expandFloatListInsert):
11801 (expandFloatInsert):
11802 (expand): split expand in parts
11804 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11806 * lyx_gui.C: use lyx_gui::exit()
11808 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11810 * LyXAction.C: show the failing pseudo action
11812 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11814 * buffer.C (readFile): Run the lyxconvert script in order to read
11817 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11821 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11823 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11827 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11829 2002-07-22 Herbert Voss <voss@lyx.org>
11832 * lyxlength.[Ch]: add support for the vertical lengths
11834 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11836 * toc.[Ch]: std:: fixes
11838 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11840 * lyxrc.C: do not include lyx_main.h
11842 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11848 * BufferView2.C: include "lyxlex.h"
11851 * bufferparams.h: do not #include "lyxlex.h"
11853 * lyxtextclasslist.C (Add): remove method
11854 (classlist): renamed to classlist_
11856 * paragraph_pimpl.C:
11860 * bufferview_funcs.C:
11865 * toc.C (getTocList): use BufferParams::getLyXTextClass
11867 * toc.C (getTocList): use InsetFloat::addToToc
11869 * toc.[Ch]: new files, containing helper functions to handle table
11872 * lyxfunc.C (dispatch): no need to remove spaces around command
11874 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11875 first command of the sequence; it is not very clever, but I do not
11876 have a better idea, actually
11878 * LyXAction.C (LookupFunc): make sure to remove space at the
11879 beginning and end of the command
11881 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11883 * MenuBackend.C (getMenubar): new method: return the menubar of
11885 (read): treat differently reading of menu and menubar (in
11886 particular, the menubar has no name now)
11887 (Menu::menubar): remove
11889 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11892 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11894 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11895 a bibitem inset in a RTL paragraph.
11897 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11899 * paragraph_pimpl.C: constify
11901 * BufferView_pimpl.C:
11903 * lyxfunc.C: fix dispatch in a nicer way
11905 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11907 * lyxfunc.C (dispatch):
11908 * BufferView_pimpl.C:
11909 * BufferView_pimpl.h:
11911 * BufferView.h: rename Dispatch() to dispatch()
11913 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11915 * lyxlayout.C (Read): honor DependsOn tag
11917 * lyxlayout.[Ch] (depends_on): new method
11919 * version.C.in: update lyx_docversion
11921 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11923 * paragraph.C (validate): remove from here...
11924 * paragraph_pimpl.C (validate): ... and move here
11925 (isTextAt): make it const
11927 * buffer.C (getLists): ws cleanup
11929 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11931 * language.C (read): Use iso8859-1 encoding in latex_lang
11932 (this prevents LyX from crashing when using iso10646-1 encoding).
11934 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11936 * text2.C (toggleInset): if cursor is inside an inset, close the
11937 inset and leave cursor _after_ it
11939 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11941 * lyxfunc.C: move minibuffer completion handling out of here
11943 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11945 * BufferView_pimpl.C:
11946 * LaTeX.C: fix dispatch calls
11948 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11950 * text.C (drawChars): Fix Arabic text rendering.
11952 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11956 * lyxfunc.C: remove message-push/pop
11960 * lyxfunc.C: rationalise some code by removing verboseDispatch
11961 in favour of a bool argument to dispatch()
11963 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11965 * lyx_main.C (init): make sure to read symlinks as absolute paths
11967 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11970 * lyxfunc.C: no need for commandshortcut to be a member
11972 2002-07-15 André Pönitz <poenitz@gmx.net>
11974 * converter.C: add support for $$s (scripts from lib/scripts dir)
11975 * lyx_main.C: white space
11977 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11981 * lyxrc.C: remove second exit confirmation
11983 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11988 * BufferView_pimpl.h:
11989 * BufferView_pimpl.C:
11990 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11992 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11994 * MenuBackend.C (expand): add numeric shortcuts to document menu
11996 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11998 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12000 * lyxfont.C (setLyXFamily):
12007 * buffer.C (asciiParagraph): use ascii_lowercase
12009 2002-07-15 Mike Fabian <mfabian@suse.de>
12011 * lyxlex_pimpl.C (search_kw):
12012 * lyxlex.C (getLongString):
12013 * converter.h (operator<):
12014 * converter.C (operator<):
12015 * buffer.C (parseSingleLyXformat2Token):
12017 * ToolbarDefaults.C (read):
12018 * MenuBackend.C (checkShortcuts):
12020 * LColor.C (getFromGUIName):
12021 (getFromLyXName): use the compare_ascii_no_case instead of
12022 compare_no_case, because in turkish, 'i' is not the lowercase
12023 version of 'I', and thus turkish locale breaks parsing of tags.
12025 2002-07-16 Angus Leeming <leeming@lyx.org>
12027 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12028 now takes a Buffer const & argument.
12030 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
12032 * BufferView.C (resize): check there's a buffer to resize
12034 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
12036 * lyxfunc.C: remove dead code
12039 * lyxserver.C: use lyx_guii::set_read_callback
12041 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
12043 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12044 an inset in a RTL paragraph.
12046 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12048 * lyxfunc.C: repaint after a font size update
12050 2002-07-15 André Pönitz <poenitz@gmx.net>
12052 * lyxlength.C: inBP should be able to return negative values
12054 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12056 * lyxfunc.C: use lyx_gui::update_fonts()
12058 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12060 * lyxfunc.C: use lyx_gui::update_color()
12062 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12068 * lyxrc.C: remove file->new asks for name option, and let
12069 buffer-new take an argument
12071 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12073 * BufferView_pimpl.C: remove unneeded extra repaint()
12075 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
12077 * LyXAction.C: allow command-sequence with NoBuffer
12079 * lyxfunc.C: don't insist on trailing ';' for command-sequence
12081 2002-07-10 Angus Leeming <leeming@lyx.org>
12083 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12085 2002-07-09 Angus Leeming <leeming@lyx.org>
12087 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12089 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12091 * lengthcommon.h: whitespace
12093 * lyxfunc.C: update scrollbar after goto paragraph
12095 * lyxtext.h: factor out page break drawing, and fix it so
12096 page break/added space paints as selected nicely
12098 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12100 * BufferView_pimpl.C: add FIXMEs, clean up a little
12102 2002-07-09 André Pönitz <poenitz@gmx.net>
12104 * lyxfont.[Ch]: support for wasy symbols
12106 2002-07-08 André Pönitz <poenitz@gmx.net>
12108 * BufferView_pimpl.C: apply John's patch for #93.
12110 2002-07-05 Angus Leeming <leeming@lyx.org>
12112 * BufferView_pimpl.C (buffer): generate previews if desired.
12114 * LColor.h: add "preview" to the color enum.
12116 * LColor.C (LColor): add a corresponding entry to the items array.
12118 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12121 2002-07-05 Angus Leeming <leeming@lyx.org>
12123 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12124 The body of the code is now in the method that is passed an ostream &
12125 rather than a file name.
12126 Pass an additional only_preamble parameter, useful for the forthcoming
12129 2002-07-03 André Pönitz <poenitz@gmx.net>
12131 * lyxfunc.C: simplify getStatus() a bit for math stuff
12133 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12135 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12137 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12139 * text.C (changeRegionCase): do not change case of all the
12140 document when region ends at paragraph end (bug #461)
12142 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12144 * paragraph.C (startTeXParParams):
12145 (endTeXParParams): add \protect when necessary
12147 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12149 * BufferView_pimpl.C (workAreaExpose): remove warning
12151 2002-06-27 Angus Leeming <leeming@lyx.org>
12153 * Makefile.am: add lyxlayout_ptr_fwd.h.
12155 2002-06-26 André Pönitz <poenitz@gmx.net>
12157 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12159 2002-06-25 Angus Leeming <leeming@lyx.org>
12161 * lyxfunc.C (dispatch): Comment out the call to
12162 grfx::GCache::changeDisplay. The method no longer exists now that the
12163 pixmap generation part of the graphics loader has been moved into
12166 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12168 * text2.C: layout as layout
12170 * text.C: layout as layout
12172 * tabular.C (OldFormatRead): layout as layout
12174 * paragraph_pimpl.C (TeXDeeper): layout as layout
12175 (realizeFont): layout as layout
12177 * paragraph.C (writeFile): layout as layout
12178 (validate): layout as layout
12179 (getFont): layout as layout
12180 (getLabelFont): layout as layout
12181 (getLayoutFont): layout as layout
12182 (breakParagraph): layout as layout
12183 (stripLeadingSpaces): layout as layout
12184 (getEndLabel): layout as layout
12185 (getMaxDepthAfter): layout as layout
12186 (applyLayout): layout as layout
12187 (TeXOnePar): layout as layout
12188 (simpleTeXOnePar): layout as layout
12189 (TeXEnvironment): layout as layout
12190 (layout): layout as layout
12191 (layout): layout as layout
12193 * lyxtextclass.C (compare_name): new functor to work with
12194 shared_ptr, layout as layout
12195 (Read): layout as layout
12196 (hasLayout): layout as layout
12197 (operator): layout as layout
12198 (delete_layout): layout as layout
12199 (defaultLayout): layout as layout
12201 * lyxlayout_ptr_fwd.h: new file
12203 * lyxlayout.C (Read): layout as layout
12205 * lyx_cb.C (MenuInsertLabel): layout as layout
12207 * bufferlist.C (newFile): layout as layout
12209 * buffer.C (readLyXformat2): layout as layout
12210 (parseSingleLyXformat2Token): layout as layout
12211 (insertStringAsLines): layout as layout
12212 (asciiParagraph): layout as layout
12213 (latexParagraphs): layout as layout
12214 (makeLinuxDocFile): layout as layout
12215 (simpleLinuxDocOnePar): layout as layout
12216 (makeDocBookFile): layout as layout
12217 (simpleDocBookOnePar): layout as layout
12218 (getLists): layout as layout
12220 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12222 * CutAndPaste.C (cutSelection): layout as layout
12223 (pasteSelection): layout as layout
12224 (SwitchLayoutsBetweenClasses): layout as layout
12226 * BufferView_pimpl.C (Dispatch): layout as layout
12227 (smartQuote): layout as layout
12229 * BufferView2.C (unlockInset): layout as layout
12231 2002-06-24 André Pönitz <poenitz@gmx.net>
12233 * lyxfunc.C: fix #487
12235 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12239 * lyxfunc.C: remove display_shortcuts, show_banner
12241 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12243 * Buffer_pimpl.C: oops, update on resize
12245 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12252 * BufferView.C: use repaint()
12254 * BufferView_pimpl.h:
12255 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12256 as it's a clearer description. Remove superfluous
12259 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12261 * text.C: fix bug 488. Not ideal, but getting
12262 getWord() to work properly for the insets that
12263 matter is more difficult ...
12265 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12267 * BufferView_pimpl.C:
12270 * lyxfunc.C: remove the six million index lyxfuncs to just
12271 one, and DTRT (bug 458)
12273 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12277 * BufferView_pimpl.h:
12278 * BufferView_pimpl.C: clean up resize() stuff,
12279 and unnecessary updateScreen()s
12281 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12285 * BufferView_pimpl.h:
12286 * BufferView_pimpl.C:
12289 * minibuffer.C: remove focus management of workarea,
12290 not needed. Use screen's greyOut()
12292 2002-06-17 Herbert Voss <voss@lyx.org>
12294 * converter.C: (convert) do not post a message, when converting
12295 fails, let the calling function decide what to do in this case
12297 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12299 * lyxfunc.C: tidy up a little
12301 2002-06-16 <alstrup@diku.dk>
12303 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12304 Got rid of FORMS_H_LOCATION include. Now we are
12307 2002-06-15 LyX Development team <lyx@rilke>
12309 * buffer.[Ch] (sgmlOpenTag):
12310 (sgmlCloseTag): Added support for avoiding pernicious mixed
12311 content. Return number of lines written.
12313 (makeLinuxDocFile):
12314 (makeDocBookFile): Fixed calls to sgml*Tag.
12315 Simple white space clean.
12317 (simpleDocBookOnePar): Simple white space clean.
12319 * tabular.[Ch] (docBook): Renamed to docbook and got another
12320 argument to related with the pernicious mixed content.
12322 (docbookRow): Fixed calls for docbook inset method.
12324 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12326 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12327 so it's X11 independent.
12331 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12333 2002-06-15 Lyx Development team <lyx@electronia>
12335 * intl.h: Renamed getTrans to getTransManager.
12337 2002-06-14 Angus Leeming <leeming@lyx.org>
12339 * Makefile.am: nuke forgotten stl_string_fwd.h.
12341 2002-06-12 Angus Leeming <leeming@lyx.org>
12343 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12345 2002-06-13 Angus Leeming <leeming@lyx.org>
12348 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12350 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12352 * kbmap.C (getiso): add support for cyrillic and greek
12354 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12358 * BufferView_pimpl.h:
12359 * BufferView_pimpl.C: move bogus scrolling logic
12362 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12365 * BufferView_pimpl.C: view->resize() change
12367 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12369 * BufferView_pimpl.C: topCursorVisible
12372 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12376 * lyx_gui.C: move to frontends/
12380 * lyx_main.C: changes from above
12382 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12389 * lyx_main.C: minor tidy
12391 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12393 * BufferView_pimpl.h:
12394 * BufferView_pimpl.C:
12396 * BufferView.C: make painter() const,
12399 * BufferView2.C: use screen() accessor
12402 * lyx_main.C: some minor cleanup
12404 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12406 * BufferView_pimpl.h:
12407 * BufferView_pimpl.C: remove enter/leaveView,
12410 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12415 * BufferView_pimpl.h:
12416 * BufferView_pimpl.C: only construct screen once,
12419 * lyxrc.C: remove pointless comment
12421 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12424 * BufferView.C: remove active() and belowMouse()
12426 * BufferView_pimpl.h:
12427 * BufferView_pimpl.C: use workarea() not workarea_,
12428 and make it use a scoped_ptr instead
12430 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12432 * lyx_gui.C: add debug message on BadWindow
12434 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12436 * sp_spell.C: fdopen is not part of the C++ standard.
12438 * paragraph.C (InsetIterator): use >= instead of ==
12440 2002-06-07 Angus Leeming <leeming@lyx.org>
12442 Fixes needed to compile with Compaq cxx 6.5.
12443 * BufferView_pimpl.C:
12450 * lyxtextclasslist.C:
12455 all c-library variables have been moved into namespace std. Wrap
12456 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12461 Add a using std::abs declaration.
12463 * kbmap.h (modifier_pair):
12464 * paragraph.h (InsetTable, InsetList):
12465 * lyxfont.h (FontBits):
12466 type definition made public.
12468 * bufferlist.C (emergencyWriteAll): the compiler complains that
12469 there is more than one possible lyx::class_fun template to choose from.
12470 I re-named the void specialisation as lyx::void_class_fun.
12472 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12474 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12475 the compiler is is unable to find tostr in write_attribute.
12477 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12479 * buffer.C (sgmlError): hide #warning
12481 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12483 * xtl/*: get rid of xtl, which is not in use anyway
12485 * LyXAction.C (init):
12486 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12487 were unimplemented xtl experimentation
12489 2002-06-04 André Pönitz <poenitz@gmx.net>
12491 * lyxfunc.C: disable array operation on simple formulae
12493 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12495 * converter.C: constify a bit
12497 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12499 * lyx_gui.C: check xforms version correctly
12501 2002-04-30 Herbert Voss <voss@lyx.org>
12503 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12506 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12508 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12509 attempt to register it with a VCS)
12511 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12513 * lyx_main.C (init): honor variables LYX_DIR_13x and
12516 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12520 * lyx_main.C: fix a crash on bad command line,
12521 and give a useful exit status on error
12523 * lyxfunc.C (doImport): allow -i lyx to work
12525 2002-03-30 André Pönitz <poenitz@gmx.net>
12527 * lyxfunc.C: mathed font changes
12529 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12544 * trans_mgr.h: srcdocs, and some minor cleanups
12546 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12548 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12549 call getFont all the time)
12551 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12553 * switch from SigC signals to boost::signals
12555 2002-05-29 André Pönitz <poenitz@gmx.net>
12557 * paragraph_pimpl.C (getChar): don't call size() too often...
12559 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12561 * paragraph_pimpl.C (insertChar): do not try to update tables when
12562 appending (pos == size())
12564 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12565 in order to reduce drastically the number of comparisons needed to
12566 parse a large document
12568 2002-05-29 André Pönitz <poenitz@gmx.net>
12574 * textclasslist.[Ch]:
12575 * sp_ispell.h: whitespace change
12577 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12579 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12580 lyxaction directly now.
12582 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12586 * lyxvc.C: remove unused headers
12588 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12595 * undo_funcs.C: some cleanups. Use shared_ptr
12596 and a template for the undo stacks.
12598 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12600 * BufferView_pimpl.h:
12601 * BufferView_pimpl.C:
12608 * text2.C: use key_state/mouse_state
12610 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12612 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12615 * chset.C: change include order
12616 (loadFile): use boost regex and get rid of LRegex and LSubstring
12618 * Makefile.am (BOOST_LIBS): new variable
12619 (lyx_LDADD): use it
12621 * LaTeX.C: change include order.
12622 (scanAuxFile): use boost regex and get rid of LRegex and
12626 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12631 * FontInfo.C: moved to frontends/xforms/
12634 * FontLoader.C: moved into frontends for GUIIzation
12639 * lyxfunc.C: changes from above
12641 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12643 * LColor.C: remove spurious X include
12645 * BufferView_pimpl.C:
12650 * text2.C: move font metrics to frontends/
12652 2002-05-24 Juergen Vigna <jug@sad.it>
12654 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12655 setting the undo_cursor.
12657 * ParagraphParameters.h: include local includes first.
12659 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12661 * BufferView_pimpl.C:
12662 * BufferView_pimpl.h:
12666 * screen.C: move WorkArea into frontends/
12672 * BufferView2.C: move LyXScreen into frontends/
12676 * lyx_gui.C: move lyxlookup into frontends/xforms/
12678 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12681 * BufferView_pimpl.C:
12691 * bufferview_funcs.C:
12704 * vc-backend.C: move LyX/XFormsView into frontends/
12706 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12718 * text2.C: move Painter to frontends/
12720 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12722 * buffer.C: comment out some some code that depend upon lyx_format
12725 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12726 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12728 * buffer.h (NO_COMPABILITY): turn off compability
12730 * ColorHandler.C: include scoped_array.hpp
12732 * font.C: Use more specific smart_ptr header.
12735 * ShareContainer.h: ditto
12736 * lyx_main.h: ditto
12738 * FontInfo.h: ditto
12739 * BufferView_pimpl.h: ditto
12740 * ColorHandler.h: ditto
12742 * kbmap.C (defkey): change call to shared_ptr::reset
12744 2002-05-21 Juergen Vigna <jug@sad.it>
12746 * buffer.C (insertErtContents): fix to insert ert asis if it is
12747 non empty. Skip it completely if it contains only whitespaces.
12749 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12751 * BufferView_pimpl.C:
12752 * BufferView2.C: clear selection on paste (bug 393)
12754 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12756 * DepTable.C: include ctime
12758 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12760 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12762 2002-05-14 Juergen Vigna <jug@sad.it>
12764 * text.C (breakParagraph): fixed function to honor the keepempty
12765 layout in the right maner and also to permit the right breaking
12766 algorithm on empty or non empyt keepempty paragraphs.
12768 * paragraph.C (breakParagraph): we have to check also if the par
12769 is really empty (!size()) for isempty otherwise we do the wrong
12772 2002-05-10 Juergen Vigna <jug@sad.it>
12774 * buffer.[Ch] : The following are only changes to the ert
12775 compatibility read reading old LaTeX layout and font stuff and
12776 convert it to ERTInsets.
12778 * buffer.h: added isErtInset().
12780 * buffer.C (struct ErtComp): add a fromlayout bool to check
12781 if we're inside a LaTeX layout.
12782 (isErtInset): new helper function.
12783 (insertErtContents): look for other ert insets before this one
12784 and insert the contents there, so that we don't have subsequent
12785 ERT insets with nothing between them. This way we create only one
12786 inset with multiple paragraphs. Also check if we don't insert only
12787 spaces ' ' as they are ignored anyway afterwards in the .tex file
12788 so if we have only spaces we will ignore this latex part in the
12790 (parseSingleLyXformat2Token \\layout): better compatibility when
12791 reading layout-latex stuff.
12792 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12794 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12795 stuff after reading the inset only get the information back from
12798 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12800 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12802 * LaTeXFeatures.C (getBabelOptions): New method.
12804 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12806 * BufferView_pimpl.C (Dispatch): work around missing argument for
12809 2002-05-08 Juergen Vigna <jug@sad.it>
12811 * text.C (leftMargin): handle paragraph leftindent.
12813 * paragraph.C (writeFile): write the new \\leftindent tag.
12814 (validate): handle leftindent code.
12815 (TeXEnvironment): handle paragraphleftindent code again.
12817 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12819 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12820 for paragrap_extra indent code and new token \\leftindent.
12821 (latexParagraphs): handle the leftindent as environment.
12823 * ParameterStruct.h: added leftindent support.
12825 * ParagraphParameters.C (leftIndent): added support functions for
12826 the paragraph left indent.
12828 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12831 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12833 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12836 * text.C (computeBidiTables): No bidi in insetERT.
12838 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12841 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12843 * version.C.in: pre 5
12845 2002-05-02 José Matos <jamatos@fep.up.pt>
12846 * buffer.C (makeDocBookFile): white space changes, add newline to
12848 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12850 * tabular.C (docBook): fix typo.
12852 2002-05-03 Juergen Vigna <jug@sad.it>
12854 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12855 change in LyXText as we can not be sure it was not freed.
12856 (drawOneRow): remove unused code.
12858 * text.C (drawInset): redo the calculation of the need_break_row as
12859 it could have a row which was already freed.
12860 (draw): look at the return value of drawInset and return false if
12861 it also returned false.
12862 (paintRowText): look at the return value of draw and return false if
12863 it also returned false.
12865 * lyxtext.h: added bool return type to drawInset() and draw() so that
12866 if we have a change in the row so that the rowbreak has to be redone
12867 we abort drawing as it will be called again.
12869 2002-05-02 Juergen Vigna <jug@sad.it>
12871 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12872 a change in the maintext also if we're inside an inset.
12873 (Dispatch): set the cursor again after a break line and after the
12874 screen has been updated as it could be we're in a different row.
12876 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12877 to set the cursor behind the pargraph with > size().
12878 (setCursor): check also for the same paragraph when checking where
12879 to put the cursor if we have a NFR inset.
12881 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12882 parts of layout read further up as it still was in the wrong
12885 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12887 * screen.C (drawFromTo): change sine fullRebreak always return
12890 * buffer.C (parseSingleLyXformat2Token): reindent some
12892 * BufferView_pimpl.C (update): change since fullRebreak always
12894 (Dispatch): git rid of the last hardcoded "Standard"s.
12896 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12898 * text2.[Ch] (fullRebreak): make it return void now that we always
12901 2002-04-30 Juergen Vigna <jug@sad.it>
12903 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12904 ert compatibility check for "latex" layout.
12906 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12908 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12909 minipages: use col% instead of p%, and also use the current font.
12910 (makeLaTeXFile): Fix use babel condition.
12911 (parseSingleLyXformat2Token): Correct font when reading old floats.
12913 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12915 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12916 inserting list of floats.
12918 2002-04-25 Herbert Voss <voss@lyx.org>
12920 * MenuBackend.C (expand): don't add the graphics extensions to the
12923 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12925 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12926 non-existing layout, do not complain if it was the default layout
12927 of the original class (bug #342)
12929 2002-04-24 Juergen Vigna <jug@sad.it>
12931 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12932 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12934 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12936 * buffer.C (getBibkeyList): If using \bibliography, return the
12937 option field with the reference itself. Enables us to provide natbib
12938 support when using \bibliography.
12940 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12942 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12944 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12945 natbib is provided by the LaTeX class.
12947 2002-04-23 Juergen Vigna <jug@sad.it>
12949 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12952 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12954 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12956 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12958 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12959 ensuremath around textordmasculine, textordfeminine and
12962 2002-04-19 Juergen Vigna <jug@sad.it>
12964 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12965 reinitializing the buffer otherwise row-dimensions may be wrong.
12966 (update): reset also the selection cursors if they do exits otherwise
12967 their x/y positions may be wrong.
12969 * text2.C (cursorDown): don't enter the inset if we came from a row
12970 above and are one row over the inset.
12972 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12973 really leaving an inset.
12975 2002-04-18 Juergen Vigna <jug@sad.it>
12977 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12978 of the selected paragraph does not have the selected layout also if
12981 * text2.C (setLayout): fixed bug which did not change last selected
12984 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12985 changed the read and substituted \\end_float with \\end_inset!
12987 * BufferView_pimpl.C (cursorPrevious):
12988 (cursorNext): fixed to make it work with rows heigher than the work
12989 area without moving the cursor only the draw of the row.
12990 (workAreaMotionNotify): fix jumping over high rows.
12992 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12994 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12997 2002-04-16 Juergen Vigna <jug@sad.it>
12999 * text2.C (setCursor): set also the irow().
13000 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13002 (cursorDown): support for locking an inset if the x_fix value goes
13003 inside it. That way I can transverse insets too with cursor up/down.
13005 * lyxrow.h: added irow helper function same as other (i) functions.
13007 * BufferView_pimpl.C (cursorPrevious):
13008 (cursorNext): fixed for insets!
13010 2002-04-15 Juergen Vigna <jug@sad.it>
13012 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13013 position otherwise it is wrong in some cases.
13015 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13016 inside the inset before the call.
13018 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
13020 * buffer.[Ch] (getBibkeyList): make it const.
13022 2002-04-12 Juergen Vigna <jug@sad.it>
13024 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13026 * text2.C (getCursorX): new helper function
13027 (setCursor): compute also ix_
13028 (setCursorFromCoordinates): set also ix.
13030 * lyxcursor.h: added ix_ and helper functions.
13032 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13034 * buffer.C (insertStringAsLines): dont break paragraph if the this
13035 paragraph is inside an inset which does not permit it!
13037 * text.C (breakParagraph): honor keepempty flag and break the paragraph
13038 also with no chars on this paragraph.
13039 (paintRowText): only paint stuff if it's inside the workarea!
13041 * paragraph.C (breakParagraph): honor keepempty flag and break the
13042 paragraph always below not above.
13044 * BufferView2.C (unlockInset): update the paragraph layout on inset
13045 unlock as we changed paragraph in such a case.
13047 * lyxfind.C (LyXFind): clear the former selection if not found!
13049 * text2.C (insertInset): freeze Undo after setUndo so that it is not
13050 again called in insertChar().
13052 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13053 an inset which uses the whole row!
13054 (rightMargin): ditto.
13055 (insertChar): force a rebreak if we inserted an inset!
13057 2002-03-28 Herbert Voss <voss@lyx.org>
13059 * lyxlength.[Ch]: add inBP() to get the right PS-point
13060 units (BigPoint). With inPixels we have rounding errors
13062 2002-04-11 Juergen Vigna <jug@sad.it>
13064 * text2.C (setCursorFromCoordinates): set iy to the right value.
13065 (setCursor): add check if row->previous exists!
13067 * buffer.C (parseSingleLyXformat2Token): reset font after read of
13068 an old float_type as this was the case in the old code!
13070 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13072 * BufferView2.C (showLockedInsetCursor): use iy
13073 (fitLockedInsetCursor): ditto
13075 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13076 locked insets as there we have the right value now.
13078 * lyxcursor.C: added iy_ variable and iy functions to set to the
13079 baseline of cursor-y of the locked inset.
13081 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13082 (setCursor): fixed for insets which need a full row.
13084 * text.C (rowLastPrintable): don't ignore the last space when before
13085 an inset which needs a full row.
13086 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13087 as last character of a row when before a inset which needs a full row.
13089 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13091 * version.C.in: update date
13093 * text2.C (fullRebreak): try to always return true and see what
13096 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13098 * MenuBackend.C (expand): use Floating::listName
13100 * FloatList.C (FloatList): add listName argument to the built-in
13103 * Floating.[Ch]: add listName member, which is the 'List of XXX'
13104 text associated with the float.
13106 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13108 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13110 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13112 * ShareContainer.h: add a couple of missing typenames.
13114 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13116 * lyxrc.C (getDescription): use _() correctly rather than N_().
13118 2002-03-28 Herbert Voss <voss@lyx.org>
13120 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13121 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13123 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13125 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13126 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13128 2002-03-29 Juergen Vigna <jug@sad.it>
13130 * lyxfunc.C (dispatch): add a missing fitCursor call.
13132 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13133 it was scrolled by a cursor move, so return the bool status.
13135 * BufferView.C (fitCursor): return the bool flag also to the outside
13136 world as this is needed.
13138 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13140 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13141 call the edit() as it is not needed (and wrong) IMO.
13142 (workAreaButtonPress): set the screen_first variable before evt.
13143 unlock the inset as this may change screen_first and then we have
13144 a wrong y position for the click!
13146 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13148 * MenuBackend.C (expand): another translation that I missed
13150 2002-03-28 Juergen Vigna <jug@sad.it>
13152 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13154 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13156 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13158 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13160 * MenuBackend.C (expand): fix export/view/update when there is no
13163 2002-03-27 Herbert Voss <voss@lyx.org>
13165 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13168 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13170 * bufferview_funcs.C (currentState): only show paragraph number
13171 for is DEVEL_VERSION is set.
13173 * lyxfunc.C (dispatch): put warning in INFO channel
13175 * MenuBackend.C (expand): translate the name of floats
13177 * FloatList.C (FloatList): mark the float names for translation
13179 * converter.C (convert): use LibScriptSearch
13181 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13183 * MenuBackend.C (defaults): fix default menu (we might as well get
13186 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13188 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13191 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13193 * lyxvc.C: reorder includes.
13195 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13197 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13200 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13202 * CutAndPaste.C: change layouts earlier on paste
13203 to avoid crashing when calling getFont()
13205 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13207 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13210 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13212 * WorkArea.C: remove 'Pending' debug message.
13214 * most files: ws cleanup
13216 * buffer.[Ch]: ws changes
13218 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13220 2002-03-21 Juergen Vigna <jug@sad.it>
13222 * tabular.C (SetMultiColumn): collapse also the contents of the
13223 cells and set the last border right. Added a Buffer const * param.
13225 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13227 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13230 2002-03-19 Juergen Vigna <jug@sad.it>
13232 * text2.C (clearSelection): reset also xsel_cache.
13234 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13235 where it needs to be called (John tells us to do so too :)
13236 (selectionLost): reset sel_cache.
13238 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13240 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13242 * text2.C (setCursorIntern): put debuging code in INSETS channel
13244 2002-03-19 André Pönitz <poenitz@gmx.net>
13246 * lyxfunc.C: tiny whitespace change
13248 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13250 * ToolbarDefaults.C (init):
13251 * LyXAction.C (init):
13253 * BufferView_pimpl.C (Dispatch):
13254 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13256 2002-03-19 Allan Rae <rae@lyx.org>
13258 * exporter.C (Export): removeAutoInsets before doing anything else.
13259 While I've just introduced a dependency on BufferView this really is
13260 the best place to clean the buffer otherwise you need to cleanup in
13261 a dozen places before calling export or cleanup in a dozen functions
13264 * converter.C (runLaTeX):
13265 (scanLog): Better handling of removeAutoInsets and screen updates.
13267 * lyxfunc.C (dispatch): small whitespace changes
13269 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13271 * WorkArea.C (C_WorkAreaEvent): return a value.
13272 (event_cb): return 1 if we handled the event, 0 otherwise.
13274 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13276 2002-03-18 Juergen Vigna <jug@sad.it>
13278 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13279 (GetAdditionalWidth): ditto.
13280 (RightLine): ditto.
13283 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13284 inset if we're there actually (probably not used right now but this
13285 is the direction to go for unifying code).
13286 (paste): disable code to clear the selection.
13288 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13289 inside an InsetText and move the check further up as it is in the
13292 * text2.C (pasteSelection): set a selection over the pasted text.
13294 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13296 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13297 and libgraphics to build on Cygwin.
13299 2002-03-15 Juergen Vigna <jug@sad.it>
13301 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13302 inserting an Inset into the paragraph. I know this is not the best
13303 fix but we already use current_view in CutAndPaste so we will remove
13304 all of it's using at the same time.
13306 * buffer.C (sgmlError): deactivated function till it is rewritten in
13307 the right mode, now it can create problems.
13309 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13310 before accessing it.
13312 2002-03-14 Juergen Vigna <jug@sad.it>
13314 * undo_funcs.C (textHandleUndo): do the right thing when updating
13315 the inset after the undo/redo.
13317 * text2.C (setCursor): just some testcode for #44 not ready yet.
13319 * undo_funcs.C (textHandleUndo): set the next() and previous()
13320 pointers of the paragraph to 0 before deleting otherwise we have
13321 problems with the Paragraph::[destructor].
13323 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13324 on a paragraph insertion.
13326 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13328 * buffer.C (asciiParagraph): use += operator for char append to
13331 * paragraph.C (getFontSettings): compare >= not just >
13332 (highestFontInRange): ditto
13335 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13337 * paragraph.C: change several algorithm to be more appripriate for
13338 the problem domain. This is lookip in FontList and in the InsetList.
13340 2002-03-13 André Pönitz <poenitz@gmx.net>
13343 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13345 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13350 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13352 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13354 * Painter.C (display): anon helper function, adjust code for this
13356 (pixmap): remove function.
13358 * Painter.h: remove private display variable.
13360 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13362 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13364 * WorkArea.[Ch]: remove figinset_canvas cruft.
13366 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13368 * lyxtextclass.C (operator): add one item cache optimization.
13370 * bufferlist.h: doxy changes
13372 * bufferlist.C: ws changes
13374 * DepTable.[Ch] (ext_exist): place const in the right spot.
13376 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13378 (workAreaExpose): call resizeInsets when the with BufferView changes.
13379 (Dispatch): adjust for protectedBlank removal
13380 (specialChar): call updateInset if the insert went ok.
13382 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13383 specialChar instead.
13385 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13387 * BufferView.h: doxy change
13389 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13391 * lyxtextclass.C (operator[]): remove non-const version
13392 (defaultLayout): remove non-const version
13394 2002-03-12 Juergen Vigna <jug@sad.it>
13396 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13397 did resize the LyXText too.
13399 * buffer.C (readLyXformat2): set layout information on newly allocated
13402 * tabular.C (OldFormatRead): set layout information on the paragraph.
13404 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13406 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13408 2002-03-11 Juergen Vigna <jug@sad.it>
13410 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13412 (resizeCurrentBuffer): force also the insets to resize themselfes.
13413 (moveCursorUpdate): fixed up for InsetText.
13415 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13418 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13419 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13420 value of Dialogs::tooltipsEnabled().
13421 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13423 2002-03-08 Juergen Vigna <jug@sad.it>
13425 * BufferView_pimpl.C (updateInset): update inset inside inset also
13426 if it isn't inside theLockingInset().
13428 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13430 * buffer.C (asciiParagraph): redo some of the word and line length
13432 (getLists): look for Caption instead of caption.
13434 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13436 * buffer.C (Buffer): initialize niceFile to true
13438 (makeLinuxDocFile):
13439 (makeDocBookFile): make sure niceFile is true on exit
13441 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13443 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13445 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13447 * LyXSendto.C: remove.
13448 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13449 * lyx_gui.C: remove now-redundant comment.
13450 * ColorHandler.h: remove forward declaration of class WorkArea.
13451 * lyxfunc.C: remove #include "WorkArea.h".
13453 2002-03-07 Juergen Vigna <jug@sad.it>
13455 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13456 got moved away with the DEPM and also set the inset_owner always
13457 right which before could have been omitted.
13459 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13461 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13462 wanted layout is not found.
13464 2002-03-07 Juergen Vigna <jug@sad.it>
13466 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13468 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13470 * paragraph.C (breakParagraph): use default layout not layout of
13472 (Paragraph): clear ParagraphParameters.
13474 2002-03-06 Juergen Vigna <jug@sad.it>
13476 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13477 otherwise it would not be a valid lenght. Fixed a special case in
13478 the minipage compatibility read where we end the document with a
13481 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13482 was set as it could be 0 for InsetTexts first entry.
13484 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13486 * paragraph.C (writeFile): if layout is empty write out
13487 defaultLayoutName().
13489 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13490 file without named layout we set layout to defaultLayoutName().
13492 2002-03-06 Juergen Vigna <jug@sad.it>
13494 * CutAndPaste.C (copySelection): set layout for new paragraph.
13496 * text.C (prepareToPrint): leave ERT inset left aligned
13497 (leftMargin): don't indent paragraphs inside ERT insets
13499 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13501 * paragraph.C (breakParagraph): dont call clear do the work manually
13503 * paragraph.[Ch] (clear): remove function
13505 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13507 * paragraph.C (Paragraph): dont call clear, the work has already
13510 * lyxtextclass.C (operator): assert if n is empty
13512 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13513 work manually instead.
13515 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13517 * BufferView_pimpl.C: protect selectionLost against text == 0
13519 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13521 * text.C (breakParagraph): fix a setting layout to '0' problem.
13523 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13525 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13526 final location of file, for the included files, and graphics.
13528 2002-03-05 Juergen Vigna <jug@sad.it>
13530 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13532 2002-03-04 Juergen Vigna <jug@sad.it>
13534 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13536 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13537 last column of multicolumn cells.
13538 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13540 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13542 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13543 file if it doesn't go to a temporary file.
13545 * buffer.C (sgmlOpenTag):
13546 (sgmlCloseTag): remove extra newline insertion.
13548 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13550 * text.C (getRowNearY): comment out debug msg
13552 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13554 * text2.C: first -> first_y
13556 * text.C (getRowNearY): add some attemts at a possible
13557 optimization, not working.
13559 * tabular.[Ch]: add BufferParams to several function so that newly
13560 created paragraph can be initialized to he default layotu for the
13563 * tabular-old.C (ReadOld): add buf->params to call of Init
13565 * screen.C: rename text->first to text->first_y
13567 * paragraph.C (breakParagraph): always set layout in the broken
13570 * lyxtextclass.C (Read): remove lowercase
13573 (delete_layout): ditto
13575 * lyxtext.h: rename first -> first_y
13577 * lyxlayout.C (Read): remove lowercase
13580 (obsoleted_by): ditto
13582 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13584 * buffer.C (insertErtContents): add params are to InsetERT
13585 (parseSingleLyXformat2Token): add code to check if a paragraphs
13586 layout really exist.
13587 (parseSingleLyXformat2Token): add params to several inset
13589 (asciiParagraph): remove lowercase, do the layout comparisons with
13592 * BufferView_pimpl.C (cursorNext): first -> first_y
13593 (resizeCurrentBuffer): first -> first_y
13594 (updateScrollbar): first -> first_y
13595 (scrollCB): first -> first_y
13596 (workAreaMotionNotify): first -> first_y
13597 (workAreaButtonPress): first -> first_y
13598 (checkInsetHit): first -> first_y
13599 (cursorPrevious): first -> first_y
13600 (cursorNext): first -> first_y
13601 (Dispatch): add buffer_->params to severl inset contructors
13603 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13605 * lyxlayout.C (Read): remove some debug info that I forgot.
13607 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13608 clean up the code slightly.
13609 (makeLinuxDocFile): ditto
13610 (makeDocBookFile): ditto
13612 * text2.C: layout as string
13614 * text.C: layout as string
13616 * paragraph_pimpl.C: layout as string
13618 * paragraph.[Ch]: layout as string
13620 * lyxtextclasslist.[Ch]: layout as string
13622 * lyxtextclass.[Ch]: layout as string
13624 * lyxtext.h: layout as string
13626 * lyxlayout.[Ch]: layout as string
13628 * lyx_cb.C: layout as string
13630 * bufferview_funcs.C: layout as string
13632 * bufferparams.C: layout as string
13634 * buffer.C: layout as string
13636 * LyXView.[Ch]: layout as string
13638 * LaTeXFeatures.[Ch]: layout as string
13640 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13642 * BufferView_pimpl.C: change current_layout to string, remove
13647 (workAreaButtonRelease): layout as string
13649 * BufferView2.C (unlockInset): adjust
13651 * vspace.C (asLatexCommand): use an explict temp variable.
13653 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13655 * Makefile.am: use FRONTEND_*
13657 2002-03-01 Juergen Vigna <jug@sad.it>
13659 * tabular.C (SetWidthOfMulticolCell): changed to something better
13660 I hope but still work in progress.
13661 (recalculateMulticolumnsOfColumn): renamed function from
13662 recalculateMulticolCells as it is more appropriate now.
13663 (SetWidthOfCell): calculate multicols better.
13665 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13667 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13669 * lyxfunc.C (processKeySym): print sequence also if it is
13670 `deleted' (complete)
13672 * kbsequence.C (print): print sequence even if it is deleted
13673 (complete would be a better word, actually).
13675 * lyxfunc.C (dispatch): print complete options after a prefix key
13677 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13679 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13681 * text2.C (setCharFont): eliminate setCharFont code duplication.
13683 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13685 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13686 LFUN_TABULAR_FEATURE (bug #177)
13688 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13690 * Makefile.am: remove figure.h
13692 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13694 * Bufferview_pimpl.C:
13706 * text2.C: remove #include "lyx_gui_misc.h".
13708 * LaTeX.C: added #include <cstdio>
13710 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13712 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13713 that the paragraph following this one can have.
13715 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13717 * vspace.C (asLatexCommand): fix bogus gcc warning
13719 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13721 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13723 * text2.C (setLayout): get rid of redundant code
13725 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13727 * text2.C (incDepth): make sure depth cannot be increased beyond
13730 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13732 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13733 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13735 * PainterBase.h (image):
13736 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13737 a LyXImage const *.
13739 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13743 * BufferView_pimpl.C:
13744 * BufferView_pimpl.h:
13764 * sp_spell.C: remove fig inset, and the crap house of
13765 cards that follows it
13767 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13772 * os2_errortable.h:
13773 * nt_defines.h: move .h into support/
13775 * vms_defines.h: remove
13777 * WorkArea.C: add space in debug output
13781 * buffer.C: add WITH_WARNINGS
13785 * bufferlist.C: s/retrive/retrieve/, add docs
13794 * chset.C: add docs
13796 * lyxgui.C: add ID to X error handler
13798 * lyxtestclass.c: fix typo
13800 2002-02-26 Juergen Vigna <jug@sad.it>
13802 * tabular_funcs.C (write_attribute): changed so that some default
13803 attributes are not written at all.
13804 (getTokenValue): set default values before trying to read the
13805 value so we have the return value always set as default if we don't
13806 find the token we search for.
13808 * tabular.C (Write): write bools as bools not as strings!
13810 2002-02-22 Juergen Vigna <jug@sad.it>
13812 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13813 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13815 * text.C (leftMargin): don't add an indent for paragraphs inside
13816 tabular cells (fix #208).
13818 2002-02-21 José Matos <jamatos@fep.up.pt>
13820 * tabular.C (docBook): fixed support for long tables.
13822 2002-02-20 Juergen Vigna <jug@sad.it>
13824 * text2.C (getFont): get the drawing font of the Inset if this
13825 paragraph is inside an inset (only important for InsetERT for now).
13827 * buffer.C (insertErtContents): use new lanugage params in ERT
13830 * CutAndPaste.C: commenting out seemingly uneeded code.
13832 2002-02-19 Allan Rae <rae@lyx.org>
13834 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13835 Iterators might be simple to use but they also get invalidated.
13836 (removeAutoInsets): renamed saved cursor tracking variables and added
13837 some comments to clarify what everything does.
13839 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13846 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13847 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13850 * vc-backend.h: remove #include "support/syscall.h"
13854 * converter.C: rearrange #includes in Lars' approved fashion.
13856 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13857 forward declare class Timeout in the header file.
13859 * XFormsView.C: changes due to the above.
13861 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13862 similar to LyXView.
13864 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13865 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13867 2002-02-18 José Matos <jamatos@fep.up.pt>
13869 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13872 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13874 * a lot of small ws changes
13875 * add a lot of using std::XXX
13876 * use std construcs some places where approp.
13877 * use some exisint stuff from lyxfunctional where approp.
13878 * Make file changes to use partial linking (lets test this now...)
13880 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13884 remove #include "support/syscontr.h" as it's redundant. Always has been.
13892 change Systemcalls::System to Systemcalls::Wait and
13893 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13894 No change of functionality, just reflects the stripped down Systemcalls
13897 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13899 * debug.[Ch]: add a GRAPHICS type to the enum.
13901 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13903 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13905 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13908 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13910 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13911 match the changes below.
13913 * text2.C (toggleInset): if there is not editable inset at cursor
13914 position, try to see if cursor is _inside_ a collapsable inset
13917 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13919 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13920 document menu has a nice checkbox
13922 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13924 * lyxlength.C (asLatexString): change PW to output as percent of
13927 * lengthcommon.C: change '%' to 't%'
13929 * lyxfunc.C (dispatch): a few comments from Martin
13931 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13935 * BufferView_pimpl.h:
13936 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13939 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13941 * vspace.C (inPixels): fix compiler warning
13943 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13945 * lyxfunc.C (getStatus): fix status message for disabled commands.
13947 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13949 * BufferView_pimpl.C: fix crash on close buffer
13950 during selection (#227)
13952 2002-01-27 Herbert Voss <voss@lyx.org>
13954 * buffer.C: link old Figure to new graphic inset
13956 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13958 * FontLoader.C (getFontinfo): Change the latex font names in order
13959 to match the names of type1inst.
13961 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13963 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13965 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13966 (extchanged): ditto
13968 (remove_files_with_extension): ditto
13969 (remove_file): ditto
13972 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13973 document is smaller than the work area height. Do not initialize
13974 static variables to 0.
13976 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13978 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13980 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13981 LFUN_LAYOUT_PARAGRAPHS.
13983 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13984 tabular. It is possible to provide a possible cell, which will
13985 typically be the actcell from the corresponding insettabular
13987 * lyxfunc.C (getStatus): small cleanup; disable
13988 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13991 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13993 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13995 * paragraph.C (startTeXParParams):
13996 (endTeXParParams): new methods. The LaTeX code to
13997 start/end paragraph formatting
13998 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13999 empty (fixes bug #200)
14001 * vspace.C (inPixels): adapt to the change below
14002 (inPixels): [later] more cleanups (remove unused variables)
14004 * lyxlength.C (inPixels): change to use a width and a height as
14007 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14009 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14010 Replaced with \paperwidth
14012 * DepTable.C (insert): add std:: qualifier
14014 2002-01-18 Allan Rae <rae@lyx.org>
14016 * text2.C (removeRow): add comment. Should other refresh_?? vars be
14019 * text.C (drawInset): Turned out I didn't know enough about how
14020 rebreaking worked. This fixes most of the redraw problems. I see
14021 an occasional cursor trail when a line is broken now and the cursor
14022 placement can seem out by a few pixels also after a rebreak.
14024 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14026 * buffer.C (parseSingleLyXformat2Token): update because minipage
14027 width is now a LyXLength
14029 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14031 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14034 2002-01-17 Juergen Vigna <jug@sad.it>
14036 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14038 * BufferView2.C (lockInset): call edit() so that theLockingInset()
14039 is set correctly and the inset is updated correctly.
14041 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14043 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14044 the beginning of the loop.
14046 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
14048 * lyxrc.C: improve help for use_scalable_fonts
14050 2002-01-17 Allan Rae <rae@lyx.org>
14052 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14054 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14056 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14057 make sure to set their inset_owner to the right value (bug #171)
14059 2001-12-12 Ben Stanley <bds02@uow.edu.au>
14062 * DepTable.C: Implement mtime checking to reduce time spent doing
14065 2002-01-16 Juergen Vigna <jug@sad.it>
14067 * tabular.C (GetAdditionalHeight): one of error fixed.
14069 * lyxrc.C (output): small fix in writing use_pspell.
14071 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
14073 * sp_base.h: #include LString.h
14075 2002-01-16 Allan Rae <rae@lyx.org>
14077 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
14078 Can someone check this please?
14080 * text.C (drawInset): It was possible that p.row would be removed by
14081 breakAgainOneRow upsetting a few other settings. There may be another
14082 small tweak possible by setting need_break_row = 0 when p.row has been
14083 removed but I don't know enough about the logic here.
14085 2002-01-15 Allan Rae <rae@lyx.org>
14087 * text.C (insertChar): removed conditional truism.
14089 * BufferView2.C (removeAutoInsets): More tweaks.
14090 cur_par_prev could be a stray pointer. Check for trailing empty line
14091 in case last line was cur_par and only had an error inset on it.
14093 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14095 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14098 * vc-backend.C (most methods):
14099 * exporter.C (Export):
14100 * converter.C (convert):
14102 * LyXSendto.C (SendtoApplyCB):
14103 * lyxfunc.C (dispatch):
14107 * lyx_cb.C (AutoSave):
14109 * BufferView_pimpl.C (MenuInsertLyXFile):
14110 * buffer.C (runChktex): use Buffer::filePath().
14112 * buffer.h: rename filename to filename_; rename filepath to
14113 filepath_ and make it private
14114 (filePath): new method
14116 * buffer.C (writeFile): use fileName()
14119 * lyx_main.C (init): fix starting of LyX when the binary is a
14120 link from so,ewhere else.
14122 * minibuffer.C: include <cctype> for isprint
14124 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14126 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14127 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14128 name clash with InsetCollapsable's width function.
14130 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14132 * lastfiles.C: include <iterator>
14134 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14136 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14139 * buffer.C (makeLaTeXFile): ditto.
14140 Also make loop operation more transparent.
14142 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14144 * ToolbarDefaults.C: remove trailing comma closing namespace.
14146 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14148 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14151 * trans.C (Load): comment out unused variable, allowed.
14153 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14155 * minibuffer.[Ch] (append_char): new method to recieve input from the
14156 drop-down completion browser. If a key was pressed, then recieve this
14157 char and append it to the existing string.
14158 (peek_event): modify the positioning data passed to the completion
14159 browser so that it can be placed above the minibuffer rather than below.
14160 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14162 * LyXAction.C (init): alloe error-next for readonly documents.
14164 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14167 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14169 * bufferlist.C (readFile): create the buffer _after_ checking that
14172 * lyxfunc.C (verboseDispatch): fix handling of arguments
14174 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14176 * lyxrc.C: use string::erase() instead of initializing to "".
14179 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14181 * BufferView_pimpl.h:
14182 * BufferView_pimpl.C:
14185 * text2.C: tell X when we have made a selection for copying
14187 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14189 * BufferView_pimpl.C (MenuInsertLyXFile):
14190 * lyxfunc.C (menuNew):
14192 (doImport): add shortcuts to directory buttons
14194 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14197 * lyxfunc.C (setStatusMessage):
14198 (getStatusMessage): new methods
14199 (getStatus):use setStatusMessage instead of setErrorMessage
14200 (dispatch): when function is disabled, set error message here
14201 [instead of in getStatus previously]
14203 * BufferView_pimpl.C (workAreaButtonRelease): update
14204 toolbar/menubar here too.
14206 2002-01-13 Allan Rae <rae@lyx.org>
14208 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14209 Now seems indestructible. Remaining task is to audit all other
14210 code affected by deleteEmptyParagraphMechanism. One small quirk
14211 left is that an empty document with an error in the preamble can
14212 be made to report an error but no error box appears. I don't know
14214 (removeAutoInsets): Improved comments.
14216 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14219 * Thesaurus.C: update for Aiksaurus 0.14
14221 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14223 * text2.C (firstParagraph): removed member function, all uses
14224 replaces with ownerParagraph
14225 (redoParagraphs): here
14226 (updateInset): here
14227 (toggleAppendix): here
14228 * BufferView2.C (insertErrors): here
14229 (setCursorFromRow): here
14231 2002-01-13 Allan Rae <rae@lyx.org>
14233 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14234 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14235 There is still a way to segfault this although you may have to do this
14236 multiple times: Have an InsetERT with an unknown command in it.
14237 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14238 <down-arrow>, <Enter> again, View->DVI, BANG!
14240 * text2.C (setCursor):
14241 (deleteEmptyParagraphMechanism):
14242 * lyxtext.h (setCursor):
14243 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14244 Making use of the return value may help fix other bugs.
14246 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14248 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14250 * LyXView.C (updateMenubar): call MenuBar::update here
14251 (updateToolbar): but not here
14252 (showState): do not update toolbar/menubar
14254 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14255 should need to care about that.
14257 * lyxfunc.C (verboseDispatch): simplify a bit
14258 (getStatus): have a version which takes a pseudoaction, and
14259 another which requires a (kb_action,string).
14261 * LyXAction.C (retrieveActionArg): make it work also when action
14262 is not a pseudo-action.
14263 (getActionName): simplify a bit
14266 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14268 * lyxfunc.C (verboseDispatch): new families of methods with
14269 several ways to specify a command and a bool to indicate whether
14270 the command name and shortcut should be displayed in minibuffer
14271 (eventually, we could extend that to a finer bitmask like
14272 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14273 (dispatch): the pristine dispatch command which just, well,
14274 dispatchs! Note it still sets its result to minibuffer; I'm not
14277 * lyxfunc.h: remove setHintMessage
14279 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14281 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14283 * BufferView_pimpl.C (specialChar): delete new inset if we have
14284 not been able to insert it.
14286 * kbmap.C: revert to using int instead of kb_action, since all we
14287 are dealing with is pseudo-actions.
14289 * LyXAction.C (searchActionArg): change to return int instead of
14290 kb_action, since the result is a pseudoaction.
14292 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14294 * buffer.C (insertErtContents): Fix (partially) the font bug.
14296 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14298 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14299 as the other one is broken on my machine!
14301 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14304 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14306 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14308 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14309 reflect their actual use. Provide compatibility code for older lyxrc
14312 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14314 change names of popup font variables in line with the changes to lyxrc.C
14316 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14318 * buffer.C (asciiParagraph): avoid outputing a word twice after
14321 * lyxrc.C (getDescription): document that document_path and
14322 template_path can be empty.
14324 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14326 * LaTeXFeatures.C (getMacros):
14327 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14329 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14331 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14333 (getPackages): rename feature "floats" to "float". Use an array to
14334 iterate over 'simple' features (i.e. just a \usepackage). Add
14335 handling of "amsmath" (renamed from "amsstyle").
14337 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14339 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14342 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14344 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14345 FuncStaus::FuncStatus & FuncStaus::some_method().
14347 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14349 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14350 of the func_satus stuff. Edited and massaged in various ways by
14353 * lyxfunc.C (getStatus): use FuncStatus
14355 2002-01-08 Juergen Vigna <jug@sad.it>
14357 * text.C (nextBreakPoint): use function Inset::isChar().
14359 * paragraph.C (TeXOnePar): use function
14360 Inset::forceDefaultParagraphs.
14362 * buffer.C (latexParagraphs): use function
14363 Inset::forceDefaultParagraphs.
14365 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14367 * lyx_gui.C (init): set the style of the menu popups to
14368 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14370 2002-01-07 Juergen Vigna <jug@sad.it>
14372 * text.C (setHeightOfRow): small fix
14373 (prepareToPrint): don't look at alignment if we don't have the place
14376 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14378 * box.C: New file. Move the Box methods and functions out of box.h,
14379 following Lars' suggestion.
14381 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14383 * box.h: #include "support/LOstream.h", needed for inlined function.
14386 * lyxtextclasslist.C: added some using std declarations.
14388 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14390 * box.h: make signed dimensions to allow insets wider than
14391 the screen (bug #162)
14393 * BufferView_pimpl.C: add some insetHit debug
14395 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14397 * vc-backend.C: add FIXME
14399 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14401 * lyxfunc.C (getStatus): enable code for showing math font status
14404 2002-01-07 Juergen Vigna <jug@sad.it>
14406 * text.C (nextBreakPoint): removed debug output not needed anymore.
14408 2002-01-06 Juergen Vigna <jug@sad.it>
14410 * text.C (nextBreakPoint): fixed up this function we had this bug
14411 since ever but now hopefully we break row better.
14412 (insertChar): we have to check if an inset is the next char as it
14413 could now happen that a large inset is causing a break.
14415 2002-01-05 Juergen Vigna <jug@sad.it>
14417 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14418 if it doesn't like to be drawed.
14420 2002-01-04 Juergen Vigna <jug@sad.it>
14422 * BufferView2.C (lockInset): forgot to set a cursor.
14424 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14426 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14428 * FormMathsPanel.C:
14431 * form_maths_panel.C:
14432 * form_maths_panel.h:
14433 * form_maths_panel.fd: implemented sub- and super- buttons in math
14436 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14437 (or ^ space) to be used as in TeX (req'd by Andr�.
14439 * lyxfunc.C: Allow ^ and _ again to be used both as
14440 super/subscript (mathed) and as themselves (in text).
14442 2002-01-03 Allan Rae <rae@lyx.org>
14444 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14445 "LyX" or the filename of the current buffer if it has one. This is a
14446 modified form of John Levon's patch.
14448 * XFormsView.C (setWindowTitle): also set icon title.
14450 * LyXView.h (setWindowTitle): signature changed.
14451 * XFormsView.h (setWindowTitle): ditto.
14453 2002-01-02 Juergen Vigna <jug@sad.it>
14455 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14457 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14459 * screen.C (topCursorVisible): introduce a temp var for
14460 text->cursor.row(), handle the case where this row is null. (kindo
14463 * text2.C (setCursor): add a couple of asserts.
14465 * paragraph.h (inset_iterator): add -> operator
14467 * paragraph.[Ch] (autoDeleteInsets): remove member function
14469 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14470 cursor pos correctly and handle inset deletion by itself.
14471 (insertErrors): move iterator declaration out of for expression
14473 * lyxtextclass.C: add <algorithm>
14475 * Makefile.am: added the new files to sources, removed layout.C
14477 * layout.C: removed file
14479 * layout.h: remove LYX_DUMMY_LAYOUT
14481 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14485 * lyxtextclass.[Ch]:
14486 * lyxtextclasslist.[Ch]: new files
14488 * include order changes to a lot of files, also changes because of
14491 2001-12-27 Juergen Vigna <jug@sad.it>
14493 * buffer.C (asciiParagraph): more fixes.
14495 * tabular.C (ascii): make ascii export support export of only the
14496 data separated by a column-delimiter.
14497 (ascii): better support for ascii export.
14499 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14501 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14503 * tabular_funcs.C: use a "using std::getline" instead of the
14504 previous fix from Angus (necessary for cxx + lyxstring)
14506 2001-12-24 Juergen Vigna <jug@sad.it>
14508 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14510 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14511 problems. First check a minipage also if we have some ert-contents
14512 (not only on par->size(), second set the right depth of the paragraph
14513 on the relink to the root-paragraph-list!
14515 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14516 which then did not anymore update the main paragraphs on undo/redo!
14518 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14520 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14521 code. Support all font-changing funcs (even those which are not in
14522 menu currently). Support for reporting font settings in
14523 mathed (disabled until Andre provides a function on mathed's side).
14525 * func_status.h (toggle): small helper function to set toggle
14528 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14530 * tabular_funcs.C: getline -> std::getline
14532 2001-12-21 Juergen Vigna <jug@sad.it>
14534 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14535 accessed and could be 0 (I couldn't generate this but it seems
14538 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14540 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14541 * tabular_funcs.h: here and include iosfwd
14543 2001-12-20 Juergen Vigna <jug@sad.it>
14545 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14546 inside inset but undo_par was.
14548 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14550 * Thesaurus.C: always include <config.h> in sources.
14554 * box.h: do not include <config.h> in header files
14556 * text.C (paintLastRow): remove unused variable
14558 * text.C (transformChar):
14560 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14562 * Painter.C (text):
14563 * font.C (width): rewrite to use uppercase() instead of
14566 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14568 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14570 * lyxfind.C: clean up of find failure position change
14572 2001-12-20 Juergen Vigna <jug@sad.it>
14574 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14576 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14577 (TeXRow): added to LaTeX a single tabular row.
14578 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14579 (Latex): simplified and finally good LT-h/f support.
14580 (various_functions): just small adaptions for LT-h/f support.
14582 * tabular_funcs.[hC]: added and moved here all not classfunctions
14585 2001-12-19 Juergen Vigna <jug@sad.it>
14587 * tabular.[Ch]: better support for longtabular options (not finished
14590 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14592 * text.C (paintLastRow): use the label font instead of the font of
14593 the last character to compute the size of *_BOX. This makes more
14594 sense and avoids a crash with empty paragraphs.
14595 Use Painter::rectangle to draw EMPTY_BOX.
14597 2001-12-19 Juergen Vigna <jug@sad.it>
14599 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14600 the paragraphs if the replaced paragraph is not the first one!
14601 Tried to delete not used paragraphs but does not work yet so for
14602 now it's inside #ifdef's and by default off!
14604 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14606 * MenuBackend.C: include "lyx_main.h" instead of declaring
14607 lastfiles (actually was declared as LastFiles* instead of a
14610 2001-12-17 Juergen Vigna <jug@sad.it>
14612 * tabular.C (AppendColumn): applied John's fix
14614 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14618 * BufferView_pimpl.h:
14619 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14622 * box.h: new start of class for above
14624 * lyxfunc.C: ignore space-only minibuffer dispatches.
14625 Show the command name when it doesn't exist
14627 * minibuffer.C: don't add empty lines to the history
14629 * minibuffer.C: add a space on dropdown completion
14631 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14633 * text.C: fix line above/below drawing in insets
14635 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14637 * lyxlength.C (LyXLength): Initialize private variables.
14639 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14641 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14642 when inserting error insets.
14644 2001-12-13 Juergen Vigna <jug@sad.it>
14646 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14647 actually sometimes the before-paragraph.
14648 (setUndo): don't clear the redostack if we're not actually undoing!
14650 2001-12-06 Juergen Vigna <jug@sad.it>
14652 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14653 and fixed redoing of main paragraph, so we can use it now ;)
14655 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14657 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14659 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14662 2001-12-13 André Pönitz <poenitz@gmx.net>
14665 * undo_func.C: minor cleanup
14667 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14669 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14670 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14671 font in urw-fonts package which is marked as -urw-fontspecific and
14672 does not work (incidentally, changing the encoding in the
14673 fonts.dir of this package to -adobe-fontspecific fixes the
14676 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14677 is a crash when undoing first paragraph (Juergen, please take a
14678 look). THis does not mean the undo fix is wrong, just that it
14681 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14682 the (Paragraph*) version when needed instead of duplicating the
14685 * text.C (workWidth): use Inset::parOwner to find out where the
14686 inset has been inserted. This is a huge performance gain for large
14687 documents with lots of insets. If Inset::parOwner is not set, fall
14688 back on the brute force method
14690 * paragraph_pimpl.C (insertInset):
14691 * paragraph.C (Paragraph):
14692 (cutIntoMinibuffer): set parOwner of insets when
14693 inserting/removing them
14695 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14697 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14703 * mathed/formulabase.C:
14704 * mathed/math_cursor.[Ch]:
14705 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14708 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14710 * lyxlength.[Ch] (operator!=): new function
14712 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14714 * text.C (workWidth): use Inset::parOwner to find out where the
14715 inset has been inserted. This is a huge performance gain for large
14716 documents with lots of insets. If Inset::parOwner is not set, fall
14717 back on the brute force method
14719 * paragraph_pimpl.C (insertInset):
14720 * paragraph.C (Paragraph):
14721 (cutIntoMinibuffer): set parOwner of insets when
14722 inserting/removing them
14724 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14726 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14728 * tabular-old.C (getTokenValue):
14729 * tabular.C (getTokenValue):
14730 (write_attribute): new versions for LyXLength
14731 (everywhere): adjust the use of widths
14733 * tabular.h: change the type of widths from string to LyXLength
14735 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14737 * paragraph.C: fixed missing line number count when exporting
14738 Environments to LaTeX file
14740 * buffer.C: added informational message for checking line numbers.
14742 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14744 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14745 paragraph, do the 'double space' part, but not the 'empty
14748 * text.C (workWidth): small optimization
14749 (getLengthMarkerHeight): use minimal size for negative lengths.
14751 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14753 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14755 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14757 2001-12-11 André Pönitz <poenitz@gmx.net>
14760 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14762 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14764 * text2.C: keep selection on a setFont()
14766 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14768 * lyx_cb.C: another bv->text misuse, from insert label
14770 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14773 * kbsequence.C: re-instate nmodifier mask
14775 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14777 * lyx_main.h: make lyxGUI private.
14779 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14781 * lyxfind.C: place the cursor correctly on failed search
14783 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14785 * text.C (getLengthMarkerHeight): for small heights, the arrows
14786 are not always on top/bottom of the text
14787 (drawLengthMarker): smaller arrows; take the left margin in
14788 account; draw also vfills.
14790 (paintLastRow): remove special code for vfill and standard spaces,
14791 since everything is handled in drawLengthMarker now.
14793 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14795 * buffer.C (insertErtContents): try to handle font and language
14796 interaction a bit better.g
14798 * ColorHandler.C (updateColor): change the hash to cover the whole
14799 LColor enum, ws cleanup
14800 (getGCLinepars): ditto
14801 (getGCLinepars): only lookup in the linecache once.
14803 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14805 * iterators.C (operator++): Make the iterator more robust
14807 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14809 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14811 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14814 * text.C: better added space drawing
14816 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14819 * BufferView2.C: fix layout combo update on inset unlock
14821 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14823 * Makefile.am: don't compile unused files
14825 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14829 * LyXAction.C: remove old LFUN_LAYOUTNO
14831 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14833 * paragraph_pimpl.h:
14834 * paragraph_pimpl.C: isTextAt() doesn't need font param
14836 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14839 * lyxlex.C: little cleanup
14841 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14843 * BufferView_pimpl.C: fix insertAscii for insets
14845 2001-12-05 Juergen Vigna <jug@sad.it>
14847 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14848 set the right font on the "multi" paragraph paste!
14850 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14856 * lyxlength.C: remove out-commented code.
14858 * BufferView_pimpl:
14872 * vc-backend.C: change "while(" to "while ("
14874 * lyxlength.[Ch]: add zero function to check if length is zero or
14876 * lyxgluelength.C: use it
14878 2001-12-05 Allan Rae <rae@lyx.org>
14880 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14881 Works for 2.95.3, from what I understand of Garst's reports this should
14882 work for other g++ versions. We're screwed if the abs(int) definition
14883 changed between bugfix releases of gcc.
14885 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14887 * text.C: fix chapter label offset !
14889 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14892 * text.C: fix hfill at end of line, clean up
14894 2001-12-04 Juergen Vigna <jug@sad.it>
14896 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14897 that we force an update of the inset and it's owners if neccessary.
14899 2001-12-03 Juergen Vigna <jug@sad.it>
14901 * text.C (rowLast): simplified code
14903 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14905 * lyxfunc.C: fix show options on timeout
14907 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14909 * screen.C (topCursorVisible): scroll half a page when the cursor
14910 reached top of bottom of screen
14912 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14914 * minibuffer.C: deactivate on loss of focus
14916 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14918 * vspace.[Ch] (operator!=): add operator.
14920 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14922 * BufferView_pimpl.C: refuse to open an inset when
14923 there's a selection.
14925 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14927 * BufferView_pimpl.C: allow to click on RHS of full row insets
14929 2001-11-30 Juergen Vigna <jug@sad.it>
14931 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14932 insets for undo reasons.
14934 2001-11-28 André Pönitz <poenitz@gmx.net>
14936 * vspace.[Ch]: cosmetical changes
14938 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14948 * kbsequence.C: part re-write of old kb code
14951 * WorkArea.C: remove Lgb_bug_find_hack
14953 2001-11-30 José Matos <jamatos@fep.up.pt>
14955 * buffer.C (makeDocBookFile): add a comment to point a hack.
14956 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14957 Fixed a double write of labels.
14959 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14962 * LaTeX.h Fixed bug in LaTeX class where it would not
14963 re-run latex if no depfiles were changed, but the .dvi was removed.
14965 2001-11-28 André Pönitz <poenitz@gmx.net>
14967 * all the files from the change on 2001/11/26:
14968 use lyx::layout_type instead of LyXTextClass::size_type
14969 use lyx::textclass_type instead of LyXTextClassList::size_type
14971 2001-11-29 Juergen Vigna <jug@sad.it>
14973 * text.C: added support for paragraph::isFreeSpacing()
14975 * buffer.C: same as above
14977 * paragraph.h: inserted isFreeSpacing() function to enable
14978 FreeSpacing inside InsetERT.
14980 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14981 of the paragraph's in the cut/copy buffer to 0!
14983 * text2.C (removeRow): remove the assert as it can!
14985 * lyxtext.h: added helper function firstRow returning firstrow and
14986 made firstrow private again.
14988 * BufferView2.C (lockInset): don't relock if we're already locked!
14990 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14991 the only paragraph.
14992 (removeRow): added Assert::(firstrow)
14994 * debug.C: forgot to add INSETTEXT here.
14996 2001-11-28 Juergen Vigna <jug@sad.it>
14998 * sp_spell.C (initialize): changed error text to more general
14999 spellchecker command use (not only ispell!)
15001 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15003 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15005 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15007 * vspace.C: initialise lyxgluelength on failure
15009 2001-11-28 Allan Rae <rae@lyx.org>
15011 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15012 declaration & definition that looks like a function declaration.
15014 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15016 * BufferView2.C (copy):
15017 (copyEnvironment): do not clear the selection when doing a copy.
15019 * text.C (paintFirstRow): compilation fix
15021 2001-11-27 Ben Stanley <bds02@uow.edu.au>
15023 * tabular.C (Latex): correct line count when writing latex.
15025 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
15027 * paragraph_pimpl.h:
15028 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15031 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15035 * LColor.C: change vfillline->added_space
15037 * text.C: add markers and text for added space
15039 * vspace.C: fix comment
15041 2001-11-28 André Pönitz <poenitz@gmx.net>
15043 * paragraph.C: whitespace changes
15044 * all the other files from the change on 2001/11/26:
15045 change *::pos_type into lyx::pos_type
15047 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
15049 * buffer.C (parseSingleLyXformat2Token): Set the language to the
15050 language of the document when inserting error insets.
15052 2001-11-26 André Pönitz <poenitz@gmx.net>
15054 * BufferView_pimpl.[Ch]:
15062 * paragraph_pimpl.[Ch]:
15065 * text2.C: reduce header dependencies, introduce type for positions
15067 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15069 * <various>: change to use Alert.h
15071 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
15073 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15074 when encountering an unknown token.
15075 (readLyXformat2): Show an error message if there were unknown tokens.
15077 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
15080 * BufferView_pimpl.C:
15084 * text2.C: use par->isInset()
15086 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15088 * paragraph_pimpl.h:
15089 * paragraph_pimpl.C: cleanup
15091 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15093 * text2.C (removeRow):
15094 * text.C (setHeightOfRow): remove useless (and costly) call to
15097 2001-11-20 Allan Rae <rae@lyx.org>
15099 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15100 Now need Inset*::checkInsertChar() to return true for appropriate
15101 cases so that the characters in the minibuffer will actually be
15104 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
15106 * text.C: change the order of the includes.
15107 (workWidth): initialize it at once.
15108 (workWidth): make maxw unsigned
15109 (setHeightOfRow): remove unused variable (inset)
15110 (selectSelectedWord): remove unused variable (inset)
15111 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15113 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15115 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15116 server is not running.
15118 (closeConnection): add debug info when server is disabled.
15120 * ColorHandler.C (getGCForeground): send debug message to GUI
15123 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15125 * kbmap.C (bind): modify because return conventions of
15126 kb_sequence::parse have changed.
15128 * kbsequence.C (parse): only ignore spaces and not any stupid
15129 control character. This avoids tests like s[i] <= ' ', which are
15130 guaranteed to fail with 8bit characters and signed chars.
15131 Change return code to string::npos when there have been no error
15132 (0 was a bad idea when error is at first character)
15134 2001-11-14 José Matos <jamatos@fep.up.pt>
15137 * buffer.C (simpleDocBookOnePar): removed unused argument.
15139 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15141 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15142 insets which are part of a word. Paragraph::isLetter takes care of
15143 that now. Use Paragraph::isInset to identify insets.
15144 (selectSelectedWord): do not test for hyphenation break.
15146 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15147 that protected spaces are considered as spaces.
15149 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15152 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15155 * lyxserver.C: fix it. and small cleanup.
15157 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15159 * BufferView_pimpl.C: use inline helpers
15162 * LaTeXFeatures.C: fix typos
15165 * Spacing.C: move spacing_string into class
15167 * ToolbarDefaults.C: move stuff into namespace anon
15169 * layout.h: update enum
15171 * lyxfunc.C: use better debug
15173 * minibuffer.h: fix typo
15177 * WorkArea.C: add and use Debug::WORKAREA
15181 * text2.C: code re-organisation, inline helpers
15183 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15185 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15186 std::vector.empty().
15188 2001-11-09 Allan Rae <rae@lyx.org>
15190 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15191 '\n's after tables. Tabular and ERT inset work now makes this no
15194 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15197 * minibuffer.C: fix crash, improve drop-down completion
15199 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15202 * lyxserver.C: invalidate fd's when doing endPipe()
15204 2001-11-08 José Matos <jamatos@fep.up.pt>
15206 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15207 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15210 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15212 2001-11-07 José Matos <jamatos@fep.up.pt>
15215 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15218 * buffer.C (sgmlOpenTag):
15219 * buffer.C (sgmlCloseTag): removed debug info.
15221 * buffer.h (sgmlOpenTag):
15222 * buffer.h (sgmlCloseTag): made public.
15224 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15226 * buffer.C (saveParamsAsDefaults):
15227 * lyx_cb.C (MenuLayoutSave): remove
15229 * LyXAction.C (init):
15231 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15233 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15235 * buffer.C (setPaperStuff): removed from here...
15237 * bufferparams.C (setPaperStuff): ... and moved there.
15239 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15243 * XFormsView.C: add support for drop-down completion
15245 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15247 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15250 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15252 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15255 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15257 * lyx_main.C: change ref to known bugs
15259 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15261 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15262 to work around older babel problems.
15264 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15266 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15268 2001-10-24 Juergen Vigna <jug@sad.it>
15270 * tabular-old.C (ReadOld): below variable changes reflected.
15272 * tabular.[Ch]: added ltType struct for longtable header/footer
15273 defines and changed all instances where they are used. Added
15274 future support for double top/bottom rows.
15276 2001-10-24 José Matos <jamatos@fep.up.pt>
15278 * buffer.h (docbookHandleCaption):
15279 * buffer.C (docbookHandleCaption): removed unused function.
15280 (makeDocBookFile): moved docbook supported version to v4.1.
15282 2001-10-24 José Matos <jamatos@fep.up.pt>
15285 * tabular.C (docbookRow): new function to export docbook code of a row.
15286 (DocBook): now honors the longtable flags.
15288 2001-10-23 José Matos <jamatos@fep.up.pt>
15291 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15292 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15294 * buffer.C (makeLinuxDocFile):
15295 (makeDocBookFile): reworked the preamble, more clean, and with
15296 support for lyx defined entities. Changed the document declaration
15297 to be more XML friendly.
15299 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15300 if we need to output XML that should be done with a filter.
15302 2001-10-22 Juergen Vigna <jug@sad.it>
15304 * sp_pspell.h (class PSpell): add alive function needed in the
15305 controller to see if the spellchecker could be started.
15307 2001-10-22 Juergen Vigna <jug@sad.it>
15309 * buffer.C (insertStringAsLines): modify the font for inserting
15310 chars in certain conditions by calling checkInsertChar(font).
15312 2001-10-19 Juergen Vigna <jug@sad.it>
15314 * text.C (workWidth): use getRow instead of wrong algorithm.
15315 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15317 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15322 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15324 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15326 * text.C (workWidth): do not search for the exact row when
15327 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15328 optimization for big documents.
15330 2001-10-18 Juergen Vigna <jug@sad.it>
15332 * text.C (workWidth): new function with added Inset * parameter.
15334 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15336 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15338 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15339 change return type of getColumnNearX.
15342 * text.C (changeRegionCase): use uppercase/lowercase instead of
15345 (rightMargin): simplify code by factoring out the uses of
15350 (appendParagraph): use Paragraph::size_type
15352 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15354 * vspace.C (asLatexString): add a missing break
15356 2001-10-15 Herbert Voss <voss@perce.de>
15358 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15360 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15362 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15365 2001-10-10 André Pönitz <poenitz@gmx.net>
15367 * lyxfunc.C: removed greek_kb_flag.
15369 2001-10-10 Herbert Voss <voss@perce.de>
15371 * lyx_main.C: delete global string help_lyxdir.
15373 2001-10-09 Herbert Voss <voss@perce.de>
15375 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15377 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15379 * lyx_main.C: added global string help_lyxdir.
15381 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15383 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15385 * lyxrc.C (set_font_norm_type): support iso8859-4
15387 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15389 * LaTeX.C (deplog): add another regex for MikTeX
15391 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15393 * lyxrc.C (set_font_norm_type): support iso8859-3
15395 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15397 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15399 * LaTeXFeatures.C: remove special case of french and index
15401 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15402 before \begin{document}). This solves several incompatibilities.
15404 2001-10-03 Garst Reese <reese@isn.net>
15406 * lyx_cb.C: change CheckTex error msg.
15408 2001-10-03 José Matos <jamatos@fep.up.pt>
15410 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15412 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15414 * .cvsignore: update
15416 * lyx_main.C (commandLineVersionInfo): use new style version info.
15418 * buffer.C (writeFile):
15420 (makeLinuxDocFile):
15421 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15423 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15425 * version.h: update to use stuff in version.C
15427 * version.C.in: new file. Contains version information determined
15428 at compile time. This is a merging of version.h and
15431 2001-10-03 Juergen Vigna <jug@sad.it>
15433 * BufferView_pimpl.C (update): don't change "dirty" status in
15436 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15438 * WorkArea.C (c-tor): re-position version string slightly.
15440 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15442 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15443 revert to previous code.
15445 WorkArea.[Ch]: (show, destroySplash): methods removed.
15447 WorkArea.C: rework code so that it's an amalgam of the codes before and
15448 after the splash screen was moved to WorkArea.
15450 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15453 * vspace.C (inPixels):
15456 * buffer.C (insertStringAsLines):
15457 (asciiParagraph): fix types to be large enough
15459 * lyxlex_pimpl.h: change member status from short to int
15461 * layout.h: fix type of endlabeltype
15464 * kbsequence.C (parse): change return type to string::size_type
15466 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15469 * Bullet.C (bulletSize):
15470 (bulletEntry): do not use short ints as parameters
15472 * BufferView2.C (insertLyXFile): change a char to an int.
15474 * WorkArea.C (WorkArea): remove unneeded floats in computation
15476 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15478 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15480 * paragraph.C (asString): Do not ignore newline/hfill chars when
15481 copying to the clipboard.
15483 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15485 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15486 after a multi-line inset.
15488 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15490 * paragraph.C (validate): Set NeedLyXFootnoteCode
15492 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15494 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15495 and decrease-error to decrease.
15497 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15499 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15500 it more readable (should be equivalent)
15502 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15504 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15506 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15508 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15509 of a cursor (row, etc.) after a character has been deleted
15510 (deleteEmptyParagraphMechanism): call the method above on _all_
15511 cursors held by the LyXText when a double space has been
15514 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15516 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15518 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15520 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15521 background. Use greyOut() and the new show() methods to toggle between
15522 the foreground and background. Add code to remove the splash after
15523 its initial showing.
15525 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15526 (create_forms): no longer call Dialogs::showSplash.
15528 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15530 * .cvsignore: add version_info.h
15532 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15534 * version_info.h.in: new file
15536 * Makefile.am: add version_info.h.in
15538 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15539 version_info.h instead of VERSION_INFO
15541 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15543 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15544 The ERT inset now returns string().
15546 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15548 * lyxtext.h, text.C (selectNextWord): renamed as
15549 selectNextWordToSpellcheck.
15551 * text.C (selectNextWordToSpellcheck): Modified to not select
15552 words inside an ERT inset.
15554 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15556 * lyx_cb.C (MenuLayoutSave): change a bit the question
15558 * sp_base.h: include <sys/types.h>
15560 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15562 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15564 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15566 * several files: fix typos in user-visible strings
15568 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15570 * text2.C (pasteSelection): do not set the selection, since it
15571 will be cleared later. Actually, the intent was to fix the way the
15572 selection was set, but I figured rmoving the code was just as good.
15574 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15576 * FontLoader.C (available): Check if font is available without
15579 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15581 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15583 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15585 * lyxrc.[Ch]: added display_graphics variable and associated code.
15587 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15589 * bufferparams.C (hasClassDefaults): new method. Returns true if
15590 the buffer parameters correspond to known class defaults
15592 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15594 * XFormsView.C (show): set minimum size to the main window.
15596 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15598 * text2.C (copySelection):
15600 * lyxfind.C (LyXReplace):
15601 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15602 LyXText::selectionAsString.
15604 * paragraph.C (asString): add "label" argument to the second form
15606 * text2.C (selectionAsString): add "label" argument and pass it to
15607 Paragraph::asString.
15609 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15611 * lyx_main.C (commandLineHelp): remove version information
15613 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15615 * lyx_main.C: add -version commandline option
15617 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15619 * paragraph.h: make the optional constructor arg required instead.
15620 some modifications to other files because of this.
15622 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15624 * lyxserver.C (C_LyXComm_callback): make it static
15626 * lyx_main.C (error_handler): make it static
15628 * lyx_gui.C (LyX_XErrHandler): make it static
15630 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15632 * WorkArea.C: make the extern "C" methods static.
15634 * Makefile.am (lyx_LDADD): simplify
15636 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15638 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15639 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15641 * LyXAction.C (init):
15642 * lyxfunc.C (dispatch): associated code removal.
15644 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15646 * lyxfont.h (isSymbolFont): shut off warning
15648 * text.C (setHeightOfRow):
15649 (getVisibleRow): fix crash with empty paragraphs which have a
15652 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15654 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15657 2001-09-04 José Matos <jamatos@fep.up.pt>
15660 * tabular.C (docbook): rename docBook method to docbook.
15662 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15664 * Makefile.am: add dependencies to main.o.
15666 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15668 * FontLoader.C (available): Return false if !lyxrc.use_gui
15670 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15672 * FontInfo.C (query):
15673 * converter.C (view):
15674 * importer.C (Import):
15675 * exporter.C (Export): Can not -> cannot.
15677 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15679 * BufferView_pimpl.C: allow to create index inset even if
15682 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15684 * buffer.C (getLists): replace boost::tie code with an explicit pair
15685 as boost::tie can break some compilers.
15687 * iterators.h: Added a std:: declaration to the return type of
15690 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15692 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15695 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15697 * iterators.[Ch]: New files. Provide paragraph iterators.
15699 * buffer.C (changeLanguage): Use paragraph iterators.
15700 (isMultiLingual): ditto
15702 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15704 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15706 * FontLoader.C: Support for cmr font.
15708 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15710 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15711 (available): New method.
15713 * FontInfo.C (getFontname): Use scalable fonts even when
15714 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15717 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15719 * converter.C (Formats::view): reverted! Incorrect fix.
15721 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15723 * converter.C (Formats::view): only output the -paper option
15724 if the dvi viewer is xdvi, thereby fixing bug #233429.
15726 2001-08-23 Herbert Voss <voss@perce>
15728 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15730 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15732 * Spacing.h (Spacing): Set space to Default on in the default
15735 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15737 * vc-backend.h (RCS::versionString): add RCS to version
15738 (CVS::versionString): add CVS to version
15740 * vc-backend.C (scanMaster): do not add CVS to version.
15741 (scanMaster): do not add RCS to version
15743 * lyxvc.C (versionString): new method
15745 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15747 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15749 * Spacing.C (set): initialize fval
15751 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15753 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15756 2001-08-16 Juergen Vigna <jug@sad.it>
15758 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15760 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15762 * BufferView_pimpl.C:
15765 * text2.C: setParagraph takes linespacing now
15767 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15769 * LyxAction.C: add internal LFUN_CITATION_INSERT
15771 * LyXView.C: actually apply fix
15773 * bufferlist.C: fix open non-existent file
15775 * lyxfind.C: fix indentation
15777 * lyxfunc.C: remove unneeded assert, fix typo
15779 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15781 * MenuBackend.C: use "Floatname List"
15783 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15785 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15786 when converting LaTeX layout to insetERT.
15787 Generate a non-collapsed float when reading old float
15789 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15791 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15794 2001-08-13 Juergen Vigna <jug@sad.it>
15796 * text.C (fill): return 0 instead of 20 as this seems to be the more
15799 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15801 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15804 2001-08-13 Juergen Vigna <jug@sad.it>
15806 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15808 (SearchBackward): comment out the unlocking of the inset_owner this
15809 should not be needed!
15811 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15813 * Many files: Remove inherit_language, and add latex_language
15815 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15816 collapsible insets.
15818 2001-08-10 Juergen Vigna <jug@sad.it>
15820 * text.C (prepareToPrint): fixed hfill-width in draw!
15822 * BufferView2.C (selectLastWord): save the selection cursor as this
15823 now is cleared in the function LyXText::clearSelection!
15825 2001-08-08 Juergen Vigna <jug@sad.it>
15827 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15828 BACKSPACE type functions.
15830 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15831 is only cutted from the document but not put in the cut-buffer, where
15832 still the old stuff should be.
15834 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15836 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15838 * tabular.C (SetWidthOfCell): fixed special case where the width
15840 (LeftLine): handle '|' in align_special.
15842 (LeftAlreadyDrawed): ditto
15843 (SetWidthOfCell): ditto
15845 2001-08-07 Juergen Vigna <jug@sad.it>
15847 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15849 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15851 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15852 * lyxlex.[hC]: ditto
15854 2001-08-06 Juergen Vigna <jug@sad.it>
15856 * text.C (getVisibleRow): fix up row clearing a bit.
15858 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15860 * minibuffer.C: make sure the X server sees the changes in the input.
15862 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15864 * paragraph.C (getFont): split into...
15865 (getLabelFont): this
15866 (getLayoutFont): and this
15867 * paragraph_pimpl.C (realizeFont): calling this
15869 * text2.C (getFont): split into...
15870 (getLayoutFont): this
15871 (getLabelFont): and this
15872 (realizeFont): all three calling this
15874 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15877 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15879 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15881 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15883 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15884 layouts from the Quote inset insertion.
15886 2001-08-03 Juergen Vigna <jug@sad.it>
15888 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15890 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15891 only if status not is already CHANGED_IN_DRAW (second level).
15893 * text.C (draw): don't set the need_break_row when inside an
15896 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15898 * buffer.C (parseSingleLyXformat2Token): handle more latex
15901 * bufferview_funcs.[hC]: change function names to
15902 begin with small char, adjust other files.
15904 2001-08-02 André Pönitz <poenitz@gmx.net>
15907 BufferView_pimpl.C: remove broken special code for math-greek
15909 2001-08-02 Juergen Vigna <jug@sad.it>
15911 * BufferView_pimpl.C (update): redone this function so that we
15912 update the text again if there was a CHANGE_IN_DRAW.
15914 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15915 (drawFromTo): added a new internal bool which is used by draw() and
15917 (general): some cursor drawing problems fixed.
15919 2001-08-01 Juergen Vigna <jug@sad.it>
15921 * lyxfind.C (LyXFind): fixed
15922 (SearchForward): ditto
15923 (SearchBackward): ditto
15925 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15926 spurius drawing of the cursor in the main area.
15928 * text2.C (status): small fix which could lead to a segfault!
15929 (clearSelection): remove unneeded BufferView param.
15931 2001-08-01 André Pönitz <poenitz@gmx.net>
15933 * lyxfunc.C: small change due to changed mathed interface
15935 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15937 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15939 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15941 * lyxfunc.c: fail gracefully if file doesn't exist
15946 * BufferView_pimpl.C: IsDirWriteable() proto changed
15948 * LyXView.C: fix updateWindowTitle() to store the last title
15950 2001-07-31 Juergen Vigna <jug@sad.it>
15952 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15953 the font (wrong since using of Paragraph::highestFontInRange).
15955 * paragraph.C (highestFontInRange): added a default_size parameter.
15957 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15958 (setHeightOfRow): reformat
15960 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15962 * converter.[hC] + affected files: move to (inital-char)lowercase
15965 * ParagraphParameters.C (ParagraphParameters): remove commented code
15967 * PainterBase.[Ch]: remove commented code
15969 * LaTeXFeatures.h: add "bool floats" for float.sty
15971 * LaTeXFeatures.C (LaTeXFeatures): init floats
15972 (require): handle float
15973 (getPackages): do it with floats
15975 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15977 * BufferView_pimpl.C (Dispatch): improve handling of
15978 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15980 * commandtags.h: #include lyxfont.h here temporarily to avoid
15983 * bufferlist.h: include LString.h here.
15985 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15987 * text2.C (getStringToIndex): new method.
15989 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15991 * *: Reduced header file dependencies all over.
15993 2001-07-30 Baruch Even <baruch@lyx.org>
15995 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15997 2001-07-29 Baruch Even <baruch@lyx.org>
15999 * buffer.C (readInset): Changed GRAPHICS to Graphics.
16001 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16003 * ParameterStruct.h (endif): add a default constructor to make
16004 sure that all variables is initialized.
16006 * ParagraphParameters.C (ParagraphParameters): adjust
16008 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16010 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16011 index; also, check that there is something to index, and that it
16012 does not span over several paragraphs.
16013 (doubleClick): use WHOLE_WORD_STRICT for double click.
16015 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16017 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16020 2001-07-26 Baruch Even <baruch@lyx.org>
16022 * buffer.C (readInset): Changed to call up InsetGraphics when reading
16023 an InsetFig figure, backwards compatible reading of old figure code.
16025 2001-07-27 Juergen Vigna <jug@sad.it>
16027 * text2.C: font.realize function adaption.
16029 * text.C (draw): add a warnings lyxerr text if needed.
16031 * layout.C: font.realize function adaption.
16033 * language.C: add inherit_language and implement it's handlings
16035 * bufferview_funcs.C (StyleReset): remove language parameter from
16036 font creation (should be language_inherit now).
16038 * bufferparams.C (writeFile): handle ignore_language.
16040 * paragraph.C (getFontSettings): the language has to be resolved
16041 otherwise we have problems in LyXFont!
16043 * lyxfont.C (lyxWriteChanges): added document_language parameter
16044 (update): removed unneeded language parameter
16046 * paragraph.C (validate): fixed wrong output of color-package when
16047 using interface colors for certain fonts in certain environments,
16048 which should not seen as that on the final output.
16050 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
16052 * BufferView_pimpl.C:
16057 * LyXAction.C: add thesaurus support
16060 * lyxfind.C: add "once" parameter, for thesaurus, to not
16061 move to the next match
16063 2001-07-26 Juergen Vigna <jug@sad.it>
16065 * lyxfont.C (realize): honor ignore_language too!
16068 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16070 * text.C (draw): one place more for ignore_language to not draw
16073 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
16075 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16077 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16079 * buffer.C (parseSingleLyXformat2Token): a more general fix for
16080 the minipage conversion problem.
16082 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16084 * buffer.C (parseSingleLyXformat2Token): check minipage if we
16087 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16089 * BufferView.h: don't forward declare WorkArea
16091 * BufferView.C: don't include WorkArea.h
16093 2001-07-25 André Pönitz <poenitz@gmx.net>
16097 * lyxfunc.C: new LFUN 'math-space'
16099 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16101 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16103 * text2.C (toggleInset): call open/close
16105 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16107 * lyxfunc.C (dispatch): add debug for the disabled case
16109 * font.C (buttonText): make similar to rectText
16111 * buffer.C (readInset): comment out parsing of insetlist and
16114 * PainterBase.C (rectText): small correction
16116 * BufferView_pimpl.C: comment out insettheorem and insetlist
16117 * LyXAction.C: ditto
16118 * commandtags.h: ditto
16120 2001-07-24 Juergen Vigna <jug@sad.it>
16122 * text.C (draw): honor the ignore_language.
16124 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16126 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16128 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16131 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16133 * lyxtext.h: remove unused (and unimplemented) methods
16135 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16137 * text.C (getVisibleRow): honor background color
16140 * Painter.h: remove default color argument for fillRectangle
16142 * text.C (backgroundColor): new method
16144 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16146 * text.C (getVisibleRow): adjust
16148 * font.[Ch] (rectText): new method, metrics
16149 (buttonText): new method, metrics
16151 * PainterBase.[hC]: make rectText and buttonText always draw and take
16154 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16156 * ToolbarDefaults.C (read):
16157 * MenuBackend.C (read): allow escaping in all strings
16159 * BufferView_pimpl.C (insertAndEditInset): new method.
16160 (Dispatch): use insertAndEditInset whenever appropriate.
16162 * BufferView_pimpl.C (insertNote): removed
16164 * BufferView_pimpl.C (smartQuote): new method, moved from
16165 BufferView; if an insetquote cannot be inserted, insert a '"'
16168 * BufferView2.C: remove insertCorrectQuote();
16170 * lyxfunc.C (getStatus): Add support for all remaingin
16171 inset-insert lfuns.
16173 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16175 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16176 command (necessary to pass " as parameter of self-insert.
16178 * text.C (selectWordWhenUnderCursor):
16179 (selectWord): add word_location parameter
16180 (selectWordWhenUnderCursor): same + remove special code for word
16182 (selectNextWord): use kind() to guess type of insetspecialchar,
16185 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16186 (insertErtContents): create ert insets as collapsed.
16187 (readInset): better compatibility code for Info inset.
16189 2001-07-20 Juergen Vigna <jug@sad.it>
16191 * lyxfunc.C (dispatch): use always LyXFind now!
16193 * text2.C (init): add a reinit flag so that the LyXText can be
16194 reinited instead of deleted and reallocated (used in InsetText).
16196 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16202 2001-07-18 Juergen Vigna <jug@sad.it>
16204 * text.C (selectNextWord): handle insets inside inset by calling
16205 always the bv->text functions so that we can go up the_locking_inset!
16207 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16208 in strange locations when inside an inset!
16210 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16211 handling to include insets.
16213 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16215 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16217 * LyXAction.C (init):
16219 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16220 LIGATURE_BREAK, since the name is so stupid.
16222 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16224 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16227 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16229 * sp_form.[Ch]: remove.
16231 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16233 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16236 * src/buffer.C (readInset): ditto.
16238 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16240 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16241 menuSeparator(), endOfSentenceDot(), ldots() and
16242 hyphenationPoint(), which are therefore removed.
16243 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16245 * LyXAction.C (init):
16246 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16248 * paragraph.C (getWord): removed.
16250 * BufferView_pimpl.C (Dispatch): use last word or selection for
16251 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16253 * lyx_main.C (queryUserLyXDir): do not ask before creating
16254 user_dir, except if it has been named explicitely.
16256 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16258 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16259 a document of zero size.
16261 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16263 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16264 approriately in the c-tor and in require().
16265 (getPackages): output the appropriate LaTeX for natbib support.
16267 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16268 variables "use_natbib" and "use_numerical_citations" when reading the
16270 (readInset): read the various natbib cite commands.
16271 (validate): white-space change.
16273 * bufferparams.[Ch]: new variables "bool use_natbib" and
16274 "bool use_numerical_citations".
16275 (writeFile): output them in the LyX file.
16277 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16279 * lyxfunc.C (getStatus): add support for all the inset insertion
16282 * text2.C (insertInset):
16283 * paragraph.C (insetAllowed):
16284 * BufferView_pimpl.C (insertInset): update to take in account the
16285 renaming of insertInsetAllowed
16287 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16289 * text2.C (getInset): new method. returns inset at cursor position.
16291 * BufferView_pimpl.C (Dispatch): changes because of this.
16293 * LyXAction.C (init): rename open-stuff to inset-toggle.
16295 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16297 * text2.C (toggleInset): renamed from openStuff; use
16300 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16302 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16304 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16306 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16308 * buffer.C (readLyXformat2): Add filename to the error dialog
16310 2001-07-18 Juergen Vigna <jug@sad.it>
16312 * tabular.C (GetCellNumber): put an assert here instead of the check!
16314 2001-07-17 Juergen Vigna <jug@sad.it>
16316 * BufferView_pimpl.C (toggleSelection): adapted too.
16318 * text.C (selectNextWord): adapted for use with insets.
16319 (selectSelectedWord): ditto
16321 2001-07-17 Juergen Vigna <jug@sad.it>
16323 * sp_spell.C (PSpell): fix initialitation order.
16325 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16327 * paragraph.C: spacing
16329 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16331 * sp_spell.C: repair language selection for pspell
16333 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16335 * lyxfunc.h: change more methods to begin with lower char.
16337 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16339 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16340 for unknown layouts.
16342 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16344 * buffer.C (readLyXformat2): Generate an error dialog if there are
16347 2001-07-16 Juergen Vigna <jug@sad.it>
16349 * sp_spell.C: always compile ISpell part.
16351 * lyxrc.C: added use_pspell entry and it's handling.
16353 2001-07-13 Juergen Vigna <jug@sad.it>
16355 * sp_spell.C: removed double includes.
16357 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16359 Consistent use of Lsstream.h:
16360 * Lsstream.h: added using std::stringstream for consistencies sake.
16362 * buffer.C: removed using std::stringstream
16364 * lyxfont.C (stateText):
16365 * paragraph.C (asString):
16366 * text.C (selectNextWord, selectSelectedWord):
16367 * text2.C (setCounter):
16368 * vspace.C (asString, asLatexString):
16369 std::ostringstream -> ostringstream.
16371 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16373 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16374 * commandtags.h: add LFUN_HELP_ABOUTLYX
16375 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16377 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16379 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16381 * lyx_gui_misc.C: remove spellchecker
16382 * lyxfunc.C: showSpellchecker
16384 * sp_ispell.h: added
16385 * sp_pspell.h: added
16386 * sp_spell.C: added
16387 * sp_form.[Ch]: removed
16388 * spellchecker.[Ch]: removed
16390 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16392 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16394 (simpleTeXSpecialChars): Simply print the input character without
16395 any special translation if pass_thru is set.
16397 * layout.h: Added bool pass_thru to layout class for being able to
16398 implement pass through of a paragraph for Literate Programming.
16400 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16401 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16402 * layout.C (Read): add "passthru" to list of layout tags and add
16403 code to set the pass_thru boolean when it is read.
16405 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16407 * trans_decl.h: remove allowed from KmodInfo
16409 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16410 remove allowed code
16413 * paragraph_pimpl.C (erase): use boost::prior
16415 * Painter.C (text): use data() instead of c_str() when length is
16417 * WorkArea.C (putClipboard): ditto
16418 * font.h (width): ditto
16420 * BufferView2.C: use it-> instead of (*it). for iterators
16422 * paragraph_pimpl.C: ditto
16423 * paragraph.C: ditto
16424 * minibuffer.C: ditto
16425 * language.C: ditto
16427 * encoding.C: ditto
16428 * counters.C: ditto
16429 * converter.C: ditto
16431 * Variables.C: ditto
16432 * TextCache.C: ditto
16433 * MenuBackend.C: ditto
16434 * LyXAction.C: ditto
16436 * FloatList.C: ditto
16437 * DepTable.C: ditto
16438 * ColorHandler.C (LyXColorHandler): ditto
16440 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16442 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16444 * text2.C (openStuff): reintroduce this method (which had been
16445 nuked in NEW_INSETS frenzy).
16447 * lyxfunc.C (Dispatch): when an action has not been handled, use
16448 its name in the error message, not its number.
16450 * paragraph.C (inInset): change method name to begin with lowercase.
16453 * text2.C: updates because of this.
16455 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16457 * ToolbarDefaults.C (add): add spaces in error message
16459 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16461 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16462 (readLyXformat2): rename return_par to first_par, use lyxlex's
16463 pushToken and remove the manual push handling.
16464 (parseSingleLyXformat2Token): add another ert comp. variable:
16465 in_tabular, rename return_par to first_par. handle newlines better
16467 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16469 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16471 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16473 * text2.C (getParFromID): removed
16475 * buffer.C (getParFromID): new method moved form lyxtext.
16476 * BufferView2.C (insertErrors): adjust
16477 (setCursorFromRow): adjust
16478 * BufferView_pimpl.C (restorePosition): adjust
16479 * lyxfunc.C (Dispatch): adjust
16480 * undo_funcs.C (textUndo): adjust
16482 (textHandleUndo): adjust
16483 (textHandleUndo): adjust
16485 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16487 * buffer.C: up' the LYX_FORMAT
16489 * lyxfont.h: turn NO_LATEX on as default
16491 * buffer.C (insertErtContents): new methods of tex style compability.
16492 (parseSingleLyXformat2Token): use it several places.
16493 * tabular.C (OldFormatRead): and here
16495 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16497 * text2.C: remove some commented code.
16500 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16501 * trans.C: changes because of the above.
16503 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16505 * text2.C (setCounter): Fix counters bug with bibliography layout.
16507 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16509 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16510 own member functions
16511 (simpleTeXSpecialChars): ditto
16513 2001-07-06 Juergen Vigna <jug@sad.it>
16515 * a lot of files: changed the access to LyXText::status and the
16516 call of undo-functions.
16518 * undo.[Ch]: added a inset_id to the undo informations.
16520 * undo_funcs.[Ch]: added and moved here all undo functions.
16522 * lyxtext.h: give the status enum a weight, made status_ a private
16523 variable and made accessor functions for it, removed the whole bunch
16524 of undo-functions as they are now in their own file, make some
16525 functions publically available. Added function ownerParagraph with
16528 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16529 made InInset() a const function, added getParFromID() function.
16531 * buffer.[Ch]: added const version for inset_iterator functions,
16532 added getInsetFromID() function.
16534 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16535 changed undo functions for new version.
16537 2001-07-05 Juergen Vigna <jug@sad.it>
16539 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16540 unknow mechanism does not call the proper constructor but only this
16541 one also if I request the other!?
16543 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16545 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16547 * text2.C (LyXText): use initialization lists.
16549 * lyxtext.h (Selection): initialize set_ and mark_
16550 (init): remove method
16552 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16554 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16556 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16558 * screen.[Ch]: change method names to begin with lowercase
16560 * BufferView_pimpl.C (updateScrollbar): simplify further and
16561 hopefully make it a bit faster.
16563 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16565 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16566 calling directly xforms functions.
16568 * Painter.C (Painter):
16569 * lyx_cb.C (MenuWrite):
16570 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16573 * lyx_gui.C: remove bogus guiruntime extern declaration.
16575 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16577 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16579 (redoDrawingOfParagraph): ditto
16580 (redoParagraphs): ditto
16581 (cutSelection): don't create a object for CutAndPaste use the
16582 static method directly
16583 (pasteSelection): ditto
16585 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16588 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16590 * modifications to some other files because of this.
16592 * Makefile.am (lyx_SOURCES): add XFormsView
16594 * XFormsView.[Ch]: new files
16596 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16597 the main window. Move the gui dependent stuff to XFormsView
16599 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16601 * tabular.C (GetCellInset): update cur_cell also in the row/col
16602 version of this function.
16604 * lyxfunc.C: no need to include figure_form.h here.
16610 * lyxvc.C: no need to include forms.h here.
16612 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16614 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16616 * lyxfunc.C (Dispatch):
16618 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16619 constructor argument.
16621 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16623 * paragraph.C (Paragraph): dont't clear, and just set layout.
16624 (makeSameLayout): use params's copy contructor.
16626 * ParagraphParameters.[Ch] (makeSame): delete method
16628 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16630 * Variables.[Ch]: fix indentation, rename set to isSet
16632 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16634 * lyxfunc.C (Dispatch): fix typo
16636 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16638 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16641 * bufferlist.C: include assert.h for emergencyWrite().
16643 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16645 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16646 give up at last (bug #425202) !
16648 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16654 * spellchecker.C: strip spellchecker options and bring up
16655 preferences tab instead
16657 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16659 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16660 the istringstream constructor
16662 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16664 * paragraph.C (getLayout): fix return value
16666 * paragraph.h: do not declare getLayout as inline.
16668 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16670 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16672 * lyxcursor.h (operator<): new func
16673 (operator>): new func
16674 (operator>=): new func
16675 (operator<=): new func
16677 * text.C (changeCase): use selection.start and selection.end
16678 (changeRegionCase): require from to be <= to. Require par to be a
16681 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16683 2001-06-27 Juergen Vigna <jug@sad.it>
16685 * text.C (cursorLeftOneWord): changed to return the cursor and added
16686 overlay with BufferView * parameter which calls this one.
16688 (selectWord): use new getWord function.
16689 (changeCase): renamed from changeWordCase as and extended to work
16690 also on selections.
16692 * lyxtext.h: added enum word_location
16694 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16695 changeCase as this operates now also on selections.
16697 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16699 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16701 * many files: send debug output to Debug::INFO instead of
16704 * converter.C (View):
16706 (Move): send debug output to Debug::FILES instead of console.
16708 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16710 * lyxfunc.C (getStatus): use func_status
16712 * func_status.h: new header, describing the results of
16713 LyXFunc::getStatus;
16715 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16718 2001-06-25 The LyX Project <jug@sad.it>
16720 * buffer.C (sgmlOpenTag):
16722 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16724 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16726 * text2.C: remove some dead code
16728 * tabular.C (GetCellInset): store the last cell checked (gotten)
16730 * tabular.h: add the helper for the speedup
16732 * lyxtext.h: remove some dead code
16734 2001-06-26 The LyX Project <Asger>
16736 * paragraph.C: Change export to LaTeX of alignment to
16737 \begin{center} and family for better roundtrip work with reLyX.
16739 * Tune the math drawing a bit.
16741 2001-06-25 The LyX Project <Asger>
16743 * LColor.C (LColor): New color for math background. New color
16746 2001-06-25 The LyX Project <jug@sad.it>
16748 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16750 * lyxfunc.C (Open):
16751 * bufferlist.C (newFile): do not restrict to files ending with
16754 * BufferView_pimpl.C (MenuInsertLyXFile):
16756 2001-06-24 The LyX Project <jug@sad.it>
16758 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16761 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16763 * lyxtext.h: rename most methods to begin with a small char.
16764 Lots of changes because of this.
16766 * paragraph.C (Paragraph): do not call fitToSize
16767 (erase): call Pimpl::erase
16768 (insertChar): call Pimpl::insertChar
16769 (insertInset): call Pipl::insertInset
16770 (breakParagraph): do not call fitToSize
16771 (breakParagraphConservative): do not call fitToSize
16772 (fitToSize): remove method
16774 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16776 2001-06-24 The LyX Project <Asger>
16778 * Fix Qt compilation^2
16780 2001-06-24 The LyX Project <jug@sad.it>
16782 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16783 depthHook(getDepth()-1).
16786 * ParagraphParameters.h:
16787 * ParameterStruct.h: change type of depth to unsigned int ==
16788 depth_type. Many adaptations to other files before of that.
16790 2001-06-24 The LyX Project <Asger>
16792 * Fix Qt compilation.
16794 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16796 * paragraph.h: renamed several methods to begin with small letter.
16797 several changes to many parts of the code because of this.
16799 2001-06-23 The LyX Project <jug@sad.it>
16801 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16802 rewritten to discard all double spaces when KeepEmpty is off
16803 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16804 to only handle newlines but not fiddle with spaces and friends.
16806 * lyxfunc.C (MenuNew): when doing 'new from template', use
16807 template_path as default directory
16809 2001-06-23 The LyX Project <Asger>
16811 * Clean-up of header file includes all over
16812 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16814 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16816 * paragraph.h: renamed from lyxparagraph.h
16818 2001-06-23 Asger <lyx@violet.home.sad.it>
16820 * Buffer.h: Removed Buffer::resize
16821 * BufferList.h: Removed BufferList::resize
16822 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16823 the document lazily when we change the width, or the font settings.
16825 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16827 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16829 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16831 * buffer.h: remove out of date comment
16833 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16836 * screen.C: fix "theoretical" GC leak
16838 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16840 * LaTeX.C (scanAuxFile):
16841 (deplog): remove trailing \r when reading stream (useful under
16844 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16846 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16847 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16848 and BufferView::theLockingInset(Inset*), so should use them and not
16849 access bv_->text->the_locking_inset directly.
16851 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16853 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16856 * tex-defs.h: remove old unused file
16858 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16860 * BufferView_pimpl.C: fix typo, remove minibuffer message
16861 when buffer has loaded
16863 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16865 * lyxfunc.C (Dispatch): use stringstream
16866 (MenuNew): use stringstream
16867 (Open): use stringstream
16869 * importer.C (Import): use stringstream
16871 * bufferview_funcs.C (CurrentState): use stringstream
16873 * LaTeX.C (run): use stringstream
16875 * BufferView_pimpl.C (savePosition): use stringstream
16876 (restorePosition): use stringstream
16877 (MenuInsertLyXFile): use stringstream
16879 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16892 * vspace.C: removed // -*- C++ -*- as first line.
16895 * version.h: added // -*- C++ -*- as first line.
16897 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16899 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16901 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16904 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16906 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16909 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16911 * gettext.C: include LString.h even when --disable-nls is on.
16913 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16915 * converter.h (Get): changed argument type from int to
16916 FormatList::size_type to avoid unnecessary conversion.
16918 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16921 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16923 * gettext.h: include LString.h even when --disable-nls is on.
16925 2001-06-07 Juergen Vigna <jug@sad.it>
16927 * text.C (BreakAgain): subst spaces with tabs.
16929 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16930 (resizeInsetsLyXText): set force on resizeLyXText.
16932 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16934 * gettext.h (gettext_init):
16935 (locale_init): use a real definition instead of a macro
16937 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16939 * Bufferview_pimpl.C:
16941 * LColor.C: further lcolor tidies
16943 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16945 * BufferView_pimpl.C (updateScrollbar): simplify.
16947 * BufferView2.C: don't include insets/insetinfo.h, change
16948 prototype for insertInset and call the Pimpl version. let
16949 updateInset call Pimpl version.
16951 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16952 gotoInset to BufferView::Pimpl
16954 2001-06-01 Juergen Vigna <jug@sad.it>
16956 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16957 inside a LockingInset (is the update needed at all?).
16959 2001-05-31 Juergen Vigna <jug@sad.it>
16961 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16962 here not the old one otherwise how should we compare it afterwards
16965 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16970 * FontInfo.C: bring C functions into global namespace when
16973 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16975 * LString.h: make sure config.h has been loaded before LString.h.
16977 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16978 (one for each char read by EatLine!).
16980 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16983 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16985 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16986 to the same as the par we break from
16988 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16990 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16992 * MenuBackend.C (expand): also create menu entries for wide
16993 versions of the floats.
16995 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16997 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16999 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17000 frontends/Makefile.am
17006 * tabular.C (getTokenValue): add std::
17008 * tabular-old.C (getTokenValue): add std::
17009 (getTokenValue): ditto
17010 (getTokenValue): ditto
17012 * screen.C (ToggleSelection): adjust
17014 * lyxtext.h: put selection cursors inside a Selection struct.
17016 * lyxfunc.C (moveCursorUpdate): adjust
17018 * lyxfont.C (latexWriteStartChanges): add std::
17020 * lyxfind.C: adjust
17022 * font.h: delete with(char const *, LyXFont const &)
17024 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17026 * FontInfo.C (getFontname): add std::
17028 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17029 (workAreaButtonPress): adjust
17030 (tripleClick): adjust
17032 (moveCursorUpdate): adjust
17035 * BufferView2.C (gotoInset): adjust
17037 2001-05-30 Juergen Vigna <jug@sad.it>
17039 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17040 to check pspell I add this as default as I now have new pspell
17041 libraries and they seem to use this.
17043 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
17045 * text2.C (CutSelection): make the cursor valid before the call to
17048 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17050 * kbsequence.C (parse): de-uglify a bit the parsing code, which
17051 relied on 0 terminated strings and other horrors. Bug found due to
17052 the new assert in lyxstring!
17054 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17057 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
17059 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17062 * lyxfunc.C (processKeySym): change method of getting to the
17065 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17066 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17067 * BufferView_pimpl.[Ch]: here as private methods.
17069 2001-05-28 Juergen Vigna <jug@sad.it>
17071 * text.C (SetHeightOfRow): added the update() call again as it is
17072 needed to initialize inset dimensions!
17074 2001-05-16 Juergen Vigna <jug@sad.it>
17076 * text2.C (SetCharFont): Add new function with BufferView * and
17077 bool toggleall parameters for setting insets internal fonts.
17078 (SetFont): Freeze the undo as we may change fonts in Insets and
17079 all this change should be inside only one Undo!
17081 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17082 setting font's in insets as for them we have the SetFont function!
17084 2001-05-15 Juergen Vigna <jug@sad.it>
17086 * text2.C (ClearSelection): to be sure we REALLY don't have any
17089 * tabular.C (TeXCellPreamble): fixed the left border problem for
17092 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
17094 * LaTeX.C (deplog): Make sure that the main .tex file is in the
17097 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17099 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17100 LFUN_BREAKPARAGRAPH.
17102 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17103 help test to "internal only", similar for LFUN_INSERT_URL
17105 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17106 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17107 auto_region_delete and deadkeys.
17109 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17112 * LColor.C: remove some dead entries, tidy a little
17114 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17116 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17118 (Dispatch): implement LFUN_ESCAPE
17120 * commandtags.h: add LFUN_ESCAPE
17122 * LyXAction.C (init): add entry for LFUN_ESCAPE
17124 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17125 Remove commented code.
17126 (insertNote): moved here
17127 (open_new_inset): moved here
17129 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17132 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17134 * kbmap.C (findbinding): clean it up and make it work correctly.
17136 * lyx_main.C (init): do not pass argc and argv as parameters
17138 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17140 * buffer.C: fix path for OS/2 & Win32
17144 * lyx_main.C: Added os:: class.
17146 * os2_defines.h: update
17148 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17150 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17151 better by trying again with reduced state.
17153 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17155 * lyxrc.C (read): print error about invalid key sequence only when
17156 debugging (because not all latinX keysyms are known to some X
17159 * kbsequence.C (getiso): add a few std:: qualifiers
17160 (getiso): comment out extra return statement.
17162 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17164 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17166 (Dispatch): enhance the accent inset a bit. (not perfect)
17168 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17170 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17172 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17174 * bufferlist.C (emergencyWrite): fix assert() call
17176 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17178 * text.C (InsertChar): Added trivial patch to only send the "you
17179 can not do multiple spaces this way" message once during a
17182 2001-05-08 Baruch Even <baruch@lyx.org>
17184 * Makefile.am: Changed order of libraries to get LyX to link properly
17185 with the gnome frontend.
17187 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17189 * LaTeXFeatures.h: add a std:: qualifier
17191 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17193 * paragraph.C (String): use stringstream
17195 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17197 * paragraph.C (writeFile): remove footflag arg
17199 * buffer.C (makeLaTeXFile): use stringstream
17200 (latexParagraphs): remove footnot gurba
17202 * LaTeXFeatures.C (getPackages): use stringstream
17203 (getMacros): likewise
17204 (getTClassPreamble): likewise
17205 (getFloatDefinitions): new method
17207 * paragraph.C (writeFile): reindent
17210 * WorkArea.h: revert the xpos + etc changes.
17212 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17214 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17216 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17217 (pasteSelection): likewise
17218 * text2.C (CreateUndo): likewise
17220 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17222 * minibuffer.C (peek_event): temporarily reduce the functionality
17223 of the minibuffer (to allow args on lfuns)
17225 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17226 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17228 * buffer.C (readInset): add compability reading of old float
17229 lists, add reading of new style float list.
17230 (readInset): avoid reevaluation of inscmd.getCmdName()
17231 (getLists): reindent
17233 * MenuBackend.C (MenuItem): implement parsing of
17234 md_floatlistinsert and md_floatinsert.
17235 (expand::LastFiles): move initalizaton of iterators out of loop,
17236 avoid reevaluation.
17237 (expand::Documents): introduce typdedef vector<string> Strings,
17239 (expand::ExportFormats): introduce typedef vector<Format const *>
17240 Formats, and use it.
17241 (expand): implement FloatListInsert and FloatInsert.
17243 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17244 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17245 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17247 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17249 (Dispatch::LFUN_FLOAT_LIST): implement
17251 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17253 * LaTeX.C (run): Fix problem with --export code.
17255 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17257 * BufferView.[Ch] (workarea): removed.
17258 (getClipboard) new method; wrapper for workarea()->getClipboard()
17260 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17263 * WorkArea.h (width, height, xpos, ypos): These methods all
17264 returned the dimensions of the work_area sub-area of WorkArea,
17265 resulting in a position error if the WorkArea were resized. Now
17266 return the dimensions of the entire WorkArea.
17268 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17270 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17272 * LaTeX.C (deplog): correct the syntax of regex reg1
17274 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17276 * undo.C: remove !NEW_INSETS cruft
17278 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17280 * text2.C: remove !NEW_INSETS cruft
17282 * text.C: remove !NEW_INSETS cruft
17284 * tabular.C: remove !NEW_INSETS cruft
17286 * spellchecker.C: remove !NEW_INSETS cruft
17288 * lyxtext.h: remove !NEW_INSETS cruft
17290 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17292 * lyxfunc.C: remove !NEW_INSETS cruft
17294 * lyxfind.C: remove !NEW_INSETS cruft
17296 * lyx_cb.C: remove !NEW_INSETS cruft
17298 * figureForm.C: remove !NEW_INSETS cruft
17300 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17302 * buffer.[Ch]: remove !NEW_INSETS cruft
17304 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17306 * CutAndPaste.C: remove !NEW_INSETS cruft
17308 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17310 * BufferView2.C: remove !NEW_INSETS cruft
17312 * BufferView.h: remove !NEW_INSETS cruft
17314 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17316 * Lsstream.h: include LString.h before the sstream headers to
17317 fix problem with gcc 2.95.3 and lyxstring
17319 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17321 * lyx_main.C: add using directives when needed for C functions
17322 declared in std:: namespace.
17324 2001-04-27 Juergen Vigna <jug@sad.it>
17326 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17327 (SetHeightOfRow): comment out the update call should not be needed!
17329 2001-04-13 Juergen Vigna <jug@sad.it>
17331 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17332 (LyXTabular): tried to minimize operator= operations (and realized
17333 hopfully Lars wish).
17335 2001-04-27 Juergen Vigna <jug@sad.it>
17337 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17339 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17341 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17343 * buffer.C (readInset): hack to make listof algorithm work
17345 * BufferView_pimpl.C: hack to make listof algorithm work
17347 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17349 * LyXAction.C: removed all !NEW_INSETS cruft
17350 (init): moved lfun_item in method
17352 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17354 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17356 * BufferView2.C (theLockingInset): white space.
17358 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17360 * minibuffer.C: include <iostream>
17362 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17364 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17366 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17368 * text.[Ch] (TransposeChars): new method
17370 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17372 * call message directly through LyXView instead of through LyXFunc
17373 * BufferView2.C: adjust
17374 * BufferView_pimpl.C: adjust
17375 * FontLoader.C: adjust
17377 * bufferview_funcs.C: adjust
17378 * converter.C: adjust
17379 * figureForm.C: adjust
17380 * importer.C: adjust
17382 * lyx_gui_misc.C: adjust
17383 * lyxfunc.C: adjust
17386 + more files in subdirs
17388 * lyxparagraph.h (size): move up int file
17391 * adjust all uses of Assert to lyx::Assert.
17393 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17394 lyxfunctional in namespace lyx
17395 * layout.C (hasLayout): ditto
17398 (delete_layout): ditto
17399 (NumberOfClass): ditto
17400 * converter.C (GetFormat): ditto
17405 * bufferlist.C (getFileNames): ditto
17406 (emergencyWriteAll): ditto
17409 * MenuBackend.C (hasSubmenu): ditto
17412 * BufferView_pimpl.C (getInsetByCode): ditto
17414 2001-04-18 Juergen Vigna <jug@sad.it>
17416 * vspace.C (asLatexString): fixed the 100% problem.
17418 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17420 * lyxfunc.C (Dispatch):
17422 * minibuffer.h: add a few std:: qualifiers
17424 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17426 * minibuffer.[Ch]: reimplement so that commands is initiated and
17427 run from lyxfunc, simplified som handling, and made the completion
17428 and history code for complete. wip.
17430 * lyxfunc.C (processKeySym): call message
17431 (miniDispatch): new temporary method
17432 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17433 (LFUN_MESSAGE): implement
17434 (LFUN_MESSAGE_PUSH): implement
17435 (LFUN_MESSAGE_POP): implement
17436 (initMiniBuffer): the initial/defualt minibuffer message.
17438 * lyxfont.[Ch]: inline some more getters
17440 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17442 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17444 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17445 (AutoSave): use LFUN_MESSAGE
17446 (Reconfigure): ditto
17448 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17450 * figureForm.C: use LFUN_MESSAGE
17452 * converter.C (runLaTeX): use LFUN_MESSAGE
17454 * bufferview_funcs.C: use LFUN_MESSAGE
17456 (changeDepth): ditto
17458 * bufferparams.h: use boost::
17460 * bufferlist.h: inherit privately from noncopyable
17462 * bufferlist.C (loadLyXFile): remove some commented code.
17464 * buffer.C (runChktex): use LFUN_MESSAGE
17466 * ShareContainer.h: inherit privately from noncopyable
17468 * ParagraphParameters.[hC] (depth): inline it.
17470 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17472 (message): new method
17473 (messagePush): ditto
17474 (messagePop): ditto
17475 (show): init minibuffer
17476 (showState): direct call
17478 * LaTeX.[Ch]: inherit privately from noncopyable
17479 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17480 instead of WriteStatus.
17482 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17484 * BufferView_pimpl.C (buffer): don't init minibuffer
17485 (workAreaButtonPress): use LFUN_MESSAGE
17486 (workAreaButtonRelease): ditto
17487 (savePosition): ditto
17488 (restorePosition): ditto
17489 (MenuInsertLyXFile): ditto
17490 (workAreaExpose): don't init minibuffer
17491 (update): remove commented code, simplify
17493 * BufferView2.C (openStuff): use LFUN_MESSAGE
17494 (toggleFloat): ditto
17497 (copyEnvironment): ditto
17498 (pasteEnvironment): ditto
17503 (updateInset): remove some commented code
17505 * lastfiles.h: inherit privately from noncopyable
17508 * lyx_main.h: ditto
17510 * lyxlex_pimpl.h: ditto
17512 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17513 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17514 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17516 * LyXAction.h: inherit privately from noncopyable, add methods
17517 func_begin, func_end, returning iterators to the func map.
17519 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17520 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17521 (func_begin): new method
17522 (func_end): new method
17524 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17526 (copySelection): ditto
17527 (pasteSelection): ditto
17529 * BufferView.C: whitespace change
17530 * BufferView.h: inherit privately from noncopyable
17532 2001-04-16 Allan Rae <rae@lyx.org>
17534 * tabular-old.C (l_getline):
17535 * spellchecker.C (sc_check_word):
17536 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17537 an unrecognised preprocessor directive. So ensure they're wrapped.
17539 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17541 * src/exporter.C (Export): Give an error message when path to file
17544 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17546 * LaTeX.C (deplog): Always check that foundfile exists.
17548 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17551 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17553 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17555 * tabular.[Ch] (getLabelList): implement new method
17557 * minibuffer.h: comment ouf setTiimer
17559 * minibuffer.C (ExecutingCB): constify res
17560 (peek_event): constify s
17561 (Set): constify ntext
17562 (Init): constify nicename
17564 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17566 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17567 (savePosition): use two params to Minibuffer::Set
17568 (restorePosition): ditto
17570 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17572 * lyx_main.C: include language.h
17574 * Makefile.am (lyx_main.o): add language.h
17576 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17582 * CutAndPaste.C: include gettext.h
17584 * lyxfont.h: remove old hack with ON and OFF.
17587 * lyxfont.h: do not include language.h...
17592 * bufferview_funcs.C:
17598 * paragraph.C: ... but do it here instead
17600 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17602 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17604 * tabular.C: small reformat
17606 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17609 (BreakParagraph): ditto
17610 (SetOnlyLayout): ditto
17613 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17616 * lastfiles.C: removed most using decl, add std:: where needed
17618 * buffer.C: ws changes
17620 * MenuBackend.C (class compare_format): put into anon namespace
17621 (expand): constify label, names, action, action2
17624 * text.C (SingleWidth): constify font
17625 (IsBoundary): constify rtl2
17626 (GetVisibleRow): constify ww
17628 * LaTeX.C (deplog): constify logfile
17630 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17632 (workAreaExpose): constify widthChange, heightChange
17634 * lyxrow.C (par): moved
17637 * lyxrow.h: as inlines here
17639 * lyxfont.h (shape): moved from lyxfont.C
17640 (emph): moved from lyxfont.C
17642 * lyxfont.C (LyXFont): use initialization list for all
17644 (shape): move to lyxfont.h as inline
17645 (emph): move to lyxfont.h as inline
17648 2001-04-04 Juergen Vigna <jug@sad.it>
17650 * vspace.C: had to include stdio.h for use of sscanf
17652 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17655 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17656 independent of xforms.
17658 2001-04-02 Juergen Vigna <jug@sad.it>
17660 * spellchecker.C: fixed namespace placing!
17662 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17664 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17665 the LyXParagraph * is 0.
17667 2001-03-29 Juergen Vigna <jug@sad.it>
17669 * vspace.C: added support for %, c%, p%, l%.
17670 (stringFromUnit): added helper function.
17671 (asLatexString): changed to give right results for the %-values.
17673 * buffer.C: convert the widthp in a width%.
17675 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17677 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17680 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17681 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17683 * lyx_cb.[Ch]: see above.
17685 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17689 * lyx.[Ch]: replaced by figure_form.[Ch].
17693 * lyxfunc.C: changed headers associated with above changes.
17695 2001-03-27 Juergen Vigna <jug@sad.it>
17697 * BufferView_pimpl.C: set the temporary cursor right!
17699 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17701 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17703 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17705 * LString.h: removed "using std::getline"!
17707 * BufferView_pimpl.C (Dispatch): changes due to changes in
17708 InsetInclude::Params.
17710 * buffer.C (tag_name): removed redundant break statements as they were
17711 producing lots of warnings with my compiler.
17713 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17715 * LString.h: add "using std::getline" when using the real <string>.
17717 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17719 * buffer.C: removed bitset usage.
17720 PAR_TAG moved to an anonymous name space.
17721 (tag_name): new funtion, also in the anonymous namespace.
17722 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17723 (makeDocBookFile): clean code. Completed transition from string arrays
17725 (SimpleDocBookOnePar): code clean.
17727 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17729 * tabular.C: add some comments.
17731 2001-03-22 Juergen Vigna <jug@sad.it>
17733 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17734 compatibility read a bit and fixed bug with minipage in different
17737 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17739 * buffer.C (pop_tag): removed.
17740 (push_tag): removed.
17741 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17742 array replaced with vector. Added support for CDATA sections.
17743 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17745 (makeDocBookFile): XML conformant declaration of CDATA section,
17746 fixed bug related to <emphasis> in the first paragraph char.
17747 (sgmlOpenTag): exclude empty tags.
17748 (sgmlCloseTag): ditto.
17750 * buffer.h (pop_tag): removed.
17751 (push_tag): removed.
17753 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17755 * language.h (Languages): added size_type and size().
17757 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17759 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17760 response on compability reading of minipages. One probliem is that
17761 the old usage of minipages was flertydig
17763 * several files here and in subdirs: don't use static at file
17764 scope use anon namespaces instead.
17766 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17768 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17769 LaTeX output. This is necessary for Literate document
17772 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17774 * buffer.C: insert hfill when needed.
17776 * tabular.C (l_getline): use string::erase, small whitespace change.
17778 * BufferView_pimpl.C: try the anon namespace.
17779 * WorkArea.C: ditto
17781 2001-03-16 Juergen Vigna <jug@sad.it>
17783 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17784 otherwise it won't open options-dialogs.
17786 * buffer.C: honor pextraWidth(p) on converting minipages.
17788 * tabular.C (l_getline): changed the functions to strip trailing \r.
17790 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17792 * BufferView_pimpl.C:
17793 * minibuffer..C: added "using SigC::slot" declaration.
17795 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17797 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17803 * paragraph.C: ditto
17805 * lyxtext.h: NO_PEXTRA
17807 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17809 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17810 * ParameterStruct.h: ditto
17811 * ParagraphParameters.h: ditto
17812 * lyxparagraph.h: ditto
17814 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17816 * buffer.C: add compability for minipage alignment.
17817 (latexParagraphs): remove unwanted pextra check.
17819 * several files: remove CXX_WORKING_NAMESPACES
17821 * buffer.C (pop_tag): tie is in namespace boost
17823 * BufferView.h: noncopyable is in namespace boost
17825 * lyx_main.h: ditto
17828 * lastfiles.h: ditto
17829 * bufferlist.h: ditto
17830 * ShareContainer.h: ditto
17832 * LyXAction.h: ditto
17835 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17837 * Merging changes from BRANCH_MVC back into HEAD.
17839 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17841 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17843 * BufferView_pimpl.C: change from intl.C
17847 * Makefile.am: move combox.*
17853 * intl.C: remove dialog (covered by prefs)
17855 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17857 * lyxfunc.C (Dispatch): removed redundant break statement.
17859 2001-03-14 Juergen Vigna <jug@sad.it>
17861 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17863 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17865 * buffer.C: add hack to fix compability reading of minipages.
17867 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17869 * buffer.C (getLists): Cleanup.
17871 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17873 * lyxfont.C (update): don't honor toggleall on font size.
17875 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17879 * Makefile.am: moved to frontends/xforms/
17883 * BufferView_pimpl.C: changes for moved mathpanel
17885 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17887 * gettext.h: fix gettext_init() in --disable-nls
17889 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17891 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17893 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17896 * lyx.h: strip external form
17898 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17900 * BufferView_pimpl.C: add comment, destroySplash()
17902 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17904 * BufferView_pimpl.C:
17908 * lyxfunc.C: use re-worked insetinclude
17910 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17912 * buffer.C: add using std::stringstream.
17914 * lyx_cb.C: readd using std::ios.
17916 * buffer.C: add using std::map.
17918 * BufferView_pimpl.C: add using std::vector.
17920 * ShareContainer.h: add std:: to swap.
17922 * buffer.h: add some typedefs
17923 * buffer.C (getLists): use them
17924 (getLists): renamed from getTocList.
17925 add a counter for the different float types and use it in the
17927 (getLists): use the same counter for the NEW_INSETS and the "non"
17930 * lyx_cb.h: remove unused items, includes, using etc.
17932 * ShareContainer.h: remove some commented code, add more comments
17933 and "documentation".
17935 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17937 * buffer.C (getTocList): make the list also when NEW_INSETS is
17940 * buffer.h: remove TocType
17942 * buffer.C (getTocList): change to return a map<string,
17943 vector<TocItem> >, implement for dynamic number of list.
17945 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17946 * text2.C (PasteSelection): adjust
17947 * CutAndPaste.C (pasteSelection): adjust
17949 * FloatList.C (FloatList): update from the new_insets branch.
17950 * Floating.[Ch]: ditto
17951 * LaTeXFeatures.C: ditto
17953 * lyxlex_pimpl.C: ditto
17955 * paragraph.C (Last): remove when NEW_INSETS is defined.
17957 * other file: changes because of the above.
17959 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17961 * lyxparagraph.h: rename next to next_, previous to previous_,
17962 make them private for NEW_INSETS. Rename Next() to next(),
17963 Previous() to previous().
17965 * other files: changes because of the above.
17967 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17970 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17973 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17975 * main.C (main): pass lyx_localedir to gettext_init().
17977 * gettext.h: remove locale_init and gettext_init macros
17979 * gettext.C (locale_init): new function
17980 (gettext_init): new function
17982 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17985 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17987 * Moved credits to frontends:
17988 * credits.[Ch]: removed
17989 * credits_form.[Ch]: removed
17990 * lyx_gui_misc.C: remove credits stuff
17993 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17995 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17997 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17998 unneeded destructor.
18000 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18001 a standalone pointer again.
18003 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18005 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
18011 * ToolbarDefaults.C:
18020 * BufferView_pimpl.C: use new file dialog in GUII
18023 * lyx_cb.C: remove LayoutsCB to Toolbar
18025 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18027 * ShareContainer.h (get): add std:: qualifier
18029 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18031 * ShareContainer.h: define a proper ShareContainer::value_type
18032 type (and use typename to please compaq cxx)
18034 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18036 * lyxparagraph.h: move serveral local vars to
18037 ParameterStruct/ParagraphParameters., use ShareContainer in
18038 FontTable., make vars in FontTable private and add getter and
18041 * paragraph.C: changes because of the above.
18043 * lyxfont.h: remove copy constructor and copy assignment. (the
18044 default ones is ok), move number inside FontBits. move inlines to
18047 * lyxfont.C: add number to initializaton of statics, move several
18048 inlines here. constify several local vars. some whitespace
18049 cleanup. Dont hide outerscope variables.
18051 * Spacing.h: add two new constructors to match the set methods.
18053 * ShareContainer.h: new file, will perhaps be moved to support
18055 * ParameterStruct.h: new file
18057 * ParagraphParameters.h: new file
18059 * ParagraphParameters.C: new file
18061 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18062 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18064 * BufferView_pimpl.C: ParagraphParameter changes.
18065 * buffer.C: Likewise.
18066 * bufferview_funcs.C: Likewise.
18067 * text.C: Likewise.
18068 * text2.C: Likewise.
18070 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18072 * lyxfind.C (LyXReplace): do not redefine default argument in
18074 (IsStringInText): ditto
18075 (SearchForward): ditto
18076 (SearchBackward): ditto
18078 2001-03-06 Juergen Vigna <jug@sad.it>
18080 * lyxfind.C (IsStringInText): put parentes around expressions.
18082 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
18084 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18086 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
18088 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18090 * stl_string_fwd.h: add comment
18092 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18095 * tabular.C: remove unused DocBook methods
18101 killed DO_USE_DEFAULT_LANGUAGE
18103 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18105 * lyx_gui.C: do not include language.h.
18107 * bufferview_funcs.C (ToggleAndShow): do not provide optional
18108 arguments in function implementation.
18110 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18112 * BufferView_pimpl.C: add <ctime>
18114 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18116 * BufferView_pimpl.C: add using std::find_if
18118 2001-02-27 José Matos <jamatos@fep.up.pt>
18120 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18123 2001-02-11 José Matos <jamatos@fep.up.pt>
18125 * buffer.C (makeDocBookFile): command styles now have a parameter as
18126 "title" by default.
18128 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18130 * layout_forms.[Ch]: removed
18131 * lyx_cb.[Ch]: out character
18132 * lyx_gui.C: out character
18133 * lyx_gui_misc.C: out character
18134 * bufferview_funcs.C: : out character,
18135 added toggleall as parameter in ToggleAndShow
18137 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18139 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18141 * text2.C (SetCurrentFont): Disable number property at boundary.
18143 2001-02-26 Juergen Vigna <jug@sad.it>
18145 * lyxfunc.C (getStatus): added a string argument override function so
18146 that this is correctly called from LyXFunc::Dispatch if it contains a
18147 do_not_use_argument which is used!
18148 (Dispatch): added check for "custom" export and call appropriate func.
18150 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18152 * lyxrc.C: Add language_command_local, language_use_babel and
18153 language_global_options.
18155 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18157 * buffer.C (makeLaTeXFile): Use language_use_babel and
18158 language_global_options.
18160 2001-02-23 Juergen Vigna <jug@sad.it>
18162 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18163 which works with LyXText and putted it inside BufferView. Here now we
18164 only call for that part the BufferView::Dispatch() function.
18166 * BufferView.C (Dispatch): added.
18168 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18169 functions which needs to use a LyXText over from LyXFunc.
18170 (MenuInsertLyXFile): added
18171 (getInsetByCode): added
18172 (moveCursorUpdate): added
18173 (static TEXT): added
18175 2001-02-22 Juergen Vigna <jug@sad.it>
18177 * BufferView_pimpl.C (update): call a status update to see if LyXText
18180 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18182 * vc-backend.C (revert): implement for CVS
18183 (getLog): implement for CVS
18185 2001-02-20 Juergen Vigna <jug@sad.it>
18187 * text2.C (ClearSelection): added BufferView param for inset_owner call
18189 * lyxfunc.C (TEXT): added this function and use it instead of
18190 directly owner->view()-text of getLyXText().
18192 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18194 * src/layout_forms.C: out preamble
18195 * src/layout_forms.h: out preamble
18196 * src/lyx_cb.C: out preamble
18197 * src/lyx_cb.h: out preamble
18198 * src/lyx_gui.C: out preamble
18199 * src/lyx_gui_misc.C: out preamble
18200 * src/lyxfunc.C: connect with guii preamble
18202 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18204 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18206 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18208 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18209 whether to run bibtex.
18211 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18213 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18215 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18217 * Makefile.am (lyx_SOURCES): removed bibforms.h
18219 * vspace.h: doxygen
18221 * text.C (GetVisibleRow): make several local vars const
18223 * tabular.C: small cleanup.
18225 * lyxserver.C (callback): use compare instead of strncmp
18227 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18228 inlines to after class or to paragraph.C
18230 * lyxfont.h: remove friend operator!=
18232 * converter.h: move friend bool operator< to non friend and after
18235 * combox.h: small cleanup
18237 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18238 to inlines after class def.
18240 * buffer.C (pop_tag): use string operations instead of strcmp
18242 * bmtable.c: doxygen, small cleanup
18244 * LaTeX.h: remove friend operator==
18246 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18258 * BufferView_pimpl.C:
18259 * BufferView.[Ch]: remove cruft
18261 2001-02-14 Juergen Vigna <jug@sad.it>
18263 * lyxfunc.C: removed #if 0 unused code
18265 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18267 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18269 * text2.C (SetSelection): added a BufferView * parameter
18271 2001-02-13 Juergen Vigna <jug@sad.it>
18273 * lyxfunc.C (Dispatch): fixed protected blank problem.
18274 * BufferView2.C (protectedBlank): added LyxText * parameter.
18276 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18277 (AppendColumn): same as above for column_info.
18279 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18280 (moveCursorUpdate): use a LyXText param for support of InsetText.
18282 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18283 (tripleClick): ditto
18285 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18287 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18289 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18291 * text2.C (SetSelection): set correct update status if inset_owner
18292 (ToggleFree): ditto
18294 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18296 * tabular.C: remove some commented code.
18298 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18300 * BufferView_pimpl.C: call hideSplash()
18302 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18305 * bibforms.h: remove
18308 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18309 add LFUN_CHILD_CREATE
18311 * counters.h: fix tiny typo
18316 * lyx.C: move splash to frontends/xforms/
18318 * lyx_gui_misc.C: move Include and Bibform to frontends
18320 * lyxvc.h: clarify comment
18322 * vspace.C: tiny housekeeping
18324 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18326 * text.C (PrepareToPrint): RTL Fix.
18328 * paragraph.C (GetUChar): New method.
18329 (String): Use GetUChar.
18331 * buffer.C (asciiParagraph): Use GetUChar.
18333 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18335 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18337 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18340 * buffer.C: rename to getLogName(), handle
18341 build log / latex log nicely
18343 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18346 * MenuBackend.h: remove support for reference menuitem type.
18348 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18350 * BufferView_pimpl.C: housekeeping
18351 * BufferView_pimpl.h:
18356 * minibuffer.h: move Timeout GUI-I
18358 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18360 * lyxrc.C (read): Update converters data-structures.
18362 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18364 * LaTeX.h (operator!=): add operator != for Aux_Info
18366 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18368 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18370 * LaTeXLog.C: deleted, useful code moved to Buffer
18373 * buffer.C: new function getLatexLogName()
18379 * lyxfunc.C: use frontends for LaTeX and VC logs
18381 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18383 * LaTeX.h: yet another std:: that Allan forgot.
18385 * Variables.C (set): renamed from isset(), because this clashes
18386 with some HP-UX macros (grr).
18388 2001-02-06 Allan Rae <rae@lyx.org>
18390 * LaTeX.h: Another bug fix. Missing std:: this time.
18392 2001-02-04 Allan Rae <rae@lyx.org>
18394 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18395 floats problem. I've left it commented out because it's not quite
18396 correct. It should also test that the current object is a table or
18397 figure inset. But I haven't gotten around to figuring out how to do
18398 that. I *think* it'll be something like: "table" == inset.type()
18400 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18403 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18405 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18406 all the citation/databases/styles in the auxilary file.
18407 (run): Rerun latex if there was a babel language error.
18409 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18411 * text.C (Backspace): Preserve the font when changing newline char
18413 (BreakParagraph): If the cursor is before a space, delete the space.
18415 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18417 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18419 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18420 new argument (code).
18421 (ChangeCitationsIfUnique): New method.
18423 * paragraph.C (GetPositionOfInset): Handle bibkey.
18425 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18427 * BufferView_pimpl.h: change type of Position::par_pos to
18428 LyXParagraph::size_type.
18430 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18432 * BufferView_pimpl.C (savePosition, restorePosition): Write
18433 messages to minibuffer.
18435 2001-01-28 José Matos <jamatos@fep.up.pt>
18437 * buffer.C (makeDocBookFile): adds support for document language.
18438 A silly restriction on the name of LatexCommand types where removed.
18439 Added support for CDATA sections, allows to chars unescaped, used
18440 among others in code, to avoid escape < and >.
18442 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18444 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18445 saved positions instrad of a stack. Furthermore, a position is
18446 stored using paragraph id/paragraph position.
18448 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18449 Remove LFUN_REF_BACK.
18451 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18453 * converter.C (dvipdfm_options): New method.
18455 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18457 * vspace.C (isValidLength): Fix for empty input string.
18459 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18461 * LyXAction.C (init): change description of LFUN_FIGURE to
18464 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18466 * LaTeX.C: add using directive
18468 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18470 * MenuBackend.C (expand): Fix the sorting of the formats.
18472 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18474 * lyx_main.C: tiny error message fix
18476 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18478 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18479 calling fl_initialize(). This fixes the problem with ',' as
18480 decimal separator in text files.
18482 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18484 * trans.C (process): Fix the keymap bug.
18486 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18488 * LaTeX.C (scanAuxFiles): New method. Provides support for
18489 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18490 (scanLogFile) Scan for "run BibTeX" messages.
18492 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18493 OT1 font encoding. Also, load the aecompl package if the ae
18496 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18498 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18500 * texrow.C (increasePos): turn two error messages into debug
18503 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18505 * LaTeX.C (scanAux): Handle the \@input macro.
18506 (runBibTeX): Use scanAux().
18508 * language.C (latex_options_): New field.
18510 * LaTeXFeatures.C (getMacros): Add language macros.
18512 * buffer.C (makeLaTeXFile): Small fix.
18514 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18516 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18518 * text2.C: add a using directive.
18520 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18525 * lyxfunc.C: kill LyXBell.
18527 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18529 * text.C (IsBoundary): Remove the error message
18531 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18533 * lyxrc.C (setDefaults): Correct initialization value for
18536 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18538 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18541 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18542 and GotoNextNote().
18544 * src/LyXAction.C: Added reference-next.
18546 * text.C (InsertChar): Use contains instead of strchr.
18548 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18550 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18552 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18553 alignment commands (when needed).
18555 * text.C (InsertChar): Add ':' to number separator chars.