1 2005-12-19 Martin Vermeer <martin.vermeer@hut.fi>
5 * text3.C (Delete, backspace): force update when merging paragraphs
7 2005-12-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9 * BufferView.C (mouseSetCursor): clear the selection properly (bug
12 2005-12-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
14 * text.C (redoParagraph): honor inset->noFontChange()
15 * rowpainter.C (paintInset): ditto
17 2005-12-15 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
19 * lyx_main.C (priv_exec): don't initialize Math on startup
20 (initMath() has been moved to math_hullinset).
22 2005-12-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
24 * lyxrc.C: set default_papersize to PAPER_DEFAULT;
25 handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
26 * paper.h: dispose dead PAPER_PACKAGES enum.
28 2005-12-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
30 * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
33 2005-12-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
35 * exporter.C (Export): Don't try to copy a file if it does not exist
38 2005-12-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
40 * text2.C (makeFontEntriesLayoutSpecific): remove.
43 * text.C (insertChar): remove bogus caching of fonts (did not do
46 * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
49 2005-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
51 * rowpainter.C (paintFirst): fix centering of
52 LABEL_CENTERED_TOP_ENVIRONMENT.
54 2005-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
56 * BufferView.C (mouseSetCursor): new method. Calls
57 deleteEmptyParagraphMechanism if necessary.
59 * lyxtext.h: make deleteEmptyParagraphMechanism public.
61 * text3.C (dispatch/LFUN_MOUSE_PRESS): use
62 BufferView::mouseSetCursor (bug 2109).
63 (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
65 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
67 * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
68 do not remove it (this inset behaves differently from the others).
70 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
74 * BufferView_pimpl.C (getStatus): it is only possible to insert a
77 * buffer.C (readDocument): remove pit argument and code releated
78 to it; set the inset owner correctly (unrelated, but useful).
79 (readFile): get rid of pit argument.
81 * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
82 textclass instead of a selection index.
83 (pasteParagraphList): new function.
84 (pasteSelection): make it a wrapper around pasteParagraphList.
86 * BufferView_pimpl.C (MenuInsertLyXFile): use
87 cap::pasteParagraphList to insert a file.
89 2005-11-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
91 * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
93 2005-11-17 Michael Gerz <michael.gerz@teststep.org>
95 * exporter.C: fix typo in text message
97 2005-11-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
99 * text2.C (setLayout): move recUndo call to other setLayout method
100 * tabular.C (toggleFixedWidth): new, handle cell width changes
101 * tabular.C (setColumnPWidth): move some code from insettabular.C here
102 and use toggleFixedWidth
103 * tabular.C (setMColumnPWidth): ditto
105 2005-11-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
107 * paragraph.C (asString): use new inset->textString method (fix
110 2005-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
112 * CutAndPaste.C (numberOfSelections): new helper function.
114 * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
116 * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
117 LyXFunc::getStatus; implement LFUN_PASTE.
119 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
121 * dociterator.[Ch]: new member realInset() that returns the cell
122 for tabulars and the inset for the rest (bug 1952).
123 * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
126 2005-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
128 * text.C (leftMargin): honor the NextNoIndent tag in layouts.
130 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
134 * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
137 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
139 * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
140 line after typing ctrl-enter
142 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
144 * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
145 math insets do not return a proper editable() state yet (bug 2124).
147 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
149 * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for
150 docs containing very large paragraphs.
152 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
154 * cursor.C (selectionBegin, selectionEnd):
155 * text.C (drawSelection): Fix bug 2115: assertion when anchor and
156 cursor at different depths.
158 2005-11-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
160 * bufferview_funcs.C (coordOffset): do not call cursorPos
161 for collapsed collapsables (fix bug 2094).
163 2005-11-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
165 * paragraph.C (fontSpan): make sure that the FontSpan does not
166 span across beginOfBody (bug 1947).
168 2005-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
170 * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
172 2005-11-03 Michael Gerz <michael.gerz@teststep.org>
174 * messages.C: fix crash and localization on MinGW/Windows platform
176 2005-11-02 Angus Leeming <leeming@lyx.org>
179 * lyxtextclass.C: trivial fixes to some MSVS warnings.
181 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
183 * text3.C (getStatus): re-enable disabled code. (bug 2081)
185 * BranchList.h (empty): constify.
187 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
189 * text3.C (getStatus):
190 * MenuBackend.C (expandBranches): take the branch list from the
191 master document (bug 2092).
193 * MenuBackend.C (expandBranches):
194 * bufferparams.C (writeFile): use BranchList type.
196 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
198 * text3.C (dispatch, getStatus):
199 * LyXAction.C (init):
200 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
202 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
204 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
206 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
208 * text.C (insertChar): do not reset boundary (bug 2061)
210 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
212 * dociterator.C (updateInsets): new method. Updates the inset_
213 cache of all the slices of the iterator.
215 * text2.C (deleteEmptyParagraphMechanism): compare also containing
216 insets when comparing pit/pos; pass the right cursor to
217 recordUndo; when a paragraph has been deleted, compare `old.top()' to
218 the right cursor slice of `cur'; use updateInsets on cur to make
219 sure that the inset caches are correct; general cleanup.
221 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
223 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
224 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
225 containg inset. If this does not work, the same command will be
226 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
228 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
231 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
233 * lyxtextclass.C (Read): convert layout file if the format is wrong
234 * lyxtextclass.C (layout2layout): new, needed for the above
236 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
238 * messages.C: do not forget to include <cerrno>.
240 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
242 * dociterator.h (StableDocIterator): add access to pos().
243 * undo.C (samePar): new method to check if two
244 iterators are in the same paragraph
245 * undo.C (recordUndo): check for samePar instead of cell identity
246 (which includes pos() and is too strict) (fixes bug 2097)
248 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
250 * text.C (setCursorFromCoordinates): return a bool telling whether
253 * text3.C (cursorPrevious): update if needed after
254 setCursorFromCoordinates (when dEPM triggered).
256 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
257 (otherwise the anchor may be completely wrong and make dEPM assert).
259 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
261 * buffer.C: version upgrade to 245.
262 * bufferparams.C: remove \quotes_times (bug 2090).
263 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
264 quotation marks as default.
266 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
268 * CutAndPaste.C (nrOfParagraphs): remove (unused)
269 * CutAndPaste.C (cutSelection): Remove debug message
270 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
271 undo information and only copy if this is a real cut
272 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
274 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
276 * CutAndPaste.C (eraseSelection): prevent cursor corruption
277 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
278 superflous cur.selection() setting
279 * CutAndPaste.[Ch] (grabSelection): take a const cursor
280 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
282 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
284 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
287 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
289 * BufferView_pimpl.C: comment layout change
291 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
295 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
296 by bibliography managers (bug 2071).
298 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
300 * BufferView_pimpl.C (update): choose arguments to update call so
301 that single-par update works most times
302 * text3.C (dispatch): carefully tune updating separately for
303 whole-screen and current-paragraph
304 * rowpainter.C (paintText): 1) replace painting by caching for
305 the two extra paragraphs, because we can;
306 2) suppress greying out of areas below/above drawn area in case of
308 * lyxfunc.C (dispatch): remove superfluous update
309 * LyXAction.[Ch]: introduce SingleParUpdate
311 2005-10-05 Angus Leeming <leeming@lyx.org>
313 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
314 always initialised before use.
316 * text.C (setHeightOfRow): squash warning about comparison
317 of signed and unsigned types.
319 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
321 * text.C (cursorX): two fixes involving RtL text drawing
323 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
325 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
326 items, not only large ones (part of bug 2057)
328 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
330 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
331 argument, use "newcommand".
333 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
335 * cursor.C (setSelection): do not open collapsable insets;
336 the insets do by themselves now (autoopen).
338 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
340 * buffer.C: format is up to 244.
342 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
344 * text.C (redoParagraph): fix calcultation of inset width wrt
345 leftMargin (bug 1957).
347 * text3.C (dispatch): leave inset to the right when hitting ESC
350 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
355 * messages.C: include <boost/current_function.hpp>
357 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
359 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
360 when command is internal. (bug 1941)
362 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
364 * text2.C (cursorRight): do not honor boundary when at the end of
365 a paragraph. (bug 2010 again)
367 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
369 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
371 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
373 * rowpainter.C (paintText): fix RtL space width display bug (2029)
375 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
377 * text2.C (setCursor): remove the unused 'boundary' parameter for
378 the CursorSlice version; adapt the LCursor version.
381 * paragraph_pimpl.C (markErased):
382 * cursor.C (bruteFind2, bruteFond3): fix warnings.
384 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
386 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
387 as is already done for "chapter".
389 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
391 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
392 textclass; do not record undo if nothing is changed.
394 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
396 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
398 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
400 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
402 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
404 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
405 combox, it is necessary to search for the topmost paragraph in the
406 cursor stack (bug 1926)
408 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
410 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
411 end of paragraph. (bug 2010)
413 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
415 * text.C (leftMargin): check for inInset == 0
417 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
419 * text.C (leftMargin): test for insetbase's new neverIndent()
420 bool instead of listing each and every inset that does not
421 wish par indendation.
423 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
425 * buffer_funcs.C (setCounter): put the code to compute enum label
426 here (where it belongs).
428 * counters.C (enumLabel): move code to buffer_funcs.C.
430 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
432 * outputparams.[Ch]: store local_font instead of local_language
433 * paragraph.C (simpleTeXOnePar): adapt to the change above
435 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
438 * counters.[Ch]: clean up special code for Hebrew.
440 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
442 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
445 2005-09-08 Angus Leeming <leeming@lyx.org>
448 * lyxrc.C: correct grammar describing invocation of the
451 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
453 * text.C (read): remove unused variable.
454 (readParToken): remove static Change variable (never good in
455 recursive settings...); add it as a parameter instead.
457 * paragraph_pimpl.C (acceptChange): make debug info conditional.
459 * metricsinfo.C (PainterInfo): add new member erased_.
461 * rowpainter.C (RowPainter): add erased_ member, initialized from
463 (paintInset): pass erased_ to Inset::draw.
465 * lyxfunc.C (lookupChange): new function. Tells whether change
466 tracking is disabled at a given postion.
467 (getStatus): disable some actions when in deleted text with change
470 2005-08-03 John Levon <levon@movementarian.org>
472 * tabular.C (appendColumn, setMultiColumn): adapt to change to
475 * paragraph_pimpl.C (markErased): add bool argument and handle it.
476 Also make sure to mark insets recursively.
477 (rejectChange, erase): be recursive
479 * paragraph.C (markErased): add bool argument.
480 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
482 * lyxfind.C (findNextChange): tiny cleanup.
484 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
485 change tracking with the cursor in an inset; make sure the first
486 change is not skipped.
488 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
490 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
491 tabularStackDirty to work around bug 1919 (tabular needs
492 to know whether its own cell paste buffer or the one of
494 * CutAndPaste.C: mark tabular_stack_ clean after copy.
496 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
498 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
500 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
502 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
503 use old deleteion algorithm when changetracking is on.
505 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
507 * messages.C (get): add debug output.
509 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
511 * text.C (cursorX): fix bug 1965: cursor movement at
512 line end broken in RtL.
513 (drawSelection): fix bug 1970: drawing of single-line
514 selection broken for RtL.
516 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
520 * dociterator.h (clear, push_back, pop_back): change from
523 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
524 and changed to just return the value of the item depth; take a
525 ParIterator as argument; take the itemdepth at outer nesting level
526 in account if necessary; cleanup and comment the code.
527 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
528 and changed to just return true if reset is needed; take a
529 ParIterator as argument; cleanup and comment the code.
530 (setCounter): adapt to above changes.
532 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
534 * text3.C (dispatch): make debug message optional
536 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
538 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
541 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
543 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
545 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
547 * text.C (insertChar):
548 * text2.C (deleteEmptyParagraphMechanism): take care whether
549 a blank has been deleted (in change tracking mode) (bug 1254).
551 2005-07-20 John Levon <levon@movementarian.org>
553 * text2.C (insertStringAsLines): remove old dubious code,
556 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
558 * MenuBackend.C (expandToc): use Floating::listName() as title of
561 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
563 * toc.[Ch]: Do not use translatable strings (bug 1870).
565 2005-07-20 John Levon <levon@movementarian.org>
567 * tabular.C: fix 1748 - setting multicolumn adds
568 left line to the first cell
570 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
573 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
576 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
578 * messages.C: supress some lyxerr messages
580 2005-07-18 Juergen Vigna <jug@lyx.org>
582 * text.C (drawSelection): honor boundary when asking for cursorX.
584 2005-07-17 José Matos <jamatos@fc.up.pt>
586 * tabular.C (recalculateMulticolumns): fix handling of one column
589 2005-07-17 Juergen Vigna <jug@lyx.org>
591 * text.C (Delete, backspace): fixed so that paragraph with the
592 same layout can be merged by Delete/Backspace.
594 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
596 * text.C (readParToken): fix spelling.
598 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
600 * text2.C: fix counter update for DEPM problem reported by
603 2005-07-17 Juergen Vigna <jug@lyx.org>
605 * BufferView_pimpl.C (setBuffer): save/restore the
606 cursor/selection when switching buffers
609 * buffer.C (saveCursor): add saveDocumentIterators to save the
610 cursor when switching buffer.
612 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
615 * buffer.C: clarify message
617 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
619 * dociterator.C (DocIterator): fix initialization order
621 2005-07-17 Juergen Vigna <jug@lyx.org>
623 * text2.C (cursorHome):
624 * text.C (drawSelection, cursorX):
625 * dociterator.C (textRow): add boundary to getRow() call
627 * paragraph.C (getRow): implementation of below
629 * paragraph.h: add parameter boundary for getRow() function
631 2005-07-17 José Matos <jamatos@fc.up.pt>
635 * tex-strings.[Ch]: new file format, remove support for a4.sty,
636 a4wide.sty and a4widemargins.
638 2005-07-17 Juergen Vigna <jug@lyx.org>
640 * text2.C (cursorLeft): fix one of error
642 2005-07-17 Juergen Vigna <jug@lyx.org>
644 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
646 more fixes for boundary handling
648 * text3.C (dispatch): don't reset cursor if boundary has changed
651 2005-07-16 Juergen Vigna <jug@lyx.org>
653 * text2.C (getColumnNearX): hopefully got it right now,
654 check if we are on column 0 for special case.
656 2005-07-16 Juergen Vigna <jug@lyx.org>
658 * text2.C (getColumnNearX): handle special case Newline Inset
660 * text.C (singleWidth): Just remove bogus check
662 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
664 * funcrequest.C (split): avoid reading uninitialized char c
666 2005-07-16 José Matos <jamatos@fc.up.pt>
672 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
673 single papersize variable.
675 2005-07-16 Juergen Vigna <jug@lyx.org>
677 * text3.C (dispatch): honor boundary when checking if a cursor
678 movement has been done
680 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
681 (setCursor, setCursorIntern): fix cursor movement with boundary
683 2005-07-16 Juergen Vigna <jug@lyx.org>
685 * text.C (currentState): output the actual Boundary
687 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
689 * factory.C (createInset): fix bad logic for tabular creation
691 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
693 * lyx_main.C (init): change some reLyX reference to tex2lyx
695 2005-07-16 Juergen Vigna <jug@lyx.org>
697 * dociterator.C (DocIterator): initialize boundary
699 2005-07-16 Juergen Vigna <jug@lyx.org>
701 * text2.C (getColumnNearX): Consider rows without trailing blank.
703 2005-07-16 André Pönitz <poenitz@gmx.net>
705 * lyxfont.h: Change order of declarations to give the compiler
706 a better chance to inline things
708 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
709 questions on unsaved docs for better scritability
711 2005-07-16 André Pönitz <poenitz@gmx.net>
713 * paragraph.h (getChar): remove asserts as the same kind of security
714 can be achieved by using a suitable standard library implementation
715 and the function was in the critical path (25.9% in profiler)
717 2005-07-16 Juergen Vigna <jug@lyx.org>
719 * cursor.C (bruteFind2):
720 * bufferview_funcs.C (coordOffset):
721 * text.C (cursorX,cursorY): Handle cursor position after last char
722 in row before a inset which uses a whole row.
724 2005-07-15 José Matos <jamatos@lyx.org>
726 * output_plaintext.[Ch] (writeFileAscii): control reference title
728 (asciiParagraph): noparbreak was already deal and was incorrectly
731 2005-07-15 Juergen Vigna <jug@lyx.org>
733 * lyxfunc.C (dispatch): save and restore the cursor after a
736 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
738 * text.C (backspace): bug 806 for empty keepempty paragraphs we
739 change the layout to default before letting DEPM do its thing.
741 * paragraph_funcs.C (breakParagraph): dont reset the layout on
744 * text.C (setCursorFromCoordinates): add a debug statement
746 * text2.C (getColumnNearX): bug 1825 make sure that we don't
747 return a pos that is not on the row
749 * output_latex.C (TeXDeeper): get rid of potential dereferencing
750 of past the end iterator
752 2005-07-14 André Pönitz <poenitz@gmx.net>
754 * undo.C (recordUndoFullBuffer): implement undo for
757 2005-07-14 André Pönitz <poenitz@gmx.net>
759 * cursor.C (setSelection): open insets when selection is set there
760 to avoid crashs with cold coord cache
762 2005-07-14 André Pönitz <poenitz@gmx.net>
764 * trans_mgr.C (insert): move cursor to the right after inserting
767 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
769 * BufferView_pimpl.C (update): dampen some of the debug blabbering
770 * factory.C (readInset): ditto
771 * text.C, text2.C: ditto
773 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
775 * buffer.C: format incremented to 242. There is no file format per
776 se, but the "frenchb" language has been removed from lib/language
777 and has to be translated to "french" by lyx2lyx.
779 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
781 * cursor_slice.h, dociterator.h: add some documentation
782 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
784 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
786 * text.C (leftMargin): do not add identation to display() style
787 insets, because they are always centered (bug 1293).
789 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
791 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
792 formatted_time methods in support/lyxtime.
794 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
796 * toc.[Ch]: new method getGuiName, which is used by the frontends
797 to set the toc combo (fixes bug 1870). Make TOC string translatable.
799 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
801 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
802 StableDocIterator const &)
803 * undo.C (recordUndo): use the above instead of cell.size() comparison
804 (fixes bug 1808; instructed by Andr�.
806 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
809 * dociterator.h: Fix the assert when copying rows/cols in math
811 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
813 * BufferView_pimpl.C:
815 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
817 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
818 (findInset): new functions, refactored from goto Inset that return
819 the position of a certain inset without setting the buffer's cursor
821 (gotoInset): rewrite to call findInset and then set the cursor
824 2005-06-16 Angus Leeming <leeming@lyx.org>
826 * lyxrc.C (output, read): wrap all input and output of paths with
827 calls to os::internal_path and os::external_path, respectively.
828 (output): wrap bind_file inside quotes.
830 * format.C (view): enable the viewer to use the '$$s' placeholder.
832 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
834 * LColor.[Ch] (getFromLaTeXName): new
836 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
838 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
840 2005-06-14 Angus Leeming <leeming@lyx.org>
842 * lyx_main.C (init): ensure that the LyX binary dir is the first
843 element in the PATH on non-POSIX builds.
845 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
847 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
849 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
851 * rowpainter.C (paintInset, paintHebrewComposeChar)
852 (paintArabicComposeChar, paintChars): add a LyXFont argument.
853 (paintChars): use getFontSpan to reduce calls to getFont to a
854 minimum; use Paragraph::lookupChange instead of isXXXText.
855 (paintForeignMark): rename LyXFont argument.
856 (paintFromPos): pass a LyXFont object to the various paintXXX
859 * FontIterator.C (FontIterator, operator++): use
860 Paragraph::getFontSpan
862 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
863 version that returns the font span as a pair.
865 2005-06-09 Angus Leeming <leeming@lyx.org>
867 * converter.C (convert): Don't forget "outfile = real_outfile" as
868 the final step in a conversion where the input and output file names
869 are the same. Otherwise, future conversion steps won't work...
871 2005-06-09 Angus Leeming <leeming@lyx.org>
873 * lyxsocket.C: remove stub code as it isn't needed by
874 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
876 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
878 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
879 effectively disabled -x
881 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
883 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
884 when it actually makes sense.
886 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
888 * BufferView_pimpl.C: revert to showCursor in connection with
889 Lars's front-end stack
891 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
893 * text.C (redoParagraph): move cursor right after a bibitem
896 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
898 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
900 * buffer_funcs.C (bufferErrors): fix computation of the end of an
903 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
905 * BufferView.[Ch] (update):
906 * BufferView_pimpl.[Ch] (update, metrics):
907 * dimension.h (operator==):
908 * lyxfunc.C (dispatch):
909 * metricsinfo.h (ViewMetricsInfo):
910 * rowpainter.C (paintText):
912 * text.C (redoParagraph):
913 * text3.C (dispatch): Make LyX only repaint current paragraph in
914 case of character insert --> speedup. Also fix cursor draw
917 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
919 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
920 avoid a crash (bug 1891)
922 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
926 * text2.C (getStringToIndex): constify cur argument.
928 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
929 argument has been given
930 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
931 try to invoke LFUN_INSET_APPLY).
933 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
934 if no inset was created by doInsertInset
935 (doInsertInset): return true if an inset has been inserted.
937 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
939 * vspace.C (asGUIName): new method. A version of the space
940 suitable for showing on screen.
942 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
945 * lyxrc.C: rename "ASCII" to "Plain Text"
947 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
949 * buffer_funcs.C (expandLabel): take a Buffer as argument;
950 translate the labelstring.
951 (setCounter): translate labelstring as needed.
953 * output_docbook.C (makeCommand): fix expandLabel invokation
955 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
957 * BufferView.C: fix dialog title
959 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
961 * lyx_main.C (priv_exec): fix logic error with help from Angus
962 * lyx_main.C (parse_execute): set is_gui = false and remove now
963 obsolete comment about a segfault
965 2005-05-18 Angus Leeming <leeming@lyx.org>
967 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
969 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
971 * tabular.[hC]: added setCellInset to fix tabular paste.
973 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
975 * buffer.C (save): check if destination is writable before trying
978 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
980 * BufferView_pimpl.C (update): fix processEvents -caused update
983 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
985 * buffer_funcs.C (setCounter): fix test for numbering of
988 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
989 depth correctly; use optional argument when it exists
991 * lyxtextclass.C: remove unused MaxCounterTags enum
992 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
993 (max_toclevel, min_toclevel): new methods.
995 * MenuBackend.C (expandToc2): fix case where depth is smaller than
996 the smallest depth in toc.
998 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
999 layouts that should not appear in a table of contents.
1001 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1003 * cursor.h (undispatched, noUpdate): add comments from Andr�
1004 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
1008 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1010 2005-05-07 André Pönitz <poenitz@gmx.net>
1012 * cursor.[Ch] (leaveInset): new function
1014 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1016 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1018 2005-05-04 Angus Leeming <leeming@lyx.org>
1020 * lyxfunc.C (getStatus): disable the spell checker dialog if
1021 none of USE_[AIP]SPELL are defined.
1023 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1025 * tabular.C (setWidthOfCell): remove obsolete comment
1027 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1029 * paragraph.C (bibitem):
1030 * buffer_funcs.C (setCounter):
1031 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1033 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1035 * text3.C (getStatus): immediately return after setOnOff
1037 * rowpainter.C: fix drawing of appendix start
1039 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1041 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1042 SwitchBetweenClasses and remove the unused return value.
1043 Handle character styles, too
1045 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
1047 * factory.C (createInset): handle undefined character styles
1049 2005-05-02 Angus Leeming <leeming@lyx.org>
1051 * buffer.C: protect the #include of utime.h with a preprocessor
1054 2005-05-02 Angus Leeming <leeming@lyx.org>
1056 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1057 function so that auto-saving works, albeit in a blocking manner.
1059 * Makefile.am: make compilation of the client sub directory, of
1060 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1061 on conditionals set at configure time.
1063 * SpellBase.[Ch]: no longer an abstract base class. Instead,
1064 it can be compiled in its own right but has no-op functionality.
1066 * aspell.C, pspell.C: remove preprocessor guards. The files should
1067 be compiled only if the necessary functionality exists.
1069 * lyxserver.C, lyxsocket.C: disable on Windows.
1071 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
1073 * text.C (leftMargin): Fix the parindent use bug (1764)
1076 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
1078 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1081 2005-04-25 Angus Leeming <leeming@lyx.org>
1089 include <config.h> in .C files, not .h ones.
1091 protect headers inside preprocessor guards.
1093 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1095 * FuncStatus.h (StatusCodes): document
1097 2005-04-21 André Pönitz <poenitz@gmx.net>
1099 * FuncStatus.h (enabled, onoff): document
1101 2005-04-19 Angus Leeming <leeming@lyx.org>
1103 * BufferView_pimpl.C (cursorToggle): no longer test whether
1104 any child processes have been reaped before calling
1105 handleCompletedProcesses().
1107 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
1109 * text3.C (dispatch): fix, finally fix, the language problem in
1110 new lyxtexts, without disabling on-the-fly font changes (Helge's
1113 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1115 * text3.C (dispatch): set cursor on double/triple click events
1118 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1120 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1121 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1123 * rowpainter.C (paintFirst): simplify the code a little bit. In
1124 particular, remove the test for secnumdepth.
1125 * text.C (setHeightOfRow): only allocate space for chapter number
1126 when updateCounters provided an actual label, instead of looking
1127 at secnumdepth directly.
1129 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1131 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1132 paragraphs when secnumdepth is large enough or, for environments,
1133 when they are not the first in a sequence.
1135 2005-04-17 Angus Leeming <leeming@lyx.org>
1137 * buffer.C (makeLaTeXFile): replace code to manipulate a path
1138 containing space and '~' characters with a call to latex_path().
1140 2005-04-17 Angus Leeming <leeming@lyx.org>
1142 * converter.C (convert): protect all args of convertDefault.sh
1145 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1147 * text3.C (dispatch): change the layout to "Caption" after inserting
1150 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1152 * text3.C (dispatch): fix language problem in newly created
1153 textinsets (and main text) in non-english docs
1155 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1157 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1158 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1159 * text3.C (getStatus): disable LFUN_INSET_MODIFY
1161 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1165 * text2.C (getFont):
1166 * rowpainter.C (getFont): Fix metrics bug introduced by inset
1169 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1171 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1172 output of \item arguments without trailing text.
1174 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1176 * FontIterator.C (operator*): avoid a copy of the font.
1178 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1180 * rowpainter.C (getFont): fix language bug from previous fix
1182 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1184 * rowpainter.C (RowPainter, getFont): fix font inside inset
1187 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1189 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1190 preventing inserted font, deco, delim insets jumping to start of
1193 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1195 * lyxfunc.C (dispatch): translate message before sending it to the
1198 2005-03-29 Angus Leeming <leeming@lyx.org>
1200 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1201 to LyX on the command line.
1203 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1205 * vc-backend.C: use QuoteName to protect file names wherever
1208 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1211 * BranchList.h: fix bugs 1844,1845: document settings don't
1214 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1216 * lyxrc.C (setDefaults, read, output, getDescription): add support
1217 for tex_allows_spaces.
1219 * exporter.C (Export): allows files in directory containing spaces
1220 if tex_allows_spaces is true.
1222 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1223 output it in double quotes.
1225 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1227 * rowpainter.C: use default text height for drawing change tracker
1230 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1232 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1234 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1236 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1237 directory is missing.
1239 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1241 * text2.C: fixed the fix, extended to other case.
1243 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1245 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1247 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1249 * text2.C (cursorUp): get rid of a crash
1250 * text.C (x2pos): add an assert
1252 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1254 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1258 * dociterator.C: include <boost/current_function.hpp>, which is
1259 needed when assertions are disabled.
1261 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1263 * text2.C: fix for stuck cursor when traversing two
1264 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1266 2005-02-25 Andreas Vox <avox@arcor.de>
1268 * output_docbook.C (makeParagraph): suppress trailing newline
1269 after a run of paragraphs
1271 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1273 * paragraph.C: fix for confused change tracker when pasting
1274 text that begins with a lineseparator. [bug 1827]
1275 (setChange(0, Change::INSERTED);)
1277 * paragraph_funcs.C: fix for lost changes on triple-paste
1278 in change tracking mode [bug 1827] (par.setChange()).
1280 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1282 * text2.C (updateCounters, setCounter, expandLabel): move to
1285 * buffer_funcs.C (updateCounters): turn into a free standing
1286 function and add a buffer parameter. Remove dead code for tracking
1288 (setCounter): change into a free-standing function which gets a
1289 dociterator as argument. Use this iterator to fix captions in a
1290 simple way. When no float is found above the caption, use the
1291 labelstring of the caption layout as default.
1293 * text.C (breakParagraph, backspace):
1294 * text2.C (init, setLayout, changeDepth):
1295 * text3.C (dispatch):
1296 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1299 * dociterator.C (forwardPar): make it much faster by calling
1300 forwardPos() only when really necessary.
1302 * output_docbook.C (makeCommand): adapt to expandLabel move.
1304 * cursor.C: remove unused variable
1306 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1308 * paragraph_funcs.C: fix crash when pasting insets in change
1309 tracking mode [bug 1277] (honour change type in moveItem).
1311 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1313 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1315 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1317 * BufferView.C (setCursor): change to use a DocIterator.
1318 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1319 (putSelectionAt): adapt to BufferView::setCursor change.
1321 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1322 moved here from LyXText and rewritten to use proper cursor
1323 methods. Fixes bug 1787, 616 and 835.
1325 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1326 when inside an inset (part of bug 781).
1327 (dispatch): adapt to change of BufferView::setCursor.
1328 (getStatus, dispatch): handle LFUN_GOTOERROR,
1329 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1331 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1332 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1333 * text3.C (gotoNextInset, gotoInset): removed.
1335 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1337 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1339 2005-02-15 Angus Leeming <leeming@lyx.org>
1341 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1342 can be used meaningfully in a comparison.
1344 2005-02-13 André Pönitz <poenitz@gmx.net>
1346 * bufferview_funcs.C (coordOffset): improve cursor drawing
1348 2005-02-13 André Pönitz <poenitz@gmx.net>
1350 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1351 * Cursor.C (dispatch): use fixIfBroken
1352 * lyxfunc.C (getStatus): use fixIfBroken
1354 2005-02-15 Angus Leeming <leeming@lyx.org>
1356 * lyx_main.C (error_handler):
1358 * lyxrc.C (setDefaults):
1360 #include "environment.h".
1362 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1364 2005-02-15 Angus Leeming <leeming@lyx.org>
1366 * lyxserver.C (startPipe): squash MSVC warning "local variable
1367 'fd' used without having been initialized".
1369 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1371 * BufferView_pimpl.C: revert accidental commit.
1373 2005-02-14 André Pönitz <poenitz@gmx.net>
1375 * dociterator.[Ch]: new member forwardPosNoDescent(),
1376 which doesn't enter nested insets.
1377 * text2.C (setFont): use forwardPosNoDescent() instead
1378 of ForwardPos() (fixes crash on font change).
1380 2005-02-13 Angus Leeming <leeming@lyx.org>
1382 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1383 only if lyxrc.path_prefix is not empty.
1385 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1387 * bufferparams.C (readGraphicsDriver): prevent crash
1389 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1391 * text2.C (setCounter): check for inInset() == 0
1393 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1395 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1396 but use update() to get correct screen display; use convert
1397 instead of istringstream.
1398 (getStatus): handle LFUN_GOTO_PARAGRAPH
1400 * lyxfunc.C (dispatch, getStatus): do not handle
1401 LFUN_GOTO_PARAGRAPH here.
1403 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1405 * text3.C (dispatch): size() -> depth()
1407 * text2.C: remove some debug output
1409 * paragraph.C: ws changes only
1411 * lyxfunc.C (getStatus): size() -> depth()
1413 * dociterator.h (clear, push_back, pop_back, internalData,
1414 operator[], resize, empty): new functions
1415 Make StableDocIterator and operator== be friends. Don't inherit
1416 from std::vector use a privat class variable slices_ instead.
1419 * dociterator.C: update because of not inheriting from std::vector
1420 anymore. Call explictly to slices_ instead. Use depth() instead of
1421 size() and top() instead of back()
1423 * cursor.C: chagne size() -> depth and back() -> top(). Also
1424 remove some direct operator[](i) calls in favour of foo[i]
1425 (getFont): remove some dead code
1427 * bufferview_funcs.C (coordOffset): size() -> depth()
1429 * buffer.C: ws changes only
1431 * CutAndPaste.C (eraseSelection): back() -> top()
1433 * BufferView_pimpl.C (selectionRequested): back() -> top()
1435 * BufferView.C (setCursor): size() -> depth()
1437 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1439 * text3.C (cursorPrevious): return true if depm changed something
1441 (dispatch): rename sl to oldTopSlice, remove moving use the new
1442 NoUpdate func attrib instead. Make sure that needsUpdate is set
1443 for function that have NoUpdate, but where depm might have changed
1446 * text2.C (cursorLeft): make us return true if depm changed
1448 (cursorRight): ditto
1449 (cursorUpParagraph): ditto
1450 (curosrDownParagraph): ditto
1451 (cursorUp, cursorDown): ditto, make sure to read comments in code
1452 (deleteEmptyParagraphMechanism): remove an assert, also return
1453 true if just a single char was deleted.
1455 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1456 cursor that we modify, to avoid modifying an active cursor before
1457 we call setCursor. This allows depm to run. Also return true if
1458 depm deleted something.
1460 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1461 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1462 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1463 something was changed in the buffer because of them (ie. depm run)
1465 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1466 debug messages. Make update by default be false. Make sure that
1467 the result of update is retained throught several calls down to
1470 * LyXAction.h: add a new func_attrib: NoUpdate
1472 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1473 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1474 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1476 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1478 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1480 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1481 bv_->owner(), bv_->buffer() by direct references to the private
1483 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1484 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1485 (fitCursor): center() is in BufferView::Pimpl.
1486 (getStatus, trackChanges, dispatch): no need for a temporary buf
1488 (fitCursor, workAreaDispatch): use workarea().workheight()
1490 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1492 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1494 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1496 * buffer.C: format up to 241.
1497 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1498 break if pasting into ERT
1499 * lyxfunc.C (getStatus): suppress mathpanel and
1500 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1502 2005-02-01 Angus Leeming <leeming@lyx.org>
1504 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1506 2005-02-01 Angus Leeming <leeming@lyx.org>
1508 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1509 calling fs::is_directory().
1511 2005-01-31 Angus Leeming <leeming@lyx.org>
1513 * lyx_main.C (priv_exec): specify explicitly the relative location
1514 of the top level build directory when run in-place.
1516 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1518 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1519 LyXText containing the cursor, not the top-level one.
1521 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1523 (insertStringAsLines): rename par to pit; use temporary variable
1524 par to hold a Paragraph; do not store par.layout() in a variable,
1525 since the pointer may die when breaking paragraphs; pass pars to
1526 breakParagraph() instead of Buffer::paragraphs().
1528 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1530 * lyxlex_pimpl.h: #include <fstream>.
1532 * BufferView.[Ch] (getLyXText): add a const version.
1534 * BufferView_pimpl.C: add debug aids.
1539 * paragraph_funcs.h: add commentary explaining what the class does.
1542 * coordcache.[Ch]: add lots of commentary.
1543 (startUpdating, doneUpdating): debug aids.
1544 (arrays, insets, parPos, getParPos): accessors to private data.
1546 * cursor_slice.[Ch] (text): add a const version.
1547 * dociterator.[Ch] (text, innerText): add const versions.
1549 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1552 * paragraph.C (getRow, pos2ros): add asserts.
1554 * paragraph.h: add commentary. Lots of.
1556 * paragraph.[Ch] (metrucs, draw): removed.
1559 * rowpainter.[Ch]: const-correct changes.
1561 * text.C: various obvious clean-ups. Removal of ancient cruft.
1564 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1566 * vc-backend.C (find_file): rewrite to use boost.filesystem
1569 * main.C (main): set default name check for boost.filesystem to
1572 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1575 (actOnUpdatedPrefs): ditto
1577 * lyx_main.C (init): rewrite to use boost.filesystem
1578 (queryUserLyXDir): ditto
1580 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1581 (getContentsOfAsciiFile): ditto
1583 * lastfiles.C (readFile): rewrite to use boost.filesystem
1585 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1587 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1588 (loadLyXFile): ditto
1590 * buffer.C (Buffer): adjust for destroydir
1591 (getLogName): rewrite to use boost.filesystem
1592 (setFileName): ditto
1593 (save): use fs::copy_file (from fs_extras)
1595 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1597 * LaTeX.C (run): rewrite to use boost.filesystem
1598 (scanAuxFiles): ditto
1599 (handleFoundFile): ditto
1601 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1603 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1605 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1607 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1609 * lyxlayout.[Ch]: change some vars from float to double
1611 * buffer.C (readFile): make a local var const
1613 * Several files: use convert<> instead of atoi,strToXXX and friends
1615 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1617 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1618 holds the contents of packages.lst. New functions getAvailable
1619 and isAvailable to parse and check that list, resp.
1623 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1625 * bufferparams.[Ch]: new param output_changes.
1627 * Buffer.C: increase file format to 240.
1628 Use output_changes and isVailable.
1632 * paragraph_pimpl.C: Use output_changes and isVailable.
1634 2005-01-23 Angus Leeming <leeming@lyx.org>
1636 * output_latex.C: #include "insetbibitem.h", rather than
1637 forward declare function bibitemWidest.
1639 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1641 * lyx_main.C (init): make it compile on the Mac.
1643 2005-01-20 Angus Leeming <leeming@lyx.org>
1645 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1646 (setLyXMisc): (char string literal) != (char string literal) is
1647 performing a comparison on the addresses. Convert one operand
1648 explicitly to string to guarantee expected behaviour.
1651 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1654 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1656 * output_plaintext.C: remove unneeded #include gzstream.h.
1658 2005-01-20 Angus Leeming <leeming@lyx.org>
1660 * SpellBase.h: rename some of the elements of the Result enum.
1667 * pspell.C (check): ditto
1669 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1671 * buffer.C: add #include <fstream>.
1673 * lyx_main.C (init): Compile fix.
1675 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1677 2005-01-20 Angus Leeming <leeming@lyx.org>
1679 * mover.h: change commentary to reflect the changed meaning of
1680 the $$s placeholder.
1682 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1684 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1686 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1688 2005-01-20 Angus Leeming <leeming@lyx.org>
1690 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1691 printing diagnostic data by not dereferecing an iterator past the
1694 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1696 * buffer.C (readHeader): use "&&" rather than "and".
1698 * lyxserver.h (inPipeName, outPipeName): make these const.
1700 2005-01-19 Angus Leeming <leeming@lyx.org>
1702 * lyx_main.C (error_handler, init): protect SIGHUP with
1703 #ifdef SIGHUP guards.
1705 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1707 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1709 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1711 * text.C (setHeightOfRow): add a margin at the top and bottom of
1712 the document (bug 1761)
1714 2005-01-17 Angus Leeming <leeming@lyx.org>
1716 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1717 with "python ". Workaround for a brain-dead Windows.
1719 2005-01-16 Angus Leeming <leeming@lyx.org>
1721 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1722 for MacOSX and Windows to use prependEnvPath.
1723 Strip out the hard-coded block to add elements to the PATH for
1724 MacOSX and replace it with a call to prependEnvPath using the
1725 contents of LyXRC::path_prefix.
1726 (queryUserLyXDir): strip out the code to run reconfigure, instead
1727 returning a boolean indicating the necessity to do so.
1728 (reconfigureUserLyXDir): contains the code to reconfigure the
1729 user support directory. Is now called after the various LyXRC data
1730 files have been read.
1732 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1734 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1736 * converter.[Ch] (convert): take a new parameter try_default. Use
1737 a default converter (imagemagick) if try_default is true.
1739 2005-01-13 Angus Leeming <leeming@lyx.org>
1741 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1742 os::cygwin_path_fix.
1743 (write): output LyXRC::cygwin_path_fix as necessary.
1745 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1748 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1750 2005-01-12 Angus Leeming <leeming@lyx.org>
1752 * lyx_main.C (init): set the PATH variable to include the
1753 directory containing the LyX binary when running on Mac or Windows.
1755 2005-01-12 Angus Leeming <leeming@lyx.org>
1757 * lyx_main.C (init): remove cruft that purports to set the locale
1758 dir. It doesn't and is not needed anyway.
1760 2005-01-10 Angus Leeming <leeming@lyx.org>
1762 * Makefile.am: remove the lyx_main.C special casing.
1764 * BufferView_pimpl.C:
1770 * messages.C: use support/package.h to provide the paths to the
1771 various directories used by LyX.
1773 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1775 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1776 layout if pasting into an empty paragraph)
1778 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1780 * tex-accent.C: add <string>
1782 2005-01-06 José Matos <jamatos@lyx.org>
1784 * ParagraphParameters.C (write): put every parameter in its own line.
1785 * paragraph.C (write): reduce number of consecutive empty lines exported.
1786 * buffer.C (LYX_FORMAT): increase file format to 239.
1788 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1790 * everywhere: change support/tostr.h -> support/convert.h
1792 * tabular.C: make all write_attributes templates, tostr -> convert
1794 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1795 (emptyTag): and -> &&, and fix type for ret from getChar
1796 (getFirstWord): fix type for ret from getChar
1797 (onlyText): and -> &&
1798 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1801 * toc.C (goTo, action):
1802 * text3.C (dispatch):
1803 * text.C (currentState):
1804 * tex-accent.C (DoAccent):
1807 * lyxfunc.C (menuNew):
1808 * lyxfinc.C (replace):
1809 * counters.C (laberItem):
1810 * bufferview_funcs.C (font2string):
1811 * bufferparams.C (writeFile):
1812 * buffer.C (readFile):
1814 * MenuBackend.C: tostr -> convert
1816 * LaTeX.C (runMessage): fix format
1817 (scanAuxFiles): tostr -> convert
1819 * BufferView_pimpl.C (savePosition): fix format
1820 (restorePosition): ditto
1823 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1825 * Spacing.[Ch]: New method getValueAsString().
1829 * ParagraphParameters.C:
1832 * text3.C: store/read spacing value as string.
1834 * rowpainter.C: change float value (spacing_val) to double.
1836 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1837 broken custom document spacing).
1839 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1841 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1842 namespace, also more use of temp references and const
1844 * cursor.[Ch] (getStatus): move to lyxfunc.C
1846 * bufferparams.C: reformat slightly
1848 * bufferview_funcs.C (font2string): constify arg
1854 * buffer_funcs.C: (many funcs): constify arg on function
1855 definitions, also make more local vars const, also add ASSERTS on
1858 * buffer.C (LYX_FORMAT): put const in correct place
1859 (many funcs): constify arg on function definitions, also make
1860 more local vars const
1862 * aspell_local.h: remove "struct" from typdef setup
1864 * aspell.C (check): make word_ok const
1865 (nextMiss): simplify slightly
1868 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1870 * lyxrc.[Ch]: store all float values as strings.
1871 use int (not float) for lyxrc.dpi.
1873 2005-01-04 Angus Leeming <leeming@lyx.org>
1875 * lyx_cb.C (Reconfigure):
1876 * lyx_main.C (queryUserLyXDir):
1877 to run the <system_lyxdir>/configure correctly on Windows, prefix
1878 the path to the script with "sh " when generating the string that
1879 is passed to system().
1881 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1883 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1885 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1887 * lyxlength.C (asLatexString): get rid of setprecision
1889 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1891 * text2.C (setLayout): remove unused variable endpit.
1892 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1894 * paragraph.C (onlyText): remove unused variable style.
1896 * cursor.C (bruteFind): remove unused variables beg and end.
1898 * Makefile.am (dist_noinset_DATA): not needed anymore
1900 * cheaders/*: remove.
1902 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1904 * text3.C: fix LFUN_MATH_MODE.
1906 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1908 * buffer_funcs.C (countWords): new function. Counts words between
1911 * BufferView_pimpl.C (getStatus, dispatch): handle
1914 * LyXAction.C (init):
1915 * lfuns.h: add LFUN_WORDS_COUNT.
1917 2004-12-19 Angus Leeming <leeming@lyx.org>
1919 * buffer.C (save): s/slashify_path/internal_path/.
1921 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1923 * lyxfind.C (findChange): do not search for end of pars, because
1924 the change tracker cannot handle this (fixes bug 1719).
1926 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1928 * paragraph.[Ch] (autoBreakRows): remove
1930 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1932 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1933 avoid using the paragraph one
1935 * text2.C (LyXText, insertStringAsLines): adjust
1937 2004-12-16 Angus Leeming <leeming@lyx.org>
1941 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1943 2004-12-14 Angus Leeming <leeming@lyx.org>
1945 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1947 * bufferlist.C (emergencyWrite):
1948 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1951 2004-12-14 Angus Leeming <leeming@lyx.org>
1953 * main.C: (main): no longer pass pointers to os::init.
1955 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1957 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1958 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1960 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1963 * text3.C: remove selection_possible global flag
1965 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1967 * text2.C (getSelectionSpan): remove
1968 (changeDepth, changeDepthAllowed): adjust
1970 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1972 * Makefile.am (BOOST_LIBS): use boost variables
1974 2004-12-03 José Matos <jamatos@lyx.org>
1976 * buffer.C: format up to 238.
1978 2004-12-03 José Matos <jamatos@lyx.org>
1980 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1982 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1984 * cursor.C (goUpDown): remove call to idxUpDown2
1986 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1988 * tabular.[Ch]: use size_t-like types for cell, row and column
1991 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1993 * lyxfunc.C (getStatus): do not lose previous information when
1994 calling BufferView::getStatus; do not set a default "Command
1995 disabled" message at the beginning, but just before returning.
1997 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1999 * cursor.h (getStatus): add better comment from src/cursor.C
2001 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2003 * text3.C (getStatus): return false when the lfun is not handled
2005 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2007 * broken_headers.h: remove
2009 * Makefile.am (lyx_SOURCES): remove broken_headers.h
2011 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2013 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2014 offset_ref accessors
2016 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2017 top_y_, merge fitcursor with update
2018 (updateScrollbar, scrollDocView, fitCursor, center, update): new
2020 (metrics): introduce
2021 (workAreaDispatch): adapt to new coord scheme
2022 (redoCurrentBuffer): remove
2024 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2026 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2029 * coordcache.[Ch]: add paragraph cache and helpers
2031 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2034 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2035 (targetX, setTargetX): introduce
2037 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2038 baseline -> ascent, as the rest of lyx
2040 * lyxtext.h: remove redoParagraphs, updateParPositions,
2041 fullRebreak, redoParagraphInternal. move dist to anon namespace in
2042 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2043 have ascent/descent (ascent is ascent of first par)
2045 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2048 * paragraph.[Ch]: unify dimension handling with the rest of lyx
2050 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2052 * pariterator.C: fix infinite loop introduced in par->pit renaming
2054 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2055 in insets and LyXText, draw two off-screen paragraphs using
2056 NullPainter, and adapt to new coord scheme
2060 * text3.C: adapt lfun handlers to the new coord scheme, which
2061 means: there's only guaranteed coord information for onscreen pars
2062 plus one above and one below. This implies that one can do search
2063 from y coordinates in the range [-1,workHeight]
2065 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2067 * rename a lot of InsetOld to InsetBase
2069 2004-11-25 Angus Leeming <leeming@lyx.org>
2071 * BufferView_pimpl.C:
2073 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2075 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2077 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2078 call BufferView::getStatus if LCursor::getStatus did nothing
2079 (setStatusMessage, getStatusMessage): removed.
2081 * FuncStatus.C (message): new methods. Used to provide an error
2082 message indicating why a command is disabled.
2083 (clear, |=, FuncStatus): update for message.
2085 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2087 * lyxfunc.C (dispatch): always call sendDispatchMessage
2089 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2092 * BufferView_pimpl.C:
2097 * cursor_slice.[Ch]:
2100 * paragraph_funcs.C:
2106 * undo.C: par->pit renaming
2108 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2110 * tabular.C (cellstruct): use initialization, store a shared_ptr
2111 to insettext instead of the insettext directly, adjust to fit.
2112 (operator=): new function
2113 (swap): new function
2114 (rowstruct): use initialization
2115 (columnstruct): use initialization
2116 (ltType): use initialization
2119 * lyxlength.h (swap): new function
2121 * LColor.[Ch] (operator=): use the common semantics
2123 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2125 * lyxfind.C (findNextChange): update the bufferview after setting
2128 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2130 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2131 number of InsetOptArgs has already been inserted.
2133 * output_latex.C (latexOptArgInsets): new method. This outputs all
2134 the optarg insets, up to the limit defined in the layout file.
2135 (optArgInset): removed
2136 (TeXOnePar): call latexOptArgInsets; correctly update texrow
2138 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2140 * paragraph.C (isLetter): remove special spellchecker-related
2141 code; return true also for digits
2142 (isWord, isKomma): remove
2144 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2145 * lyxfind.C (MatchString()): use isLetter instead of isWord
2147 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2149 * pariterator.h (operatir=): comment out un-implemented member
2152 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2155 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2157 * lyxfont.h: include LColor.h to satisfy concept checks.
2159 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2161 * pariterator.h: add typdefs for value_type, difference_type,
2162 pointer and reference to satisfy concept checks. Also add default
2163 constructor for same reason.
2165 * pariterator.C (operator++): add post-increment operator to
2166 satisfy concept checks.
2168 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2171 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2173 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2174 checks. Also rename base_type to BaseType to follow naming
2177 * FloatList.h: include Floating.h to satisfy concept checks.
2179 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2181 * lyxfunc.C (getStatus): when the origin of the request is menu or
2182 toolbar, and the LyXView does not have focus, do as if there was
2183 no buffer (bug 1720)
2185 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2186 FuncRequest to individual entries of LFUN_SEQUENCE
2188 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2190 * output_latex.C (TeXOnePar): override runparams.moving_arg
2191 according to the needprotect value of the current paragraph (bug
2194 * paragraph.C (simpleTeXOnePar): no need to override
2195 runparams.moving_args here
2197 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2199 * vspace.C: fix off-by-one-error, related to fix #1682
2201 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2203 * lengthcommon.C: a more general fix for bug 1682
2205 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2207 * text.C (backspace): fix crash
2209 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2211 * format.[Ch] (getFormatFromFile): new method
2212 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2214 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2216 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2218 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2220 * lyxfunc.C (dispatch): remove the verbose argument
2221 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2224 * kbmap.C (defkey): set the origin of func to KEYBOARD
2226 * MenuBackend.C (MenuItem):
2227 * ToolbarBackend.C (add): set the origin of func to UI
2229 * funcrequest.[Ch]: add origin member, which indicates which part
2230 of LyX requests an action
2232 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2234 * converter.C (move): don't lie in the error message
2235 * converter.h (isReachable, move): document
2237 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2239 * buffer.C: remove unused using lyx::support::atoi
2240 * paragraph_funcs.C: ditto
2242 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2244 * bufferlist.C (exists): use bind and equal_to instead of
2247 * lyxtextclasslist.C (NumberOfClass): ditto
2249 * cursor.C (insert): use for_each instead of explicit for loop
2251 * bufferlist.C (getFileNames): use std::transform and
2252 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2254 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2257 * buffer.C (changeLanguage): use for_each instead of explicit for
2259 (hasParWithID): implement using getParFromID
2261 * LaTeXFeatures.C: ws change only
2263 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2266 * BufferView_pimpl.C (trackChanges): use for_each instead of
2269 2004-11-04 André Pönitz <poenitz@gmx.net>
2272 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2274 * dociterator.C (asDocIterator): use hard assert again.
2276 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2278 * lyxlength.C (asLatexString): rewrite so that it does not use
2281 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2283 * text3.C (specialChar, dispatch): make sure cursor moves to the
2284 right after inserting an inset
2286 2004-11-02 José Matos <jamatos@lyx.org>
2288 * output_docbook.C (docbook):
2289 * paragraph.C (getID):
2290 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2291 garantee that the output is always legal.
2293 * tabular.C (docbook):
2294 * outputprams.[Ch]: remove mixed contents.
2296 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2298 * text2.C (setCounter): prevent endless loop
2300 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2302 * exporter.C (copyFile): use the mover instead of support::copy()
2303 * exporter.C (Export): pass format and latex name to copyFile()
2304 * exporter.h (addExternalFile): document
2305 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2307 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2309 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2311 2004-10-30 José Matos <jamatos@lyx.org>
2313 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2314 text and no inset or font change. This allows to use CDATA
2315 sections just for the whole paragraph.
2317 2004-10-30 José Matos <jamatos@lyx.org>
2319 * paragraph.C (getFirstWord): remove unused variable.
2321 2004-10-30 José Matos <jamatos@lyx.org>
2323 * paragraph.C (getFirstWord): the content should always be escaped
2325 (simpleDocBookOnePar):
2326 * output_docbook.C (makeEnvironment): replace reference to CDATA
2329 2004-10-30 José Matos <jamatos@lyx.org>
2331 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2333 2004-10-30 José Matos <jamatos@lyx.org>
2335 * output_docbook.C (makeParagraphs):
2336 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2337 standard paragraph has only a given type of content drop the wrapper.
2339 2004-10-29 José Matos <jamatos@lyx.org>
2341 * output_docbook.C (makeEnvironment):
2343 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2345 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2347 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2348 (cleanID): sanitize any id.
2350 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2352 * buffer.C, lyxlex_pimpl.C:
2353 * lyxlex_pimpl.C (setFile):
2354 s/getExtFromContents/getFormatFromContents/
2356 2004-10-28 José Matos <jamatos@lyx.org>
2358 * output_docbook.C (makeEnvironment): move id to broadest possible
2361 * sgml.C (openTag): apply substitution of <> for all attributes.
2363 2004-10-28 José Matos <jamatos@lyx.org>
2365 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2366 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2367 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2369 * sgml.[Ch]: new version for open and closeTag for paragraph and
2370 for strings. Now they handle the ids of paragraphs.
2372 2004-10-26 Angus Leeming <leeming@lyx.org>
2374 * Makefile.am: add mover.[Ch].
2376 * converter.C (convert, move): use the new Movers to move external
2377 files to the temp directory.
2379 * lyx_main.C (init): ensure that the global system_movers data
2382 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2385 * mover.[Ch]: new files, defining a Mover as a utility to move an
2386 external file between directories and, if necessary, manipulate this
2387 file using a helper script.
2389 2004-10-25 José Matos <jamatos@lyx.org>
2391 * output_docbook.C (makeCommand): merge two if's that tested the
2394 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2396 * sgml.C (escapeString): fix warning in a better way
2398 2004-10-25 José Matos <jamatos@lyx.org>
2400 * sgml.C (escapeString): import the require boosts header file for
2401 tie, and avoid a signed unsigned comparison.
2403 2004-10-25 José Matos <jamatos@lyx.org>
2405 * sgml.h: add #include <string>
2407 2004-10-25 José Matos <jamatos@lyx.org>
2409 * sgml.[Ch] (escapeString): new function to escape all the string.
2411 2004-10-24 José Matos <jamatos@lyx.org>
2413 * paragraph.[Ch] (getFirstWord): new function to get the first
2414 word. Useful for description.
2415 (simpleDocBookOnePar): remove depth argument, add another that
2416 says where to start the paragraph.
2418 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2419 use the new functions to fix cleanly the support for descriptions.
2421 2004-10-24 José Matos <jamatos@lyx.org>
2423 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2424 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2425 * output_linuxdoc.C (linuxdocParagraphs):
2426 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2427 add buffer as argument.
2429 2004-10-24 José Matos <jamatos@lyx.org>
2431 * output_docbook.C (makeEnvironment, searchEnvironment): place
2432 CDATA inside paragraphs and fix scope for listitems.
2434 2004-10-24 José Matos <jamatos@lyx.org>
2436 * output_docbook.C: remove using statement for stack.
2438 2004-10-23 José Matos <jamatos@lyx.org>
2440 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2441 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2442 docbook. The new scheme is recursive and makes use of iterators, the
2443 same as latex export works.
2444 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2445 directly with the paragraph contents. This code was moved up to
2446 output_docbook.C (docbookParagraphs).
2447 * sgml.C (openTag, closeTag): removed unneeded newlines.
2448 (closeEnvTags) removed.
2450 2004-10-23 André Pönitz <poenitz@gmx.net>
2452 * undo.C (textUndoOrRedo):
2453 * dociterator.C (asDocIterator): work around crash
2455 * cursor.C (getStatus): replace ASSERT by more verbose error message
2456 and manual correction of the problem. Should increase stability
2457 while providing more sensible information.
2459 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2461 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2463 * bufferlist.C (previous, next): new methods
2466 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2468 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2470 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2471 entities to preamble.
2473 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2475 * messages.C (Pimpl): strip off translation context information
2477 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2479 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2480 the cursor is correct (bug 1694)
2482 2004-10-13 José Matos <jamatos@lyx.org>
2484 * output_docbook.C (docbookParagraphs): fix closing tags in the
2485 end of the document.
2487 2004-10-09 José Matos <jamatos@lyx.org>
2489 * buffer.C: format up to 237.
2490 * bufferparams.C (write): use tostr to convert booleans to strings.
2492 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2494 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2496 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2498 * LaTeX.C: implement use of babel language in xindy.
2500 2004-10-05 José Matos <jamatos@lyx.org>
2502 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2503 Add new translators to help reading and writing the lyx file.
2505 2004-10-05 José Matos <jamatos@lyx.org>
2507 * ParagraphParameters.C (read):
2508 * text.C (readParToken): replace nexToken by more appropriate lex
2511 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2513 * LaTeX.C (runMakeIndex):
2514 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2515 (usually 'makeindex') configurable.
2517 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2518 with a variable rather than with a number.
2520 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2522 * output_latex.C (TeXOnePar): make sure font setting is the first
2523 thing that gets output (and the last at the end). Should fix bug
2526 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2528 * pch.h: use proper signal include
2530 * LaTeX.h: Use preferred calling of Boost.Signal
2533 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2535 * pch.h: dont include <boost/function/function0.hpp>
2537 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2539 * paragraph_pimpl.h: remove usage of ShareContainer
2541 * paragraph_pimpl.C: remove initialization of ShareContainer.
2543 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2547 * BufferView.C (putSelectionAt): change the semantics when
2548 backwards == true: now, this just swaps cursor and anchor wrt the
2551 * BufferView.h (putSelectionAt): add some documentation
2553 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2554 make sure backwardChar is done at least once (to avoid getting
2556 (findNextChange): use putSelectionAt in the forward direction
2557 (operator()): use Paragraph::isWord
2559 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2561 * Spacing.C (set): c_str fix
2563 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2565 * lyx_cb.C (Reconfigure): quote the name of configure script in
2566 case it contains spaces
2568 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2572 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2573 (BOOST_LIBS): use top_buildir when looking for the file
2575 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2577 * pch.h: do not use include boost/format.hpp, multiple symbols
2578 will result (gcc bug)
2581 2004-08-23 José Matos <jamatos@lyx.org>
2583 * bufferparams.C (readToken): fix reading of the author field.
2585 2004-08-20 José Matos <jamatos@lyx.org>
2587 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2589 2004-08-20 José Matos <jamatos@lyx.org>
2591 * lyxlex.[Ch] (findToken): remove function.
2593 * ParagraphParameters.C (findToken):
2594 * bufferparams.C (findToken): replace call for previous function
2595 with local copy. This local function has one more argument, the
2596 read string argument.
2598 2004-08-16 José Matos <jamatos@lyx.org>
2600 * ParagraphParameters.C (write):
2601 * Spacing.C (writeFile):
2602 * bufferparams.C (writeLaTeX):
2603 * lyx_cb.C (Reconfigure):
2604 * paragraph.C (write):
2605 * tabular.C (write): remove unnecessary space at end of line.
2608 2004-08-16 José Matos <jamatos@lyx.org>
2610 * text.C (readParagraph): remove debug message.
2612 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2614 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2617 * output_plaintext.C (asciiParagraph): set depth correctly
2619 * outputparams.h: add member depth
2621 * paragraph_funcs.C (ownerPar): remove.
2623 * text2.C (setCounter): remove first_pit; comment out some
2624 non-working code that uses ownerPar
2626 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2629 2004-08-16 José Matos <jamatos@lyx.org>
2631 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2632 For the same level of importance use the same chanel to report problems.
2633 (read): add code to deal with \begin_body and \end_body.
2636 2004-08-15 José Matos <jamatos@lyx.org>
2638 * lyxlex.C (getString): fix comment, buffer::readBody is now
2639 buffer:readDocument.
2641 * tex-strings.C (string_papersize): Default -> default,
2642 Custom -> custom, for consistency with other options.
2644 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2648 * Makefile.am: support pch
2650 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2652 * text.C (readParToken): remove the static LyXFont variable and
2653 pass it as a parameter instead. This fixes a nasty bug where an
2654 inset will be inserted with a bad font in some situations
2655 (readParagraph): adapt
2657 * text2.C (setCounter): reduce number of calls to pars_[pit]
2659 * text.C (singleWidth): add an assert, fix a test
2661 * rowpainter.C (paintText): reduce number of calls to singleWidth
2663 * paragraph.C (isHfill):
2664 (isNewline): ws only
2666 2004-08-14 André Pönitz <poenitz@gmx.net>
2671 * lyxtext.h (several functions): use a Paragraph & argument
2674 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2676 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2678 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2680 * text.C (singleWidth): remove useless test
2682 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2684 * tabular.h: remove bogus comments
2686 * tabular.C (getDescentOfRow):
2687 (isPartOfMultiColumn): add assertions
2689 * lyxlength.C (inPixels): remove #warning
2691 2004-08-14 André Pönitz <poenitz@gmx.net>
2693 * paragraph.h: inline getChar()
2695 * BufferView.h: remove unused declarations
2697 2004-08-14 José Matos <jamatos@lyx.org>
2699 * Buffer.[Ch] (readDocument): new name for old readBody.
2700 * Buffer.C: new file format, new keywords: \begin_document,
2701 \begin_header, \begin_body, \end_body.
2703 * bufferparams.C (readToken): replace all calls to lex.nextToken
2704 by lex.next(). Do the same to eatLine except where really needed.
2706 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2707 line when writing to the lyx file.
2709 * output_plaintext.C (asciiParagraph): fix Bibliography style
2712 * text.C (read): fix end of file handling.
2714 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2716 * MenuBackend.C (Menu::operator[]): new method to access
2717 individual menu items
2718 (Menu::hasFunc): new method. search for an item that corresponds
2720 (MenuBackend::specialMenu): new method
2721 (MenuBackend::expand): if a special menu has been set, skip
2722 entries whose func() appears in this menu
2724 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2726 * text3.C: use Debug::DEBUG a bit more
2728 * text.C (leftMargin): try to simplify a tiny bit change var x to
2729 l_margin. Dont output the wide margins always.
2730 (rightMargin): no margin in inner texts
2732 * rowpainter.h (nestMargin): new func
2733 (changebarMargin): new func
2734 (rightMargin): new func
2736 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2740 * factory.C (createInset): modify setDrawFrame
2742 * cursor.C: use Debug::DEBUG a bit more
2744 2004-08-14 André Pönitz <poenitz@gmx.net>
2747 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2748 cache for all insets in (at least partially) visible (top-level)
2751 * BufferView_pimpl.C: reset external coord cache before every update.
2752 This means the coord cache only contains valid entries.
2754 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2757 * BufferView_pimpl.C (getInsetByCode): move function out of class
2758 and change in to a template in anon namespace. Also fix to do what
2761 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2764 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2766 (breakParagraph): rename par to par_offset and use a local
2767 reference. Add code to keep the language over a rebreak.
2768 (breakParagraphConservative): rename par to par_offset, use a
2770 (mergeParagraph): ditto
2772 (isFirstInSequence): ditto
2773 (outerFont): rename pit to par_offset
2775 * paragraph.C: ws change
2776 * paragraph.h: ditto
2780 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2782 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2785 * paragraph.C (simpleTeXOnePar): when we have a \item with
2786 optional argument, enclose the argument with curly brackets (in
2787 case it contains a closing square bracket)
2791 * text3.C (checkInsetHit): constify
2793 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2795 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2796 documents (bug 1629)
2798 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2800 Fix toggling of collapsable insets with the mouse (bug 1558)
2802 * lyxfunc.C (dispatch): adapt to LCursor changes
2804 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2805 make sure that dispatch is not invoked twice
2807 * cursor.C (needsUpdate): new method
2808 (dispatch): return void
2809 (result): new method, to access the DispatchResult of the cursor.
2811 2004-08-13 José Matos <jamatos@lyx.org>
2813 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2815 2004-08-13 André Pönitz <poenitz@gmx.net>
2817 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2819 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2822 2004-08-12 André Pönitz <poenitz@gmx.net>
2824 * text3.C: take out the 'cursor right' form insertInset and only
2825 do it in those places when it is really needed. Fixes crash on
2828 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2830 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2832 * BufferView_pimpl.C (setBuffer): initialize the current font of
2833 the underlying LyXText
2835 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2837 * kbsequence.C (print): use UI native formatting for menu
2840 * text.C (insertChar): call Paragraph::insertChar with a font
2843 * paragraph.C (insertInset, insertChar): the version that takes a
2844 LyXFont argument is now a wrapper around the other one (the
2845 opposite used to be true).
2847 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2848 argument. Font setting is done in Paragraph now.
2850 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2852 * outputparams.h: add new members intitle and lang.
2854 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2855 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2857 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2859 * text3.C (dispatch): remove special handling of button 4 and 5,
2860 it is now taken care of in the frontend code.
2862 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2864 * Spacing.h: add <string> (STLPort compile fix)
2866 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2868 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2870 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2872 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2875 * converter.C (showMessage): inherit from unary_function, make
2878 * buffer.C (writeFile): initialize retval
2880 * InsetList.h: rename private variable list to list_
2881 * InsetList.[Ch]: adjust accordingly.
2883 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2885 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2886 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2887 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2888 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2889 * ParagraphParameters.C, LaTeXFeatures.C: replace
2890 "support/std_sstream.h" with <sstream>
2892 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2894 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2895 * lyxsocket.C (LyXServerSocket): ditto
2896 (serverCallback): ditto
2898 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2900 * LaTeXFeatures.C: check release date when loading jurabib.
2902 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2904 * lyxserver.C (startPipe): call register_socket_callback
2905 (endPipe): call unregister_socket_callback
2907 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2909 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2910 (LyXServerSocket): register the callback
2911 (LyXServerSocket): unregister the callback
2912 (fd): delete function
2913 (serverCallback): improve error checking and setup the callbacks.
2914 (dataCallback): change arg to fd.
2915 (writeln): new func (copied fro the client socket) used for server
2917 (LyXDataSocket): simplify
2918 (~LyXDataSocket): close ann unregiser callback
2919 (server): delete function
2920 (fd): delete function
2921 (readln): small changes, improve some std::string usage
2922 (writeln): constify a bit
2924 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2926 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2929 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2931 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2932 after it has been populated
2934 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2936 * text2.C (insertInset): move cursor when inserting inset.
2938 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2940 * kbmap.C (findbindings): a couple of new methods. returns a
2941 container of kb_sequence objects. The real work is done by the
2942 private recursive version
2943 (printbindings): uses findbindings to print out a bracketed list
2944 of bindings (renamed from findbinding).
2946 * MenuBackend.C (binding): use kb_keymap::findbindings
2948 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2950 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2952 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2954 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2956 * paragraph.C (isWord): return true on insets that report
2959 * text.C (getWord): use Paragraph::isWord to decide what is in a
2960 word and what is not; fix bug 1609.
2962 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2964 * tex-strings.C: add "none" to string_paperpackages[], fixes
2965 off-by-one-error in the paperpackage selection.
2968 * tex-strings.[Ch]: char const * string[n]
2969 -> char const * const string[]
2971 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2973 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2974 command, return early.
2976 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2978 * debug.h: add DEBUG to enum and fix size of ANY.
2980 * debug.C: add support for Debug::DEBUG
2981 (showTags): cast errorTags.level to unsigned int
2983 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2984 (redoCurrentBuffer): ditto
2985 (updateScrollbar): ditto
2986 * cursor.C (dispatch): ditto
2987 * text2.C (setLayout): ditto
2989 (updateCounters): ditto
2991 (deleteEmptyParagraphMechanism): ditto
2993 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2995 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2996 annotations to cleanup the Makefile slightly.
2998 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3000 * lyxrc.C: do not set user_email to a default value but use empty
3001 instead. The entry used to be translated, which does not work
3002 since at the point where lyxrc is constructed there is no
3003 translation service available
3005 * messages.C (getLocaleDir): remove and use directly
3006 lyx_localedir() instead
3008 2004-06-02 Angus Leeming <leeming@lyx.org>
3010 Fix crash caused by dereferencing null pointer 'exportdata' in
3011 OutputParams by creating a new ExportData variable on the heap,
3012 storing it in a boost::shared_ptr.
3013 The crash was triggered when generating an Instant Preview
3014 of an external inset.
3016 * Makefile.am: add outputparams.C
3018 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3019 (c-tor): allocate memory to it.
3021 * exporter.C (c-tor): associated changes.
3023 2004-06-01 Angus Leeming <leeming@lyx.org>
3025 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3026 contains data before calling isInset(0). (Bug 1513.)
3028 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3030 * exporter.C (checkOverwrite): new method
3031 * exporter.C (copyFile): new method
3032 * exporter.C (Export): copy referenced files to the document dir
3033 * exporter.[Ch]: new class ExportedFile
3034 * exporter.[Ch]: new class ExportData. Contains currently the
3035 names of referenced external files
3036 * outputparams.h: add exportdata member.
3038 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3040 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3043 2004-05-19 Angus Leeming <leeming@lyx.org>
3048 * lyxfunc.C: small changes due to the introduction of namespace
3049 lyx::frontend and the moving of namespace biblio to lyx::biblio.
3051 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
3053 * text3.C (dispatch): supress update when only moving the cursor
3054 * cursor.C (selHandle): remove commented code
3056 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3058 * paragraph.C (startTeXParParams): correct column count
3059 * CutAndPaste.C (pasteSelection): remove const_cast
3060 * output_docbook.C (docbookParagraphs): remove const_cast
3061 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3062 const_cast and return ParagraphList::const_iterator
3063 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3064 * output_plaintext.C (writeFileAscii): remove const_cast
3065 * paragraph.[Ch] (simpleTeXOnePar): make const
3066 * paragraph_funcs.C (outerPar): use const iterators
3067 * paragraph_pimpl.C (validate): use const iterators
3068 * text.C (setHeightOfRow): use const iterators
3070 2004-05-17 Angus Leeming <leeming@lyx.org>
3073 * LyXAction.C (init): new LFUN_INSET_REFRESH.
3075 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3076 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3077 if the citation engine has changed.
3079 2004-05-14 José Matos <jamatos@lyx.org>
3081 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3082 if the textclass does not provide it. Have it different for sgml and
3084 support the language of document.
3085 * output_docbook.C (docbookParagraphs):
3086 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3087 first anchor as the id of the paragraph, remove special case code.
3088 * sgml.C (escapeChar): escape only < & >.
3090 2004-05-14 Angus Leeming <leeming@lyx.org>
3092 * bufferparams.h: move biblio::CiteEngine enum here to minimize
3093 dependencies on src/frontends/controllers/biblio.h. Define a
3094 CiteEngine_enum wrapper class to enable the enum to be forward
3097 2004-05-12 Angus Leeming <leeming@lyx.org>
3099 * buffer.C: up LYX_FORMAT to 234.
3100 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3101 use_numerical_citations with a single biblio::CiteEngine cite_engine
3103 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3105 2004-05-13 José Matos <jamatos@lyx.org>
3108 * converter.C (Converter, readFlags): add xml member.
3109 * outputparams.h: add XML flavor.
3110 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3112 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3114 * lyxfunc.C (dispatch):
3115 (getStatus): fix handling of LFUN_SEQUENCE
3117 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3119 * debug.C (showLevel): do not forget the end-of-line marker
3121 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3123 * kbmap.C (read): do not stop parsing a bind file when an error
3126 2004-04-29 Angus Leeming <leeming@lyx.org>
3131 * text2.C: wrap a bunch of #warning statements
3132 inside #ifdef WITH_WARNINGS blocks.
3134 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3136 * buffer.C: increment format to 233.
3138 2004-04-28 Angus Leeming <leeming@lyx.org>
3140 * BufferView_pimpl.C:
3143 s/updateToolbar()/updateToolbars()/
3144 s/Toolbar.h/Toolbars.h/
3146 2004-04-28 Angus Leeming <leeming@lyx.org>
3148 * BufferView.[Ch] (c-tor):
3149 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3150 No longer passes these data to the WorkArea generator.
3152 2004-04-28 Angus Leeming <leeming@lyx.org>
3154 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3156 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3158 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3160 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3162 * output_latex.C (TeXEnvironment): make sure that there is a line
3163 break before \end{foo} for the last paragraph of a document
3164 (TeXOnePar): if the paragraph is at the end of the document (or
3165 inset) and the language has to be reset, then make sure that the
3166 line break is _before_ the language command, not after (fixes bug
3167 1225); also make sure that the language reset command is the first
3168 thing after the paragraph (to ensure proper nesting of
3169 environments and thus fix bug 1404)
3171 2004-04-21 John Levon <levon@movementarian.org>
3174 * ToolbarBackend.C: make "name" be a programmatic name
3175 and a gui_name field.
3177 * lyxfunc.C: display the minibuffer on M-x
3179 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3181 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3184 2004-04-19 Angus Leeming <leeming@lyx.org>
3186 * BufferView_pimpl.C (setBuffer): changed preview interface.
3188 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3191 2004-04-19 John Levon <levon@movementarian.org>
3193 * BufferView_pimpl.C:
3194 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3196 2004-04-05 Angus Leeming <leeming@lyx.org>
3198 * text.C (redoParagraphs): add call to updateCounters(), thereby
3199 fixing the missing "Figure #:" label from the caption of a
3202 2004-04-13 Angus Leeming <leeming@lyx.org>
3204 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3205 cursor is clicked out of an inset.
3207 2004-04-13 Angus Leeming <leeming@lyx.org>
3209 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3210 than an InsetOld one.
3212 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3214 * format.[Ch]: add editor to Format
3215 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3216 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3218 2004-04-08 André Pönitz <poenitz@gmx.net>
3220 * metricsinfo.h: remove PainterInfo::width member
3222 2004-04-08 Angus Leeming <leeming@lyx.org>
3224 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3225 "\providecommand" rather than "\newcommand", thereby preventing
3226 clashes with packages that define "\boldsymbol" themselves.
3229 2004-04-08 Angus Leeming <leeming@lyx.org>
3231 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3232 thereby squashing an unnecessary warning.
3234 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3236 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3239 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3241 * BufferView.C (setCursor): call redoParagraph (some insets could
3243 (putSelectionAt): remove the 'double update' trick
3245 * BufferView_pimpl.C (fitCursor): call refreshPar
3246 (workAreaDispatch): remove an uneeded update call
3247 (dispatch): remove some manual update calls
3249 * cursor.[Ch]: remove cached_y_, updatePos
3250 (selHandle): set noUpdate when appropriate
3252 * lyxfunc.C (dispatch): track if we need an update
3254 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3256 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3257 (paintSelection): cheap optimization, do not call cursorX when not
3259 (paintPars): change signature
3262 (paintTextInset): adjust
3266 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3268 * lengthcommon.C: compilation fix: remove explicit array size from
3269 unit_name[] and friends
3271 2004-04-05 Angus Leeming <leeming@lyx.org>
3273 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3275 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3276 present only for the preferences dialog.
3277 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3279 2004-04-05 Angus Leeming <leeming@lyx.org>
3281 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3282 to enable the frontends to export changes to lyxrc correctly.
3284 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3286 2004-04-07 André Pönitz <poenitz@gmx.net>
3288 * cursor.[Ch] (selClear, adjust): remove math
3290 * cursor_slice.C: more agressive assert
3293 * BufferView_pimpl.C: rework mouse event dispatch
3300 2004-04-05 André Pönitz <poenitz@gmx.net>
3302 * cursor.[Ch] (valign, halign...): remove unneeded functions
3304 2004-04-05 Angus Leeming <leeming@lyx.org>
3306 * lyxlength.[Ch] (unit_name et al.): const-correct.
3308 2004-04-05 Angus Leeming <leeming@lyx.org>
3310 * BufferView_pimpl.C:
3319 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3321 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3323 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3325 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3327 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3328 * BufferView_pimpl.[Ch] (getStatus)
3329 * BufferView.[Ch] (getStatus): add
3330 * lyxfunc.C (getStatus): move lfuns handled in
3331 BufferView::dispatch to te function above
3332 * Cursor.C (setSelection): set selection() = true
3334 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3336 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3338 2004-03-31 Angus Leeming <leeming@lyx.org>
3340 * lyxfunc.C (dispatch): Fall through to the generic
3341 Dialogs::show("preamble").
3343 2004-03-31 Angus Leeming <leeming@lyx.org>
3345 * lyxfunc.C (dispatch): Fall through to the generic
3346 Dialogs::show("spellchecker").
3348 2004-03-31 Angus Leeming <leeming@lyx.org>
3350 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3353 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3358 * insetiterator.[Ch]:
3363 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3365 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3367 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3368 insets where we are putting the cursor.
3370 2004-03-31 Angus Leeming <leeming@lyx.org>
3373 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3375 * lyxrc.[Ch] (read, write): overloaded member functions taking
3376 a std::[io]stream arguments.
3378 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3380 2004-03-31 Angus Leeming <leeming@lyx.org>
3382 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3383 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3385 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3386 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3388 2004-03-31 Angus Leeming <leeming@lyx.org>
3390 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3391 the LFUN_ALL_INSETS_TOGGLE code.
3393 2004-03-30 Angus Leeming <leeming@lyx.org>
3395 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3396 has died. Fall through to the generic Dialogs::show("document").
3398 2004-03-30 Angus Leeming <leeming@lyx.org>
3401 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3402 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3404 * lyxfunc.C (getStatus, dispatch): define the actions for these
3405 lfuns. Little more than a cut and pste job from ControlDocument.C
3407 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3409 2004-03-30 Angus Leeming <leeming@lyx.org>
3412 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3413 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3415 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3416 open/closed state of ollapsable insets. Usage:
3418 all-inset-toggle <state> <name>, where
3419 <state> == "open" || "closed" || "toggle" and
3420 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3422 * lyxtext.h, text2.C (toggleInset): removed.
3424 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3425 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3426 now passes LFUN_INSET_TOGGLE to the found inset.
3428 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3429 is now invoked as "all-insets-toggle toggle branch".
3431 2004-03-30 Angus Leeming <leeming@lyx.org>
3435 * pariterator.[Ch]: added/corrected header blurb.
3437 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3439 * dociterator.[Ch]: add an inset_ member
3440 (backwardPos): implemented
3441 (backwardPos, forwardPos): use inset_ when the stack is empty.
3442 (doc_iterator_begin, doc_iterator_end): implemented
3443 * pariterator.[Ch]: adjust, add begin, end
3444 * insetiterator.[Ch]: adjust, add begin, end
3448 * BufferView_pimpl.C:
3449 * CutAndPaste.C: adjust
3451 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3453 * buffer.C: increment file format to 232.
3454 * LaTeXFeatures.C: add bibtopic package.
3455 * bufferparams.[Ch]: param \use_bibtopic.
3457 * lyxrc.[Ch]: add lyxrc bibtex_command
3458 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3460 * buffer.C: increment file format to 231.
3462 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3464 * dociterator.C: implement forwardPar
3465 * iterators.[Ch]: remove, replaced by
3466 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3468 * BufferView_pimpl.C:
3471 * bufferview_funcs.C:
3477 * Makefile.am: adjust
3479 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3481 * CutAndPaste.C (pasteSelection): fix 2 crashes
3482 (eraseSelection): fix a crash
3483 * paragraph_funcs.C: remove a warning
3485 2004-03-28 Angus Leeming <leeming@lyx.org>
3488 * LyXAction.C (init): new LFUN_PRINT.
3490 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3492 2004-03-27 Angus Leeming <leeming@lyx.org>
3495 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3497 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3499 2004-03-27 Angus Leeming <leeming@lyx.org>
3501 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3502 insetlist always contains non-null pointers to insets.
3504 2004-03-26 Angus Leeming <leeming@lyx.org>
3506 * src/BufferView_pimpl.C:
3507 * src/CutAndPaste.C:
3510 * src/output_plaintext.C:
3511 * src/outputparams.h:
3512 * src/paragraph_funcs.C:
3516 * src/frontends/controllers/ControlErrorList.C:
3517 * src/frontends/gtk/FileDialogPrivate.C:
3518 * src/frontends/gtk/GPainter.C:
3519 * src/frontends/gtk/GToolbar.C:
3520 * src/frontends/qt2/QRef.C:
3521 * src/mathed/math_scriptinset.C: squash compiler warnings.
3523 2004-03-26 Angus Leeming <leeming@lyx.org>
3525 * ispell.C (LaunchIspell::start):
3526 * lyx_cb.C (AutoSaveBuffer::start):
3527 invoke run(DontWait) rather than runNonBlocking().
3529 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3531 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3533 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3535 * kbsequence.C (print): adjust
3537 * kbmap.C (printKeySym): rename and change signature
3538 (printKey): use LyXKeySym::print()
3540 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3542 * undo.C: add using std::advance to compile for stlport
3544 2004-03-24 Angus Leeming <leeming@lyx.org>
3546 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3547 it leads to a crash when no buffer is present.
3549 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3550 Martin Vermeer <martin.vermeer@hut.fi>
3552 * lyxfunc.C (dispatch):
3553 * bufferparams.C (readToken): use the new LColor::setColor
3555 * LColor.[Ch] (setColor): new version that takes two strings as
3556 argument and creates a new color entry if necessary
3558 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3560 * buffer.C (makeLaTeXFile): if the main latex file that is
3561 processed is usually a subdocument of some master, then pretend
3562 for a while that it is actually the master
3564 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3566 * buffer.C (getLabelList):
3567 (getBibkeyList): use getMasterBuffer()
3568 (getMasterBuffer): new method. Returns the main document in the
3569 case where one is using included documents.
3571 2004-03-25 André Pönitz <poenitz@gmx.net>
3575 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3577 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3579 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3580 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3582 * ParameterStruct.h: merge with ParagraphParameters
3584 * lyxtext.h: remove LyXText::parOffset() and getPar()
3586 * text3.C: Remove all 'manual' update calls. We do now one per user
3587 interaction which is completely sufficient.
3591 * BufferView_pimpl.C:
3592 * FontIterator.[Ch]:
3594 * ParagraphParameters.[Ch]:
3599 * cursor_slice.[Ch]:
3606 * output_docbook.[Ch]:
3607 * output_latex.[Ch]:
3608 * output_linuxdoc.[Ch]:
3609 * output_plaintext.[Ch]:
3611 * paragraph_funcs.[Ch]:
3612 * paragraph_pimpl.[Ch]:
3620 * frontends/controllers/ControlDocument.C:
3621 * frontends/controllers/ControlErrorList.C:
3622 * frontends/controllers/ControlSpellchecker.C:
3625 * insets/insetbase.h:
3626 * insets/insetbibitem.C:
3627 * insets/insetbox.C:
3628 * insets/insetbranch.C:
3629 * insets/insetcaption.C:
3630 * insets/insetcharstyle.C:
3631 * insets/insetcharstyle.h:
3632 * insets/insetcollapsable.C:
3633 * insets/insetcollapsable.h:
3634 * insets/insetert.C:
3635 * insets/insetfloat.C:
3636 * insets/insetfoot.C:
3637 * insets/insetmarginal.C:
3638 * insets/insetnote.C:
3639 * insets/insetoptarg.C:
3640 * insets/insettabular.C:
3641 * insets/insettext.C:
3642 * insets/insettext.h:
3643 * insets/insetwrap.C:
3644 * mathed/math_mboxinset.C:
3645 * mathed/math_nestinset.C:
3646 * mathed/math_scriptinset.C:
3647 * mathed/math_scriptinset.h:
3650 2004-03-24 Angus Leeming <leeming@lyx.org>
3652 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3653 deal with any child processes that have finished but are waiting to
3654 communicate this fact to the rest of LyX.
3656 2004-03-24 Angus Leeming <leeming@lyx.org>
3658 64-bit compile fixes.
3660 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3661 (c-tor): pass lyx::pos_types rather than ints.
3663 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3666 * text.C (Delete): compile fix.
3667 (getPar): ensure that function declaration is the same as that in
3670 2004-03-23 Angus Leeming <leeming@lyx.org>
3672 * ispell.C (LaunchIspell):
3673 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3674 a boost::shred_ptr rather than a std::auto_ptr.
3676 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3678 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3679 handle LFUN_FILE_INSERT_*
3681 * lyxrc.C (setDefaults, getDescription, output, read):
3682 * lyxrc.h: remove ps_command
3684 2004-03-22 Angus Leeming <leeming@lyx.org>
3686 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3687 Ensure that error_handler is processed once only and that all data
3688 is saved before attempting to output any warning messages.
3690 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3692 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3694 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3696 2004-03-19 André Pönitz <poenitz@gmx.net>
3698 * cursor.[Ch] (reset): take main text inset as argument
3700 * BufferView: adjust
3701 * BufferView_pimpl.C: adjust
3703 * paragraph.[Ch]: fix completely broken operator=()
3705 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3707 * LColor.C (getFromLyXName): make sure that the color name is used
3710 2004-03-17 Angus Leeming <leeming@lyx.org>
3713 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3715 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3716 dialog and to kill a forked process.
3718 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3720 * text2.C (setCursorFromCoordinates): fix font problem
3722 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3724 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3725 bogus "rebuild cursor" code
3727 2004-03-11 André Pönitz <poenitz@gmx.net>
3729 * buffer.[Ch]: use InsetText instead of LyXText as container for
3732 * dociterator.[Ch]: drop the BufferView * member which is not needed
3733 anymore after the change to buffer.C
3735 * paragraph_funcs.C:
3739 * BufferView_pimpl.[Ch]:
3741 * cursor_slice.[Ch]: adjust
3743 * text3.C: fix bug in mathDispatch
3745 2004-03-08 André Pönitz <poenitz@gmx.net>
3747 * undo.[Ch]: use 'StableDocumentIterator' as base for
3750 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3753 * bufferparams.[Ch]: add jurabib support and param.
3755 * LaTeX.C: add FIXME/comment.
3757 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3759 * buffer.C: increment file format to 230.
3761 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3763 * cursor.C (dispatch): avoid infinite loops
3765 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3767 * rowpainter.C (paintSelection): fix x coordinates
3769 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3771 * text.C (rowBreakPoint): fix breaking before displayed insets
3773 2004-03-01 André Pönitz <poenitz@gmx.net>
3775 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3777 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3781 * BufferView_pimpl.C:
3789 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3795 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3796 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3798 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3800 * Bidi.[Ch] (computeTables): const correctness
3801 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3802 fill_hfill, fill_label_hfill and x from Row
3803 * lyxtext.h: prepareToPrint returns a RowMetrics
3804 * rowPainter.C: adjust
3805 * text.C (prepareToPrint): use width, not textWidth. adjust
3806 (redoParagraphInternal, cursorX): adjust
3807 * text2.C (getColumnNearX): adjust
3808 (init): put a default value to the top LyXText::width
3810 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3812 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3814 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3816 * lyxtext.h: add FontIterator class
3818 * text.C (FontIterator, operator*, operator->, operator++): add
3819 (rowBreakPoint, setRowWidth): adjust (fixing a
3822 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3824 * BufferView_pimpl.C (workAreaDispatch): allow also
3825 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3827 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3829 * text.C (rowBreakPoint): fix a bug showing with very large insets
3831 2004-02-25 André Pönitz <poenitz@gmx.net>
3834 * cursor.[Ch]: move some mathed specific code to mathed
3836 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3838 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3839 use_tempdir in preferences
3840 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3842 * lyx_main.C: ensure that tempdir is valid
3843 * lyxlex.h: correct typo
3844 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3845 * paragraph.[Ch] (isMultiLingual): make const
3846 * cursor.[Ch] (openable): make const
3848 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3850 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3852 2004-02-20 André Pönitz <poenitz@gmx.net>
3854 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3856 * cursor.[Ch]: prepare for localized getStatus()
3862 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3864 2004-02-20 André Pönitz <poenitz@gmx.net>
3866 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3868 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3870 * text2.C (setCursorFromCoordinates): switch to absolute coords
3872 (cursorDown): adjust
3873 * text3.C (dispatch): adjust
3875 2004-02-16 André Pönitz <poenitz@gmx.net>
3877 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3880 * cursor_slice.[Ch]: remove unneeded acessor function
3882 * lyxtext.h: rename rtl() to isRTL()
3890 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3892 * rowpainter.C (paintSelection): coord fix
3894 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3896 * Spacing.C: compile fix
3898 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3900 * cursor.C (dispatch): restore current_ before returning
3902 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3904 * text2.C (cursorUp, cursorDown): fix coords
3907 2004-02-12 André Pönitz <poenitz@gmx.net>
3912 * text3.C: add LCursor & parameter to most cursor movement functions
3913 remove usage of LyXText::cursorRow() and cursorPar()
3915 * cursor.[Ch]: add textRow() needed members
3918 * BufferView_pimpl.C:
3921 * BufferView_pimpl.C: adjust
3923 2004-02-11 André Pönitz <poenitz@gmx.net>
3927 * BufferView_pimpl.C: shift undo/redo handling
3929 * cursor.[Ch]: fix mathed crash
3932 * lyxtext.h: move selectionAsText to LCursor
3940 * rowpainter.C: fix excessive drawing
3942 2004-02-06 André Pönitz <poenitz@gmx.net>
3945 * BufferView_pimpl.[Ch]:
3946 * text3.C: move some text specific LFUN handling
3948 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3950 * text3.C (checkInsetHit): adjust coords
3951 * text2.C (getColumnNearX): adjust coords
3952 (edit): adjust coords
3953 * text.C (getRowNearY): add two asserts
3955 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3958 * format.C: add using std::distance to compile on gcc 2.95/stlport
3960 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3962 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3964 2004-02-04 André Pönitz <poenitz@gmx.net>
3966 * BufferView.[Ch] (insertInset):
3967 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3972 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3974 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3975 on the default clause of the switch
3976 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3977 wasn't catched by LCursor::dispatch
3979 2004-02-03 André Pönitz <poenitz@gmx.net>
3982 * cursor.[Ch]: some additional asserts
3984 * undo.[Ch]: remove LyXText dependency in interface
3988 * lyxtext.h (firstPar, lastPar): remove dead functions
3993 * paragraph.[Ch]: adjust
3995 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3997 * lyxfind.C (find): fix argument order in call to ::find
3999 2004-02-02 André Pönitz <poenitz@gmx.net>
4001 * cursor.[Ch]: remove direct access to anchor
4003 * text.C: remove findText() hack
4005 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4007 * iterators.[Ch] (lockPath): remove in favour of...
4008 * BufferView.[Ch] (setCursor): this addition
4009 * BufferView.C (putSelectionAt): adjust
4010 * undo.C (performUndoOrRedo): adjust
4011 * lyxfunc.C (dispatch): adjust
4013 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4015 * iterators.C (lockPath): add a missing slice
4016 * undo.C (performUndoOrRedo): remove redundant positioning code
4018 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4020 * vc-backend.C (scanMaster): ";" -> ';'
4022 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4024 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4025 std::binary_function
4027 * lyxtextclass.C (compare_name): rename to...
4028 (LayoutNamesEqual): ...this
4030 * lyxlex_pimpl.C (compare_tags): inherit from
4031 std::binary_function, put back into anon namespace
4033 * lyxfind.C (MatchString): inherig from std::binary_function
4034 (findChange): use empty() istead of !size()
4036 * format.C (FormatNamesEqual): new functor
4043 * converter.C (compare_Converter): rename to...
4044 (ConverterEqual): ...this, and fixup a bit.
4045 (getConverter): use it, and make function const
4046 (getNumber): use it, and make function const
4050 * bufferlist.C: add using boost::bind
4052 * MenuBackend.C (MenuNamesEqual): new functor
4053 (hasMenu): use it, and make function const
4054 (hasSubmenu): use nested bind to get rid of compare_memfun.
4056 2004-01-30 André Pönitz <poenitz@gmx.net>
4058 * BufferView_pimpl.C:
4061 * cursor_slice.[Ch]:
4064 * paragraph_funcs.C:
4065 * paragraph_funcs.h:
4069 * text3.C: move some of the edit(x,y) handling to the insets
4070 some coordinate changes.
4072 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4074 * text.C: add using statements for std::advance and std::distance
4076 * paragraph.C: add using statement for std::distance
4078 * lyxfind.C: add using statement for std::advance
4080 * cursor.C (region): remove std:: from swap
4081 (openable): use nucleus in stead of operator->
4083 * BufferView.C: add using statements for std::distance and std::swap
4085 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4087 * iterators.C: Remove the pimple, move the needed structures to
4088 the header file. Create accessor for the positions stack.
4089 (asPosIterator): remove function
4091 * PosIterator.C (PosIterator): move constructors to top of file
4092 (PosIterator): reimplement the constructor taking a ParIterator in
4094 (setFrom): new function
4095 (operator!=): inline it
4097 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4099 * lyxfind.C (replaceAll): use std::advance
4101 * iterators.h: inherit from std::iterator.
4103 * PosIterator.C (advance, distance): remove
4104 * PosIterator.h: interit from std::iterator.
4106 2004-01-26 André Pönitz <poenitz@gmx.net>
4109 * BufferView_pimpl.[Ch]:
4113 * bufferview_funcs.C:
4123 * output_linuxdoc.C:
4124 * output_plaintext.C:
4126 * paragraph_funcs.[Ch]:
4127 * paragraph_pimpl.[Ch]:
4133 * text3.C: more IU: dumps most of the rest of the mathcursor
4134 implementation into cursor.[Ch]; "globalize" a bit of it.
4136 2004-01-25 Angus Leeming <leeming@lyx.org>
4138 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4140 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4142 * LaTeXFeatures.h: add nice_ and nice() const
4143 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4145 2004-01-20 André Pönitz <poenitz@gmx.net>
4148 * BufferView_pimpl.C:
4150 * bufferview_funcs.C:
4152 * cursor_slice.[Ch]:
4163 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4164 LCursor and mathcursor parts to LCursor and InsetBase.
4166 2004-01-15 André Pönitz <poenitz@gmx.net>
4168 * cursor_slice.[Ch]: add a few covienience functions
4170 * funcrequest.[Ch]: remove BufferView * member
4172 * BufferView_pimpl.C:
4179 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4181 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4183 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4184 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4186 2004-01-13 André Pönitz <poenitz@gmx.net>
4189 * lyxtext.h: hide cursor and selection anchor behind accessor function
4192 * BufferView_pimpl.[Ch]:
4194 * bufferview_funcs.C:
4204 * cursor_slice.[Ch]: some integer type changes for inset unification
4206 * lyxcursor.[hC]: remove, it's CursorSlice now.
4209 * BufferView_pimpl.[Ch]:
4210 * bufferview_funcs.C:
4216 * textcursor.[Ch]: adjust
4218 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4220 * text2.C (undoSpan): add and use
4221 * text.C (breakParagraph): use undoSpan (fix bug 578)
4224 2004-01-08 Angus Leeming <leeming@lyx.org>
4226 * BufferView_pimpl.C (MenuInsertLyXFile):
4227 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4228 * lyxfunc.C (menuNew, open, doImport):
4229 FileFilterList change to the FileDialog open and save functions.
4231 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4233 * ShareContainer.h: make isEqual and isUnique adaptable
4235 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4237 2004-01-07 Angus Leeming <leeming@lyx.org>
4240 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4242 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4244 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4245 functions replacing find, replace and replaceAll.
4247 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4248 LFUN_WORDFIND(FORWARD|BACKWARD).
4250 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4252 * text.C (breakParagraph): remove an outdated #warning
4254 2004-01-07 André Pönitz <poenitz@gmx.net>
4256 * lyxfind.C: somewhat clearer logic
4258 * text.C: prevent crash in cursorX on unitialized row cache
4260 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4262 * lyxcursor.[Ch] (operator>): add
4263 * textcursor.C (selStart, selEnd): use std::min and std::max
4265 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4267 * Chktex.C: include boost/format.hpp
4269 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4271 * InsetList.C: replace functor MathcIt with adaptable functor
4273 (insetIterator): modify accordingly
4275 * BranchList.h: move the BranchNamesEqual functor here from...
4276 * BranchList.C: ... to here
4278 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4280 (add): replace a finding loop with std::find_if.
4282 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4284 * output_docbook.C: moving LatexParam functionality into
4287 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4289 * buffer.C: increment format to 229.
4291 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4294 * lyx_sty.[Ch]: remove minipageindent_def
4300 * text3.C: remove LFUN_INSET_MINIPAGE
4302 2003-12-28 Angus Leeming <leeming@lyx.org>
4304 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4306 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4308 * text2.C (setParagraph): fix off-by-one crash
4310 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4312 * output_docbook.C: header stuff for AGU
4314 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4316 * text2.C (redoCursor): remove
4319 * BufferView_pimpl.C: remove calls to redoCursor and
4320 setCursor(cursor.par(), cursor.pos()) all around
4322 2003-12-15 Angus Leeming <leeming@lyx.org>
4324 * buffer.C: up the format to 228.
4326 2003-12-15 André Pönitz <poenitz@gmx.net>
4328 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4333 * BufferView_pimpl.C:
4342 2003-12-15 Angus Leeming <leeming@lyx.org>
4344 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4345 than getFromGUIName to manipulate the color.
4347 2003-12-14 Angus Leeming <leeming@lyx.org>
4349 * BranchList.[Ch]: minimize the API.
4350 (Branch::getBranch, getColor): now return a 'const &'.
4351 (Branch::setSelected) now returns a bool set to true if the
4352 selection status changes.
4353 (BranchList::clear, size, getColor, setColor, setSelected,
4354 allBranches, allSelected, separator): removed.
4355 (BranchList::find): new functions, returning the Branch with
4357 (BranchList::add, remove): return a bool indicating that
4358 the operation was successful.
4360 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4361 new InsetBranch::isBranchSlected member function.
4363 * LColor.[Ch]: mimimize the API.
4364 (fill): renamed as addColor and made private.
4365 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4366 versions of these functions taking a string arg have been removed.
4368 * bufferparams.C (readToken):
4369 * lyxfunc.C (dispatch):
4370 * lyxrc.C (read): changes due to the altered BranchList and
4373 * factory.C (createInset, readInset): changes due to altered
4376 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4379 * lyxfunc.C: remove insetminipage. "minipage-insert"
4380 now produces a frameless minipage box inset.
4382 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4384 * textcursor.[Ch] (selStart,selEnd): add new methods
4385 remove selection::start, end, use LyXCursor::operator<
4386 * lyxcursor.[Ch] (operator<): add
4387 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4388 * BufferView.[Ch] (unsetXSel): add
4389 * text2.C (clearSelection): use unsetXSel,adjust
4392 * rowpainter.C: adjust
4393 * bufferview_funcs.C (put_selection_at): adjust
4395 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4397 * BufferView_pimpl.C: small coord. correction
4399 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4401 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4402 dragging over the splash screen.
4404 2003-12-11 Angus Leeming <leeming@lyx.org>
4406 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4407 as it is now handled in LyXText::dispatch.
4409 * text3.C (doInsertInset): remove a level of nesting.
4411 2003-12-11 Angus Leeming <leeming@lyx.org>
4413 * factory.C (createInset): changes due to the changed interface to
4414 InsetCommandMailer::string2params.
4416 2003-12-10 Angus Leeming <leeming@lyx.org>
4418 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4419 'dialog-show-new-inset <inset name>'
4421 2003-12-10 Angus Leeming <leeming@lyx.org>
4423 * buffer.C: up the format to 227.
4425 * factory.C: the box inset is now identified simply by 'Box'.
4427 2003-12-10 Angus Leeming <leeming@lyx.org>
4429 * buffer.C: up the format to 226.
4431 * factory.C: the note inset is now identified simply by 'Note'.
4433 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4435 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4436 when a pit is enough. Standarize a couple of loops.
4438 2003-12-05 Angus Leeming <leeming@lyx.org>
4440 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4441 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4442 data to the re-worked "log" dialog.
4444 2003-12-03 André Pönitz <poenitz@gmx.net>
4450 * paragraph_funcs.C:
4452 * text2.C: use Inset::getText instead of Inset::getParagraph
4454 2003-12-03 André Pönitz <poenitz@gmx.net>
4458 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4459 InsetText::read() as LyXText::read()
4461 2003-12-02 Angus Leeming <leeming@lyx.org>
4463 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4464 type. Add a comment in the implementation that the function uses
4465 the stream's bad() function rather than fail() as the std::streams
4468 2003-12-02 André Pönitz <poenitz@gmx.net>
4470 * lyxlex.[Ch]: make interface more similar to std::stream
4472 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4474 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4476 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4478 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4480 * vspace.[Ch]: remove VSpace::NONE
4482 2003-12-01 André Pönitz <poenitz@gmx.net>
4485 * lyxtext.h: move ParagraphList member to LyXText
4486 rename LyXText::ownerParagraphs to LyXText::paragraph
4489 * bufferview_funcs.C:
4499 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4501 * undo.C: fix cursor positioning
4503 2003-12-01 John Levon <levon@movementarian.org>
4505 * BufferView_pimpl.C: fix a crash on exit with
4508 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4510 * BranchList.C: fix setSelected() method.
4512 2003-11-28 André Pönitz <poenitz@gmx.net>
4514 * ParagraphParameters.[Ch]:
4515 * ParameterStruct.h: remove space above/below from Paragraph to
4518 * BufferView_pimpl.C:
4524 * paragraph_funcs.C:
4530 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4532 * factory.C: Syntax change for CharStyles
4534 2003-11-28 André Pönitz <poenitz@gmx.net>
4539 * buffer.[Ch]: move LyXText member
4541 2003-11-28 André Pönitz <poenitz@gmx.net>
4543 * BufferView.[Ch]: make LyXText * text a private member
4545 * BufferView_pimpl.C:
4556 * output_plaintext.C: cleanup
4558 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4561 * lyxtextclass.[Ch]: parametrize SGML document header
4563 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4566 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4569 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4571 * text2.C (setFont): rework using PosIterator (no more recursive)
4572 (setCharFont): no more needed
4573 (setLayout): no more selection cursors fiddling (done by redoCursor)
4574 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4575 destroy remaining ones)
4577 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4579 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4581 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4584 * text3.C: adjust + re-allow multi par depth changes
4585 * textcursor.C: simplify a bit
4587 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4593 * src/output_docbook.C:
4594 * src/output_latex.C:
4599 * src/text2.C: Introducing a number of tags parametrizing various
4600 XML formats that we may want to support
4602 2003-11-25 André Pönitz <poenitz@gmx.net>
4604 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4606 * lyxtext.h (leftMargin/rightMargin): simplify interface
4613 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4615 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4616 master file to any child files. Fixes bug 546.
4618 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4620 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4622 2003-11-24 André Pönitz <poenitz@gmx.net>
4624 * rowpainter.C: simplification
4626 * text2.C (updateCounters): remove call to redoParagraph on
4627 changed labels as this is far too expensive.
4629 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4631 * converter.C (convert): fix a crash: this function gets
4632 called with buffer == 0 from importer code.
4634 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4636 * text3.C (cursorPrevious): make sure that we do not compare
4637 iterators form different containers.
4640 * rowpainter.C (paintSelection): make sure that we do not compare
4641 iterators from different containers.
4643 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4644 iterators from different ParagraphList containers.
4647 * text2.C (LyXText): change order of initialization slightly
4648 (operator=): new function. copy all variables except cache_par_
4649 (moveUp): make sure that we do not compare iterators from
4650 different ParagraphList constainers.
4653 * text.C (firstPar): new function
4654 (lastPar): new function
4655 (endPar): new function
4657 * lyxtext.h: move things around and group public functions, public
4658 variables, private functions, private variables
4660 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4662 * factory.C: change call to InsetERT constructor to avoid
4663 additional invocation of method status
4664 * text2.C (toggleInset): remove redundant update() call
4665 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4666 instead of a Bufferview pointer
4668 2003-11-21 André Pönitz <poenitz@gmx.net>
4670 * rowpainter.C: simplification
4672 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4674 * text3.C (dispatch): make possible to extend a word/row selection
4677 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4679 * lyxtext.h: x0_,y0_ -> xo_,yo_
4680 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4681 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4682 * rowpainter.C (paintRows): paint full paragraphs
4684 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4686 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4689 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4691 * lyxtext.h: add x0_, y0_
4692 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4693 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4695 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4697 * text2.C (setCursorIntern): move the x_target update here *
4698 * text3.C: change some bv() to true/false in calls to
4699 cursorUp/Down/Right/Left
4700 * cursor.C: use helper function.
4702 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4704 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4705 * paragraph_funcs.[Ch]: correct comment
4706 * rowpainter.C: do not paint selections away from bv->cursor()
4707 Fix a long standing selection painting bug.
4708 * text3.C: generalize mouse-selection code to LyXTexts other that
4710 * textcursor.C: do not use y coords if we can use par offsets
4712 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4714 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4715 cursor position after e.g. inset insert)
4717 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4719 * lyxfind.C (replace): adjust to locking removal + some
4722 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4724 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4727 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4730 * output_docbook.C: XML sanitation: new layout
4731 parameters InnerTag and CommandDepth
4733 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4735 * BufferView_pimpl.C:
4737 * text3.C: Fix the insertion and modification of button-style
4740 2003-11-13 André Pönitz <poenitz@gmx.net>
4742 * InsetList.[Ch]: remove deleteLyXText
4744 * paragraph.[Ch]: cache beginOfBody position
4749 * text3.C: remove superfluous update() calls
4753 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4755 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4756 * BufferView.C (fitLockedInsetCursor): remove
4757 * cursor.[Ch] (getDim): add
4758 * text.C (getRowNearY): add faster version
4759 * text3.C: remove some update calls
4761 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4773 * text3.C: The Character Style /XML short element patch.
4775 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4778 * factory.C: Small step to solving 'unable to insert some insets'
4781 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4783 * cursor.[Ch] (updatePos): new function for updating the y
4784 position of the tip inset
4785 * bufferview_funcs.C (put_selection_at):
4786 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4788 2003-11-11 André Pönitz <poenitz@gmx.net>
4790 * text.C: remove big comment on invalid Paragraph pointers as it is
4793 2003-11-11 André Pönitz <poenitz@gmx.net>
4795 * text_funcs.[Ch]: merge with ...
4803 * Makefile.am: remove text_funcs.[Ch]
4805 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4807 * cursor.C (getPos): return absolute cached y coord
4809 * BufferView_pimpl.C (fitCursor): new simplistic code
4810 (workAreaDispatch): add a fitCursor call
4812 2003-11-10 André Pönitz <poenitz@gmx.net>
4815 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4817 2003-11-10 André Pönitz <poenitz@gmx.net>
4819 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4820 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4821 indicate that the cursor needs to leave an inset
4823 * lyxtext.h: remove inset locking
4825 * cursor.[Ch]: re-implement functionality provided by inset locking
4828 * BufferView_pimpl.[Ch]:
4830 * bufferview_funcs.[Ch]:
4842 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4844 * PosIterator.[Ch]: replace the stack with a vector, add inset
4846 * iterators.[C]: adjust
4848 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4850 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4852 * paragraph_funcs.C (readParToken): put the correct id in the
4853 error item, not the id of the top paragraph
4855 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4857 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4858 * bufferview_funcs.C (put_selection_at): use the above
4860 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4862 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4864 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4866 * output_linuxdoc.h:
4867 * output_plaintext.h:
4869 * output_docbook.h: add #include statements
4871 2003-11-05 José Matos <jamatos@lyx.org>
4873 * output_docbook.[Ch]:
4874 * output_latex.[Ch]:
4875 * output_linuxdoc.[Ch]:
4876 * output_plaintext.[Ch]: New files for output formats.
4877 * output.[Ch]: New file for helper functions.
4880 * paragraph_funcs.[Ch]: output functions moved to new files.
4882 * outputparams.h: rename of latexrunparams.h
4890 * paragraph_funcs.[Ch]:
4891 * paragraph_pimpl.[Ch]:
4892 * tabular.[Ch]: rename ascii to plaintext
4893 and LatexRunParams to OutputParams.
4895 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4897 * iterators.[Ch] (text): require bv argument
4898 * undo.C (recordUndo):
4899 * lyxfunc.C (dispatch):
4900 * bufferview_funcs.C (put_selection_at): adjust
4902 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4904 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4906 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4908 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4911 2003-11-04 André Pönitz <poenitz@gmx.net>
4913 * cursor.[Ch]: restructure
4916 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4918 * iterators.[Ch] (asCursor): remove
4920 * lfuns.h: remove LFUN_INSET_EDIT
4926 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4928 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4930 * lyxfind.[Ch]: complete overhaul
4931 * BufferView_pimpl.C:
4933 * paragraph.[Ch] (insert): add
4935 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4939 * text.C: remove dead spellcheck code
4941 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4943 * dispatchresult.h: add a val setter
4945 * cursor.C (dispatch): use a tempvar for data_[i]
4947 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4949 * PosIterator.[Ch]: compile fix
4951 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4953 * text.C (cursorPar): deactivate the cursor cache
4955 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4957 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4959 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4961 * text3.C (dispatch): adjust for new DisptchResult semantics.
4963 * lyxfunc.C (dispatch): handle update when return from
4964 Cursor::dispatch, adjust for new DispatchResult semantics.
4966 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4967 DispatchResult(true) mean to not update. Add class functions for
4968 setting dispatched and update, as well as reading.
4970 * cursor.C (dispatch): don't handle update here
4972 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4974 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4975 * trans_mgr.C: adjust
4977 * paragraph_funcs.C (readParToken): exception safety
4979 * lyxvc.h: store the vcs pointer in a scoped_ptr
4982 * lyxsocket.C (serverCallback): exception safety
4984 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4986 * ispell.C (clone): make it return a auto_ptr
4988 * factory.C (createInset): exception safety
4989 (readInset): exception safety
4991 * bufferlist.C (newBuffer): exception safety
4993 * Thesaurus.C (Thesaurus): use initialization for aik_
4995 * MenuBackend.C (expandToc): exception safety.
4997 2003-11-03 André Pönitz <poenitz@gmx.net>
5001 * bufferview_funcs.C: remove getInsetFromId()
5004 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5010 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5012 * PosIterator.C (distance, advance): new
5013 * bufferview_funcs.[Ch] (put_selection_at): new
5014 * iterators.[Ch] (lockPath): new
5016 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
5018 * iterators.[Ch] (asPosIterator): added
5019 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5020 * PosIterator.[Ch]: added
5022 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5026 * cursor.C (dispatch):
5027 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5029 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5030 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5031 contructor, add a class function dispatched. Remove operator>=
5033 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5035 * debug.C: only use the default constructor for debugstream
5038 * main.C (main): include debug.h and setup the lyxerr streambuf
5041 2003-10-31 José Matos <jamatos@lyx.org>
5043 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5045 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5046 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5047 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5048 * paragraph_pimpl.C (simpleTeXSpecialC):
5049 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5050 add LatexRunParams argument.
5052 * exporter.C (Export): change call accordingly.
5054 * latexrunparams.h: add new member to take care of the other backends.
5055 2003-10-30 José Matos <jamatos@lyx.org>
5057 * buffer.C (makeLinuxDocFile, makeDocBookFile):
5058 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5059 factorise code for paragraph output.
5061 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5064 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5066 * text3.C (dispatch):
5067 * lyxfunc.C (dispatch):
5068 * cursor.C (dispatch):
5069 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5071 * dispatchresult.h: make the dispatch_result_t ctor explicit
5073 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
5076 * buffer.C: small refactoring of docbook stuff
5078 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5080 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5083 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5085 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5086 operator dispatch_result_t, and operators for == != and >=
5088 * cursor.C (dispatch): adjust for operator dispatch_result_t
5089 removal. comment out call to update
5091 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5093 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5101 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5104 * dispatchresult.h: new file, DispatchResult broken out of
5107 * Makefile.am (lyx_SOURCES): add dispatchresult.h
5109 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5111 * text.C (rowBreakPoint): put a hack inside #if 0
5113 2003-10-28 André Pönitz <poenitz@gmx.net>
5117 * paragraph_funcs.C:
5120 * text2.C: general cleanup (lots of small stuff)
5122 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5124 * text2.C (cursorEnd): simple fix to the "end key goes to one
5125 before the end on last row" bug
5127 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5129 * text.C (backspace): fix the "zombie characters"
5131 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5133 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5135 2003-10-27 André Pönitz <poenitz@gmx.net>
5137 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5139 * factory.C: handle new InsetPagebreak, InsetLine
5141 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5142 and move handling into new InsetPagebreak, InsetLine
5144 * BufferView_pimpl.C:
5146 * ParagraphParameters.C:
5147 * ParameterStruct.h:
5152 * paragraph_funcs.C:
5153 * paragraph_pimpl.C:
5159 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5162 * lyxrow_funcs.[Ch]:
5168 * text3.C: remove lastPos uses in favour of Row::endpos
5170 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5172 * undo.C (performUndoOrRedo): fix two crashes by setting a
5173 cursor by hand and reordering some calls. Use bv->lockInset instead
5174 of inset->edit because the latter loses cursor information
5176 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5178 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5180 (rowBreakPoint): fix width. change point to point + 1.
5181 Add a missing check.
5183 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5186 * lyxfunc.C: fix (at least partly) the problems
5187 with the Nav menu and headers inside branch insets
5190 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5192 * paragraph.C (getChar): add strong asserts
5194 * lyxrow_funcs.C (lastPos): remove hideous hack
5196 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5197 (fill): adjust to that (avoid an infinite loop)
5199 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5201 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5203 2003-10-23 André Pönitz <poenitz@gmx.net>
5205 * RowList_fwd.h: change list<> to vector<> to gain speed
5206 after suggestion from Alfredo
5208 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5210 * lyxtext.h: move the bidi stuff from here...
5213 * Bidi.[Ch]: ... to here
5215 2003-10-23 André Pönitz <poenitz@gmx.net>
5218 * text.C (isLastRow, isFirstRow): new functions
5220 * paragraph.h: new width cache member
5222 * rowpainter.C: replace RowList::iterator with Row & where possible
5224 * lyxfunc.C: replace several view()->text with a single call
5226 * toc.C: fix 'unused' warning
5228 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5230 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5231 when woring with stream::pos_type
5232 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5234 2003-10-22 André Pönitz <poenitz@gmx.net>
5237 * text.C: use Row & instead of RowList::iterator
5239 * lyxrow.h: rename end() to endpos()
5245 2003-10-22 Angus Leeming <leeming@lyx.org>
5247 * buffer.[Ch] (fully_loaded): new member function, returning true
5248 only when the file has been loaded fully.
5249 Used to prevent the premature generation of previews and by the
5250 citation inset to prevent computation of the natbib-style label.
5252 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5253 templates are all set up.
5255 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5257 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5259 * text.C: fixed an "oops" in the "is a bit silly"
5262 2003-10-21 André Pönitz <poenitz@gmx.net>
5264 * FuncStatus.[Ch]: small stuff, whitespace
5266 * lyxfont.[Ch]: operator<<() for debug reasons
5270 * lyxtext.h: whitespace, spelling
5272 * paragraph.C: naming of variables
5275 * text2.C: small stuff
5278 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5280 * text.C: (1) finish off the inset display() work;
5281 (2) fix the "is a bit silly" bug (accessing char
5284 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5286 * text.C: re-introduce display() for insets, fixing the
5287 various bugs (stretch of line above, math inset
5290 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5292 * text.C (rightMargin): remove spurious semicolon
5294 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5297 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5299 * text3.C: fix one crash due to wrong cursor def
5301 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5303 * vc-backend.C (scanMaster): make the regex static
5305 * LaTeX.C (scanAuxFile): make the regexs static
5307 * text3.C (doInsertInset, dispatch, dispatch):
5308 * text2.C (cursorUp, cursorDown):
5309 * text.C (selectNextWordToSpellcheck):
5310 * BufferView_pimpl.C (dispatch):
5311 * lyxfunc.C (dispatch): localDispatch -> dispatch
5313 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5315 * lyxsocket.C: include <cerrno>
5317 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5319 * lyxfunc.C (dispatch): remove textcache stuff
5321 * bufferlist.C (release): remove textcache stuff
5324 * TextCache.C: delete file
5325 * TextCache.h: delete file
5327 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5329 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5330 delete of the bv_->text.
5331 (resizeCurrentBuffer): remove texcache stuff
5332 (workAreaResize): ditto
5334 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5336 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5339 2003-10-16 André Pönitz <poenitz@gmx.net>
5346 * text3.C: speed up by storing y positions per paragraph plus per-row
5347 offset instead of having a 'full' y position in the row.
5349 2003-10-15 André Pönitz <poenitz@gmx.net>
5353 * undo.[Ch]: make undo aware of inner insets
5355 2003-10-14 Angus Leeming <leeming@lyx.org>
5357 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5358 static member functions LyX::ref() and LyX::cref.
5359 (lastfiles): new accessor functions for the new lastfiles_ member var.
5360 (addLyXView, views_): add a new LyXView to the list of views_.
5361 (updateInset): loop over all LyXViews to call their own updateInset
5362 member function, returning a pointer to the Buffer owning the inset.
5364 * BufferView_pimpl.C (loadLyXFile):
5365 * MenuBackend.C (expandLastfiles):
5366 * bufferlist.C (MenuWrite, QuitLyX):
5367 lastfiles is no longer a global variable.
5368 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5370 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5371 static function. Access through LyX::cref().emergencyCleanup().
5373 2003-10-14 André Pönitz <poenitz@gmx.net>
5375 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5377 * undo.[Ch]: restoring part of 'undo in insets'
5380 * undo_funcs.[Ch]: merge with undo.[Ch]
5382 * tabular.C: small cleansing stuff
5384 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5386 * paragraph_funcs.C (readParToken): report unknown insets as error
5387 boxes. Use the outer paragraph as location (also for unknown
5390 * factory.C (readInset): do not abort on reading an unknown inset.
5391 Eat it and return 0.
5393 2003-10-13 Angus Leeming <leeming@lyx.org>
5395 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5397 * lyxrc.C: displayTranslator is now a function,
5398 declared in GraphicsTypes.h.
5400 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5402 * format.C: new placeholder $$a to pass the socket address.
5404 * bufferlist.[Ch]: new function getBufferFromTmp.
5406 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5407 files in the temporary dir.
5409 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5411 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5413 * Makefile.am: add lyxsocket.[Ch].
5415 * lyx_main.C (error_handler): handle SIGPIPE.
5417 2003-10-13 André Pönitz <poenitz@gmx.net>
5419 * BufferView_pimpl.C:
5424 * undo_funcs.[Ch]: use paroffset_type instead of
5425 ParagraphList::iterators to prevent multiple conversion
5426 (and get a more robust interface)
5428 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5430 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5432 * text3.C (dispatch): ditto
5434 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5436 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5437 move the onlyfile, use onlyfile instead of foundfile in a couple
5440 * DepTable.C (update): flush the error stream a bit more
5442 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5444 * lyxserver.C (callback): adjust
5446 * lyxfunc.C (getStatus): add a missing brace in commented code
5447 (ensureBufferClean): reindent
5448 (dispatch): delete version taking a string
5450 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5452 * LaTeX.C (deplog): move found file handlig from here...
5453 (handleFoundFile): .. to new function here.
5454 (deplog): make sure to discover several files mentioned on the
5457 2003-10-10 André Pönitz <poenitz@gmx.net>
5464 * text3.C: fix some of the tabular crashes
5466 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5468 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5470 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5472 2003-10-09 André Pönitz <poenitz@gmx.net>
5474 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5477 * BufferView_pimpl.C:
5478 * bufferview_funcs.C:
5489 * undo_funcs.C: adjust
5491 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5493 * text2.C (incrementItemDepth): new function, use a backtracking
5494 algorithm to discover the correct item depth.
5495 (resetEnumCounterIfNeeded): new function, use a backtracking
5496 algorithm to discover if counter reset is needed.
5497 (setCounter): use them. Simplify a bit. Add different labels for
5498 different item depths for itemize.
5500 * paragraph.C (Paragraph): remove initialization of enumdepth
5503 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5504 enumerate and itemize. Change the type of itemdepth to signed char.
5506 2003-10-08 André Pönitz <poenitz@gmx.net>
5508 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5513 * tabular.[Ch]: fix crash after 'row-insert'
5515 2003-10-08 Angus Leeming <leeming@lyx.org>
5517 Fix doxygen warnings.
5519 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5520 Remove CutAndPaste:: prefix from header file declaration.
5522 * LColor.h (fill): remove LColor:: prefix from declaration.
5524 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5525 use lyx::depth_type rather than Paragraph::depth_type so that
5526 header file and .C file match.
5528 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5530 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5531 * aspell.C: \file aspell_local.C -> \file aspell.C
5532 * gettext.C: \file gettext.C -> \file src/gettext.C
5533 * gettext.h: \file gettext.h -> \file src/gettext.h
5534 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5535 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5536 * text.C: \file text.C -> \file src/text.C
5538 * toc.C: move comment so that doxygen is not confused.
5540 2003-10-07 Angus Leeming <leeming@lyx.org>
5542 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5544 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5547 * aspell_local.h: add forgotten std::string's.
5549 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5556 * text3.C: The Box patch. Fancybox support, minipage, parbox
5558 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5564 * ParagraphParameters.h:
5574 * lyxtextclasslist.h:
5577 * paragraph_pimpl.C:
5578 * textcursor.h: add <string> and other small fixes to make Lars'
5579 std::string patch compile with STLport.
5581 2003-10-06 Angus Leeming <leeming@lyx.org>
5583 * LColor.h: Add missing #include <string>.
5585 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5587 * All most all file in all subdirs: Make <string> be the prefered
5588 way of getting to std::string, add using declarations.
5590 2003-10-06 André Pönitz <poenitz@gmx.net>
5592 * metricsinfo.C: initialize LyXFont before changing attribute.
5593 (fixes the 'math in \emph is upright' bug)
5595 2003-10-06 André Pönitz <poenitz@gmx.net>
5597 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5599 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5602 * paragraph_pimpl.C: Small fixes to build using STLport
5604 2003-10-02 André Pönitz <poenitz@gmx.net>
5607 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5609 2003-10-01 André Pönitz <poenitz@gmx.net>
5611 * factory.C: assert early
5613 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5615 * lyx_main.C: remove the global debug object
5617 * debug.h: adjust for new debugstream
5619 * debug.C: adjust for new debugstream and keep the global debug
5622 2003-09-22 Angus Leeming <leeming@lyx.org>
5624 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5625 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5626 an incomplete class LyXFont.
5628 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5630 * factory.C: bug fix in branches
5632 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5634 * lyxfunc.C (processKeySym): adjust
5636 (dispatch): change arg name from ev to func, adjust
5637 (sendDispatchMessage): ditto
5639 * lyx_main.C (defaultKeyBindings): adjust keybindings
5640 (deadKeyBindings): ditto
5642 * kbsequence.C (addkey): return a FuncRequest
5644 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5646 * kbmap.C (bind): take a FuncRequest as arg, adjust
5649 (defkey): change to take a FuncRequest as arg, adjust
5650 (findbinding): take a FuncRequest as arg, adjust.
5652 * funcrequest.h (operator=): added
5654 * funcrequest.C (FuncRequest): default kb_action changed from
5655 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5657 * buffer.C (dispatch): simplify
5658 (dispatch): adjust to take a FuncRequest as arg, adjust
5660 * boost.C (assertion_failed): change assertion message slightly
5662 * ToolbarBackend.C (read): simplify
5664 * MenuBackend.C (binding): adjust call to findbinding, add a
5665 message if no binding is found.
5667 (expandToc): correct by adding a empty FuncRequest
5669 * LyXAction.C: include <boost/assert.hpp>
5670 (isPseudoAction): delete function
5671 (LookupFunc): change name to...
5672 (lookupFunc): this. change return type to FuncRequest.
5673 (getActionName): take kb_action as arg, simplify
5674 (funcHasFlag): add an assert, simplify.
5676 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5678 * toc.C (action): return a FuncRequest, simplify
5680 * lyxfunc.C (processKeySym): adjust
5681 (getStatus): delete version that takes an int.
5683 (dispatch): delete version that takes action as int
5685 (sendDispatchMessage): simplify and adjust
5687 * funcrequest.C (getArg): take unsigned int as arg
5689 * ToolbarBackend.C (read): adjust
5690 (add): delete version that takes func as a string.
5691 (getIton): take a FuncRequest as arg
5693 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5696 * MenuBackend.C (MenuItem): add a new construct that only takes a
5697 Kind, simplify the constructor use for submenus.
5699 (expandLastfiles): adjust
5700 (expandDocuments): adjust
5701 (expandFormats): adjust
5702 (expandFloatListInsert): adjust
5703 (expandFloatInsert): adjust
5704 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5706 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5707 Remove class variables lyx_pseudo_map and lyx_arg_map
5709 * LyXAction.C (searchActionArg): delete function
5710 (getPseudoAction): delete function
5711 (retrieveActionArg): delete function
5712 (LookupFunc): make it return kb_action, simplify.
5713 (getActionName): simplify
5715 * factory.C (createInset): fix new bug
5717 2003-09-19 Angus Leeming <leeming@lyx.org>
5719 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5720 masterFilename_ parameter in the include inset.
5722 * factory.C (createInset): changes due to the changes to InsetInclude.
5724 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5726 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5728 2003-09-18 Angus Leeming <leeming@lyx.org>
5731 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5732 Inset::fillWithBibKeys.
5733 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5735 2003-09-18 Angus Leeming <leeming@lyx.org>
5737 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5739 (ctor): pass and store a 'Buffer const &'
5740 (buffer): new member function.
5742 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5743 '*this' to the LaTeXFeatures ctor.
5745 2003-09-18 Angus Leeming <leeming@lyx.org>
5751 * text.C: rename EnumLColor as LColor_color.
5753 2003-09-18 Angus Leeming <leeming@lyx.org>
5755 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5756 remove #include "insets/insetbase.h" from cursor.h.
5758 2003-09-18 Angus Leeming <leeming@lyx.org>
5760 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5761 InsetOld_code to remove #include "inset.h".
5763 * iterators.C: add #include "insets/inset.h"
5765 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5767 * BufferView.C: remove more locking stuff that apparently doesn't
5768 do anything sensible.
5770 2003-09-16 André Pönitz <poenitz@gmx.net>
5773 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5776 2003-09-16 Angus Leeming <leeming@lyx.org>
5778 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5780 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5783 * paragraph.h: remove #include "lyxfont.h". Forward declare
5786 2003-09-16 Angus Leeming <leeming@lyx.org>
5788 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5789 of support/textutils.h.
5790 (isWord): move the contents of support/textutils.h's IsWordChar here.
5796 * text2.C: add #include "paragraph.h".
5799 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5801 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5807 * LaTeX.C: use namespace alias for lyx::support::os
5809 2003-09-16 Angus Leeming <leeming@lyx.org>
5812 * bufferview_funcs.C:
5815 * paragraph_pimpl.C:
5817 * text.C: add #include "LColor.h".
5819 2003-09-16 Angus Leeming <leeming@lyx.org>
5821 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5822 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5824 Store the FontBits::color variable as an int rather than as an
5825 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5828 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5829 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5830 string calls together.
5832 * lyxrc.C: add #include "LColor.h".
5834 2003-09-15 Angus Leeming <leeming@lyx.org>
5836 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5839 2003-09-15 Angus Leeming <leeming@lyx.org>
5841 * LColor.h: add an EnumLColor wrapper for LColor::color.
5843 * lyxfont.[Ch] (color, setColor, realColor):
5844 * lyxtext.h, text.C (backgroundColor):
5845 pass EnumLColor args to/from the functions, rather than LColor::color
5849 * lyxtext.h: forward declare EnumLColor.
5851 * lyx_main.C: add #include "LColor.h".
5853 2003-09-15 Angus Leeming <leeming@lyx.org>
5855 * .cvsignore: add lyx-gtk.
5857 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5862 * ParagraphParameters.C
5866 * bufferview_funcs.C
5876 * vc-backend.C: remove usage of STRCONV
5878 2003-09-15 Angus Leeming <leeming@lyx.org>
5880 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5881 explicitly define the color passed to the painter.
5883 2003-09-15 Angus Leeming <leeming@lyx.org>
5885 * bufferparams.C (BufferParams): reorder member initializers to avoid
5888 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5890 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5891 * text.C (updateRowPositions): remove an unusual nop
5893 2003-09-12 André Pönitz <poenitz@gmx.net>
5895 * BufferView_pimpl.C:
5904 * Counters.[Ch]: finish the 'automatic counters' job
5906 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5908 * aspell.C: include <boost/assert.cpp> (compile fix)
5910 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5912 * boost.C (assertion_failed): use lyx::support::abort instead of
5915 2003-09-10 Angus Leeming <leeming@lyx.org>
5917 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5918 with their _fwd progeny.
5920 2003-09-09 Angus Leeming <leeming@lyx.org>
5922 134 files throughtout the source tree: replace 'using namespace abc;'
5923 directives with the appropriate 'using abc::xyz;' declarations.
5925 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5927 * boost.C (emergencyCleanup): moved here from LAssert.c
5928 (assertion_failed): new function, called by BOOST_ASSERT
5930 * several files: change Assert to BOOST_ASSERT
5932 2003-09-09 Angus Leeming <leeming@lyx.org>
5934 * buffer.[Ch]: Add an Impl class and move Buffer's member
5935 variables into it. As a result move several header files out of
5938 Add header files to lots of .C files all over the tree as a result.
5940 2003-09-09 Angus Leeming <leeming@lyx.org>
5942 * buffer.[Ch]: make Buffer's member variables private. Add
5945 Lots of changes all over the tree as a result.
5947 2003-09-08 Angus Leeming <leeming@lyx.org>
5949 * graph.C: #include <config.h>.
5951 2003-09-08 Angus Leeming <leeming@lyx.org>
5955 * BufferView_pimpl.C:
5984 * toc.C: remove redundant using directives.
5986 2003-09-07 Angus Leeming <leeming@lyx.org>
5988 * LaTeXFeatures.h: remove #include "support/types.h".
5989 * ToolbarBackend.h: remove #include <algorithm>.
5990 * changes.h: remove #include <ctime>.
5991 * debug.h: remove #include <iosfwd>.
5992 * graph.h: remove #include "support/std_string.h".
5993 * lyx_main.h: remove #include <csignal>.
5994 * lyxlex_pimpl.h: remove #include <fstream>.
5995 * sgml.h: remove #include <algorithm>, <utility>.
5996 * toc.h: remove #include "support/std_ostream.h".
5997 Add #include <iosfwd>.
5999 2003-09-07 Angus Leeming <leeming@lyx.org>
6001 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6003 * converter.h: forward declare LatexRunParams.
6004 * encoding.h: remove #include "lyxrc.h".
6005 * lyxtext.h: remove #include "LColor.h".
6006 * lyxtextclass.h: remove #include "support/types.h".
6007 * trans.h: remove #include "tex-accent.h".
6008 * trans_mgr.h: remove #include "tex-accent.h".
6009 * insets/inset.h: remove #include "support/types.h", <vector>.
6010 * insets/insetcollapsable.h: remove #include "LColor.h".
6011 * insets/insetinclude.h: remove #include "dimension.h".
6012 * insets/insetlatexaccent.h: remove #include "dimension.h".
6013 * insets/insetoptarg.h:: remove #include "insettext.h".
6014 * insets/insettext.h: remove #include "dimension.h",
6015 <boost/shared_ptr.hpp>
6017 * insets/renderers.h: add #include "dimension.h".
6018 * insets/updatableinset.h: add #include "support/types.h".
6020 * many .C files: Associated changes.
6022 2003-09-06 Angus Leeming <leeming@lyx.org>
6024 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6025 one, inside testInvariant.
6027 * PrinterParams.C: new file.
6028 * PrinterParams.[Ch]: move the function bodies out of line.
6030 2003-09-06 Angus Leeming <leeming@lyx.org>
6032 * ParagraphParameters.h: forward declare ParameterStruct rather than
6033 including its header file.
6034 (depth): moved out-of-line.
6036 2003-09-06 Angus Leeming <leeming@lyx.org>
6038 * BufferView_pimpl.h:
6041 * lyxfunc.h: forward declare LyXKeySym rather than
6042 #include "frontends/LyXKeySym.h".
6044 * BufferView_pimpl.C:
6047 * lyxfunc.C: associated changes.
6049 2003-09-06 Angus Leeming <leeming@lyx.org>
6051 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6052 As a result, can remove the #include "insets/inset.h" from BufferView.h
6054 2003-09-06 Angus Leeming <leeming@lyx.org>
6056 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6057 As a result, can remove the #include "insets/inset.h" from BufferView.h
6059 2003-09-06 Angus Leeming <leeming@lyx.org>
6065 * bufferview_funcs.C:
6066 * BufferView_pimpl.C:
6071 * ParagraphParameters.C:
6076 * frontends/controllers/ControlDocument.C:
6077 * insets/insetcaption.C: rearrange the #includes into some sort of
6080 * buffer.h: remove #includes ErrorList.h, undo.h
6082 2003-09-06 Angus Leeming <leeming@lyx.org>
6084 * support/types.h: add a 'depth_type' typedef, used to store the
6085 nesting depth of a paragraph.
6088 * ParameterStruct.h: use this lyx::depth_type typedef rather than
6089 defining explicitly.
6092 * paragraph_funcs.h:
6093 * ParagraphParameters.h:
6094 * sgml.h: use lyx::depth_type rather than Paragraph or
6095 ParameterStruct's depth_type.
6098 * paragraph_funcs.h: no need to #include paragraph.h anymore.
6101 * BufferView_pimpl.C:
6103 * ParagraphParameters.C:
6106 * bufferview_funcs.C:
6113 * frontends/LyXView.C:
6114 * frontends/controllers/ControlDocument.C:
6115 * frontends/controllers/ControlErrorList.C:
6116 * insets/insetbibitem.C:
6117 * insets/insetbranch.C:
6118 * insets/insetcaption.C:
6119 * insets/insetcollapsable.C:
6120 * insets/insetenv.C:
6121 * insets/insetert.C:
6122 * insets/insetfloat.C:
6123 * insets/insetfoot.C:
6124 * insets/insetfootlike.C:
6125 * insets/insetnewline.C:
6126 * insets/insetquotes.C:
6127 * insets/insettabular.C:
6128 * insets/insettext.C:
6129 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6131 * frontends/controllers/ControlChanges.C: #include "changes.h".
6133 2003-09-06 Angus Leeming <leeming@lyx.org>
6135 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6136 than #including paragraph.h.
6139 * RowList.h: deleted. Superfluous.
6149 * insets/insettext.h: use ParagraphList_fwd.h rather than
6152 * paragraph.h: don't forward declare ParagraphList.
6155 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6156 rather than ParagraphList.h. paragraph.h is still needed for the
6157 Paragraph::depth_type parameters.
6159 * textcursor.h: enable it to compile stand-alone in light of the
6162 * bufferview_funcs.C:
6174 * frontends/controllers/ControlParagraph.C:
6175 * frontends/controllers/ControlTabular.C:
6176 * insets/insetmarginal.C:
6177 * insets/insetminipage.C:
6178 * insets/insetnote.C:
6179 * insets/insetoptarg.C: add header files needed to compile again.
6181 2003-09-06 Angus Leeming <leeming@lyx.org>
6183 * RowList_fwd.h: new file, forward-declaring Row rather than
6184 #including lyxrow.h.
6189 * insets/insettext.h: use it instead of RowList.h
6191 * bufferview_funcs.C:
6198 * text3.C: #include "RowList.h".
6200 2003-09-05 Angus Leeming <leeming@lyx.org>
6202 * factory.C (createInset):
6203 * vspace.C (c-tor): replace sscanf call with an istringstream.
6204 * ispell.C: re-add missing HP/UX headers.
6205 * lyxserver.C: re-add missing os2 headers.
6207 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6216 * text3.C: re-add missing system headers, needed for 2.95.2.
6218 2003-09-05 Angus Leeming <leeming@lyx.org>
6220 Changes most place everywhere due to the removal of using directives
6221 from support/std_sstream.h.
6223 2003-09-05 Angus Leeming <leeming@lyx.org>
6225 Replace LString.h with support/std_string.h,
6226 Lsstream.h with support/std_sstream.h,
6227 support/LIstream.h with support/std_istream.h,
6228 support/LOstream.h with support/std_ostream.h.
6230 Changes resulting throughout the tree.
6232 2003-09-05 Angus Leeming <leeming@lyx.org>
6234 * sgml.h: ensure that the header file can be compiled stand-alone.
6235 * *.C: strip out redundant #includes. (320 in total.)
6237 2003-09-04 Angus Leeming <leeming@lyx.org>
6239 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6240 here (from getPackages).
6242 * debug.[Ch]: add a new EXTERNAL tag.
6244 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6246 * text2.C (cursorEnd): simplify
6248 (getColumnNearX): adjust
6250 * text.C (computeBidiTables): adjust
6253 * rowpainter.C (paintChars): adjust
6254 (paintSelection): adjust
6255 (paintChangeBar): adjust
6258 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6260 (numberOfSeparators): adjust
6262 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6268 * text3.C: Restricts the mouse click functionality
6269 of insets like bibtex, include, toc and floatlist to the visible
6270 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6271 up the dialogs. Cursor has to be in front of the inset (i.e.
6272 start of row) for this to function.
6274 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6276 * bufferview_funcs.C (currentState): output row information
6278 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6280 * bufferview_funcs.C (currentState): output paragraph position
6282 2003-09-04 Angus Leeming <leeming@lyx.org>
6284 * FloatList.h: move out #include "Floating.h".
6285 * LaTeX.h: move out #include "DepTable.h".
6286 * LyXAction.h: move out #include "funcrequest.h".
6287 * buffer.h: move out #include "author.h", "iterators.h".
6288 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6289 * lyx_main.h: move out #include "errorlist.h".
6290 * lyxfunc.h: move out #include "FuncStatus.h".
6291 * lyxtext: move out #include "lyxcursor.h".
6292 * paragraph_pimpl.h: move out #include "counters.h".
6294 2003-09-03 Angus Leeming <leeming@lyx.org>
6296 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6297 preamble_snippets list, enabling us to add snippets to the preamble
6298 only if the snippet was not there already.
6300 2003-09-04 Angus Leeming <leeming@lyx.org>
6302 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6304 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6306 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6309 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6311 * BranchList.C: point fix, earlier forgotten
6313 2003-09-02 Angus Leeming <leeming@lyx.org>
6315 * box.C (contains): renamed from 'contained' after a fantastic
6318 2003-09-02 John Levon <levon@movementarian.org>
6324 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6326 2003-09-02 John Levon <levon@movementarian.org>
6328 * text2.C: simplification of cursorEnd(), including partial
6331 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6333 * buffer.C (readFile): add a space
6335 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6337 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6339 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6341 * buffer.C (readFile): new function, take a filename and a
6342 ParagraphList::iterator
6344 (readFile): adjust, make it private. don't use setStream, make
6345 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6346 always contain the filename.
6348 * BufferView.C (insertLyXFile): simplify and make it work for
6351 2003-08-30 John Levon <levon@movementarian.org>
6353 * Makefile.am: fix dist (from Kayvan)
6355 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6357 * most files: change to use const Buffer refs
6359 2003-08-27 André Pönitz <poenitz@gmx.net>
6361 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6362 on top of ownerPar().
6364 2003-08-27 John Levon <levon@movementarian.org>
6366 * funcrequest.C: properly initialise POD members
6368 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6370 * lyxtext.h (top_y): move top_y from here
6375 * BufferView_pimpl.[Ch]: to here
6376 * frontends/screen.C:
6377 * insets/insettabular.C:
6378 * insets/insettext.C: adjust
6379 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6381 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6384 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6386 2003-08-26 André Pönitz <poenitz@gmx.net>
6388 * paragraph_func.[Ch] (outerPar): new function
6391 * paragraph_funcs.C:
6392 * paragraph_funcs.h:
6393 * paragraph_pimpl.C:
6394 * text2.C: remove Inset::par_owner
6396 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6401 * text2.C: eliminates the needFullRow/display() stuff
6402 altogether, putting the logic in metrics/draw in the insets.
6404 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6406 * text2.C (redoParagraphInternal, redoParagraphs):
6407 * text.C (redoParagraph): add a call to updateRowPositions at the
6408 end of each 'metrics-like' call. Remove all others.
6409 (getRow): remove the 'y-computing' version.
6410 (getRowNearY): do not compute nor return the real y. Solve the
6411 'y < 0' problem and simplify.
6413 2003-08-22 Angus Leeming <leeming@lyx.org>
6415 * *.[Ch]: clean-up of licence and author blurbs.
6416 Also move config.h out of a few .h files and into a few .C files.
6418 2003-08-22 André Pönitz <poenitz@gmx.net>
6420 * lyxrow.[Ch]: add x_ and *fill_ members
6425 * text2.C: adjust/remove prepareToPrint() calls
6427 2003-08-22 André Pönitz <poenitz@gmx.net>
6429 * lyxrow.[Ch]: add end_ member
6431 * lyxrow_funcs.C: use LyXRow::end_
6433 * lyxtext.h (singleWidth): add LyXFont parameter
6436 * text2.C: adjust LyXText::singleWidth() calls
6438 * text.C (redoParagraph): simplify row breaking logic
6441 2003-08-19 André Pönitz <poenitz@gmx.net>
6443 * funcrequest.C: initialize button_ member
6446 * rowpainter.[Ch]: interface consolidation
6448 2003-08-18 André Pönitz <poenitz@gmx.net>
6451 * BufferView_pimpl.C:
6453 * paragraph_funcs.C:
6455 * text3.C: remove LyXScreen::draw() and fitCursor calls
6457 * BranchList.h: remove spurious semicolons
6459 * MenuBackend.C: fix branchlist related crash
6461 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6469 * bufferparams.[Ch]:
6473 * text3.C: implements the 'branch inset'
6474 idea. This allows the output of various versions of a document
6475 from a single source version, selectively outputing or suppressing
6476 output of parts of the text.
6477 This implementation contains a 'branch list editor' in a separate
6478 tab of the document settings dialog. Branches are user definable
6479 and have a "display colour" to distinguish them on-screen.
6481 ColorHandler was somewhat cleaned up.
6482 (1) make possible a dynamically growing LColor list by allowing
6483 the graphic context cache to grow along (vector);
6484 (2) eliminate an IMHO unnecessary step in colour allocation.
6486 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6488 * BufferView_pimpl.C: compile fix
6490 2003-08-15 André Pönitz <poenitz@gmx.net>
6492 * rowpainter.C: remove extra metrics calls
6494 * lyxtext.h: merge the two constructors into a single one,
6495 pass reference to owner's par list
6497 * BufferView_pimpl.C:
6501 2003-08-15 André Pönitz <poenitz@gmx.net>
6503 * lyxrow_funcs.[Ch]:
6506 * paragraph_funcs.C:
6511 * text_funcs.C: split LyXText::rowlist_ into individual
6512 Paragraph::rows_ chunks
6515 * BufferView_pimpl.[Ch]:
6518 * text3.C: remove toggleSelection()
6520 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6522 * bufferlist.C: beautify two alerts (shorter text of buttons)
6523 * buffer.C: Remove redundant ' ' from message
6525 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6526 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6527 rename VALIGN_CENTER to VALIGN_MIDDLE
6529 2003-08-11 André Pönitz <poenitz@gmx.net>
6531 * lyxtext.h (getPar):
6532 * text.C: new function
6534 2003-08-11 André Pönitz <poenitz@gmx.net>
6537 * tracer.[Ch]: remove unneeded files
6539 * InsetList.[Ch]: remove resizeInsetsLyXText()
6544 * text3.C: merge insertParagraphs() and appendParagraph()
6545 remove breakAgain(), update()
6547 * BufferView_pimpl.[Ch]:
6548 * bufferview_funcs.[Ch]:
6552 * tabular.C: adjust after text & InsetList changes.
6554 2003-08-08 André Pönitz <poenitz@gmx.net>
6556 * text.C (insertChar, backspace): replace rowlist fiddling
6557 with rebreak of full par
6560 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6561 checkParagraph, updateInset): removed
6563 2003-08-07 André Pönitz <poenitz@gmx.net>
6566 * text3.C: merge some LFUN handlers, remove dead code
6568 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6570 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6572 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6574 * text2.C (DEPM): fix part of bug 1255 and 1256
6576 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6578 * BufferView_pimpl.C (workAreaDispatch): change to use
6579 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6580 that are no mouse related.
6582 2003-08-05 André Pönitz <poenitz@gmx.net>
6585 * BufferView_pimpl.[Ch]:
6586 * bufferview_funcs.C:
6588 * text3.C: rip out "deep update"
6590 * textcursor.[Ch] (last_sel_cursor): remove unused member
6592 2003-08-04 André Pönitz <poenitz@gmx.net>
6595 * BufferView_pimpl.[Ch]:
6596 * ParagraphParameters.C:
6597 * bufferview_funcs.C:
6603 * text3.C: replace "complicated" BufferView::update(...) calls with
6606 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6608 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6610 * Makefile.am (lyx_SOURCES): add paper.h
6612 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6614 * Makefile.am: move things around so that both lyx-qt and
6615 lyx-xforms can be built (according to --with-frontend). Then lyx
6616 is a symbolic link to lyx-[firstfrontend]
6618 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6620 * Always use std::endl with lyxerr
6622 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6624 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6626 2003-08-01 André Pönitz <poenitz@gmx.net>
6629 * BufferView_pimpl.[Ch]:
6631 * text3.C: merge BufferView::repaint() and BufferView::update()
6633 2003-08-01 José Matos <jamatos@lyx.org>
6635 * buffer.[Ch]: file_format is no longer a buffer data element.
6637 2003-08-01 André Pönitz <poenitz@gmx.net>
6642 * text2.C: make redoParagraph more independent of current cursor
6644 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6646 * text2.C: remove unneeded members
6648 2003-07-30 André Pönitz <poenitz@gmx.net>
6650 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6652 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6653 create a single function...
6655 * paragraph_funcs.C (moveItem): ... here.
6658 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6660 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6662 * LColor.[Ch]: Add comment and greyedout logical colors.
6664 2003-07-30 André Pönitz <poenitz@gmx.net>
6666 * tabular.C: don't use Assert too heavily. This crashes where it
6669 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6671 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6672 is disabled (bug 1232)
6674 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6676 * factory.C: limited 'arg' scope
6678 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6680 * factory.C: fixed Note submenu issues
6682 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6684 * factory.C: submenu for Note/Comment/Greyedout
6686 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6689 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6691 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6694 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6695 greyedout. Patch provided by Jürgen Spitzmüller.
6697 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6699 * kbmap.C (read): fix error message when reading bind files
6701 2003-07-29 Angus Leeming <leeming@lyx.org>
6703 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6704 certainly does not do what it purports to do. I am doing it, and
6705 us, a favour by killing it.
6707 2003-07-28 José Matos <jamatos@lyx.org>
6709 * buffer.C (readBody, do_writeFile):
6710 * paragraph.C(readParagraph): \end_document replaces \the_end.
6712 2003-07-29 André Pönitz <poenitz@gmx.net>
6715 * BufferView_pimpl.[Ch]:
6719 * textcursor.[Ch]: remove toggleToggle & Co
6721 2003-07-28 José Matos <jamatos@fep.up.pt>
6723 * buffer.C (readParagraph):
6724 * params_func (readParToken, readParagraph):
6725 * paragraph.C (write): \layout -> \begin_layout.
6727 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6729 * lyxlex_pimpl.C (setFile): clean up slightly.
6731 * bufferparams.h: add compressed var
6733 * buffer_funcs.C (readFile): adjust for LyXLex change
6734 (newFile): ditto + simplify
6736 * buffer.C (writeFile): handle writing of compressed files
6738 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6739 Check if the file is compressed and set a bufferparm if so.
6741 * Makefile.am (lyx_LDADD): remove explicit -lz
6743 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6745 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6746 makeDocBookFile): put the real LyX version in the first line of
6750 * version.C.in: remove lyx_docversion
6752 * tabular.C (write_attribute): add a template-based version to
6753 write enums properly
6755 2003-07-28 André Pönitz <poenitz@gmx.net>
6760 * text3.C: use doubles again for x-coordinates. They are needed.
6762 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6764 * messages.C (getLocaleDir): use lyx_localedir()
6766 * lyxlex_pimpl.C (setFile): compress stuff
6768 * buffer.C (writeFile): add some compression stuff
6769 (do_writeFile): new func, dont call expliti close... will this
6772 * Makefile.am (lyx_LDADD): add -lz
6774 2003-07-28 José Matos <jamatos@fep.up.pt>
6776 * buffer.C: increment file format.
6777 * paragraph_funcs (readParagraph, readParToken):
6778 * paragraph.C (readParagraph): add \end_layout.
6780 2003-07-27 Angus Leeming <leeming@lyx.org>
6782 * Makefile.am: remove special casing for configure-time setting of
6783 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6785 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6786 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6788 2003-07-26 André Pönitz <poenitz@gmx.net>
6790 * paragraph_func.[Ch]:
6791 * paragraph.C (realizeFont): inline it whereever it is used
6796 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6799 2003-07-26 André Pönitz <poenitz@gmx.net>
6803 * text2.C: get rid of LyXText::need_break_row
6805 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6807 * toc.[Ch]: put namespace toc inside namespace lyx
6809 * MenuBackend.C (expandToc2): adjust for lyx::toc
6812 * lyxfunc.C (dispatch): adjust for lyx::find
6814 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6815 lyx::find instead. Reorganize a bit.
6816 (LyXReplace): rename to replace
6817 (LyXFind): rename to find
6819 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6822 2003-07-26 André Pönitz <poenitz@gmx.net>
6824 * text.C (setHeightOfRow): restrict scope of temporary variable
6826 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6827 code (never has been used?)
6829 2003-07-27 Asger Alstrup <alstrup@local>
6831 * text.C (fill): Optimise algorithm to exploit that we can reuse
6832 the LyXFont for many characters.
6833 (setHeightOfRow): Same thing.
6834 (rowBreakPoint): Same thing.
6836 2003-07-26 Asger Alstrup <alstrup@local>
6838 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6840 * text.C (singleWidth): Spurious font copying in hot-spot
6841 singleWidth avoided. Reorder tests for arabic for efficiency.
6843 * text.C (fill): handle empty paragraphs better.
6845 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6848 * encoding.h: add includes
6850 * lyxrc.C: remove reading of bind files
6852 * lyx_main.C (init): setup bindings and menus only if we have a
6855 * kbmap.C (read): new method. Do the actual reading of bind
6858 * converter.C (dvipdfm_options):
6861 (output): adapt PAPER_* enums.
6863 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6865 * bufferparams.h: remove paper-related enums from there
6867 * paper.h: New file. A trivial header file to hold paper-related
6868 enums. It should later expand to contain many paper-related
6871 * lyxrc.C: declare extern displayTranslator
6873 2003-07-27 José Matos <jamatos@fep.up.pt>
6875 * tabular.[Ch] (linuxdoc): add support for tables and figures
6878 2003-07-27 José Matos <jamatos@fep.up.pt>
6880 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6881 consistency in both functions.
6882 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6884 2003-07-26 Asger Alstrup <alstrup@local>
6886 * rowpainter.C (paintRows): Change algorithm to work directly on
6887 the insets rather than asking every character in the document
6888 whether its an inset.
6890 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6892 * buffer.C (openFileWrite): factorize some code
6894 2003-07-26 Angus Leeming <leeming@lyx.org>
6897 * lyx_main.[Ch]: replace occurances of system_tempdir with
6900 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6902 * rename Inset to InsetOld
6904 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6906 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6907 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6908 which I think is a bit clearer. EDIT is gone, since it was
6909 premature optimisation, and broken for mathed anyway.
6910 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6911 with cursor positioning in insets as well (math insets still do not
6912 work, but that's a different story anyway.) It mysteriously
6913 crashes sometimes with undo in the first paragraph, but I'm fairly
6914 confident that this is a compiler bug.
6916 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6918 * paragraph.C (Paragraph): adjust for new clone return type
6920 (copyIntoMinibuffer): ditto
6922 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6924 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6925 by not having a special case, and always doing a full rebreak of
6926 the document after undo.
6928 2003-07-23 Angus Leeming <leeming@lyx.org>
6930 * factory.C (createInset): InsetExternal::setParams now takes a
6933 2003-07-23 Angus Leeming <leeming@lyx.org>
6935 * factory.C (createInset): changed interface to the external and
6936 graphics mailers' string2params functions.
6938 2003-07-23 Angus Leeming <leeming@lyx.org>
6940 * factory.C (createInset): pass a
6941 Buffer const * parameter to InsetExternalMailer's string2params.
6943 2003-07-22 John Levon <levon@movementarian.org>
6945 * Thesaurus.h: include the right aiksaurus header
6947 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6949 * MenuBackend.C (expand): check menu shortcuts unconditionally
6951 2003-07-21 Angus Leeming <leeming@lyx.org>
6953 * factory.C (createInset): pass a
6954 buffer_path parameter to InsetGraphicsMailer's string2params.
6956 2003-07-21 Angus Leeming <leeming@lyx.org>
6958 * BufferView_pimpl.C (buffer):
6961 * lyxfunc.C (dispatch):
6962 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6963 rather than the grfx shortcut.
6965 2003-07-21 André Pönitz <poenitz@gmx.net>
6967 * rowpainter.C: remove unused variables
6970 * tabular_funcs.h: move to tabular.C
6971 * Makefile.am: adjust
6973 * tabular.[Ch]: basic optical cleaning
6975 * author.h: pass references, not values
6977 2003-07-18 André Pönitz <poenitz@gmx.net>
6985 * text3.C: two-phase drawing for InsetText and InsetTabular
6986 some float -> int changes.
6988 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6990 * lyx_main.C: fix the fix
6992 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6994 * lyx_main.C: fix a crash in batch mode if no files specified
6997 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6999 * format.[Ch] (papersize): moved to BufferParams
7000 * converter.[Ch] (dvips_options): moved to BufferParams
7001 (dvipdfm_options): moved to anon namespace
7002 * bufferparams.[Ch]: added above functions.
7004 2003-07-17 André Pönitz <poenitz@gmx.net>
7008 * text2.C: don't call inset->update() anymore
7010 * metricsinfo.[Ch]: add convenience constructor
7012 2003-07-16 André Pönitz <poenitz@gmx.net>
7017 * text2.C: replace the LyXCursor::irow_ member with
7018 on-demand computation of the value
7020 2003-07-16 John Levon <levon@movementarian.org>
7022 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7024 2003-07-15 André Pönitz <poenitz@gmx.net>
7027 * text2.C: remove no more needed refresh_row
7029 2003-07-15 André Pönitz <poenitz@gmx.net>
7034 * text3.C: refresh_status tristate -> need_update bool
7036 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
7038 * lyxtext.h (init): remove reinit argument (act as if always true)
7039 * text2.C: adjust to that
7041 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7043 * bufferview_funcs.[Ch]: introduce function replaceSelection()
7044 * text3.C: use it to delete selections in some cases
7045 (bugs 441, 673, 702, 954).
7047 2003-07-14 André Pönitz <poenitz@gmx.net>
7049 * rowpainter.[Ch]: reduce interface
7051 2003-07-14 André Pönitz <poenitz@gmx.net>
7053 * BufferView_pimpl.C:
7054 * text2.C: adjust after removing unused BufferView * argument
7056 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
7058 * text2.C (init): fix a crash fired on resize
7060 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
7062 * buffer.[Ch]: added new closing signal
7063 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7064 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7065 BufferView::Pimpl via the closing the signal
7067 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
7069 * buffer.[Ch]: take out all bv-related from buffer
7071 * BufferView_pimpl.[Ch]: connect to new signals
7072 * CutAndPaste.C: removed useless asserts
7073 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7076 * lyxfunc.C: moved view-related funciontality from vc here
7077 * paragraph.C: removed outdated comments
7080 2003-07-10 André Pönitz <poenitz@gmx.net>
7082 * BufferView_pimpl.C:
7086 * text2.C: remove InsetText::InnerCache, clean up consequences
7088 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7090 * ispell.C: fix two typos in error messages
7092 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
7094 * Extend Note inset to other forms of annotation like Comment
7095 and Greyedout. Right button click gives dialog.
7097 Files modified or added (+):
7101 * ControlNote.[Ch] +
7103 * Makefile.am in frontends/xforms, frontends/xforms/forms,
7104 frontends/controllers
7108 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7110 * aspell.C: add missing namespace lyx::support
7112 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
7114 * BufferView.[Ch] (newFile): Add
7115 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7116 * LaTeX.[Ch] (message): added this signal and use it
7117 * buffer.[Ch] (busy, message): added these signals and use them
7118 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7122 * importer.C: use buffer signals instead of direct bv calling
7123 * lyx_cb.[Ch] (ShowMessage): removed
7126 * paragraph_funcs.C:
7127 * text2.C: use buffer signals
7129 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7131 * introduce namespace lyx::graphics
7133 2003-07-02 André Pönitz <poenitz@gmx.net>
7135 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7137 2003-07-01 André Pönitz <poenitz@gmx.net>
7144 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7145 text*.C to text_func.C
7147 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7149 * introduce namespace lyx::support
7151 2003-06-30 André Pönitz <poenitz@gmx.net>
7156 * text.C: re-enable --with-included-string
7158 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7160 * textcursor.C: add <config.h>
7162 * text.C (getWord): remove const from word_location arg
7164 * lyxvc.C (getLogFile): fix const type order
7166 * lyxtext.h: remove const from word_location arg, add arg name
7168 * lyxlayout.h: currect type on labeltype.
7170 * importer.C: correct \file
7172 * converter.C (intToFormat): use std:: on ret val, ws changes
7174 * bufferlist.h: correct \file
7176 * buffer.C (makeLinuxDocFile): fix const type order
7177 (makeDocBookFile): ditto
7178 (fillWithBibKeys): use std:: on stdlib args.
7180 * CutAndPaste.C: fix authors.
7181 (availableSelections): use std:: on return vector
7183 2003-06-27 André Pönitz <poenitz@gmx.net>
7185 * BufferView_pimpl.C:
7186 * bufferview_funcs.C:
7194 * text3.C: remove LyXCursor::row_ member
7197 * text.C: rename fullRebreak() to partialRebreak() and implement
7198 a fullRebreak() that really bereks fully
7200 * textcursor.h: new struct for cursor-related data
7202 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7204 * lyx_main.C (LyX): get full path of document loaded on the
7207 2003-06-26 André Pönitz <poenitz@gmx.net>
7209 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7210 remove unused/broken operator>,<,>=.
7212 * text.C: remove only use of broken operator<= in an Assert().
7214 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7216 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7217 moved errorlist_.clear to showErrorList
7219 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7221 * converter.C (scanLog, runLaTeX):
7222 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7223 move the bv->showErrorList call to the callers
7224 * lyxfunc.C: i.e. here...
7226 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7227 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7228 namespace, the second to...
7229 * buffer_funcs (BufferFormat, parseErrors): added
7230 * errorlist.C (ErrorList(TeXErrors const &)): removed
7232 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7234 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7236 2003-06-24 "Garst R. Reese" <reese@isn.net>
7240 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7242 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7244 * version.C.in: change docversion to 1.4
7246 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7248 * buffer.C: fix a bug just introduced
7250 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7252 * buffer.[Ch]: added the parseError signal and use it, removed
7254 * BufferView.[Ch] (addError): moved to ...
7255 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7256 to the Buffer::parseError signal to catch (guess what) parse errors
7257 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7259 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7261 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7262 ability to create a buffer and to return an existing one from
7263 the list. Moved these functions to...
7264 * buffer_funcs.[Ch]: added
7265 * BufferView.[Ch] (loadLyXFile): added
7266 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7267 job removed from bufferlist::loadLyXFile.
7268 * buffer.C (setReadOnly): make it work without view
7269 (i.e added an if (users))
7271 2003-06-19 Angus Leeming <leeming@lyx.org>
7274 * LyXAction.C (init):
7275 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7276 with LFUN_DIALOG_SHOW <name> <data>.
7278 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7280 * CutAndPaste.C (availableSelections): small compilation fix for
7281 ancient (gcc 2.9x) compilers
7283 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7285 * text3.C (cursorNext): add tmp var
7287 * text2.C (updateCounters): for function calling out of for clause
7288 (replaceSelectionWithString): ditto
7289 (insertStringAsParagraphs): ditto
7290 (getColumnNearX): add tmp var
7291 (setCursorFromCoordinates): add tmp var
7292 (cursorDownParagraph): add tmp var
7293 (deleteEmptyParagraphMechanism): add tmp var
7295 * text.C (insertChar): add tmp var
7297 * rowpainter.C (paintDepthBar): add tmp var
7299 * CutAndPaste.C (availableSelections): potentially check all
7300 paragraphs in a cut to fill the shown strings.
7302 2003-06-18 André Pönitz <poenitz@gmx.net>
7304 * kbmap.[Ch]: use vector<> instead of list<>
7306 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7308 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7309 pasteSelection with index
7311 * text2.C (pasteSelection): modify, call pasteSelection with index
7313 * paragraph.C (asString): reimplement version with no interval to
7314 call the one with interval.
7316 * lyxtext.h: add index arg to pasteSelection
7318 * MenuBackend.C (MenuItem): handle PasteRecent
7319 (Menu::read::Menutags): add md_pasterecent
7321 (expandPasteRecent): new function
7324 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7326 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7328 (availableSelections): new function
7330 2003-06-17 Angus Leeming <leeming@lyx.org>
7332 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7334 2003-06-17 Angus Leeming <leeming@lyx.org>
7337 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7339 * lyxfunc.C (dispatch): invoke it.
7341 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7343 * iterators.C (operator++, ParPosition): reintroduce some
7344 const_cast for the benefit of older compilers.
7346 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7348 * text3.C (dispatch): do not modify clipboard when doing
7349 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7350 LFUN_DELETE_SKIP on a selection selection
7352 2003-06-16 André Pönitz <poenitz@gmx.net>
7358 * tabular.[Ch]: IU of clone() and getLabelList();
7360 2003-06-13 André Pönitz <poenitz@gmx.net>
7362 * tabular.h: compactification
7364 2003-06-12 André Pönitz <poenitz@gmx.net>
7368 * tabular_funcs.h: some renaming plus whitespace
7370 2003-06-12 André Pönitz <poenitz@gmx.net>
7373 * BufferView_pimpl.C:
7379 * toc.C: Return a Paragraph & for ParIterator::operator*()
7381 2003-06-11 John Levon <levon@movementarian.org>
7385 * ToolbarBackend.C: add "Toolbars" section and
7388 2003-06-10 Angus Leeming <leeming@lyx.org>
7391 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7393 * lyxfunc.C (dispatch): invoke it.
7395 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7397 * main.C: protect <ios> with HAVE_IOS
7398 (main): protect sync_with_stdio with HAVE_IOS
7400 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7402 * text2.C (cutSelection): adjust
7403 (pasteSelection): adjust
7405 * messages.C: handle get of empty string
7407 * main.C (main): use sync_with_stdio(false)
7409 * lyxfunc.C (dispatch): adjust
7411 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7412 (WriteAs): remove unneeded BufferView arg.
7414 * bufferparams.h: use correct types on papersize, papersize2 and
7417 * bufferparams.C (readToken): adjust for type
7418 (writeLaTeX): add missing cases to switch.
7420 * bufferlist.C (quitWriteBuffer): adjust
7423 * buffer.C (asciiParagraph): remove some commented code.
7425 * CutAndPaste.C: remove current_view extern variable.
7426 (cutSelection): add BufferParams arg.
7427 (eraseSelection): add BufferParams arg.
7428 (pasteSelection): add Buffer const & arg
7430 2003-06-07 John Levon <levon@movementarian.org>
7433 * paragraph_funcs.C:
7434 * paragraph_pimpl.C:
7438 * paragraph.C: allow InsetERT to freely space lines,
7439 and some consolidation of code
7441 2003-06-06 José Matos <jamatos@fep.up.pt>
7443 * buffer.C (makeDocBookFile): fix bug #821
7445 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7447 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7449 2003-06-04 Angus Leeming <leeming@lyx.org>
7451 * buffer.C: bump format to 224.
7453 2003-06-05 André Pönitz <poenitz@gmx.net>
7455 * text2.C (redoParagraphs): remove two const_cast<>
7457 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7459 * ParagraphList.h: remove last remnants of NO_STD_LIST
7461 2003-06-03 Angus Leeming <leeming@lyx.org>
7463 * factory.C (createInset): small change to the way InsetExternal's params
7466 2003-06-04 André Pönitz <poenitz@gmx.net>
7468 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7470 * paragraph_pimpl.h:
7471 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7473 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7475 * undo_funcs.C: make some simple cases of undo work again
7477 2003-06-03 John Levon <levon@movementarian.org>
7479 * ispell.C: HPUX doesn't have sys/select.h
7482 2003-06-03 John Levon <levon@movementarian.org>
7484 * CutAndPaste.C: update tabular and include inset
7489 * paragraph.C: remove owningBuffer(), don't pass Buffer
7492 * factory.C: insetGraphicsParams changed
7494 2003-06-02 John Levon <levon@movementarian.org>
7500 * text3.C: remove insetparent
7502 2003-06-02 John Levon <levon@movementarian.org>
7505 * buffer.C: fix inset_iterator.end(), move out of line
7508 2003-06-01 John Levon <levon@movementarian.org>
7510 * text3.C: use a proper cut/paste when doing inset
7511 insert (from Jürgen Spitzmüller)
7513 2003-06-01 John Levon <levon@movementarian.org>
7515 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7517 2003-05-30 André Pönitz <poenitz@gmx.net>
7519 * rowpainter.C: unify second drawing phase
7521 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7523 * trans_mgr.C: remove one case of current_view
7525 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7527 * paragraph_funcs.h: remove paragraph.h include
7529 * paragraph.h: delete NO_STD_LIST stuff
7531 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7533 * buffer.h: remove paragraph.h include
7535 * ParagraphList.C: delete file
7537 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7539 * toc.C (getTocList): adjust
7541 * paragraph_pimpl.C (validate): adjust
7543 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7545 * paragraph.C (Paragraph): adjust
7546 (getPositionOfInset): use const_iterator, adjust
7547 (bibitem): use const_iterator, adjust
7548 (setInsetOwner): adjust
7550 * iterators.C (operator++): adjust
7552 * InsetList.[Ch]: Replace selfmade iterator with standard
7553 vector::iterator also introduce const_iterator. Remove getPos,
7554 getInset and setInset from InsetTable. Adjust accordingly.
7556 * BufferView.C (lockInset): adjust
7557 (ChangeInsets): adjust
7559 * tabular.[Ch]: delete commented same_id functions
7561 2003-05-28 John Levon <levon@movementarian.org>
7563 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7565 2003-05-28 André Pönitz <poenitz@gmx.net>
7567 * metricsinfo.[Ch]: remove 'fullredraw' member
7569 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7571 * lyxtextclass.C (operator): remove caching.
7573 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7577 * text2.C (cursorBottom): adjust
7578 (setCounter): use ParagraphList::find, adjust
7580 * text.C (workWidth): use ParagraphList::find, adjust
7582 * lyxcursor.C (LyXCursor): adjust
7584 * buffer.C (inset_iterator): adjust
7586 * ParagraphList.h: make iterator(value_type) private, make
7587 ParagraphList a friend of iterator.
7589 * ParagraphList.C (find): new function
7591 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7593 2003-05-27 André Pönitz <poenitz@gmx.net>
7595 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7597 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7599 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7601 2003-05-26 John Levon <levon@movementarian.org>
7603 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7605 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7607 * remove same_id from function signatures, adjust.
7609 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7611 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7613 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7615 * paragraph.C (Paragraph): get rid of same_ids parameter
7617 * ParagraphList.C (insert): adjust
7620 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7622 * paragraph_funcs.C (breakParagraph): adjust
7623 (breakParagraphConservative): adjust
7625 * buffer.C (readParagraph): adjust
7627 * ParagraphList.C (insert): take a reference instead of a pointer
7630 * paragraph.[Ch] (id): new function
7632 * bufferlist.C (newFile): adjust
7634 * ParagraphList.C (ParagraphList): adjust
7636 (push_back): take a reference instead of a pointer.
7638 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7640 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7643 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7644 set else use old code.
7646 * ParagraphList.C: remove all NO_NEXT code and only compile this
7647 code of NO_STD_LIST is set.
7649 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7651 * BufferView_pimpl.C:
7661 * graphics/GraphicsConverter.C:
7662 * graphics/PreviewLoader.C: header adjustment
7664 2003-05-23 Angus Leeming <leeming@lyx.org>
7666 * LaTeXFeatures.[Ch] (useBabel): new method.
7667 * bufferparams.C (writeLaTeX): use it.
7669 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7671 * ParagraphList.h (set): remove unused function.
7673 2003-05-23 André Pönitz <poenitz@gmx.net>
7676 * BufferView_pimpl.C:
7680 * undo_funcs.C: setUndo reworked
7682 * iterators.[Ch]: add access to topmost ParagraphList
7684 * lyxtext.[Ch] (workWidth): add a const
7686 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7688 * texrow.[Ch] (increasePos): remove function
7689 * exporter.C (export): removed unused var and outdated comment
7691 2003-05-23 Angus Leeming <leeming@lyx.org>
7693 * latexrunparams.h: rename fragile as moving_arg.
7694 * paragraph.C (simpleTeXOnePar): ditto.
7695 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7697 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7699 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7701 (textUndoOrRedo): comment out a currently unused var.
7703 * paragraph.h (NO_NEXT): enable NO_NEXT
7705 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7707 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7709 * exporter.C (Export): adjust for removeAutoInsets removal.
7711 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7713 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7715 * BufferView.[Ch] (removeAutoInsets): delete function
7717 2003-05-22 Angus Leeming <leeming@lyx.org>
7719 * latexrunparams.h: add a free_spacing variable.
7721 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7722 to pass moving_arg, as the data is stored in runparams.fragile.
7724 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7725 to Inset::latexOptional or to simpleTeXOnePar.
7727 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7728 free_spacing arg to Inset::latexOptional.
7730 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7733 2003-05-22 Angus Leeming <leeming@lyx.org>
7735 * latexrunparams.h: add fragile and use_babel variables.
7737 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7738 * buffer.C (makeLaTeXFile): store this returned value in
7739 runparams.use_babel, thus passing it to the inset::latex methods.
7741 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7742 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7744 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7745 longer has a fragile arg, as it is stored in runparams.fragile.
7747 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7748 moving_arg parameter as the data is stored in runparams.fragile.
7750 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7751 a fragile parameter as the data is stored in runparams.fragile.
7753 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7755 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7757 2003-05-22 Angus Leeming <leeming@lyx.org>
7759 * latexrunparams.h: add a 'bool nice' which defaults to false.
7761 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7762 now encapsulated within runparams.
7764 * bufferlist.C (updateIncludedTeXfiles):
7765 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7767 2003-05-22 Angus Leeming <leeming@lyx.org>
7769 * latexrunparams.h: new file containing struct LatexRunParams.
7770 * Makefile.am: add new file.
7772 * LaTeX.[Ch] (c-tor, run):
7773 * buffer.[Ch] (makeLaTeXFile):
7774 * bufferlist.[Ch] (updateIncludedTeXfiles):
7775 * converter.C (convert, scanLog):
7776 * converter.[Ch] (runLaTeX):
7777 * exporter.C (Export):
7778 * paragraph.[Ch] (simpleTeXOnePar):
7779 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7780 * paragraph_funcs.[Ch] (latexParagraphs):
7781 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7782 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7783 pass around a LatexRunParams parameter.
7785 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7787 * paragraph.[Ch]: remove unused constructor
7789 * ParagraphList.C (erase): new function, taking two iterators
7791 2003-05-22 André Pönitz <poenitz@gmx.net>
7793 * undo_funcs.C: remove duplicated code
7795 * iterator.[Ch]: operator=
7797 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7799 * tabular.C (SetMultiColumn): ws changes
7801 * rowpainter.C (paintFirst): get rid of a ->previous
7803 * lyx_cb.C (getPossibleLabel): parlist simplification
7805 * BufferView.C (ChangeInsets): simplify slightly.
7807 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7809 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7810 * lfuns.h: new LFUN_SPACE
7811 * lyxfunc.C: protected space has a new lfun
7812 * paragraph_funcs.C: read new space insets
7814 * factory.C: handle new space insets
7816 2003-05-22 André Pönitz <poenitz@gmx.net>
7819 * BufferView_pimpl.C:
7822 * undo_funcs.C: return a ParIterator from getParFromID.
7824 * iterators.[Ch]: add two const's
7826 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7828 * toc.C (getTocList): adjust
7830 * iterators.[Ch]: rework for parlist
7832 * buffer.C (par_iterator_begin): adjust
7833 (par_iterator_end): adjust
7835 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7837 * BufferView.C (removeAutoInsets): adjust
7838 (ChangeInsets): adjust
7840 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7842 * text.C (top_y): fix bug 1110
7844 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7846 * errorlist.[Ch]: added
7849 * BufferView_pimpl.C:
7850 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7853 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7855 * Makefile.am: ensure that lyx is relinked upon changes to the
7856 various "convenience" libs.
7858 2003-05-20 Angus Leeming <leeming@lyx.org>
7860 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7861 files are compiled in alphabetical order again.
7863 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7865 2003-05-19 Angus Leeming <leeming@lyx.org>
7867 * gettext.[Ch]: remove "char const * _(char const *)".
7869 2003-05-19 André Pönitz <poenitz@gmx.net>
7871 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7880 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7882 2003-05-19 André Pönitz <poenitz@gmx.net>
7886 * lyxtextclass.[Ch]:
7888 * paragraph_funcs.[Ch]:
7890 * text3.C: more insetenv work
7892 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7894 * ParagraphParameters.C (params2string): small bug fixed
7896 2003-05-16 André Pönitz <poenitz@gmx.net>
7899 * bufferview_funcs.C: patch from Kornel Benko to prevent
7900 crash when _(...) is called twice in a statement
7902 2003-05-16 André Pönitz <poenitz@gmx.net>
7909 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7911 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7913 * lyx_main.C (init): remove spurious static_cast
7915 2003-05-14 André Pönitz <poenitz@gmx.net>
7917 * BufferView.C: fix format string
7919 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7921 * BufferView.[Ch] (insertErrors): removed
7922 * BufferView.[Ch] (showErrorList): added
7923 * buffer.C (runChkTeX):
7924 * converter.C (scanLog): call showErrorList instead of inserterrors
7926 2003-05-13 André Pönitz <poenitz@gmx.net>
7928 * BufferView_pimpl.C:
7930 * bufferview_func.C:
7937 * tabular_funcs.h: tostr() from its own header
7939 * ParagraphParameters.C:
7944 * text3.C: STRCONV()
7946 2003-05-12 André Pönitz <poenitz@gmx.net>
7949 * BufferView_pimpl.C:
7953 * ParagraphParameters.C:
7957 * bufferview_funcs.C:
7970 * paragraph_funcs.C:
7974 * text3.C: boost::format -> bformat all over the place
7977 2003-05-09 André Pönitz <poenitz@gmx.net>
7979 * LColor.[Ch]: Pimpl the #include <map> away
7981 2003-05-09 John Levon <levon@movementarian.org>
7983 * bufferlist.C: never remove emergency saves
7985 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7987 * Makefile.am: better lib building
7989 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7991 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7993 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7994 (simpleTeXSpecialChars): adjust
7995 (simpleTeXSpecialChars): adjust
7996 * paragraph.C (simpleTeXOnePar): adjust
7997 * buffer.C (makeLaTeXFile): adjust
7999 * Makefile.am (BOOST_LIBS): allow boost as system lib.
8001 * text2.C (changeDepth): parlist cleanup
8002 (getColumnNearX): ditto
8004 * rowpainter.C (getLabelFont): parlist cleanup
8006 * bufferlist.C (newFile): parlist cleanup
8008 * CutAndPaste.C (eraseSelection): parlist cleanup
8010 * BufferView_pimpl.C (trackChanges): parlist cleanup
8013 * BufferView.C (lockInset): parlist cleanup.
8014 (ChangeInsets): ditto
8016 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8018 * CutAndPaste.h: Update file header.
8020 * CutAndPaste.C: Update file header.
8021 Store the parts cut out of the Document in a limited_stack.
8022 (copySelection): adjust
8023 (pasteSelection): new function, takes the index in the limited stack.
8024 (nrOfParagraphs): adjust
8025 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8026 simplify error inset insertion.
8027 (checkPastePossible): adjust
8029 2003-05-06 John Levon <levon@movementarian.org>
8031 * text2.C: don't cast wrap inset to float
8033 2003-05-05 André Pönitz <poenitz@gmx.net>
8036 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8038 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8039 few naked Paragraph *.
8041 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
8043 * bufferparams.C: Output warning if a document with missing
8044 TeX document class is loaded
8045 * exporter.C: Disable TeX exports if the document class is missing
8048 * lyxtextclasslist.C: Handle new textclass.lst format; new method
8049 isTeXClassAvailable()
8051 2003-05-03 John Levon <levon@movementarian.org>
8054 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8055 explicit cursor show/hide
8057 * BufferView_pimpl.h:
8058 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8059 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8061 * lyxfunc.C: hide cursor before dispatching.
8066 * text3.C: remove explicit cursor hides
8068 2003-05-02 André Pönitz <poenitz@gmx.net>
8070 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8073 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8076 * text2.C: tiny whitespace
8078 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8080 * undo_funcs.C: almost only ws changes.
8082 * ParagraphList.C (splice): just return if pl is empty.
8084 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8086 * ParagraphList.C (splice): new function.
8088 * CutAndPaste.C (pasteSelection): use it
8090 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8092 * CutAndPaste.C (pasteSelection): remove the last next and
8093 previous from this file.
8095 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8097 * CutAndPaste.C (pasteSelection): more clean up, user proper
8098 ParagraphList functions for pasteing.
8100 * ParagraphList.C (insert): new function, three arg insert
8102 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8104 * ParagraphList.C (insert): new function, three arg insert
8106 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8109 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8111 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8113 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8115 * CutAndPaste.C (pasteSelection): remove some unneeded code.
8117 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8119 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8120 (copySelection): clean up a bit.
8121 (pasteSelection): use make_pair
8123 * ParagraphList.C (ParagraphList): implement copy constructor
8124 (operator=): implement, base on copy constructor.
8127 * paragraph.C (erase): return a bool
8129 * paragraph_pimpl.C (erasePos): remove function, move contents...
8130 (erase): ... here. Return a bool.
8131 (erase): call erase instead of erasePos.
8133 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
8135 * ParagraphList.h: define PitPosPair
8136 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8137 ParagraphList, fix a bug on pasting multiple pars
8138 * text2.C: change interface to C&P
8140 2003-04-30 André Pönitz <poenitz@gmx.net>
8142 * undo_func.C: revert part of yesterday's patch 2
8144 2003-04-30 John Levon <levon@movementarian.org>
8146 * LColor.C: s/tabular/table/
8148 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8150 * text3.C (dispatch): do not convert iterator -> pointer
8151 * undo_funcs.C (setCursorParUndo): ditto
8152 * text_funcs.C (transposeChars): ditto
8154 * text2.C (setLayout): ws changes only
8156 * text.C (breakParagraph): do not convert iterator -> pointer
8158 (acceptChange): ditto
8159 (rejectChange): ditto
8164 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8167 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8169 * text3.C (gotoInset): YABG (yet another bad getChar)
8171 2003-04-29 André Pönitz <poenitz@gmx.net>
8173 * paragraph.h: make operator= private unimplemented as long as
8176 * ParagraphList.C: whitespace
8179 * paragraph_pimpl.[Ch]:
8180 * paragraph_funcs.C:
8182 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8185 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8187 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8189 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8190 * paragraph.[Ch] (erase):
8191 * paragraph_pimpl.[Ch] (erase): change return type and value
8192 * text2.C (cutSelection): some rework
8194 2003-04-28 John Levon <levon@movementarian.org>
8196 * bufferlist.C: changes for unsaved changes dialog
8198 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8200 * bufferlist.C (newFile): set language (messages_) for new
8203 * buffer.C (readFile): ws changes only.
8205 2003-04-28 André Pönitz <poenitz@gmx.net>
8210 * BufferView_pimpl.C:
8211 * BufferView.C: getParFromID related ParagraphList::iterator changes
8213 2003-04-28 André Pönitz <poenitz@gmx.net>
8215 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8218 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8220 * messages.C: remove one more localedir class variable.
8222 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8224 * messages.C (getLocaleDir): singleton generation function
8226 (Messages): add a default constructor.
8228 * main.C (main): do not setup localedir here, do not call
8231 * gettext.C (_): use it.
8232 (gettext_init): delete funciton
8234 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8236 * gettext.C (getLyXMessages): new singleton generating function.
8238 * buffer.C (updateDocLang): adjust
8240 * Makefile.am (messages.o): add target
8241 (main.o): remove target
8243 2003-04-27 John Levon <levon@movementarian.org>
8248 * lyxvc.C: specify cancel button in Alert::prompt
8250 2003-04-26 John Levon <levon@movementarian.org>
8255 * LyXAction.C: add LFUN_INSET_SETTINGS
8257 * lyxfunc.C: don't enable tabular-feature when there's
8258 just any locking inset
8260 2003-04-26 John Levon <levon@movementarian.org>
8262 * bufferlist.C: re-add Cancel to buffer close question
8264 * lyxfunc.C: fix import UI a bit
8266 2003-04-25 John Levon <levon@movementarian.org>
8268 * gettext.C: remove the broken asserts for now
8270 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8272 * messages.C: make case where setlocale cannot comply work better.
8274 * buffer.C (updateDocLang): new function
8275 (changeLanguage): use it
8278 * text2.C (setCounter): use B_ a bit.
8280 * lyxlayout.C (Read): be sure to trim the label strings.
8282 * messages.C (Messages): fix typo in comment
8284 * buffer.C (readFile): set message_ after file is loaded.
8285 (makeDocBookFile): remove double return
8286 (changeLanguage): reset message_ upon language change.
8287 (B_): new func, use this to get translated buffer strings.
8289 * main.C: add myself and Jean Marc as authors.
8291 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8293 * messages.[hC]: pimplify Messages, and three different pimpls to be
8294 used in different circumstances.
8296 * gettext.[Ch]: change for use with new message code.
8298 2003-04-24 André Pönitz <poenitz@gmx.net>
8300 * factory.C: support for eqref
8302 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8304 * messages.[Ch]: add missing char
8306 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8308 * messages.[Ch]: New files
8310 2003-04-18 John Levon <levon@movementarian.org>
8314 * BufferView_pimpl.C:
8318 * text2.C: remove layout-copy/paste (bug 778)
8320 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8322 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8324 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8326 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8327 if they succeed. Act accordingly.
8329 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8331 * text2.C (setCharFont): adjust
8332 (setCounter): adjust
8333 (insertStringAsLines): adjust
8335 * text.C (leftMargin): adjust
8336 (setHeightOfRow): adjust
8338 * rowpainter.C (paintFirst): adjust
8341 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8343 (isFirstInSequence): ditto
8344 (getEndLabel): ditto
8347 * paragraph.C (getParLanguage): comment out some hard stuff.
8349 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8351 (simpleDocBookOnePar): ditto
8352 (makeDocBookFile): use ParagraphList::iterator
8354 * CutAndPaste.C (pasteSelection): adjust
8356 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8358 * text2.C (getFont): adjust
8359 (getLayoutFont): adjust
8360 (getLabelFont): adjust
8362 * paragraph_funcs.C (TeXOnePar): adjust
8364 * buffer.C (simpleLinuxDocOnePar): adjust
8365 (simpleDocBookOnePar): adjust
8367 * CutAndPaste.C (pasteSelection): adjust
8369 * BufferView.C (getEncoding): adjust
8371 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8373 2003-04-16 John Levon <levon@movementarian.org>
8375 * lyxfind.C: use parlist stuff for search/changes
8377 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8379 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8381 * text2.C (deleteEmptyParagraphMechanism): adjust
8383 * text2.[Ch] (ownerParagraph): delete func (both of them
8385 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8387 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8389 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8391 * ParagraphList.C: prepare for NO_NEXT
8393 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8395 * text2.C (getFont): adjust
8396 (getLayoutFont): adjust
8397 (getLabelFont): adjust
8399 * paragraph.C (getFont): adjust
8400 (getLabelFont): adjust
8401 (getLayoutFont): adjust
8403 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8405 2003-04-15 John Levon <levon@movementarian.org>
8409 * lyx_main.C: handle Include in .ui files
8411 2003-04-15 John Levon <levon@movementarian.org>
8413 * MenuBackend.C: make the doc files length shorter
8416 * ToolbarBackend.C: handle toolbar placement flags,
8419 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8421 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8424 * paragraph_funcs.C (TeXOnePar): adjust
8426 * paragraph.C (getLabelFont): add outerfont arg, adjust
8427 (getLayoutFont): ditto
8428 (simpleTeXOnePar): adjust
8430 * paragraph_pimpl.C (realizeFont): delete func
8432 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8434 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8435 row argument, constify cur argument.
8437 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8439 * text2.C (getFont): adjust
8440 (getLayoutFont): adjust
8441 (getLabelFont): adjust
8443 * paragraph_funcs.C (TeXOnePar): adjust
8444 (outerFont): new func...
8445 (realizeFont): ...moved out from here, changed this to facilitate
8448 * paragraph.C (getFont): take outerfont as arg, adjust
8449 (simpleTeXOnePar): add outerfont arg, adjust
8451 * buffer.C (simpleLinuxDocOnePar): adjust
8452 (simpleDocBookOnePar): adjust
8454 * CutAndPaste.C (pasteSelection): adjust
8456 * BufferView.C (getEncoding): adjust
8458 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8460 * text2.C (setCharFont): adjust
8461 (setCounter): adjust
8463 * text.C (leftMargin): adjust
8464 (setHeightOfRow): adjust
8466 * rowpainter.C (paintFirst): adjust
8469 * paragraph_pimpl.C (realizeFont): adjust
8471 * paragraph.C (isFirstInSequence): move from here...
8472 * paragraph_funcs.C (isFirstInSequence): ...to here
8474 * paragraph.C (outerHook): move from here...
8475 * paragraph_funcs.C (outerHook): ...to here
8477 * paragraph.C (depthHook): move from here...
8478 * paragraph_funcs.C (depthHook): ...to here
8480 * paragraph.C (getEndLabel): move from here...
8481 * paragraph_funcs.C (getEndLabel): ...to here
8483 * text2.C (realizeFont): move from here...
8484 * paragraph_funcs.C (realizeFont): ...to here
8486 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8488 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8490 2003-04-14 Angus Leeming <leeming@lyx.org>
8492 * LColor.[Ch]: scrap LColor mathcursor.
8494 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8496 * lyxlex.[Ch] (text): delete function
8497 * trans.C (Load): adjust
8498 * paragraph_funcs.C (readParToken): adjust
8500 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8502 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8503 vector<char> instead of a char[].
8505 * lyxlex_pimpl.C (getString): adjust
8507 (lex): use getString
8511 * lyxlex.C (text): use pimpl_->getString()
8515 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8517 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8518 (makeFontEntriesLayoutSpecific): temp var for par.size()
8519 (setLayout): temp var for ownerParagraphs().end()
8520 (fullRebreak): temp var for rows().end()
8521 (selectionAsString): temp var for boost::next(startpit), realize
8522 that the while really is a regular for loop.
8523 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8524 setCursor in one place.
8525 (setParagraph): temp vr for ownerParagraphs().end()
8526 (updateCounters): make the while loop a for loop
8527 (cutSelection): temp var for ownerParagraphs().end()
8528 (updateInset): make the do {} while() a regular for loop
8529 (getCursorX): use temp vars
8530 (setCurrentFont): use temp vars
8531 (getColumnNearX): use temp vars
8533 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8535 * text.C (transformChar): use temp var for getChar
8536 (computeBidiTables): use temp var for row->par()
8537 (fill): move temp vars for row->par() and pit->layout() earlier in
8539 (labelFill): use temp var for row->par()
8540 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8541 asc and desc, realize that pit never changes and that firstpit is
8542 just a duplicate and not needed. Exchange rit->par() with pit in a
8544 (breakAgain): use a temp var for boost::next(rit)
8545 (breakAgainOneRow): ditto
8546 (breakParagraph): use a temp var for rows().begin()
8547 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8548 (cursorRightOneWord): use temp var for cursor.par() and
8549 cursor.pos(), remove usage of tmpcursor.
8550 (cursorLeftOneWord): use temp var for cursor.par() and
8551 cursor.pos() only set cur at end of function.
8553 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8555 * text.C, text2.C: exchange all usage of Paragraph::next with
8556 boost::next(ParagraphList::iterator)
8558 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8560 * text2.C (cursorTop): simplify implementation
8561 (cursorBottom): ditto
8562 (setParagraph): use ParagraphList::iterator
8563 (setCurrentFont): adjust
8564 (getColumnNearX): adjust
8565 (cursorRight): adjust
8566 (cursorLeft): remove usage of Paragraph::previous
8567 (cursorUpParagraph): ditto
8568 (deleteEmptyParagraphMechanism): slight cleanup
8570 * text.C (isBoundary): take a Paragraph const & instead of a
8572 (addressBreakPoint): ditto
8573 (leftMargin): remove usage of Paragraph::previous.
8574 (setHeightOfRow): ditto
8575 (cursorLeftOneWord): ditto
8576 (selectNextWordToSpellcheck): ditto
8579 (breakParagraph): remove one usage of Paragraph::next
8580 (redoParagraph): ditto
8581 (acceptChange): ditto
8582 (insertChar): adjust
8583 (rowBreakPoint): adjust
8585 * bufferview_funcs.C (toggleAndShow): adjust
8587 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8589 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8590 methods to access it.
8592 * text.C: Added updateRowPositions to compute all row positions.
8593 Make top_y and getRowNearY() to use the cached y position
8595 2003-04-11 John Levon <levon@movementarian.org>
8597 * text.C (rowBreakPoint): reintroduce the labelEnd
8598 checks, code copied from the row fill stuff. Deep voodoo.
8600 * text.C (fill): add a comment and debugging for the
8603 2003-04-11 John Levon <levon@movementarian.org>
8605 * text.C: make sure fullrow insets get wrapped to the next line,
8606 even when they're in a manual label
8608 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8610 * text2.C (insertParagraph): make it take ParagraphList::iterator
8612 (setLayout): make it return ParagraphList::iterator
8613 (redoParagraphs): ditto
8615 (checkParagraph): ditto
8617 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8619 * text2.C: adjust several funcs.
8620 (realizeFont): take a ParagraphList::iterator as arg.
8621 (getLayoutFont): ditto
8622 (getLabelFont): ditto
8623 (setCharFont): ditto
8625 * text.C: adjust several funcs.
8627 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8629 * text.C (selectNextWordToSpellcheck): don't accidentally
8632 2003-04-10 John Levon <levon@movementarian.org>
8634 * ToolbarBackend.C (getIcon): special handling for
8637 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8639 * text2.C (cursorRight): a getChar assert fixed
8641 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8643 * text2.C (getFont): change to take a ParagraphList::iterator
8644 instead of Paragraph*
8645 Adjust several functions.
8647 * text.C (transformChar): change to take a ParagraphList::iterator
8648 instead of Paragraph*
8649 (singleWidth): ditto
8650 Adjust several functions.
8652 * rowpainter.C: adjust several functions
8653 * rowpainter.h:store a ParagraphList::iterator and not a
8657 2003-04-09 John Levon <levon@movementarian.org>
8662 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8663 and the "help" bits as well
8665 2003-04-09 John Levon <levon@movementarian.org>
8668 * ToolbarBackend.C: allow multiple toolbars
8670 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8672 * undo_funcs.C (setCursorParUndo): adjust
8674 * text_funcs.C (transposeChars): adjust
8676 * text3.C (gotoNextInset): adjust
8679 * text2.C (setLayout): adjust
8680 (changeDepth): adjust
8682 (redoParagraphs): adjust
8683 (selectionAsString): adjust
8684 (setParagraph): adjust
8685 (insertInset): adjust
8686 (cutSelection): adjust
8687 (copySelection): adjust
8688 (pasteSelection): adjust
8689 (insertStringAsLines): adjust
8690 (updateInset): adjust
8691 (setCursor): change to take a ParagraphList::iterator parameter
8692 (setCursorIntern): change to take a ParagraphList::iterator parameter
8693 (setCurrentFont): adjust
8694 (cursorLeft): adjust
8695 (cursorRight): adjust
8696 (deleteEmptyParagraphMechanism): adjust
8698 * text.C (breakParagraph): adjust
8699 (insertChar): adjust
8700 (acceptChange): adjust
8701 (rejectChange): adjust
8702 (selectNextWordToSpellcheck): adjust
8703 (changeCase): adjust
8707 * lyxfind.C (SearchForward): adjust
8708 (SearchBackward): adjust
8709 (nextChange): adjust
8711 * lyxcursor.C (par): adjust
8713 * lyxcursor.h: store a ParagraphList::iterator instead of a
8716 * lyx_cb.C (getPossibleLabel): adjust
8718 * bufferview_funcs.C (toggleAndShow): adjust
8720 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8723 * BufferView.C (removeAutoInsets): adjust
8724 (lockedInsetStoreUndo): adjust
8726 2003-04-09 John Levon <levon@movementarian.org>
8728 * ToolbarBackend.C: try icon without argument
8729 if with argument fails
8731 2003-04-08 John Levon <levon@movementarian.org>
8734 * ToolbarBackend.C: add getIcon(), handle tooltip,
8735 and change from "Icon" to "Item".
8737 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8739 * BufferView.C (lockInset): another bad getchar crunched
8741 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8743 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8746 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8748 * lyxfind.C (searchForward, searchBackwards): bug 782
8750 2003-04-07 John Levon <levon@movementarian.org>
8752 * paragraph.C: remove dead comment
8754 * text.C: remove troublesome depth-fiddling code
8755 in leftMargin() and rightMargin() (bug 1017)
8757 * text.C: fix breaking of rows in nested lists
8760 * text2.C (updateCounters): fix up depth values
8763 2003-04-07 John Levon <levon@movementarian.org>
8765 * BufferView_pimpl.C: clear message when doc finishes resizing,
8766 and after a mouse event
8768 * lyxfunc.C: clear message after exiting inset
8770 2003-04-07 John Levon <levon@movementarian.org>
8772 * bufferview_funcs.C: show math status not outside
8773 status in the statusbar
8775 2003-04-07 John Levon <levon@movementarian.org>
8777 * lyxfunc.C: note status changed after a depth change
8779 2003-04-04 Angus Leeming <leeming@lyx.org>
8781 * LaTeX.h: move AuxInfo operator==, != out of line.
8782 Remove LaTeX virtual destructor; nothing derives from it.
8783 Move operator()() out of public area and rename it startscript().
8784 Change protected for private.
8786 2003-04-04 Angus Leeming <leeming@lyx.org>
8789 * text2.C: remove unneeded #includes.
8791 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8793 * text2.C (dEPM): fix the heigth of the next row
8795 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8797 * text.C: squashed an invalid getChar requester + some ws changes
8799 2003-04-03 John Levon <levon@movementarian.org>
8801 * bufferview_funcs.h:
8802 * bufferview_funcs.C:
8805 * text2.C: make getStatus work for the env depth lfuns
8807 2003-04-03 John Levon <levon@movementarian.org>
8809 * bufferview_funcs.h:
8810 * bufferview_funcs.C:
8813 * text2.C: parlistize decDepth(), by merging it with incDepth()
8815 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8817 * lyxrow.h: store a ParagraphList::iterator instead of a
8818 Paragraph* and adjust other class functions to suit.
8820 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8823 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8825 * text2.C (setCursor): do not anchor to cursor row for the time being
8827 2003-04-02 John Levon <levon@movementarian.org>
8834 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8836 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8838 * paragraph.h: make ParagraphList and ParagraphList::iterator
8839 friends of Paragraph.
8841 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8843 * ParagraphList.C: Use the private next_ and previous_ from
8846 2003-04-01 John Levon <levon@movementarian.org>
8850 * Makefile.am: rename, remove defaults gunk
8853 * MenuBackend.C: remove defaults gunk
8856 * Languages.C: remove defaults gunk
8859 * lyx_main.C: error out if files couldn't be found.
8861 2003-04-02 John Levon <levon@movementarian.org>
8863 * text2.C: make incDepth() use parlist
8865 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8867 * undo_funcs.C (firstUndoParagraph): adjust
8869 * text3.C (gotoInset): adjust
8870 (dispatch): adjust, and rewrite loop.
8872 * text2.C (init): adjust, and rewrite loop.
8873 (redoParagraphs): adjust
8874 (updateInset): adjust, and rewrite loop.
8875 (deleteEmptyParagraphMechanism): adjust
8877 * tabular.C (LyXTabular): adjust
8878 (SetMultiColumn): adjust
8881 * lyxtext.[Ch] (ownerParagraph): delete function
8882 (ownerParagraphs): new function returns a ParagraphList.
8884 * BufferView.C (removeAutoInsets): adjust
8885 (insertErrors): adjust
8886 (setCursorFromRow): adjust
8888 2003-04-01 Angus Leeming <leeming@lyx.org>
8890 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8893 2003-04-02 John Levon <levon@movementarian.org>
8899 * text_funcs.C: make transposeChars a free function
8901 * lyxrow_funcs.C: remove wrong comment
8903 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8906 * rowpainter.C: adjust
8911 * lyxrow_funcs. [Ch]: new files
8913 * lyxrow.[Ch]: remove next and previous pointers
8914 (next,previous): remove accessor functions
8915 (isParEnd): move to lyxrow_funcs
8916 (lastPos): move to lyxrow_funcs
8917 (nextRowIsAllInset): move to lyxrow_funcs
8918 (lastPrintablePos): move to lyxrow_funcs
8919 (numberOfSeparators): move to lyxrow_funcs
8920 (numberOfHfills): move to lyxrow_funcs
8921 (numberOfLabelHfills): move to lyxrow_funcs
8922 (hfillExpansion): move to lyxrow_funcs
8926 * bufferview_funcs.C (toggleAndShow): adjust
8928 * RowList.h: Remove class RowList from file leave just a
8931 * RowList.C: delete file
8933 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8936 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8938 * text3.C (cursorPrevious): adjust
8939 (cursorNext): adjust
8942 * text2.C (redoHeightOfParagraph): adjust
8943 (redoDrawingOfParagraph): adjust
8946 * text.C (breakParagraph): adjust
8947 (insertChar): adjust
8950 * rowpainter.C (RowPainter): adjust
8951 (leftMargin): simplify and adjust
8952 (most rowpainter functions): adjust.
8954 * rowpainter.h: store the row as RowList::iterator not as Row*
8956 * lyxcursor.C (row): taka RowList::iterator as arg
8959 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8962 2003-04-01 Angus Leeming <leeming@lyx.org>
8964 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8965 stuff like bool Bool.
8967 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8969 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8972 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8974 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8977 * lyxtext.h (rows): drop one version and leve a const variant that
8978 returns a RowList::iterator.
8980 2003-03-31 Angus Leeming <leeming@lyx.org>
8982 * text.C (fill): ensure that the signature is the same as that in the
8985 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8987 * text2.C (redoParagraphs): adjust
8988 (updateCounters): adjust
8989 (checkParagraph): adjust
8990 (getColumnNearX): adjust and reformat a bit.
8992 * text.C (top_y): adjust
8994 (leftMargin): adjust
8995 (prepareToPrint): adjust
8997 (getRowNearY): adjust
8999 * lyxtext.h: make rowlist_ mutable.
9001 * RowList.h: add const_iterator
9002 * RowList.C: adjust for RowList::const_iterator.
9004 * text2.C (getCursorX): make it take a RowList::iterator as arg,
9007 2003-03-31 John Levon <levon@movementarian.org>
9010 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9012 * lyx_main.C: set default fonts from using lyx_gui funcs
9014 * exporter.C: pdf_mode moved from lyxrc
9017 * lyxfunc.C: changes from above
9019 2003-03-31 John Levon <levon@movementarian.org>
9021 * lyx_main.C: fix to the last fix
9023 2003-03-31 John Levon <levon@movementarian.org>
9025 * bufferlist.C: "Load original" -> "Load Original"
9031 * format.C: more Alert cleanups
9033 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9035 * text2.C (removeParagraph): make it take a RowList::iterator as
9037 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9038 (postRowPaint): make it take a RowList::iterator as arg, adjust.
9040 * text.C (anchor_row): make it take a RowList::iterator as arg,
9042 (computeBidiTables): make it take a const reference to Row instead
9043 of Row pointer, adjust.
9044 (leftMargin): make it take a RowList::iterator as arg, adjust.
9045 (rowBreakPoint): adjust
9046 (breakAgainOneRow): make it take a RowList::iterator as arg,
9048 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9050 * bufferview_funcs.C (toggleAndShow): adjust
9052 2003-03-30 John Levon <levon@movementarian.org>
9056 * boost-inst.C: moved to support
9058 * several files: changes as a result
9060 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9062 * text2.C (LyXText): adjust.
9064 (removeRow): make it take a RowList::iterator as arg, adjust.
9065 (fullRebreak): adjust
9066 (deleteEmptyParagraphMechanism): adjust
9067 (clearPaint): adjust
9070 * text.C (top_y): adjust
9071 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9072 (breakAgain): make it take a RowList::iterator as arg, adjust.
9073 (breakParagraph): adjust
9074 (insertChar): adjust
9077 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9078 need_break_row, and refresh_row.
9080 * text3.C (dispatch): adjust
9082 * text2.C (checkParagraph): adjust
9084 (setCursorFromCoordinates): adjust
9086 * text.C (top_y): adjust
9088 (getRow): make it return a RowList::iterator, adjust
9089 (getRowNearY): make it return a RowList::iterator, adjust
9091 * text2.C (init): adjust
9092 (insertRow): remove function
9093 (insertParagraph): adjust
9094 (redoParagraphs): adjust
9095 (fullRebreak): adjust
9096 (updateCounters): adjust
9098 * text.C (top_y): rewrite to use RowList iterators.
9100 (setHeightOfRow): rewrite to sue RowList iterators.
9101 (appendParagraph): adjust
9102 (breakAgain): adjust
9103 (breakAgainOneRow): adjust
9104 (breakParagraph): adjust
9106 (getRowNearY): adjust, and remove commented code.
9108 * lyxtext.h (firstRow): delete function
9109 (lastRow): delete function
9110 (rows): new function (const and non-const versions.)
9111 (insertRow): delete function
9113 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9115 2003-03-29 John Levon <levon@movementarian.org>
9117 * BufferView_pimpl.C: always update scrollbar top
9118 because pasting text when we're anchored could mean we
9119 miss an update altogether
9121 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9123 * text2.C (init): use rowlist_.end() and not 0.
9124 (insertRow): change to take a RowList::iterator as arg, adjust
9126 (insertParagraph): change to take a RowList::iterator as arg,
9128 (redoParagraphs): remove some debug msgs.
9130 * text.C (appendParagraph): change to take a RowList::iterator
9131 arg, adjust for this.
9132 (breakAgain): add an assert
9133 (breakAgainOneRow): ditto
9135 2003-03-29 John Levon <levon@movementarian.org>
9137 * text2.C: do not clear selection after inc/decDepth
9140 2003-03-29 John Levon <levon@movementarian.org>
9143 * buffer.C: fix broken strerrors according to Lars
9145 2003-03-29 John Levon <levon@movementarian.org>
9147 * converters.C: more Alert cleanups
9149 2003-03-29 John Levon <levon@movementarian.org>
9151 * bufferview_funcs.C: remove pointless Alert
9153 * buffer.C: fix confusing error message when
9154 a template is chmoded 000
9156 2003-03-29 John Levon <levon@movementarian.org>
9160 * BufferView_pimpl.C: Alert fixes
9164 * tabular-old.C: remove unused table compat reading
9166 2003-03-29 John Levon <levon@movementarian.org>
9171 * lyx_cb.C: more Alert cleanups
9173 * lyxfunc.C: don't allow chktex if not latex document
9175 2003-03-29 John Levon <levon@movementarian.org>
9179 * buffer.C: warnings pushed down from support/,
9182 2003-03-29 John Levon <levon@movementarian.org>
9184 * lyxfunc.C: safety check for C-r (revert)
9186 2003-03-29 John Levon <levon@movementarian.org>
9189 * bufferlist.C: several UI fixes using Alert::prompt.
9190 Fix the pointless looping quit code. Fix stupid revert
9195 * lyx_cb.C: use Alert::prompt
9197 * lyx_main.C: remove a silly question
9199 * lyxfunc.C: remove a couple of silly questions,
9202 2003-03-28 John Levon <levon@movementarian.org>
9204 * text2.C: fix bug 974 (End on empty par)
9206 2003-03-28 John Levon <levon@movementarian.org>
9208 * BufferView_pimpl.C:
9210 * lfuns.h: remove do-nothing math greek lfuns
9212 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9214 * lyxgluelength.h (isValidGlueLength): add default arg on
9215 parameter 2. Remove default arg from friend in class.
9217 * lyxlength.h (isValidLength): add default arg on parameter 2.
9218 Remove default arg from friend in class.
9220 * text2.C (LyXText): adjust, initialize refresh_row.
9224 (insertParagraph): adjst
9225 (redoParagraphs): adjust
9226 (fullRebreak): adjust
9227 (updateCounters): adjust
9228 (deleteEmptyParagraphMechanism): first attempt at fixing a
9231 * text.C (top_y): adjust
9232 (setHeightOfRow): adjust
9234 (getRowNearY): adjust
9236 * lyxtext.h: include RowList.h
9237 (~LyXText): not needed anymore, deleted.
9238 (firstRow): modify for RowList
9239 (lastRow): new function
9240 Delete firstrow and lastrow class variables, add a Rowlist
9241 rowlist_ class variable.
9243 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9246 * RowList.C (insert): fix case where it == begin().
9248 2003-03-26 Angus Leeming <leeming@lyx.org>
9250 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9251 the thesaurus dialog.
9253 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9255 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9257 * RowList.[Ch]: new files
9259 * ParagraphList.C (erase): handle the case where it == begin
9262 2003-03-25 John Levon <levon@movementarian.org>
9266 * aspell.C: add new aspell support
9269 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9272 2003-03-25 Angus Leeming <leeming@lyx.org>
9275 * LyXAction.C (init): new LFUN_INSET_INSERT.
9277 * BufferView_pimpl.C (dispatch): split out part of the
9278 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9280 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9283 2003-03-25 Angus Leeming <leeming@lyx.org>
9285 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9287 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9290 * text3.C: remove useless row->height(0)
9292 2003-03-25 John Levon <levon@movementarian.org>
9296 * text3.C: rename the refreshing stuff to better names
9298 2003-03-24 John Levon <levon@movementarian.org>
9300 * BufferView_pimpl.h:
9301 * BufferView_pimpl.C: update layout choice on a mouse
9304 2003-03-23 John Levon <levon@movementarian.org>
9306 * Makefile.am: fix commandtags.h reference
9308 2003-03-22 John Levon <levon@movementarian.org>
9310 * BufferView_pimpl.C:
9315 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9317 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9320 * text.C: take the rtl methods out of line
9322 2003-03-21 André Pönitz <poenitz@gmx.net>
9324 * metricsinfo.[Ch]: new files containing structures to be passed around
9325 during the two-phase-drawing...
9327 2003-03-21 André Pönitz <poenitz@gmx.net>
9329 * lyxtextclass.C: read 'environment' tag.
9331 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9333 * text2.C (removeRow): fix bug 964
9335 2003-03-20 John Levon <levon@movementarian.org>
9339 * text2.C: paint cleanups. Inset::update() dropped font
9342 2003-03-19 John Levon <levon@movementarian.org>
9344 * lyxfunc.C: only fitcursor/markDirty if available()
9346 2003-03-19 John Levon <levon@movementarian.org>
9348 * commandtags.h: rename to ...
9350 * lfuns.h: ... this, and renumber / cleanup
9352 2003-03-19 John Levon <levon@movementarian.org>
9354 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9355 fit the cursor after an lfun
9359 * BufferView_pimpl.h:
9360 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9362 * LyXAction.C: layout-character should have ReadOnly
9364 * ParagraphParameters.C:
9366 * bufferview_funcs.C:
9373 * undo_funcs.C: changes from above
9375 2003-03-18 John Levon <levon@movementarian.org>
9377 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9378 remove it from update()
9380 * lyxfunc.C: update layout choice after an lfun
9382 * text3.C: remove extra updateLayoutChoice()s
9384 2003-03-18 John Levon <levon@movementarian.org>
9386 * text.C: top_y change means full repaint, fix
9387 a drawing bug with cursor movement
9389 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9393 * text2.C: anchor row on setCursor
9395 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9397 * lyxtext.h: remove almost all mutable keywords
9400 * text3.C: remove const keywords accordingly
9402 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9404 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9406 (TeXEnvironment): ditto
9409 2003-03-17 John Levon <levon@movementarian.org>
9411 * text.C (rowBreakPoint): remove attempt to fix displayed
9412 math insets inside a manual label
9414 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9416 * lyxtext.h: remove BufferView* as first arg from almost all class
9418 * other files: adjust.
9420 2003-03-17 John Levon <levon@movementarian.org>
9424 * text2.C: more paint cleanups
9426 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9429 * rowpainter.C: remove "smart" background painting code
9431 2003-03-16 John Levon <levon@movementarian.org>
9436 * text3.C: add helper functions for setting refresh_row/y
9438 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9440 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9441 newline inset which *can* get inserted in the pass_thru layouts.
9442 This is primarily for literate documents.
9444 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9446 * buffer.C: increment LYX_FORMAT to 223
9448 2003-03-14 André Pönitz <poenitz@gmx.net>
9450 * textclass.h: prepare for environment handling, ws changes
9451 * lyxlayout.C: read latexheader and latexfooter tags
9453 2003-03-14 John Levon <levon@movementarian.org>
9455 * text2.C: rewrite ::status() a bit
9457 2003-03-13 John Levon <levon@movementarian.org>
9459 * lyxtext.h: add some docs
9461 2003-03-13 John Levon <levon@movementarian.org>
9466 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9468 2003-03-13 John Levon <levon@movementarian.org>
9470 * text3.C: fix appendix redrawing
9472 2003-03-13 John Levon <levon@movementarian.org>
9474 * text.C (setHeightOfRow):
9476 * rowpainter.C: make appendix mark have the text
9477 "Appendix" so the user knows what it is
9480 * LColor.C: s/appendixline/appendix/ from above
9482 2003-03-13 John Levon <levon@movementarian.org>
9484 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9486 * text.C: fix a getChar(pos) bug properly
9488 2003-03-13 Angus Leeming <leeming@lyx.org>
9491 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9492 Probably only temporary. Let's see how things pan out.
9494 * BufferView.C (unlockInset):
9495 * BufferView_pimpl.C (fitCursor):
9496 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9498 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9499 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9501 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9502 new functions that convert ParagraphParameters to and from a string.
9504 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9505 BufferView::Pimpl's dispatch.
9506 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9508 2003-03-13 André Pönitz <poenitz@gmx.net>
9512 * factory.C: make it aware of InsetEnv
9514 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9516 * text2.C (setCursor): never ask for one past last
9517 (setCursor): add some debugging messages.
9519 * text.C (singleWidth): never ask for one past last
9520 (singleWidth): ditto
9522 (rightMargin): ditto
9523 (rowBreakPoint): ditto
9524 (setHeightOfRow): ditto
9525 (prepareToPrint): ditto
9527 * rowpainter.C (paintBackground): never ask for one past last
9528 (paintText): never ask for one past last
9530 * paragraph_pimpl.C (getChar): make the assert stricter, never
9531 allow the one past last pos to be taken
9533 * paragraph.C (getChar): ws changes only
9535 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9536 (numberOfSeparators): ditto
9537 (numberOfHfills): ditto
9539 2003-03-12 John Levon <levon@movementarian.org>
9545 * paragraph_funcs.C: fix per-buffer authorlists
9547 2003-03-12 John Levon <levon@movementarian.org>
9549 * text.C: fix newline in right address
9551 2003-03-12 Angus Leeming <leeming@lyx.org>
9553 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9554 duplicate those in LyXFunc::dispatch.
9558 * ToolbarDefaults.C:
9559 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9560 Add LFUN_FONTFREE_UPDATE.
9562 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9563 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9565 * bufferview_func.[Ch]: several new functions to facilliate
9566 transfer of data to and from the character dialog.
9568 2003-03-12 John Levon <levon@movementarian.org>
9573 * paragraph_funcs.C:
9574 * paragraph_pimpl.C:
9578 * text3.C: remove META_NEWLINE in favour of an inset
9581 * rowpainter.C: remove paintNewline (done by inset)
9583 2003-03-12 John Levon <levon@movementarian.org>
9585 * paragraph_pimpl.C: complain about bad getChar()s
9586 for a while at least
9588 2003-03-12 John Levon <levon@movementarian.org>
9591 * buffer.C: move paragraph read into a separate function,
9592 a little renaming to reflect that.
9595 * bufferparams.C: remove the author_ids map, not necessary now
9598 * factory.C: moved Buffer::readInset to here
9600 * paragraph_funcs.h:
9601 * paragraph_funcs.C: readParagraph free function moved from
9604 * tabular.C: name change
9606 2003-03-12 John Levon <levon@movementarian.org>
9609 * ParagraphParameters.C: move par params input to
9612 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9613 behave like a normal read from the stream wrt reading
9614 a line vs. a \\token
9616 2003-03-12 John Levon <levon@movementarian.org>
9619 * ParagraphParameters.h:
9620 * ParagraphParameters.C: move output code to a
9623 2003-03-12 John Levon <levon@movementarian.org>
9625 * BufferView.C (insertLyXFile):
9628 * tabular.C: use a parlist iterator for creating the
9631 2003-03-12 John Levon <levon@movementarian.org>
9633 * buffer.C: make current_change static local not
9636 2003-03-12 John Levon <levon@movementarian.org>
9638 * buffer.C: fix insertStringAsLines for change tracking
9640 2003-03-12 John Levon <levon@movementarian.org>
9647 * bufferparams.C: move author list into params. Rename some
9648 functions. Move the header reading into a separate token
9649 loop. Move the header token reading into BufferParams.
9651 2003-03-12 John Levon <levon@movementarian.org>
9653 * changes.C: put debug inside lyxerr.debugging() checks
9655 2003-03-11 André Pönitz <poenitz@gmx.net>
9657 * factory.C: make it aware of InsetHFill
9659 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9661 * buffer.C (latexParagraphs): move function from here...
9662 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9665 2003-03-10 Angus Leeming <leeming@lyx.org>
9667 * LyXAction.C (init): fix bug in poplating array with multiple entries
9668 with the same LFUN (spotted by JMarc).
9670 2003-03-10 John Levon <levon@movementarian.org>
9673 * text2.C: move getColumnNearX() near its
9676 2003-03-10 John Levon <levon@movementarian.org>
9678 * text.C: fix break before a minipage
9680 2003-03-10 John Levon <levon@movementarian.org>
9682 * text.C: fix the last commit
9684 2003-03-09 John Levon <levon@movementarian.org>
9688 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9689 bug 365 (don't break before insets unless needed). Don't
9690 return a value > last under any circumstances.
9692 2003-03-09 Angus Leeming <leeming@lyx.org>
9694 * BufferView_pimpl.C (trackChanges, dispatch): call
9695 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9697 2003-03-09 Angus Leeming <leeming@lyx.org>
9699 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9700 than Dialogs::showAboutlyx().
9702 2003-03-09 Angus Leeming <leeming@lyx.org>
9704 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9705 than Dialogs::showTabularCreate().
9707 2003-03-09 John Levon <levon@movementarian.org>
9711 * text2.C: 3rd arg to nextBreakPoint was always the same.
9714 2003-03-08 John Levon <levon@movementarian.org>
9721 * text2.C: Remove the "main" bit from the "main body"
9724 2003-03-08 John Levon <levon@movementarian.org>
9726 * text.C (leftMargin): The left margin of an empty
9727 manual label paragraph should not include the label width
9730 * text.C (prepareToPrint): don't attempt to measure hfills
9731 for empty manual label paragraphs - the answer should be 0
9733 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9735 * CutAndPaste.C: remove commented code and reindent.
9737 2003-03-08 John Levon <levon@movementarian.org>
9740 * lyxfunc.C: move reloadBuffer()
9743 * BufferView.C: to here
9745 * lyxvc.C: add comment
9748 * vc-backend.C: call bv->reload() to avoid
9749 getStatus() check on MENURELOAD
9751 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9753 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9754 to an old format .dep file.
9756 2003-03-07 Angus Leeming <leeming@lyx.org>
9758 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9759 when the LFUN_MOUSE_RELEASE should have been handled by
9760 inset->localDispatch.
9762 2003-03-07 Angus Leeming <leeming@lyx.org>
9764 * BufferView_pimpl.C (dispatch):
9765 * LyXAction.C (init):
9766 * ToolbarDefaults.C (init):
9768 * lyxfunc.C (getStatus):
9769 remove LFUN_INSET_GRAPHICS.
9771 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9773 2003-03-07 Angus Leeming <leeming@lyx.org>
9776 * LyXAction.C (init):
9777 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9779 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9782 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9784 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9785 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9787 2003-03-07 Angus Leeming <leeming@lyx.org>
9789 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9792 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9794 * ParagraphList.C (front): new function
9797 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9799 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9800 and top_row_offset_. removed var first_y.
9802 * text2.C (LyXText, removeRow):
9804 * BufferView_pimpl.C:
9805 use these methods instead of using first_y
9807 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9809 * text2.C (pasteSelection): adjust for checkPastePossible
9811 * CutAndPaste.C: remove Paragraph * buf and replace with
9812 ParagraphList paragraphs.
9813 (DeleteBuffer): delete
9814 (cutSelection): change the tc type to textclass_type
9815 (copySelection): change the tc type to textclass_type
9816 (copySelection): adjust for ParagraphList
9817 (pasteSelection): change the tc type to textclass_type
9818 (pasteSelection): adjust for Paragraphlist
9819 (nrOfParagraphs): simplify for ParagraphList
9820 (checkPastePossible): simplify for ParagraphList
9821 (checkPastePossible): remove unused arg
9823 * ParagraphList.C (insert): handle the case where there are no
9826 * CutAndPaste.h: make CutAndPaste a namespace.
9828 * text3.C (dispatch): adjust
9830 * text.C (breakParagraph): add a ParagraphList as arg
9832 * paragraph_funcs.C (breakParagraph): change to take a
9833 BufferParams and a ParagraphList as args.
9834 (breakParagraphConservative): ditto
9835 (mergeParagraph): ditto
9836 (TeXDeeper): add a ParagraphList arg
9837 (TeXEnvironment): ditto
9840 * buffer.C (readLyXformat2): adjust
9841 (insertStringAsLines): adjust
9842 (latexParagraphs): adjust
9844 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9845 (cutSelection): adjust
9846 (pasteSelection): adjust
9848 * BufferView_pimpl.C (insertInset): adjust
9850 2003-03-05 Angus Leeming <leeming@lyx.org>
9853 * LyXAction.C (init):
9854 * BufferView_pimpl.C (dispatch):
9855 * lyxfunc.C (getStatus):
9856 remove LFUN_CHILD_INSERT.
9858 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9860 2003-03-05 Angus Leeming <leeming@lyx.org>
9863 * LyXAction.C (init):
9864 * src/factory.C (createInset):
9865 * lyxfunc.C (getStatus):
9866 * text3.C (dispatch):
9867 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9869 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9871 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9873 * ParagraphList.C (insert): handle insert right before end()
9874 (erase): fix cases where it can be first or last paragraph.
9876 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9878 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9879 Paragraph::next and Paragraph::previous
9882 * text.C (breakParagraph): adjust
9884 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9885 BufferParams& as arg.
9886 (breakParagraph): use ParagraphList::insert
9887 (breakParagraphConservative): take a Buffer* instead of a
9888 BufferParams& as arg.
9889 (breakParagraphConservative): use ParagraphList::insert.
9891 * buffer.C (insertStringAsLines): un-const it
9892 (insertStringAsLines): adjust
9894 * ParagraphList.C (insert): new function
9896 * CutAndPaste.C (pasteSelection): adjust
9898 * text.C (backspace): adjust
9900 * tabular.C (SetMultiColumn): adjust
9902 * CutAndPaste.C (cutSelection): adjust
9903 (pasteSelection): adjust
9905 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9906 Buffer const * as arg
9908 * ParagraphList.C (erase): new function
9909 * paragraph_funcs.C (mergeParagraph): use it
9910 (mergeParagraph): make it take a Buffer* instead of a
9911 BufferParams* as arg
9913 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9915 (breakParagraphConservative): ditto
9917 * paragraph.h: remove the breakParagraph friend
9919 * paragraph.C (eraseIntern): new function
9920 (setChange): new function
9922 * paragraph_funcs.C (mergeParagraph): make it take a
9923 ParagraphList::iterator instead of a Paragraph *, adjust
9926 * paragraph.h: move an #endif so that the change tracking stuff
9927 also works in the NO_NEXT case.
9929 2003-03-04 Angus Leeming <leeming@lyx.org>
9932 * LyXAction.C: new LFUN_INSET_MODIFY.
9934 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9935 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9937 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9939 * several files: ws changes only
9941 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9942 (TeXEnvironment): ditto
9945 * buffer.C (makeLaTeXFile): adjust
9946 (latexParagraphs): make it take ParagraphList::iterator as args
9948 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9950 * buffer.C (latexParagraphs): adjust
9952 * paragraph.C (TeXOnePar): move function...
9953 (optArgInset): move function...
9954 (TeXEnvironment): move function...
9955 * paragraph_pimpl.C (TeXDeeper): move function...
9956 * paragraph_funcs.C: ...here
9958 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9960 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9962 * buffer.C (readInset): remove compability code for old Figure and
9965 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9967 * buffer.C: ws changes
9970 * BufferView_pimpl.C: ditto
9973 * bufferlist.h: ditto
9977 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9979 * converter.[Ch]: split into itself +
9982 * Makefile.am: += graph.[Ch] + format.[Ch]
9989 * lyxrc.C: added #include "format.h"
9991 2003-02-27 Angus Leeming <leeming@lyx.org>
9993 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9996 * factory.C (createInset): add "label" to the factory.
9998 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9999 string and do no more.
10001 2003-02-27 Angus Leeming <leeming@lyx.org>
10004 * LyXAction.C (init):
10005 * factory.C (createInset):
10006 * BufferView_pimpl.C (dispatch):
10007 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10009 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10011 * lyxfunc.C (dispatch):
10012 * text3.C (dispatch): pass name to params2string.
10014 2003-02-26 Angus Leeming <leeming@lyx.org>
10016 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10018 Rearrange the ~includes. Strip out the unnecessary ones.
10020 * factory.C (createInset): reformat.
10021 create new insets for the various LFUN_XYZ_APPLY lfuns.
10023 2003-02-26 John Levon <levon@movementarian.org>
10026 * lyxrow.C: add isParStart,isParEnd helpers
10028 * paragraph.h: make isInserted/DeletedText take refs
10030 * paragraph_funcs.h:
10031 * paragraph_funcs.C: remove #if 0'd code
10036 * text.C: use lyxrow helpers above.
10037 Move draw and paint routines to RowPainter.
10038 Make several methods use refs not pointers.
10039 Make backgroundColor() const.
10040 Add markChangeInDraw(), isInInset().
10041 Merge changeRegionCase into changeCase.
10042 Make workWidth() shouldn't-happen code into an Assert.
10045 * rowpainter.C: new class for painting a row.
10048 * vspace.C: make inPixels take a ref
10050 2003-02-26 Angus Leeming <leeming@lyx.org>
10052 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10055 2003-02-25 John Levon <levon@movementarian.org>
10057 * ispell.C: give the forked command a more accurate name
10059 2003-02-22 John Levon <levon@movementarian.org>
10062 * toc.C: make TocItem store an id not a Paragraph *
10065 2003-02-21 Angus Leeming <leeming@lyx.org>
10067 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10068 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10069 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10070 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10071 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10072 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10074 * BufferView_pimpl.C (dispatch):
10075 * LyXAction.C (init):
10076 * factory.C (createInset):
10077 * lyxfunc.C (getStatus, dispatch):
10078 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10080 2003-02-21 Angus Leeming <leeming@lyx.org>
10082 * BufferView_pimpl.C (MenuInsertLyXFile):
10083 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10084 * lyxfunc.C (menuNew, open, doImport):
10085 no longer pass a LyXView & to fileDlg.
10087 2003-02-21 Angus Leeming <leeming@lyx.org>
10089 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10090 * LyXAction.C: change, BIBKEY to BIBITEM.
10091 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10092 Change InsetBibKey to InsetBibitem.
10093 Change BIBKEY_CODE to BIBITEM_CODE.
10094 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10095 * factory.C: replace insetbib.h with insetbibitem.h.
10096 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10097 * paragraph.C: replace insetbib.h with insetbibitem.h.
10098 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10099 Change bibkey() to bibitem().
10100 * text.C: remove insetbib.h.
10101 * text2.C: replace insetbib.h with insetbibitem.h.
10102 change bibkey() to bibitem().
10103 * text3.C: remove insetbib.h.
10104 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10106 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10108 * lyxrc.C (output): enclose user email in quotes (in case there are
10111 2003-02-18 John Levon <levon@movementarian.org>
10113 * buffer.h: add std::
10115 2003-02-17 John Levon <levon@movementarian.org>
10121 * pspell.C: reworking. Especially in ispell, a large
10122 number of clean ups and bug fixes.
10124 * lyxfunc.C: fix revert to behave sensibly
10126 2003-02-17 André Pönitz <poenitz@gmx.net>
10129 * commandtags.h: new LFUN_INSERT_BIBKEY
10139 * paragraph_func.C: remove special bibkey handling
10141 2003-02-17 John Levon <levon@movementarian.org>
10143 * text.C (Delete): fix case where delete at the end of
10144 the very first paragraph would not merge the pars
10146 2003-02-17 John Levon <levon@movementarian.org>
10148 * lyxrow.C: fix lastPrintablePos()
10150 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10152 * bufferparams.C (writeLaTeX): add a std:here
10154 * buffer.C: and remove a using directive there
10156 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10158 * buffer.C (makeLaTeXFile): move the code that generates the
10161 * bufferparams.C (writeLaTeX): ... in this new method
10163 * LaTeXFeatures.C (getEncodingSet): make const
10164 (getLanguages): make const
10166 * MenuBackend.C (binding): returns the binding associated to this
10168 (add): sets the status of each item by calling getStatus. Adds
10170 (read): add support for OptSubMenu
10171 (expand): remove extra separator at the end of expanded menu
10173 2003-02-15 John Levon <levon@movementarian.org>
10176 * BufferView_pimpl.C:
10178 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10179 inset code that had no actual effect. Remove unneeded status
10182 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10184 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10187 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10189 * text.C (drawLengthMarker): also draw an arrow marker for
10190 symbolic lengths (medskip...)
10192 2003-02-14 John Levon <levon@movementarian.org>
10195 * tabular.C: better method names
10197 2003-02-14 John Levon <levon@movementarian.org>
10199 * BufferView_pimpl.C:
10204 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10205 it's a more accurate name. Remove some pointless uses.
10207 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10209 * text2.C (LyXText): change order of initilizers to shut off
10212 2003-02-14 John Levon <levon@movementarian.org>
10214 * buffer.C: use ParIterator for getParFromID()
10218 * paragraph_pimpl.h:
10219 * paragraph_pimpl.C: remove unused getParFromID()
10221 2003-02-14 John Levon <levon@movementarian.org>
10223 * buffer.C: remove some very old #if 0'd parse code
10225 2003-02-13 John Levon <levon@movementarian.org>
10229 * text2.C: move hfillExpansion(), numberOfSeparators(),
10230 rowLast(), rowLastPrintable(), numberofHfills(),
10231 numberOfLabelHfills() ...
10234 * lyxrow.C: ... to member functions here.
10239 * text.C: remove LyXText::beginningOfMainBody(), and call
10240 p->beginningOfMainBody() directly. Move the check for
10241 LABEL_MANUAL into the latter.
10248 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10254 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10255 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10257 2003-02-13 John Levon <levon@movementarian.org>
10259 * CutAndPaste.C: remove debug
10261 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10263 * paragraph.C (asString): remove two unused variables
10265 * lyxtextclass.C (readTitleType):
10267 (LyXTextClass): handle new members titletype_ and titlename_
10269 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10271 2003-02-09 John Levon <levon@movementarian.org>
10274 * buffer.C: replace hand-coded list with a map for the dep clean
10276 2003-02-08 John Levon <levon@movementarian.org>
10278 * LaTeX.C: consolidate code into showRunMessage() helper
10280 2003-02-08 John Levon <levon@movementarian.org>
10285 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10286 and pass the size in explicitly
10288 * BufferView_pimpl.h:
10289 * BufferView_pimpl.C:
10291 * BufferView.C: add getCurrentChange()
10293 * BufferView_pimpl.h:
10294 * BufferView_pimpl.C: handle change lfuns
10296 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10297 for changes. Mark pasted paragraphs as new.
10299 * support/lyxtime.h:
10300 * support/lyxtime.C:
10301 * DepTable.C: abstract time_t as lyx::time_type
10304 * LColor.C: add colours for new text, deleted text, changebars
10306 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10307 package use "usenames" option.
10311 * LyXAction.C: add change lfuns
10315 * author.C: author handling
10318 * buffer.C: add a per-buffer author list, with first entry as
10319 current author. Handle new .lyx tokens for change tracking. Output
10320 author list to .lyx file. Output dvipost stuff to .tex preamble.
10321 Bump lyx format to 222.
10324 * bufferlist.C: add setCurrentAuthor() to reset current author details
10328 * bufferparams.C: add param for tracking
10330 * bufferview_funcs.C: output change info in minibuffer
10334 * changes.C: add change-tracking structure
10337 * debug.C: add CHANGES debug flag
10340 * lyxfind.C: add code for finding the next change piece
10343 * lyxrc.C: add user_name and user_email
10346 * lyxrow.C: add a metric for the top of the text line
10349 * text.C: implement accept/rejectChange()
10352 * text.C: paint changebars. Paint new/deleted text in the chosen
10353 colours. Strike through deleted text.
10357 * paragraph_pimpl.h:
10358 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10359 in the current change to the insert functions. Rework erase to
10360 mark text as deleted, adding an eraseIntern() and a range-based
10361 erase(). Implement per-paragraph change lookup and
10364 * paragraph_funcs.C: Fixup paste for change tracking.
10366 * tabular.C: mark added row/columns as new.
10368 * text.C: fix rowLast() to never return -1. Don't allow
10369 spellchecking of deleted text. Track transpose changes. Don't
10370 allow paragraph break or merge where appropriate.
10372 * text2.C: leave cursor at end of selection after a cut.
10374 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10376 * text.C (getLengthMarkerHeight):
10377 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10378 visible on screen too.
10380 2003-02-07 John Levon <levon@movementarian.org>
10382 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10384 2003-02-05 Angus Leeming <leeming@lyx.org>
10386 * lyxserver.C (read_ready): revert my patch of 11 September last year
10387 as it sends PC cpu through the roof. Presumably this means that
10388 the lyxserver will no longer run on an Alpha...
10390 2003-01-30 Angus Leeming <leeming@lyx.org>
10392 * factory.C (createInset): create an InsetCommandParam of type "index"
10393 and use it to 'do the right thing'.
10395 * text2.C (getStringToIndex): ensure that cursor position is always
10396 reset to the reset_cursor position.
10398 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10400 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10403 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10407 * lyxfunc.C: Output messages with identical spelling, punctuation,
10410 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10412 * MenuBackend.C (expandFormats): List only viewable export formats
10415 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10418 * lyxfunc.C (getStatus): Make sure that formats other than
10419 "fax" can also be disabled
10421 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10423 * text3.C (dispatch): put the lfuns that insert insets in 3
10424 groups, and call doInsertInset with appropriate arguments.
10425 (doInsertInset): new function, that creates an inset and inserts
10426 it according to some boolean parameters.
10428 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10430 * buffer.C (readFile): remember to pass on 'par' when calling
10431 readFile recursively.
10433 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10435 * MenuBackend.C (expandFormats): add "..." to import formats.
10437 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10439 * paragraph.C (asString): Remove XForms RTL hacks.
10441 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10442 * buffer.C: fix typo
10444 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10446 * Makefile.am (LIBS): delete var
10447 (lyx_LDADD): add @LIBS@ here instead.
10449 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10451 * Clarify the meaning of "wheel mouse jump"
10453 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10455 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10458 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10460 * importer.C (Loaders): do not preallocate 3 elements in the
10461 vector, since one ends up with 6 elements otherwise
10463 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10465 * DepTable.C (write): write the file name as last element of the
10466 .dep file (because it may contain spaces)
10467 (read): read info in the right order
10469 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10471 * paragraph_pimpl.C (simpleTeXBlanks):
10472 (simpleTeXSpecialChars):
10473 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10475 * tabular.C (latex): add some missing case statements. Reindent.
10477 * MenuBackend.C (expandToc): remove unused variable.
10479 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10488 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10491 2003-01-05 John Levon <levon@movementarian.org>
10494 * BufferView.C: add getEncoding()
10497 * kbsequence.C: do not store last keypress
10500 * lyxfunc.C: store last keypress here instead. Pass encoding
10503 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10505 * lyx_main.C (init): remove annoying error message when following
10506 symbolic links (bug #780)
10508 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10510 * text.C (insertChar):
10511 * lyxrc.C (getDescription): remove extra spaces
10513 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10515 * lyxrc.C (getDescription): remove extra spaces
10517 2002-12-20 John Levon <levon@movementarian.org>
10519 * text3.C: hack fix for page up/down across tall rows
10521 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10523 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10526 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10528 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10529 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10530 thesaurus is not compiled in
10532 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10534 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10536 2002-12-16 Angus Leeming <leeming@lyx.org>
10539 * lyx_main.C (init): remove override_x_deadkeys stuff.
10541 2002-12-12 John Levon <levon@movementarian.org>
10543 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10544 insert. Only remove shift modifier under strict
10547 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10549 * MenuBackend.C (expandToc): fix crash.
10551 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10553 * MenuBackend.C (expandToc): gettext on float names.
10555 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10557 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10558 implement bool empty() [bug 490]
10560 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10562 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10564 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10566 * several files: ws changes
10568 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10570 * text2.C (setCounter): clean up a bit, use boost.format.
10571 (updateCounters): initialize par upon declaration.
10573 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10574 if the layout exists. We do not just store the layout any more.
10575 (SwitchLayoutsBetweenClasses): use boost.format
10577 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10579 * converter.C (convert): if from and to files are the same, use a
10580 temporary files as intermediary
10582 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10585 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10587 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10589 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10591 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10593 * tabular.C (asciiPrintCell): use string(size, char) instead of
10596 * sgml.C (openTag): fix order of arguments to string constructor
10599 * lyxfunc.C (dispatch): use boost.format
10601 * lots of files: change "c" -> 'c'
10603 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10605 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10607 2002-11-25 Angus Leeming <leeming@lyx.org>
10609 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10611 * lyx_main.C (init): compile fix.
10613 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10615 * lyx_cb.C (start): boost.formatify
10616 do not include <iostream>
10618 * lengthcommon.C: ws only
10620 * boost-inst.C,BoostFormat.h: add more explict instantations
10622 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10624 * lots of files: handle USE_BOOST_FORMAT
10626 2002-11-21 John Levon <levon@movementarian.org>
10628 * pspell.C: fix compile
10630 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10632 * lyxfunc.C (dispatch): use boost::format
10636 * lyxfont.C (stateText): use boost::format
10638 * lyx_main.C (LyX): use boost::format
10640 (queryUserLyXDir): ditto
10641 (readRcFile): ditto
10643 (typedef boost::function): use the recommened syntax.
10645 * importer.C (Import): use boost::format
10647 * debug.C (showLevel): use boost::format
10649 * converter.C (view): use boost::format
10654 * bufferview_funcs.C (currentState): use boost::format
10656 * bufferlist.C (emergencyWrite): use boost::format
10658 * buffer.C (readLyXformat2): use boost::format
10659 (parseSingleLyXformat2Token): ditto
10661 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10663 * LaTeX.C (run): use boost::format
10665 * Chktex.C (scanLogFile): use boost::format
10667 * BufferView_pimpl.C (savePosition): use boost::format
10668 (restorePosition): ditto
10669 (MenuInsertLyXFile): ditto
10671 * BoostFormat.h: help file for explicit instation.
10673 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10675 * tabular.C (latex): Support for block alignment in fixed width
10678 2002-11-17 John Levon <levon@movementarian.org>
10680 * BufferView_pimpl.C:
10682 * lyxfunc.C: split filedialog into open/save
10684 2002-11-08 Juergen Vigna <jug@sad.it>
10686 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10687 by my last patch (hopefully).
10689 2002-11-08 John Levon <levon@movementarian.org>
10698 * toc.C: ParConstIterator, and use it (from Lars)
10700 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10702 * lyxtextclass.[Ch]: revise and add doxygen comments
10704 2002-11-07 John Levon <levon@movementarian.org>
10706 * text.C: fix progress value for spellchecker
10708 * toc.C: fix navigate menu for insetwrap inside minipage
10710 * paragraph_funcs.C: added FIXME for suspect code
10712 2002-11-07 John Levon <levon@movementarian.org>
10714 * BufferView_pimpl.C: fix redrawing of insets
10717 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10719 * text2.C (updateCounters): fix bug 668
10721 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10723 * text3.C (dispatch): Do not make the buffer dirty when moving the
10726 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10728 * vc-backend.C: STRCONV
10729 (scanMaster): ditto
10731 * text2.C (setCounter): STRCONV
10733 * paragraph.C (asString): STRCONV
10735 * lyxlength.C (asString): STRCONV
10736 (asLatexString): ditto
10738 * lyxgluelength.C (asString): STRCONV
10739 (asLatexString): ditto
10741 * lyxfunc.C (dispatch): STRCONV
10744 * lyxfont.C (stateText): STRCONV
10746 * importer.C (Import): STRCONV
10748 * counters.C (labelItem): STRCONV
10749 (numberLabel): ditto
10750 (numberLabel): remove unused ostringstream o
10755 * bufferview_funcs.C (currentState): STRCONV
10757 * buffer.C (readFile): STRCONV
10758 (asciiParagraph): ditto
10759 (makeLaTeXFile): ditto
10761 * Spacing.C (writeEnvirBegin): STRCONV
10763 * LaTeXFeatures.C (getLanguages): STRCONV
10764 (getPackages): ditto
10766 (getBabelOptions): ditto
10767 (getTClassPreamble): ditto
10768 (getLyXSGMLEntities): ditto
10769 (getIncludedFiles): ditto
10773 (scanAuxFile): ditto
10776 * LString.h: add the STRCONV macros
10778 * BufferView_pimpl.C (savePosition): STRCONV
10779 (restorePosition): ditto
10780 (MenuInsertLyXFile): ditto
10782 * vc-backend.C (scanMaster): change from submatch[...] to
10785 * funcrequest.C: include config.h
10787 * factory.C: include config.h
10789 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10791 * box.C: include config.h
10793 * LaTeX.C (scanAuxFile): change from submatch[...] to
10797 2002-10-25 Angus Leeming <leeming@lyx.org>
10799 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10801 * ispell.[Ch] (setError): new method.
10802 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10803 Use setError() insetead of goto END.
10805 * lyx_cb.C (AutoSave): move out child process into new class
10808 2002-10-30 John Levon <levon@movementarian.org>
10810 * text3.C: make start appendix undoable
10812 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10814 * lyxlength.C (inPixels): Fix returned value.
10816 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10819 2002-10-24 Angus Leeming <leeming@lyx.org>
10821 * lyxgluelength.h: no need to forward declare BufferParams
10822 or BufferView, so don't.
10824 2002-10-21 John Levon <levon@movementarian.org>
10826 * BufferView.C: menuUndo ->undo, redo
10828 * BufferView.h: document, remove dead, make some methods private
10830 * paragraph_funcs.h:
10831 * paragraph_funcs.C:
10832 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10837 * sgml.C: move sgml open/close tag into sgml.C
10839 * bufferview_funcs.h: unused prototype
10842 * lyxfunc.C: remove unused
10845 * text.C: remove unused
10847 2002-10-21 John Levon <levon@movementarian.org>
10851 * BufferView_pimpl.h:
10852 * BufferView_pimpl.C: fix mouse wheel handling based on
10853 patch from Darren Freeman
10855 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10857 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10859 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10861 * lyxlength.C (inPixels): Fix hanfling of negative length.
10862 Fix LyXLength::MU case.
10864 2002-10-16 John Levon <levon@movementarian.org>
10866 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10868 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10870 * converter.C (view): add support for $$i (file name) and $$p
10871 (file path) for the viewer command. If $$i is not specified, then
10872 it is appended to the command (for compatibility with old syntax)
10874 2002-10-14 Juergen Vigna <jug@sad.it>
10876 * undo_funcs.C (textHandleUndo): alter the order in which the
10877 new undopar is added to the LyXText, as we have to set first
10878 the right prev/next and then add it as otherwise the rebuild of
10879 LyXText is not correct. Also reset the cursor to the right paragraph,
10880 with this IMO we could remove the hack in "redoParagraphs()".
10882 2002-10-09 Angus Leeming <leeming@lyx.org>
10884 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10885 to turn off an optimisation if a new inset is to be inserted.
10887 2002-10-11 André Pönitz <poenitz@gmx.net>
10889 * lyxtext.h: make some functions public to allow access
10890 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10892 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10894 * text3.C (dispatch): when changing layout, avoid an infinite loop
10897 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10899 * lyxrc.C (read): treat a viewer or converter command of "none" as
10902 * MenuBackend.C (expandFormats): for an update, also allow the
10903 formats that are not viewable
10905 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10906 script if it is newer than the lyxrc.defaults in user directory
10908 2002-10-07 André Pönitz <poenitz@gmx.net>
10910 * text.C: Vitaly Lipatov's small i18n fix
10912 2002-09-25 Angus Leeming <leeming@lyx.org>
10914 * ispell.h: doxygen fix.
10916 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10918 * buffer.h (readFile): Add a new argument to the method, to allow
10919 reading of old-format templates.
10921 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10923 * toc.C (getTocList): Get TOC from InsetWrap.
10925 2002-09-16 John Levon <levon@movementarian.org>
10927 * lyxfunc.C: check tabular for cut/copy too
10929 2002-09-12 John Levon <levon@movementarian.org>
10931 * LyXAction.C: tidy
10934 * factory.C: add header
10936 * paragraph_funcs.h:
10937 * paragraph_funcs.C: cleanup
10939 2002-09-11 John Levon <levon@movementarian.org>
10941 * PrinterParams.h: odd/even default to true
10943 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10945 * PrinterParams.h: update printer parameters for new xforms dialog
10947 2002-09-11 Angus Leeming <leeming@lyx.org>
10949 * lyxserver.C (read_ready): re-write to make it more transparent
10950 and to make it work in coherent fashion under Tru64 Unix.
10952 2002-09-11 André Pönitz <poenitz@gmx.net>
10956 * text3.C: implement LFUN_WORDSEL
10958 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10960 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10961 make floatlist_ a boost::shared_ptr<FloatList>
10963 * lyxtextclass.C: include FloatList.h
10964 (LyXTextClass): initialize floatlist_
10965 (TextClassTags): add TC_NOFLOAT
10966 (Read): match "nofloat" to TC_NOFLOAT and use it.
10967 (readFloat): modify call to floatlist_
10971 * FloatList.[Ch] (FloatList): remove commented out float
10973 (erase): new function
10975 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10977 * MenuBackend.C (expandToc): fix crash when there is no document
10980 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10982 * many files: Add insetwrap.
10984 2002-09-09 John Levon <levon@movementarian.org>
10986 * text2.C: remove confusing and awkward depth wraparound
10988 2002-09-09 John Levon <levon@movementarian.org>
10990 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10993 * buffer.C: remove getIncludeonlyList()
10996 * lyxfunc.C: remove headers
10998 2002-09-09 Juergen Vigna <jug@sad.it>
11000 * text.C (getColumnNearX): fix form Michael this is most
11001 probably a cut&paste bug.
11003 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
11005 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11007 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11008 references, ws changes.
11010 * text2.C (init): update counters after init
11011 (insertParagraph): no need to set counter on idividual paragraphs.
11012 (setCounter): access the counters object in the textclass object
11013 on in the buffer object.
11014 (updateCounters): ditto
11016 * lyxtextclass.C: include counters.h, add variable ctrs_ as
11017 shared_ptr<Counters> to avoid loading counters.h in all
11019 (LyXTextClass): initialize ctrs_
11020 (TextClassTags): add TC_COUNTER, and ...
11021 (Read): use it here.
11022 (CounterTags): new tags
11023 (readCounter): new function
11024 (counters): new funtion
11025 (defaultLayoutName): return a const reference
11027 * counters.C (Counters): remove contructor
11028 (newCounter): remove a couple of unneeded statements.
11029 (newCounter): simplify a bit.
11030 (numberLabel): some small formatting changes.
11032 * buffer.[Ch]: remove all traces of counters, move the Counters
11033 object to the LyXTextClass.
11035 2002-09-06 Alain Castera <castera@in2p3.fr>
11037 * tabular.C: uses \tabularnewline; uses >{...} construct from array
11038 package to set the horizontal alignment on fixed width columns.
11041 * lyx_sty.h: added tabularnewline macro def.
11043 * LaTeXFeatures.C: added NeedTabularnewline macro feature
11045 2002-09-06 John Levon <levon@movementarian.org>
11047 * LyXAction.C: tooltips for sub/superscript
11049 * MenuBackend.C: a bit more verbose
11051 * lyxfunc.C: tiny clean
11053 * undo_funcs.C: document undo_frozen
11055 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
11057 * counters.C (Counters): add missing algorithm counter.
11059 * text2.C (setCounter): lookup the counter with layouts latexname
11060 instead of by section number.
11061 (setCounter): use a hackish way to lookup the correct enum
11063 a float name->type change
11064 reset enum couners with counter name directly instead of depth value.
11066 * counters.C (Counters): remove the push_backs, change to use the
11067 float type not the float name.
11068 (labelItem): remove unused string, float name->type change
11070 * counters.h: don't include vector, loose the enums and sects vectors
11072 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
11074 * lyxtextclass.C (TextClassTags): add TC_FLOAT
11075 (Read): add float->TC_FLOAT to textclassTags
11076 (Read): and handle it in the switch
11077 (readFloat): new function
11079 * FloatList.C (FloatList): comment out the hardcoded float
11082 * lyxlayout.h: ws change.
11084 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
11086 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11088 2002-09-03 Angus Leeming <leeming@lyx.org>
11090 * BufferView_pimpl.h: qualified name is not allowed in member
11091 declaration: WorkArea & Pimpl::workarea() const;
11093 * factory.C: added using std::endl directive.
11095 * text3.C: added using std::find and std::vector directives.
11097 2002-08-29 André Pönitz <poenitz@gmx.net>
11100 * text2.C: remove unused member number_of_rows
11103 * BufferView2.C: remove file, move contents to...
11104 * BufferView.C: ... here
11106 * BufferView_pimpl.C:
11107 * factory.C: move more inset creation to factory
11109 * vspace.C: avoid direct usage of LyXText, ws changes
11112 don't provide direct access to WorkArea, use two simple
11113 acessors haveSelction() and workHeight() instead
11116 2002-08-29 John Levon <levon@movementarian.org>
11118 * BufferView_pimpl.C (dispatch): do not continue when
11121 2002-08-28 André Pönitz <poenitz@gmx.net>
11123 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11126 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11128 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
11130 * buffer.C: increment LYX_FORMAT to 221
11132 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11133 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11135 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11137 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11139 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11141 * factory.C (createInset): use LyXTextClass::floats
11143 * MenuBackend.C (expandFloatListInsert):
11144 (expandFloatInsert):
11147 * text2.C (setCounter):
11149 * LaTeXFeatures.C (useFloat):
11150 (getFloatDefinitions):
11152 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11154 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11155 floatlist_, with accessor floats().
11157 * FloatList.h: remove global FloatList
11159 2002-08-26 André Pönitz <poenitz@gmx.net>
11161 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11165 * BufferView_pimpl.C:
11166 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11168 2002-08-25 John Levon <levon@movementarian.org>
11170 * LyXAction.C: fix margin note description
11172 2002-08-24 John Levon <levon@movementarian.org>
11176 * bufferview_funcs.C:
11178 * undo_funcs.C: cleanups
11180 * lyxfunc.C: disable CUT/COPY when no selection
11182 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11184 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11185 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11187 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11188 Add backward compatibility to "mono", "gray" and "no".
11190 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11192 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11193 (and file_format >= 200).
11195 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11197 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11199 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11201 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11203 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11205 * BufferView_pimpl.C:
11212 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11213 inset and code to make it work with the paragraph code. The inset
11214 can be anywhere in the paragraph, but will only do the expected
11215 thing in LaTeX if the layout file contains the parameter line
11217 (or more generally, a nonzero value) for that layout.
11219 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11221 * paragraph.h: remove the declaration of undefined counters class
11224 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11226 * text2.C (setCounter): fixed enumeration mis-count as reported by
11227 Dr. Richard Hawkins.
11229 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11231 * paragraph_funcs.h: remove some unneeded includes
11233 * text.C (backspace): pasteParagraph now in global scipe
11235 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11236 (pasteSelection): ditto
11238 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11239 * paragraph_funcs.C (pasteParagraph): ... here
11241 2002-08-20 André Pönitz <poenitz@gmx.net>
11243 * commandtags.h: new LFUNs for swapping/copying table row/colums
11246 * lyxfunc.C: support for new lfuns
11248 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11251 * buffer.[Ch]: remove NO_COMPABILITY stuff
11253 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11255 * boost.C (throw_exception): new file, with helper function for
11256 boost compiled without exceptions.
11261 * ParameterStruct.h:
11262 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11264 * bufferlist.C (emergencyWriteAll): use boost bind
11266 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11268 * text.C: include paragraph_funcs.h
11269 (breakParagraph): breakParagraph is now in global scope
11271 * paragraph_funcs.[Ch]: new files
11273 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11276 * buffer.C: include paragraph_funcs.h
11277 (insertStringAsLines): breakParagraph is now in global scope
11279 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11282 * CutAndPaste.C: include paragraph_funcs.h
11283 (cutSelection): breakParagraphConservative is now in global scope
11284 (pasteSelection): ditto
11286 * buffer.h: declare oprator== and operator!= for
11287 Buffer::inset_iterator
11289 * bufferlist.C (emergencyWrite): don't use fmt(...)
11291 * text3.C: add using std::endl
11293 * BufferView.C (moveCursorUpdate): remove default arg
11295 2002-08-20 André Pönitz <poenitz@gmx.net>
11297 * buffer.[Ch]: move inline functions to .C
11300 * BufferView_pimpl.C:
11302 * buffer.[Ch]: use improved inset_iterator
11305 * paragraph.[Ch]: write one paragraph at a time
11307 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11309 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11310 style if style is not specified.
11312 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11314 * text2.C (setCounter): when searching for right label for a
11315 caption, make sure to recurse to parent insets (so that a caption
11316 in a minipage in a figure float works) (bug #568)
11318 2002-08-20 André Pönitz <poenitz@gmx.net>
11320 * text3.C: new file for LyXText::dispatch() and helpers
11322 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11324 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11326 2002-08-19 André Pönitz <poenitz@gmx.net>
11329 * text.C: new LyXText::dispatch()
11331 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11333 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11335 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11337 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11340 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11342 * Makefile.am: use $(variables) instead of @substitutions@
11344 2002-08-15 André Pönitz <poenitz@gmx.net>
11347 * BufferView_pimpl.C: streamlining mathed <-> outer world
11351 * LyXAction.C: remove unused LFUN_MATH
11353 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11355 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11357 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11359 * paragraph.C (Paragraph): reformat a bit
11360 (cutIntoMinibuffer): use builtin InsetList function instad of
11364 * buffer.C: include boost/bind.hpp, add using std::for_each
11365 (writeFileAscii): use ParagraphList iterators
11366 (validate): use for_each for validate traversal of paragraphs
11367 (getBibkeyList): use ParagraphList iterators
11368 (resizeInsets): use for_each to resizeInsetsLyXText for all
11370 (getParFromID): use ParagraphList iterators
11372 * BufferView2.C (lockInset): use paragraph list and iterators
11374 2002-08-14 John Levon <levon@movementarian.org>
11376 * lyxserver.C: remove spurious xforms include
11378 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11380 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11382 2002-08-13 André Pönitz <poenitz@gmx.net>
11385 * lyxfunc.C: further cleaning
11387 2002-08-13 André Pönitz <poenitz@gmx.net>
11389 * funcrequest.h: new constructor
11391 * funcrequest.C: move stuff here from .h
11394 * BufferView_pimpl.C:
11397 * lyxfunc.C: subsequent changes
11399 * lyxfunc.h: new view() member function
11401 * lyxfunc.C: subsequent changes
11403 2002-08-13 Angus Leeming <leeming@lyx.org>
11406 * BufferView_pimpl.C:
11414 changes due to the changed LyXView interface that now returns references
11415 to member variables not pointers.
11417 2002-08-13 Angus Leeming <leeming@lyx.org>
11419 * WordLangTuple (word, lang_code): return references to strings,
11424 * lyxtext.h: forward-declare WordLangTuple.
11429 * text.C: #include "WordLangTuple.h".
11432 * text.C: (selectNextWordToSpellcheck): constify return type.
11434 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11440 * paragraph_pimpl.h:
11443 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11444 suggested by Angus.
11445 Made updateCounter always count from start of buffer, and removed
11446 second argument (par).
11447 Reverted floats number display to '#'. Perhaps I'll try again when the
11448 code base is sanitized a bit.
11450 2002-08-12 Angus Leeming <leeming@lyx.org>
11452 * buffer.[Ch] (getLabelList): constify.
11454 2002-08-07 André Pönitz <poenitz@gmx.net>
11456 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11458 * funcrequest.h: extension to keep mouse (x,y) position
11460 2002-08-12 Juergen Vigna <jug@sad.it>
11462 * BufferView2.C (insertErrors): forbid undo when inserting error
11465 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11467 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11469 * ParagraphList.[Ch]: new files
11471 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11473 * BufferView2.C (lockInset): ParagraphList changes
11476 * bufferlist.C: ditto
11480 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11482 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11483 unused class variable counter_,
11485 * paragraph.[Ch] (getFirstCounter): delete unused function
11487 * counters.C: include LAssert.h
11488 (reset): add a new function with no arg, change other version to
11489 not have def. arg and to not allow empty arg.
11491 * text2.C (setCounter): remove empty arg from call to Counters::reset
11493 2002-08-11 John Levon <levon@movementarian.org>
11495 * Makefile.am: add WordLangTuple.h
11497 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11499 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11500 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11502 * insets/insettext.C: InsetList changes
11504 * graphics/GraphicsSupport.C (operator()): InsetList changes
11506 * toc.C (getTocList): InsetList changes
11508 * paragraph_pimpl.[Ch]: InsetList changes
11510 * paragraph.[Ch]: InsetList changes
11512 * buffer.C (inset_iterator): InsetList changes
11513 (setParagraph): ditto
11514 * buffer.h (inset_iterator): ditto
11515 * iterators.C (operator++): ditto
11516 * iterators.h: ditto
11518 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11520 * InsetList.[Ch]: new files, most InsetList handling moved out of
11523 * BufferView2.C (removeAutoInsets): InsetList changes
11525 (ChangeInsets): ditto
11527 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11529 * paragraph_pimpl.h (empty): new function
11531 * paragraph.[Ch] (empty): new function
11533 * other files: use the new Paragraph::empty function
11535 2002-08-09 John Levon <levon@movementarian.org>
11537 * lyxtext.h: remove unused refresh_height
11539 2002-08-09 John Levon <levon@movementarian.org>
11546 * paragraph.C: move sgml char escaping out of paragraph
11549 * paragraph.C: remove id setter
11553 * paragraph_pimpl.C: remove dead tex_code_break_column
11555 * bufferview_funcs.C: small cleanup
11557 * lyxfunc.C: remove dead proto
11559 * lyxtext.h: make some stuff private. Remove some dead stuff.
11561 * lyxgluelength.C: make as[LyX]String() readable
11563 2002-08-08 John Levon <levon@movementarian.org>
11568 * ToolbarDefaults.C:
11571 * toc.C: lyxaction cleanup
11573 2002-08-08 John Levon <levon@movementarian.org>
11575 * BufferView2.C: small cleanup
11578 * lyxfind.C: move unnecessary header into the .C
11580 2002-08-08 John Levon <levon@movementarian.org>
11582 * funcrequest.h: just tedious nonsense
11585 * lyx_main.C: cleanups
11588 * vspace.C: remove dead header lyx_main.h
11590 2002-08-07 Angus Leeming <leeming@lyx.org>
11593 * paragraph_pimpl.h:
11594 Forward declare class Counters in paragraph.h by moving the ctrs member
11595 variable into Paragraph::Pimpl.
11596 (counters): new method, returning a reference to pimpl_->ctrs.
11598 * text2.C: ensuing changes.
11600 2002-08-07 John Levon <levon@movementarian.org>
11602 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11604 * BufferView_pimpl.C: announce X selection on double/triple
11607 * lyx_main.C: use correct bool in batch dispatch
11609 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11611 2002-08-07 André Pönitz <poenitz@gmx.net>
11613 * funcrequest.h: new class to wrap a kb_action and its argument
11616 * BufferView_pimpl[Ch]:
11620 * lyxrc.C: subsequent changes
11623 2002-08-07 John Levon <levon@movementarian.org>
11625 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11626 document options change.
11628 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11633 * makefile.am: move counters functionality over from
11634 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11636 2002-08-06 John Levon <levon@movementarian.org>
11638 * WordLangTuple.h: new file for word + language code tuple
11649 * BufferView2.C: use WordLangTuple
11652 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11654 2002-08-06 John Levon <levon@movementarian.org>
11656 * lyx_main.C: fix cmdline batch handling
11658 2002-08-06 André Pönitz <poenitz@gmx.net>
11660 * lyxrc.C: set default for show_banner to true
11662 2002-08-06 John Levon <levon@movementarian.org>
11664 * pspell.C: fix a crash, and allow new aspell to work
11666 2002-08-06 John Levon <levon@movementarian.org>
11669 * kbmap.C: small cleanup
11672 * vspace.C: add const
11674 2002-08-05 John Levon <levon@movementarian.org>
11676 * LyXAction.C: back to tabular-insert
11678 2002-08-04 John Levon <levon@movementarian.org>
11681 * BufferView.C: cosmetic change
11683 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11693 * BufferView2.C: purge all "Lyx" not "LyX" strings
11696 * lyxcursor.C: attempt to add some documentation
11701 * ToolbarDefaults.C:
11702 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11703 merge with LFUN_TABULAR_INSERT
11710 * pspell.C: split up i/pspell implementations into separate
11711 files, many cleanups
11713 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11715 * text2.C: some cleanup
11717 * lyxfunc.C: don't check for isp_command == "none" any more, it
11718 didn't make any sense
11720 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11725 * makefile.am: move counters functionality over
11726 from text2.C/paragraph.[Ch] to counters.[Ch], and
11728 2002-08-02 John Levon <levon@movementarian.org>
11730 * buffer.C: s/lyxconvert/lyx2lyx/
11732 2002-08-02 Angus Leeming <leeming@lyx.org>
11734 * lyxlex.C: revert John's change as it breaks reading of the user
11737 2002-08-02 Angus Leeming <leeming@lyx.org>
11739 * importer.C (Import):
11740 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11741 changes due to LyXView::view() now returning a boost::shared_ptr.
11743 2002-08-02 John Levon <levon@movementarian.org>
11745 * lyxlex.C: small cleanup
11747 2002-08-02 John Levon <levon@movementarian.org>
11749 * text2.C (status): small cleanup, no logic change
11751 2002-08-01 John Levon <levon@movementarian.org>
11754 * buffer.C (writeFile): don't output alerts, caller
11758 * lyx_cb.C: from above
11760 * lyxfunc.C: allow to open non-existent files
11762 2002-07-31 John Levon <levon@movementarian.org>
11764 * lyxserver.C: don't let incidental errors get
11767 2002-07-30 John Levon <levon@movementarian.org>
11769 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11771 2002-07-30 John Levon <levon@movementarian.org>
11774 * lyxserver.C: remove I/O callback too
11776 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11778 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11781 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11783 * many files: strip,frontStrip -> trim,ltrim,rtrim
11785 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11787 * PrinterParams.h: remove extern containsOnly, and include
11788 support/lstrings.h instead.
11790 * LaTeX.C (scanAuxFile): modify because of strip changes
11792 * buffer.C (makeLaTeXFile): ditto
11793 * bufferparams.C (writeFile): ditt
11794 * lyxfont.C (stateText): ditto
11795 * lyxserver.C (read_ready): ditto
11796 * vc-backend.C (scanMaster): ditto
11798 * BufferView_pimpl.h: ws changes
11800 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11802 2002-07-26 André Pönitz <poenitz@gmx.net>
11804 * kb_sequence.C: remove unnedred usings
11806 2002-07-26 Juergen Vigna <jug@sad.it>
11808 * lyxfind.C (LyXReplace): we have to check better if the returned
11809 text is not of theLockingInset()->getLockingInset().
11811 2002-07-25 Juergen Vigna <jug@sad.it>
11813 * lyxfind.C (LyXReplace): don't replace if we don't get the
11816 * undo_funcs.C (createUndo): remove debugging code.
11818 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11820 * buffer.C (parseSingleLyXformat2Token): Use default placement
11821 when reading old floats.
11823 * FloatList.C (FloatList): Change the default placement of figure
11824 and tables to "tbp".
11826 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11828 * MenuBackend.C: using std::max
11830 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11832 * MenuBackend.C (expandToc):
11833 (expandToc2): code moved from xforms menu frontend. It is now
11834 generic and TOCs are transparent to menu frontends.
11836 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11838 * toc.C (getTocList): protect against buf=0
11840 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11841 Menu as first parameter. Now, this calls itself recursively to
11842 expand a whole tree (this will be useful for TOC handling)
11843 (expandFloatInsert): remove 'wide' version of floats
11845 * MenuBackend.h (submenuname): returns the name of the submenu.
11846 (submenu): returns the submenu itself, provided it has been
11847 created by MenuBackend::expand
11849 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11851 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11852 insets which have noFontChange == true. (bug #172)
11854 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11856 * BufferView_pimpl.C: add connection objects and use them...
11859 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11861 * MenuBackend.C (expandLastfiles):
11864 (expandFloatListInsert):
11865 (expandFloatInsert):
11866 (expand): split expand in parts
11868 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11870 * lyx_gui.C: use lyx_gui::exit()
11872 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11874 * LyXAction.C: show the failing pseudo action
11876 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11878 * buffer.C (readFile): Run the lyxconvert script in order to read
11881 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11885 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11887 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11891 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11893 2002-07-22 Herbert Voss <voss@lyx.org>
11896 * lyxlength.[Ch]: add support for the vertical lengths
11898 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11900 * toc.[Ch]: std:: fixes
11902 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11904 * lyxrc.C: do not include lyx_main.h
11906 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11912 * BufferView2.C: include "lyxlex.h"
11915 * bufferparams.h: do not #include "lyxlex.h"
11917 * lyxtextclasslist.C (Add): remove method
11918 (classlist): renamed to classlist_
11920 * paragraph_pimpl.C:
11924 * bufferview_funcs.C:
11929 * toc.C (getTocList): use BufferParams::getLyXTextClass
11931 * toc.C (getTocList): use InsetFloat::addToToc
11933 * toc.[Ch]: new files, containing helper functions to handle table
11936 * lyxfunc.C (dispatch): no need to remove spaces around command
11938 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11939 first command of the sequence; it is not very clever, but I do not
11940 have a better idea, actually
11942 * LyXAction.C (LookupFunc): make sure to remove space at the
11943 beginning and end of the command
11945 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11947 * MenuBackend.C (getMenubar): new method: return the menubar of
11949 (read): treat differently reading of menu and menubar (in
11950 particular, the menubar has no name now)
11951 (Menu::menubar): remove
11953 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11956 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11958 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11959 a bibitem inset in a RTL paragraph.
11961 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11963 * paragraph_pimpl.C: constify
11965 * BufferView_pimpl.C:
11967 * lyxfunc.C: fix dispatch in a nicer way
11969 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11971 * lyxfunc.C (dispatch):
11972 * BufferView_pimpl.C:
11973 * BufferView_pimpl.h:
11975 * BufferView.h: rename Dispatch() to dispatch()
11977 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11979 * lyxlayout.C (Read): honor DependsOn tag
11981 * lyxlayout.[Ch] (depends_on): new method
11983 * version.C.in: update lyx_docversion
11985 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11987 * paragraph.C (validate): remove from here...
11988 * paragraph_pimpl.C (validate): ... and move here
11989 (isTextAt): make it const
11991 * buffer.C (getLists): ws cleanup
11993 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11995 * language.C (read): Use iso8859-1 encoding in latex_lang
11996 (this prevents LyX from crashing when using iso10646-1 encoding).
11998 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12000 * text2.C (toggleInset): if cursor is inside an inset, close the
12001 inset and leave cursor _after_ it
12003 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12005 * lyxfunc.C: move minibuffer completion handling out of here
12007 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12009 * BufferView_pimpl.C:
12010 * LaTeX.C: fix dispatch calls
12012 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
12014 * text.C (drawChars): Fix Arabic text rendering.
12016 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
12020 * lyxfunc.C: remove message-push/pop
12024 * lyxfunc.C: rationalise some code by removing verboseDispatch
12025 in favour of a bool argument to dispatch()
12027 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12029 * lyx_main.C (init): make sure to read symlinks as absolute paths
12031 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12034 * lyxfunc.C: no need for commandshortcut to be a member
12036 2002-07-15 André Pönitz <poenitz@gmx.net>
12038 * converter.C: add support for $$s (scripts from lib/scripts dir)
12039 * lyx_main.C: white space
12041 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12045 * lyxrc.C: remove second exit confirmation
12047 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12052 * BufferView_pimpl.h:
12053 * BufferView_pimpl.C:
12054 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12056 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12058 * MenuBackend.C (expand): add numeric shortcuts to document menu
12060 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12062 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12064 * lyxfont.C (setLyXFamily):
12071 * buffer.C (asciiParagraph): use ascii_lowercase
12073 2002-07-15 Mike Fabian <mfabian@suse.de>
12075 * lyxlex_pimpl.C (search_kw):
12076 * lyxlex.C (getLongString):
12077 * converter.h (operator<):
12078 * converter.C (operator<):
12079 * buffer.C (parseSingleLyXformat2Token):
12081 * ToolbarDefaults.C (read):
12082 * MenuBackend.C (checkShortcuts):
12084 * LColor.C (getFromGUIName):
12085 (getFromLyXName): use the compare_ascii_no_case instead of
12086 compare_no_case, because in turkish, 'i' is not the lowercase
12087 version of 'I', and thus turkish locale breaks parsing of tags.
12089 2002-07-16 Angus Leeming <leeming@lyx.org>
12091 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12092 now takes a Buffer const & argument.
12094 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
12096 * BufferView.C (resize): check there's a buffer to resize
12098 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
12100 * lyxfunc.C: remove dead code
12103 * lyxserver.C: use lyx_guii::set_read_callback
12105 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
12107 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12108 an inset in a RTL paragraph.
12110 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12112 * lyxfunc.C: repaint after a font size update
12114 2002-07-15 André Pönitz <poenitz@gmx.net>
12116 * lyxlength.C: inBP should be able to return negative values
12118 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12120 * lyxfunc.C: use lyx_gui::update_fonts()
12122 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12124 * lyxfunc.C: use lyx_gui::update_color()
12126 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12132 * lyxrc.C: remove file->new asks for name option, and let
12133 buffer-new take an argument
12135 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12137 * BufferView_pimpl.C: remove unneeded extra repaint()
12139 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
12141 * LyXAction.C: allow command-sequence with NoBuffer
12143 * lyxfunc.C: don't insist on trailing ';' for command-sequence
12145 2002-07-10 Angus Leeming <leeming@lyx.org>
12147 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12149 2002-07-09 Angus Leeming <leeming@lyx.org>
12151 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12153 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12155 * lengthcommon.h: whitespace
12157 * lyxfunc.C: update scrollbar after goto paragraph
12159 * lyxtext.h: factor out page break drawing, and fix it so
12160 page break/added space paints as selected nicely
12162 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12164 * BufferView_pimpl.C: add FIXMEs, clean up a little
12166 2002-07-09 André Pönitz <poenitz@gmx.net>
12168 * lyxfont.[Ch]: support for wasy symbols
12170 2002-07-08 André Pönitz <poenitz@gmx.net>
12172 * BufferView_pimpl.C: apply John's patch for #93.
12174 2002-07-05 Angus Leeming <leeming@lyx.org>
12176 * BufferView_pimpl.C (buffer): generate previews if desired.
12178 * LColor.h: add "preview" to the color enum.
12180 * LColor.C (LColor): add a corresponding entry to the items array.
12182 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12185 2002-07-05 Angus Leeming <leeming@lyx.org>
12187 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12188 The body of the code is now in the method that is passed an ostream &
12189 rather than a file name.
12190 Pass an additional only_preamble parameter, useful for the forthcoming
12193 2002-07-03 André Pönitz <poenitz@gmx.net>
12195 * lyxfunc.C: simplify getStatus() a bit for math stuff
12197 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12199 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12201 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12203 * text.C (changeRegionCase): do not change case of all the
12204 document when region ends at paragraph end (bug #461)
12206 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12208 * paragraph.C (startTeXParParams):
12209 (endTeXParParams): add \protect when necessary
12211 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12213 * BufferView_pimpl.C (workAreaExpose): remove warning
12215 2002-06-27 Angus Leeming <leeming@lyx.org>
12217 * Makefile.am: add lyxlayout_ptr_fwd.h.
12219 2002-06-26 André Pönitz <poenitz@gmx.net>
12221 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12223 2002-06-25 Angus Leeming <leeming@lyx.org>
12225 * lyxfunc.C (dispatch): Comment out the call to
12226 grfx::GCache::changeDisplay. The method no longer exists now that the
12227 pixmap generation part of the graphics loader has been moved into
12230 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12232 * text2.C: layout as layout
12234 * text.C: layout as layout
12236 * tabular.C (OldFormatRead): layout as layout
12238 * paragraph_pimpl.C (TeXDeeper): layout as layout
12239 (realizeFont): layout as layout
12241 * paragraph.C (writeFile): layout as layout
12242 (validate): layout as layout
12243 (getFont): layout as layout
12244 (getLabelFont): layout as layout
12245 (getLayoutFont): layout as layout
12246 (breakParagraph): layout as layout
12247 (stripLeadingSpaces): layout as layout
12248 (getEndLabel): layout as layout
12249 (getMaxDepthAfter): layout as layout
12250 (applyLayout): layout as layout
12251 (TeXOnePar): layout as layout
12252 (simpleTeXOnePar): layout as layout
12253 (TeXEnvironment): layout as layout
12254 (layout): layout as layout
12255 (layout): layout as layout
12257 * lyxtextclass.C (compare_name): new functor to work with
12258 shared_ptr, layout as layout
12259 (Read): layout as layout
12260 (hasLayout): layout as layout
12261 (operator): layout as layout
12262 (delete_layout): layout as layout
12263 (defaultLayout): layout as layout
12265 * lyxlayout_ptr_fwd.h: new file
12267 * lyxlayout.C (Read): layout as layout
12269 * lyx_cb.C (MenuInsertLabel): layout as layout
12271 * bufferlist.C (newFile): layout as layout
12273 * buffer.C (readLyXformat2): layout as layout
12274 (parseSingleLyXformat2Token): layout as layout
12275 (insertStringAsLines): layout as layout
12276 (asciiParagraph): layout as layout
12277 (latexParagraphs): layout as layout
12278 (makeLinuxDocFile): layout as layout
12279 (simpleLinuxDocOnePar): layout as layout
12280 (makeDocBookFile): layout as layout
12281 (simpleDocBookOnePar): layout as layout
12282 (getLists): layout as layout
12284 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12286 * CutAndPaste.C (cutSelection): layout as layout
12287 (pasteSelection): layout as layout
12288 (SwitchLayoutsBetweenClasses): layout as layout
12290 * BufferView_pimpl.C (Dispatch): layout as layout
12291 (smartQuote): layout as layout
12293 * BufferView2.C (unlockInset): layout as layout
12295 2002-06-24 André Pönitz <poenitz@gmx.net>
12297 * lyxfunc.C: fix #487
12299 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12303 * lyxfunc.C: remove display_shortcuts, show_banner
12305 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12307 * Buffer_pimpl.C: oops, update on resize
12309 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12316 * BufferView.C: use repaint()
12318 * BufferView_pimpl.h:
12319 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12320 as it's a clearer description. Remove superfluous
12323 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12325 * text.C: fix bug 488. Not ideal, but getting
12326 getWord() to work properly for the insets that
12327 matter is more difficult ...
12329 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12331 * BufferView_pimpl.C:
12334 * lyxfunc.C: remove the six million index lyxfuncs to just
12335 one, and DTRT (bug 458)
12337 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12341 * BufferView_pimpl.h:
12342 * BufferView_pimpl.C: clean up resize() stuff,
12343 and unnecessary updateScreen()s
12345 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12349 * BufferView_pimpl.h:
12350 * BufferView_pimpl.C:
12353 * minibuffer.C: remove focus management of workarea,
12354 not needed. Use screen's greyOut()
12356 2002-06-17 Herbert Voss <voss@lyx.org>
12358 * converter.C: (convert) do not post a message, when converting
12359 fails, let the calling function decide what to do in this case
12361 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12363 * lyxfunc.C: tidy up a little
12365 2002-06-16 <alstrup@diku.dk>
12367 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12368 Got rid of FORMS_H_LOCATION include. Now we are
12371 2002-06-15 LyX Development team <lyx@rilke>
12373 * buffer.[Ch] (sgmlOpenTag):
12374 (sgmlCloseTag): Added support for avoiding pernicious mixed
12375 content. Return number of lines written.
12377 (makeLinuxDocFile):
12378 (makeDocBookFile): Fixed calls to sgml*Tag.
12379 Simple white space clean.
12381 (simpleDocBookOnePar): Simple white space clean.
12383 * tabular.[Ch] (docBook): Renamed to docbook and got another
12384 argument to related with the pernicious mixed content.
12386 (docbookRow): Fixed calls for docbook inset method.
12388 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12390 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12391 so it's X11 independent.
12395 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12397 2002-06-15 Lyx Development team <lyx@electronia>
12399 * intl.h: Renamed getTrans to getTransManager.
12401 2002-06-14 Angus Leeming <leeming@lyx.org>
12403 * Makefile.am: nuke forgotten stl_string_fwd.h.
12405 2002-06-12 Angus Leeming <leeming@lyx.org>
12407 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12409 2002-06-13 Angus Leeming <leeming@lyx.org>
12412 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12414 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12416 * kbmap.C (getiso): add support for cyrillic and greek
12418 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12422 * BufferView_pimpl.h:
12423 * BufferView_pimpl.C: move bogus scrolling logic
12426 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12429 * BufferView_pimpl.C: view->resize() change
12431 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12433 * BufferView_pimpl.C: topCursorVisible
12436 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12440 * lyx_gui.C: move to frontends/
12444 * lyx_main.C: changes from above
12446 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12453 * lyx_main.C: minor tidy
12455 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12457 * BufferView_pimpl.h:
12458 * BufferView_pimpl.C:
12460 * BufferView.C: make painter() const,
12463 * BufferView2.C: use screen() accessor
12466 * lyx_main.C: some minor cleanup
12468 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12470 * BufferView_pimpl.h:
12471 * BufferView_pimpl.C: remove enter/leaveView,
12474 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12479 * BufferView_pimpl.h:
12480 * BufferView_pimpl.C: only construct screen once,
12483 * lyxrc.C: remove pointless comment
12485 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12488 * BufferView.C: remove active() and belowMouse()
12490 * BufferView_pimpl.h:
12491 * BufferView_pimpl.C: use workarea() not workarea_,
12492 and make it use a scoped_ptr instead
12494 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12496 * lyx_gui.C: add debug message on BadWindow
12498 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12500 * sp_spell.C: fdopen is not part of the C++ standard.
12502 * paragraph.C (InsetIterator): use >= instead of ==
12504 2002-06-07 Angus Leeming <leeming@lyx.org>
12506 Fixes needed to compile with Compaq cxx 6.5.
12507 * BufferView_pimpl.C:
12514 * lyxtextclasslist.C:
12519 all c-library variables have been moved into namespace std. Wrap
12520 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12525 Add a using std::abs declaration.
12527 * kbmap.h (modifier_pair):
12528 * paragraph.h (InsetTable, InsetList):
12529 * lyxfont.h (FontBits):
12530 type definition made public.
12532 * bufferlist.C (emergencyWriteAll): the compiler complains that
12533 there is more than one possible lyx::class_fun template to choose from.
12534 I re-named the void specialisation as lyx::void_class_fun.
12536 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12538 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12539 the compiler is is unable to find tostr in write_attribute.
12541 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12543 * buffer.C (sgmlError): hide #warning
12545 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12547 * xtl/*: get rid of xtl, which is not in use anyway
12549 * LyXAction.C (init):
12550 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12551 were unimplemented xtl experimentation
12553 2002-06-04 André Pönitz <poenitz@gmx.net>
12555 * lyxfunc.C: disable array operation on simple formulae
12557 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12559 * converter.C: constify a bit
12561 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12563 * lyx_gui.C: check xforms version correctly
12565 2002-04-30 Herbert Voss <voss@lyx.org>
12567 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12570 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12572 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12573 attempt to register it with a VCS)
12575 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12577 * lyx_main.C (init): honor variables LYX_DIR_13x and
12580 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12584 * lyx_main.C: fix a crash on bad command line,
12585 and give a useful exit status on error
12587 * lyxfunc.C (doImport): allow -i lyx to work
12589 2002-03-30 André Pönitz <poenitz@gmx.net>
12591 * lyxfunc.C: mathed font changes
12593 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12608 * trans_mgr.h: srcdocs, and some minor cleanups
12610 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12612 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12613 call getFont all the time)
12615 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12617 * switch from SigC signals to boost::signals
12619 2002-05-29 André Pönitz <poenitz@gmx.net>
12621 * paragraph_pimpl.C (getChar): don't call size() too often...
12623 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12625 * paragraph_pimpl.C (insertChar): do not try to update tables when
12626 appending (pos == size())
12628 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12629 in order to reduce drastically the number of comparisons needed to
12630 parse a large document
12632 2002-05-29 André Pönitz <poenitz@gmx.net>
12638 * textclasslist.[Ch]:
12639 * sp_ispell.h: whitespace change
12641 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12643 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12644 lyxaction directly now.
12646 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12650 * lyxvc.C: remove unused headers
12652 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12659 * undo_funcs.C: some cleanups. Use shared_ptr
12660 and a template for the undo stacks.
12662 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12664 * BufferView_pimpl.h:
12665 * BufferView_pimpl.C:
12672 * text2.C: use key_state/mouse_state
12674 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12676 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12679 * chset.C: change include order
12680 (loadFile): use boost regex and get rid of LRegex and LSubstring
12682 * Makefile.am (BOOST_LIBS): new variable
12683 (lyx_LDADD): use it
12685 * LaTeX.C: change include order.
12686 (scanAuxFile): use boost regex and get rid of LRegex and
12690 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12695 * FontInfo.C: moved to frontends/xforms/
12698 * FontLoader.C: moved into frontends for GUIIzation
12703 * lyxfunc.C: changes from above
12705 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12707 * LColor.C: remove spurious X include
12709 * BufferView_pimpl.C:
12714 * text2.C: move font metrics to frontends/
12716 2002-05-24 Juergen Vigna <jug@sad.it>
12718 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12719 setting the undo_cursor.
12721 * ParagraphParameters.h: include local includes first.
12723 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12725 * BufferView_pimpl.C:
12726 * BufferView_pimpl.h:
12730 * screen.C: move WorkArea into frontends/
12736 * BufferView2.C: move LyXScreen into frontends/
12740 * lyx_gui.C: move lyxlookup into frontends/xforms/
12742 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12745 * BufferView_pimpl.C:
12755 * bufferview_funcs.C:
12768 * vc-backend.C: move LyX/XFormsView into frontends/
12770 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12782 * text2.C: move Painter to frontends/
12784 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12786 * buffer.C: comment out some some code that depend upon lyx_format
12789 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12790 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12792 * buffer.h (NO_COMPABILITY): turn off compability
12794 * ColorHandler.C: include scoped_array.hpp
12796 * font.C: Use more specific smart_ptr header.
12799 * ShareContainer.h: ditto
12800 * lyx_main.h: ditto
12802 * FontInfo.h: ditto
12803 * BufferView_pimpl.h: ditto
12804 * ColorHandler.h: ditto
12806 * kbmap.C (defkey): change call to shared_ptr::reset
12808 2002-05-21 Juergen Vigna <jug@sad.it>
12810 * buffer.C (insertErtContents): fix to insert ert asis if it is
12811 non empty. Skip it completely if it contains only whitespaces.
12813 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12815 * BufferView_pimpl.C:
12816 * BufferView2.C: clear selection on paste (bug 393)
12818 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12820 * DepTable.C: include ctime
12822 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12824 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12826 2002-05-14 Juergen Vigna <jug@sad.it>
12828 * text.C (breakParagraph): fixed function to honor the keepempty
12829 layout in the right maner and also to permit the right breaking
12830 algorithm on empty or non empyt keepempty paragraphs.
12832 * paragraph.C (breakParagraph): we have to check also if the par
12833 is really empty (!size()) for isempty otherwise we do the wrong
12836 2002-05-10 Juergen Vigna <jug@sad.it>
12838 * buffer.[Ch] : The following are only changes to the ert
12839 compatibility read reading old LaTeX layout and font stuff and
12840 convert it to ERTInsets.
12842 * buffer.h: added isErtInset().
12844 * buffer.C (struct ErtComp): add a fromlayout bool to check
12845 if we're inside a LaTeX layout.
12846 (isErtInset): new helper function.
12847 (insertErtContents): look for other ert insets before this one
12848 and insert the contents there, so that we don't have subsequent
12849 ERT insets with nothing between them. This way we create only one
12850 inset with multiple paragraphs. Also check if we don't insert only
12851 spaces ' ' as they are ignored anyway afterwards in the .tex file
12852 so if we have only spaces we will ignore this latex part in the
12854 (parseSingleLyXformat2Token \\layout): better compatibility when
12855 reading layout-latex stuff.
12856 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12858 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12859 stuff after reading the inset only get the information back from
12862 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12864 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12866 * LaTeXFeatures.C (getBabelOptions): New method.
12868 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12870 * BufferView_pimpl.C (Dispatch): work around missing argument for
12873 2002-05-08 Juergen Vigna <jug@sad.it>
12875 * text.C (leftMargin): handle paragraph leftindent.
12877 * paragraph.C (writeFile): write the new \\leftindent tag.
12878 (validate): handle leftindent code.
12879 (TeXEnvironment): handle paragraphleftindent code again.
12881 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12883 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12884 for paragrap_extra indent code and new token \\leftindent.
12885 (latexParagraphs): handle the leftindent as environment.
12887 * ParameterStruct.h: added leftindent support.
12889 * ParagraphParameters.C (leftIndent): added support functions for
12890 the paragraph left indent.
12892 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12895 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12897 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12900 * text.C (computeBidiTables): No bidi in insetERT.
12902 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12905 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12907 * version.C.in: pre 5
12909 2002-05-02 José Matos <jamatos@fep.up.pt>
12910 * buffer.C (makeDocBookFile): white space changes, add newline to
12912 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12914 * tabular.C (docBook): fix typo.
12916 2002-05-03 Juergen Vigna <jug@sad.it>
12918 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12919 change in LyXText as we can not be sure it was not freed.
12920 (drawOneRow): remove unused code.
12922 * text.C (drawInset): redo the calculation of the need_break_row as
12923 it could have a row which was already freed.
12924 (draw): look at the return value of drawInset and return false if
12925 it also returned false.
12926 (paintRowText): look at the return value of draw and return false if
12927 it also returned false.
12929 * lyxtext.h: added bool return type to drawInset() and draw() so that
12930 if we have a change in the row so that the rowbreak has to be redone
12931 we abort drawing as it will be called again.
12933 2002-05-02 Juergen Vigna <jug@sad.it>
12935 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12936 a change in the maintext also if we're inside an inset.
12937 (Dispatch): set the cursor again after a break line and after the
12938 screen has been updated as it could be we're in a different row.
12940 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12941 to set the cursor behind the pargraph with > size().
12942 (setCursor): check also for the same paragraph when checking where
12943 to put the cursor if we have a NFR inset.
12945 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12946 parts of layout read further up as it still was in the wrong
12949 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12951 * screen.C (drawFromTo): change sine fullRebreak always return
12954 * buffer.C (parseSingleLyXformat2Token): reindent some
12956 * BufferView_pimpl.C (update): change since fullRebreak always
12958 (Dispatch): git rid of the last hardcoded "Standard"s.
12960 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12962 * text2.[Ch] (fullRebreak): make it return void now that we always
12965 2002-04-30 Juergen Vigna <jug@sad.it>
12967 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12968 ert compatibility check for "latex" layout.
12970 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12972 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12973 minipages: use col% instead of p%, and also use the current font.
12974 (makeLaTeXFile): Fix use babel condition.
12975 (parseSingleLyXformat2Token): Correct font when reading old floats.
12977 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12979 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12980 inserting list of floats.
12982 2002-04-25 Herbert Voss <voss@lyx.org>
12984 * MenuBackend.C (expand): don't add the graphics extensions to the
12987 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12989 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12990 non-existing layout, do not complain if it was the default layout
12991 of the original class (bug #342)
12993 2002-04-24 Juergen Vigna <jug@sad.it>
12995 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12996 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12998 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
13000 * buffer.C (getBibkeyList): If using \bibliography, return the
13001 option field with the reference itself. Enables us to provide natbib
13002 support when using \bibliography.
13004 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
13006 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13008 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13009 natbib is provided by the LaTeX class.
13011 2002-04-23 Juergen Vigna <jug@sad.it>
13013 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13016 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13018 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13020 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13022 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13023 ensuremath around textordmasculine, textordfeminine and
13026 2002-04-19 Juergen Vigna <jug@sad.it>
13028 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13029 reinitializing the buffer otherwise row-dimensions may be wrong.
13030 (update): reset also the selection cursors if they do exits otherwise
13031 their x/y positions may be wrong.
13033 * text2.C (cursorDown): don't enter the inset if we came from a row
13034 above and are one row over the inset.
13036 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13037 really leaving an inset.
13039 2002-04-18 Juergen Vigna <jug@sad.it>
13041 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13042 of the selected paragraph does not have the selected layout also if
13045 * text2.C (setLayout): fixed bug which did not change last selected
13048 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13049 changed the read and substituted \\end_float with \\end_inset!
13051 * BufferView_pimpl.C (cursorPrevious):
13052 (cursorNext): fixed to make it work with rows heigher than the work
13053 area without moving the cursor only the draw of the row.
13054 (workAreaMotionNotify): fix jumping over high rows.
13056 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13058 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13061 2002-04-16 Juergen Vigna <jug@sad.it>
13063 * text2.C (setCursor): set also the irow().
13064 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13066 (cursorDown): support for locking an inset if the x_fix value goes
13067 inside it. That way I can transverse insets too with cursor up/down.
13069 * lyxrow.h: added irow helper function same as other (i) functions.
13071 * BufferView_pimpl.C (cursorPrevious):
13072 (cursorNext): fixed for insets!
13074 2002-04-15 Juergen Vigna <jug@sad.it>
13076 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13077 position otherwise it is wrong in some cases.
13079 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13080 inside the inset before the call.
13082 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
13084 * buffer.[Ch] (getBibkeyList): make it const.
13086 2002-04-12 Juergen Vigna <jug@sad.it>
13088 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13090 * text2.C (getCursorX): new helper function
13091 (setCursor): compute also ix_
13092 (setCursorFromCoordinates): set also ix.
13094 * lyxcursor.h: added ix_ and helper functions.
13096 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13098 * buffer.C (insertStringAsLines): dont break paragraph if the this
13099 paragraph is inside an inset which does not permit it!
13101 * text.C (breakParagraph): honor keepempty flag and break the paragraph
13102 also with no chars on this paragraph.
13103 (paintRowText): only paint stuff if it's inside the workarea!
13105 * paragraph.C (breakParagraph): honor keepempty flag and break the
13106 paragraph always below not above.
13108 * BufferView2.C (unlockInset): update the paragraph layout on inset
13109 unlock as we changed paragraph in such a case.
13111 * lyxfind.C (LyXFind): clear the former selection if not found!
13113 * text2.C (insertInset): freeze Undo after setUndo so that it is not
13114 again called in insertChar().
13116 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13117 an inset which uses the whole row!
13118 (rightMargin): ditto.
13119 (insertChar): force a rebreak if we inserted an inset!
13121 2002-03-28 Herbert Voss <voss@lyx.org>
13123 * lyxlength.[Ch]: add inBP() to get the right PS-point
13124 units (BigPoint). With inPixels we have rounding errors
13126 2002-04-11 Juergen Vigna <jug@sad.it>
13128 * text2.C (setCursorFromCoordinates): set iy to the right value.
13129 (setCursor): add check if row->previous exists!
13131 * buffer.C (parseSingleLyXformat2Token): reset font after read of
13132 an old float_type as this was the case in the old code!
13134 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13136 * BufferView2.C (showLockedInsetCursor): use iy
13137 (fitLockedInsetCursor): ditto
13139 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13140 locked insets as there we have the right value now.
13142 * lyxcursor.C: added iy_ variable and iy functions to set to the
13143 baseline of cursor-y of the locked inset.
13145 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13146 (setCursor): fixed for insets which need a full row.
13148 * text.C (rowLastPrintable): don't ignore the last space when before
13149 an inset which needs a full row.
13150 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13151 as last character of a row when before a inset which needs a full row.
13153 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13155 * version.C.in: update date
13157 * text2.C (fullRebreak): try to always return true and see what
13160 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13162 * MenuBackend.C (expand): use Floating::listName
13164 * FloatList.C (FloatList): add listName argument to the built-in
13167 * Floating.[Ch]: add listName member, which is the 'List of XXX'
13168 text associated with the float.
13170 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13172 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13174 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13176 * ShareContainer.h: add a couple of missing typenames.
13178 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13180 * lyxrc.C (getDescription): use _() correctly rather than N_().
13182 2002-03-28 Herbert Voss <voss@lyx.org>
13184 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13185 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13187 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13189 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13190 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13192 2002-03-29 Juergen Vigna <jug@sad.it>
13194 * lyxfunc.C (dispatch): add a missing fitCursor call.
13196 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13197 it was scrolled by a cursor move, so return the bool status.
13199 * BufferView.C (fitCursor): return the bool flag also to the outside
13200 world as this is needed.
13202 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13204 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13205 call the edit() as it is not needed (and wrong) IMO.
13206 (workAreaButtonPress): set the screen_first variable before evt.
13207 unlock the inset as this may change screen_first and then we have
13208 a wrong y position for the click!
13210 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13212 * MenuBackend.C (expand): another translation that I missed
13214 2002-03-28 Juergen Vigna <jug@sad.it>
13216 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13218 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13220 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13222 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13224 * MenuBackend.C (expand): fix export/view/update when there is no
13227 2002-03-27 Herbert Voss <voss@lyx.org>
13229 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13232 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13234 * bufferview_funcs.C (currentState): only show paragraph number
13235 for is DEVEL_VERSION is set.
13237 * lyxfunc.C (dispatch): put warning in INFO channel
13239 * MenuBackend.C (expand): translate the name of floats
13241 * FloatList.C (FloatList): mark the float names for translation
13243 * converter.C (convert): use LibScriptSearch
13245 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13247 * MenuBackend.C (defaults): fix default menu (we might as well get
13250 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13252 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13255 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13257 * lyxvc.C: reorder includes.
13259 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13261 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13264 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13266 * CutAndPaste.C: change layouts earlier on paste
13267 to avoid crashing when calling getFont()
13269 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13271 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13274 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13276 * WorkArea.C: remove 'Pending' debug message.
13278 * most files: ws cleanup
13280 * buffer.[Ch]: ws changes
13282 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13284 2002-03-21 Juergen Vigna <jug@sad.it>
13286 * tabular.C (SetMultiColumn): collapse also the contents of the
13287 cells and set the last border right. Added a Buffer const * param.
13289 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13291 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13294 2002-03-19 Juergen Vigna <jug@sad.it>
13296 * text2.C (clearSelection): reset also xsel_cache.
13298 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13299 where it needs to be called (John tells us to do so too :)
13300 (selectionLost): reset sel_cache.
13302 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13304 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13306 * text2.C (setCursorIntern): put debuging code in INSETS channel
13308 2002-03-19 André Pönitz <poenitz@gmx.net>
13310 * lyxfunc.C: tiny whitespace change
13312 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13314 * ToolbarDefaults.C (init):
13315 * LyXAction.C (init):
13317 * BufferView_pimpl.C (Dispatch):
13318 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13320 2002-03-19 Allan Rae <rae@lyx.org>
13322 * exporter.C (Export): removeAutoInsets before doing anything else.
13323 While I've just introduced a dependency on BufferView this really is
13324 the best place to clean the buffer otherwise you need to cleanup in
13325 a dozen places before calling export or cleanup in a dozen functions
13328 * converter.C (runLaTeX):
13329 (scanLog): Better handling of removeAutoInsets and screen updates.
13331 * lyxfunc.C (dispatch): small whitespace changes
13333 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13335 * WorkArea.C (C_WorkAreaEvent): return a value.
13336 (event_cb): return 1 if we handled the event, 0 otherwise.
13338 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13340 2002-03-18 Juergen Vigna <jug@sad.it>
13342 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13343 (GetAdditionalWidth): ditto.
13344 (RightLine): ditto.
13347 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13348 inset if we're there actually (probably not used right now but this
13349 is the direction to go for unifying code).
13350 (paste): disable code to clear the selection.
13352 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13353 inside an InsetText and move the check further up as it is in the
13356 * text2.C (pasteSelection): set a selection over the pasted text.
13358 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13360 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13361 and libgraphics to build on Cygwin.
13363 2002-03-15 Juergen Vigna <jug@sad.it>
13365 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13366 inserting an Inset into the paragraph. I know this is not the best
13367 fix but we already use current_view in CutAndPaste so we will remove
13368 all of it's using at the same time.
13370 * buffer.C (sgmlError): deactivated function till it is rewritten in
13371 the right mode, now it can create problems.
13373 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13374 before accessing it.
13376 2002-03-14 Juergen Vigna <jug@sad.it>
13378 * undo_funcs.C (textHandleUndo): do the right thing when updating
13379 the inset after the undo/redo.
13381 * text2.C (setCursor): just some testcode for #44 not ready yet.
13383 * undo_funcs.C (textHandleUndo): set the next() and previous()
13384 pointers of the paragraph to 0 before deleting otherwise we have
13385 problems with the Paragraph::[destructor].
13387 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13388 on a paragraph insertion.
13390 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13392 * buffer.C (asciiParagraph): use += operator for char append to
13395 * paragraph.C (getFontSettings): compare >= not just >
13396 (highestFontInRange): ditto
13399 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13401 * paragraph.C: change several algorithm to be more appripriate for
13402 the problem domain. This is lookip in FontList and in the InsetList.
13404 2002-03-13 André Pönitz <poenitz@gmx.net>
13407 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13409 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13414 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13416 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13418 * Painter.C (display): anon helper function, adjust code for this
13420 (pixmap): remove function.
13422 * Painter.h: remove private display variable.
13424 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13426 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13428 * WorkArea.[Ch]: remove figinset_canvas cruft.
13430 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13432 * lyxtextclass.C (operator): add one item cache optimization.
13434 * bufferlist.h: doxy changes
13436 * bufferlist.C: ws changes
13438 * DepTable.[Ch] (ext_exist): place const in the right spot.
13440 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13442 (workAreaExpose): call resizeInsets when the with BufferView changes.
13443 (Dispatch): adjust for protectedBlank removal
13444 (specialChar): call updateInset if the insert went ok.
13446 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13447 specialChar instead.
13449 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13451 * BufferView.h: doxy change
13453 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13455 * lyxtextclass.C (operator[]): remove non-const version
13456 (defaultLayout): remove non-const version
13458 2002-03-12 Juergen Vigna <jug@sad.it>
13460 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13461 did resize the LyXText too.
13463 * buffer.C (readLyXformat2): set layout information on newly allocated
13466 * tabular.C (OldFormatRead): set layout information on the paragraph.
13468 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13470 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13472 2002-03-11 Juergen Vigna <jug@sad.it>
13474 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13476 (resizeCurrentBuffer): force also the insets to resize themselfes.
13477 (moveCursorUpdate): fixed up for InsetText.
13479 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13482 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13483 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13484 value of Dialogs::tooltipsEnabled().
13485 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13487 2002-03-08 Juergen Vigna <jug@sad.it>
13489 * BufferView_pimpl.C (updateInset): update inset inside inset also
13490 if it isn't inside theLockingInset().
13492 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13494 * buffer.C (asciiParagraph): redo some of the word and line length
13496 (getLists): look for Caption instead of caption.
13498 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13500 * buffer.C (Buffer): initialize niceFile to true
13502 (makeLinuxDocFile):
13503 (makeDocBookFile): make sure niceFile is true on exit
13505 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13507 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13509 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13511 * LyXSendto.C: remove.
13512 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13513 * lyx_gui.C: remove now-redundant comment.
13514 * ColorHandler.h: remove forward declaration of class WorkArea.
13515 * lyxfunc.C: remove #include "WorkArea.h".
13517 2002-03-07 Juergen Vigna <jug@sad.it>
13519 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13520 got moved away with the DEPM and also set the inset_owner always
13521 right which before could have been omitted.
13523 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13525 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13526 wanted layout is not found.
13528 2002-03-07 Juergen Vigna <jug@sad.it>
13530 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13532 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13534 * paragraph.C (breakParagraph): use default layout not layout of
13536 (Paragraph): clear ParagraphParameters.
13538 2002-03-06 Juergen Vigna <jug@sad.it>
13540 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13541 otherwise it would not be a valid lenght. Fixed a special case in
13542 the minipage compatibility read where we end the document with a
13545 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13546 was set as it could be 0 for InsetTexts first entry.
13548 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13550 * paragraph.C (writeFile): if layout is empty write out
13551 defaultLayoutName().
13553 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13554 file without named layout we set layout to defaultLayoutName().
13556 2002-03-06 Juergen Vigna <jug@sad.it>
13558 * CutAndPaste.C (copySelection): set layout for new paragraph.
13560 * text.C (prepareToPrint): leave ERT inset left aligned
13561 (leftMargin): don't indent paragraphs inside ERT insets
13563 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13565 * paragraph.C (breakParagraph): dont call clear do the work manually
13567 * paragraph.[Ch] (clear): remove function
13569 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13571 * paragraph.C (Paragraph): dont call clear, the work has already
13574 * lyxtextclass.C (operator): assert if n is empty
13576 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13577 work manually instead.
13579 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13581 * BufferView_pimpl.C: protect selectionLost against text == 0
13583 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13585 * text.C (breakParagraph): fix a setting layout to '0' problem.
13587 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13589 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13590 final location of file, for the included files, and graphics.
13592 2002-03-05 Juergen Vigna <jug@sad.it>
13594 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13596 2002-03-04 Juergen Vigna <jug@sad.it>
13598 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13600 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13601 last column of multicolumn cells.
13602 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13604 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13606 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13607 file if it doesn't go to a temporary file.
13609 * buffer.C (sgmlOpenTag):
13610 (sgmlCloseTag): remove extra newline insertion.
13612 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13614 * text.C (getRowNearY): comment out debug msg
13616 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13618 * text2.C: first -> first_y
13620 * text.C (getRowNearY): add some attemts at a possible
13621 optimization, not working.
13623 * tabular.[Ch]: add BufferParams to several function so that newly
13624 created paragraph can be initialized to he default layotu for the
13627 * tabular-old.C (ReadOld): add buf->params to call of Init
13629 * screen.C: rename text->first to text->first_y
13631 * paragraph.C (breakParagraph): always set layout in the broken
13634 * lyxtextclass.C (Read): remove lowercase
13637 (delete_layout): ditto
13639 * lyxtext.h: rename first -> first_y
13641 * lyxlayout.C (Read): remove lowercase
13644 (obsoleted_by): ditto
13646 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13648 * buffer.C (insertErtContents): add params are to InsetERT
13649 (parseSingleLyXformat2Token): add code to check if a paragraphs
13650 layout really exist.
13651 (parseSingleLyXformat2Token): add params to several inset
13653 (asciiParagraph): remove lowercase, do the layout comparisons with
13656 * BufferView_pimpl.C (cursorNext): first -> first_y
13657 (resizeCurrentBuffer): first -> first_y
13658 (updateScrollbar): first -> first_y
13659 (scrollCB): first -> first_y
13660 (workAreaMotionNotify): first -> first_y
13661 (workAreaButtonPress): first -> first_y
13662 (checkInsetHit): first -> first_y
13663 (cursorPrevious): first -> first_y
13664 (cursorNext): first -> first_y
13665 (Dispatch): add buffer_->params to severl inset contructors
13667 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13669 * lyxlayout.C (Read): remove some debug info that I forgot.
13671 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13672 clean up the code slightly.
13673 (makeLinuxDocFile): ditto
13674 (makeDocBookFile): ditto
13676 * text2.C: layout as string
13678 * text.C: layout as string
13680 * paragraph_pimpl.C: layout as string
13682 * paragraph.[Ch]: layout as string
13684 * lyxtextclasslist.[Ch]: layout as string
13686 * lyxtextclass.[Ch]: layout as string
13688 * lyxtext.h: layout as string
13690 * lyxlayout.[Ch]: layout as string
13692 * lyx_cb.C: layout as string
13694 * bufferview_funcs.C: layout as string
13696 * bufferparams.C: layout as string
13698 * buffer.C: layout as string
13700 * LyXView.[Ch]: layout as string
13702 * LaTeXFeatures.[Ch]: layout as string
13704 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13706 * BufferView_pimpl.C: change current_layout to string, remove
13711 (workAreaButtonRelease): layout as string
13713 * BufferView2.C (unlockInset): adjust
13715 * vspace.C (asLatexCommand): use an explict temp variable.
13717 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13719 * Makefile.am: use FRONTEND_*
13721 2002-03-01 Juergen Vigna <jug@sad.it>
13723 * tabular.C (SetWidthOfMulticolCell): changed to something better
13724 I hope but still work in progress.
13725 (recalculateMulticolumnsOfColumn): renamed function from
13726 recalculateMulticolCells as it is more appropriate now.
13727 (SetWidthOfCell): calculate multicols better.
13729 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13731 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13733 * lyxfunc.C (processKeySym): print sequence also if it is
13734 `deleted' (complete)
13736 * kbsequence.C (print): print sequence even if it is deleted
13737 (complete would be a better word, actually).
13739 * lyxfunc.C (dispatch): print complete options after a prefix key
13741 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13743 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13745 * text2.C (setCharFont): eliminate setCharFont code duplication.
13747 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13749 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13750 LFUN_TABULAR_FEATURE (bug #177)
13752 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13754 * Makefile.am: remove figure.h
13756 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13758 * Bufferview_pimpl.C:
13770 * text2.C: remove #include "lyx_gui_misc.h".
13772 * LaTeX.C: added #include <cstdio>
13774 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13776 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13777 that the paragraph following this one can have.
13779 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13781 * vspace.C (asLatexCommand): fix bogus gcc warning
13783 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13785 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13787 * text2.C (setLayout): get rid of redundant code
13789 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13791 * text2.C (incDepth): make sure depth cannot be increased beyond
13794 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13796 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13797 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13799 * PainterBase.h (image):
13800 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13801 a LyXImage const *.
13803 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13807 * BufferView_pimpl.C:
13808 * BufferView_pimpl.h:
13828 * sp_spell.C: remove fig inset, and the crap house of
13829 cards that follows it
13831 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13836 * os2_errortable.h:
13837 * nt_defines.h: move .h into support/
13839 * vms_defines.h: remove
13841 * WorkArea.C: add space in debug output
13845 * buffer.C: add WITH_WARNINGS
13849 * bufferlist.C: s/retrive/retrieve/, add docs
13858 * chset.C: add docs
13860 * lyxgui.C: add ID to X error handler
13862 * lyxtestclass.c: fix typo
13864 2002-02-26 Juergen Vigna <jug@sad.it>
13866 * tabular_funcs.C (write_attribute): changed so that some default
13867 attributes are not written at all.
13868 (getTokenValue): set default values before trying to read the
13869 value so we have the return value always set as default if we don't
13870 find the token we search for.
13872 * tabular.C (Write): write bools as bools not as strings!
13874 2002-02-22 Juergen Vigna <jug@sad.it>
13876 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13877 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13879 * text.C (leftMargin): don't add an indent for paragraphs inside
13880 tabular cells (fix #208).
13882 2002-02-21 José Matos <jamatos@fep.up.pt>
13884 * tabular.C (docBook): fixed support for long tables.
13886 2002-02-20 Juergen Vigna <jug@sad.it>
13888 * text2.C (getFont): get the drawing font of the Inset if this
13889 paragraph is inside an inset (only important for InsetERT for now).
13891 * buffer.C (insertErtContents): use new lanugage params in ERT
13894 * CutAndPaste.C: commenting out seemingly uneeded code.
13896 2002-02-19 Allan Rae <rae@lyx.org>
13898 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13899 Iterators might be simple to use but they also get invalidated.
13900 (removeAutoInsets): renamed saved cursor tracking variables and added
13901 some comments to clarify what everything does.
13903 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13910 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13911 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13914 * vc-backend.h: remove #include "support/syscall.h"
13918 * converter.C: rearrange #includes in Lars' approved fashion.
13920 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13921 forward declare class Timeout in the header file.
13923 * XFormsView.C: changes due to the above.
13925 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13926 similar to LyXView.
13928 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13929 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13931 2002-02-18 José Matos <jamatos@fep.up.pt>
13933 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13936 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13938 * a lot of small ws changes
13939 * add a lot of using std::XXX
13940 * use std construcs some places where approp.
13941 * use some exisint stuff from lyxfunctional where approp.
13942 * Make file changes to use partial linking (lets test this now...)
13944 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13948 remove #include "support/syscontr.h" as it's redundant. Always has been.
13956 change Systemcalls::System to Systemcalls::Wait and
13957 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13958 No change of functionality, just reflects the stripped down Systemcalls
13961 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13963 * debug.[Ch]: add a GRAPHICS type to the enum.
13965 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13967 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13969 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13972 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13974 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13975 match the changes below.
13977 * text2.C (toggleInset): if there is not editable inset at cursor
13978 position, try to see if cursor is _inside_ a collapsable inset
13981 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13983 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13984 document menu has a nice checkbox
13986 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13988 * lyxlength.C (asLatexString): change PW to output as percent of
13991 * lengthcommon.C: change '%' to 't%'
13993 * lyxfunc.C (dispatch): a few comments from Martin
13995 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13999 * BufferView_pimpl.h:
14000 * BufferView_pimpl.C: clear our selection when X tells us we've lost
14003 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14005 * vspace.C (inPixels): fix compiler warning
14007 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14009 * lyxfunc.C (getStatus): fix status message for disabled commands.
14011 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
14013 * BufferView_pimpl.C: fix crash on close buffer
14014 during selection (#227)
14016 2002-01-27 Herbert Voss <voss@lyx.org>
14018 * buffer.C: link old Figure to new graphic inset
14020 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
14022 * FontLoader.C (getFontinfo): Change the latex font names in order
14023 to match the names of type1inst.
14025 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
14027 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14029 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14030 (extchanged): ditto
14032 (remove_files_with_extension): ditto
14033 (remove_file): ditto
14036 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14037 document is smaller than the work area height. Do not initialize
14038 static variables to 0.
14040 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14042 * lyx_gui.C (init): give the toolbar tooltips a normal font.
14044 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14045 LFUN_LAYOUT_PARAGRAPHS.
14047 * tabular.C (GetCellFromInset): new method. Finds an inset in a
14048 tabular. It is possible to provide a possible cell, which will
14049 typically be the actcell from the corresponding insettabular
14051 * lyxfunc.C (getStatus): small cleanup; disable
14052 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14055 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14057 * tabular.C (Validate): remove broken optimization (fixes bug #201)
14059 * paragraph.C (startTeXParParams):
14060 (endTeXParParams): new methods. The LaTeX code to
14061 start/end paragraph formatting
14062 (simpleTeXOnePar): call startTeXParParams also when paragraph is
14063 empty (fixes bug #200)
14065 * vspace.C (inPixels): adapt to the change below
14066 (inPixels): [later] more cleanups (remove unused variables)
14068 * lyxlength.C (inPixels): change to use a width and a height as
14071 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14073 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14074 Replaced with \paperwidth
14076 * DepTable.C (insert): add std:: qualifier
14078 2002-01-18 Allan Rae <rae@lyx.org>
14080 * text2.C (removeRow): add comment. Should other refresh_?? vars be
14083 * text.C (drawInset): Turned out I didn't know enough about how
14084 rebreaking worked. This fixes most of the redraw problems. I see
14085 an occasional cursor trail when a line is broken now and the cursor
14086 placement can seem out by a few pixels also after a rebreak.
14088 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14090 * buffer.C (parseSingleLyXformat2Token): update because minipage
14091 width is now a LyXLength
14093 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14095 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14098 2002-01-17 Juergen Vigna <jug@sad.it>
14100 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14102 * BufferView2.C (lockInset): call edit() so that theLockingInset()
14103 is set correctly and the inset is updated correctly.
14105 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14107 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14108 the beginning of the loop.
14110 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
14112 * lyxrc.C: improve help for use_scalable_fonts
14114 2002-01-17 Allan Rae <rae@lyx.org>
14116 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14118 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14120 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14121 make sure to set their inset_owner to the right value (bug #171)
14123 2001-12-12 Ben Stanley <bds02@uow.edu.au>
14126 * DepTable.C: Implement mtime checking to reduce time spent doing
14129 2002-01-16 Juergen Vigna <jug@sad.it>
14131 * tabular.C (GetAdditionalHeight): one of error fixed.
14133 * lyxrc.C (output): small fix in writing use_pspell.
14135 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
14137 * sp_base.h: #include LString.h
14139 2002-01-16 Allan Rae <rae@lyx.org>
14141 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
14142 Can someone check this please?
14144 * text.C (drawInset): It was possible that p.row would be removed by
14145 breakAgainOneRow upsetting a few other settings. There may be another
14146 small tweak possible by setting need_break_row = 0 when p.row has been
14147 removed but I don't know enough about the logic here.
14149 2002-01-15 Allan Rae <rae@lyx.org>
14151 * text.C (insertChar): removed conditional truism.
14153 * BufferView2.C (removeAutoInsets): More tweaks.
14154 cur_par_prev could be a stray pointer. Check for trailing empty line
14155 in case last line was cur_par and only had an error inset on it.
14157 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14159 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14162 * vc-backend.C (most methods):
14163 * exporter.C (Export):
14164 * converter.C (convert):
14166 * LyXSendto.C (SendtoApplyCB):
14167 * lyxfunc.C (dispatch):
14171 * lyx_cb.C (AutoSave):
14173 * BufferView_pimpl.C (MenuInsertLyXFile):
14174 * buffer.C (runChktex): use Buffer::filePath().
14176 * buffer.h: rename filename to filename_; rename filepath to
14177 filepath_ and make it private
14178 (filePath): new method
14180 * buffer.C (writeFile): use fileName()
14183 * lyx_main.C (init): fix starting of LyX when the binary is a
14184 link from so,ewhere else.
14186 * minibuffer.C: include <cctype> for isprint
14188 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14190 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14191 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14192 name clash with InsetCollapsable's width function.
14194 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14196 * lastfiles.C: include <iterator>
14198 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14200 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14203 * buffer.C (makeLaTeXFile): ditto.
14204 Also make loop operation more transparent.
14206 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14208 * ToolbarDefaults.C: remove trailing comma closing namespace.
14210 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14212 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14215 * trans.C (Load): comment out unused variable, allowed.
14217 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14219 * minibuffer.[Ch] (append_char): new method to recieve input from the
14220 drop-down completion browser. If a key was pressed, then recieve this
14221 char and append it to the existing string.
14222 (peek_event): modify the positioning data passed to the completion
14223 browser so that it can be placed above the minibuffer rather than below.
14224 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14226 * LyXAction.C (init): alloe error-next for readonly documents.
14228 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14231 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14233 * bufferlist.C (readFile): create the buffer _after_ checking that
14236 * lyxfunc.C (verboseDispatch): fix handling of arguments
14238 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14240 * lyxrc.C: use string::erase() instead of initializing to "".
14243 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14245 * BufferView_pimpl.h:
14246 * BufferView_pimpl.C:
14249 * text2.C: tell X when we have made a selection for copying
14251 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14253 * BufferView_pimpl.C (MenuInsertLyXFile):
14254 * lyxfunc.C (menuNew):
14256 (doImport): add shortcuts to directory buttons
14258 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14261 * lyxfunc.C (setStatusMessage):
14262 (getStatusMessage): new methods
14263 (getStatus):use setStatusMessage instead of setErrorMessage
14264 (dispatch): when function is disabled, set error message here
14265 [instead of in getStatus previously]
14267 * BufferView_pimpl.C (workAreaButtonRelease): update
14268 toolbar/menubar here too.
14270 2002-01-13 Allan Rae <rae@lyx.org>
14272 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14273 Now seems indestructible. Remaining task is to audit all other
14274 code affected by deleteEmptyParagraphMechanism. One small quirk
14275 left is that an empty document with an error in the preamble can
14276 be made to report an error but no error box appears. I don't know
14278 (removeAutoInsets): Improved comments.
14280 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14283 * Thesaurus.C: update for Aiksaurus 0.14
14285 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14287 * text2.C (firstParagraph): removed member function, all uses
14288 replaces with ownerParagraph
14289 (redoParagraphs): here
14290 (updateInset): here
14291 (toggleAppendix): here
14292 * BufferView2.C (insertErrors): here
14293 (setCursorFromRow): here
14295 2002-01-13 Allan Rae <rae@lyx.org>
14297 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14298 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14299 There is still a way to segfault this although you may have to do this
14300 multiple times: Have an InsetERT with an unknown command in it.
14301 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14302 <down-arrow>, <Enter> again, View->DVI, BANG!
14304 * text2.C (setCursor):
14305 (deleteEmptyParagraphMechanism):
14306 * lyxtext.h (setCursor):
14307 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14308 Making use of the return value may help fix other bugs.
14310 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14312 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14314 * LyXView.C (updateMenubar): call MenuBar::update here
14315 (updateToolbar): but not here
14316 (showState): do not update toolbar/menubar
14318 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14319 should need to care about that.
14321 * lyxfunc.C (verboseDispatch): simplify a bit
14322 (getStatus): have a version which takes a pseudoaction, and
14323 another which requires a (kb_action,string).
14325 * LyXAction.C (retrieveActionArg): make it work also when action
14326 is not a pseudo-action.
14327 (getActionName): simplify a bit
14330 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14332 * lyxfunc.C (verboseDispatch): new families of methods with
14333 several ways to specify a command and a bool to indicate whether
14334 the command name and shortcut should be displayed in minibuffer
14335 (eventually, we could extend that to a finer bitmask like
14336 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14337 (dispatch): the pristine dispatch command which just, well,
14338 dispatchs! Note it still sets its result to minibuffer; I'm not
14341 * lyxfunc.h: remove setHintMessage
14343 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14345 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14347 * BufferView_pimpl.C (specialChar): delete new inset if we have
14348 not been able to insert it.
14350 * kbmap.C: revert to using int instead of kb_action, since all we
14351 are dealing with is pseudo-actions.
14353 * LyXAction.C (searchActionArg): change to return int instead of
14354 kb_action, since the result is a pseudoaction.
14356 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14358 * buffer.C (insertErtContents): Fix (partially) the font bug.
14360 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14362 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14363 as the other one is broken on my machine!
14365 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14368 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14370 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14372 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14373 reflect their actual use. Provide compatibility code for older lyxrc
14376 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14378 change names of popup font variables in line with the changes to lyxrc.C
14380 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14382 * buffer.C (asciiParagraph): avoid outputing a word twice after
14385 * lyxrc.C (getDescription): document that document_path and
14386 template_path can be empty.
14388 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14390 * LaTeXFeatures.C (getMacros):
14391 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14393 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14395 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14397 (getPackages): rename feature "floats" to "float". Use an array to
14398 iterate over 'simple' features (i.e. just a \usepackage). Add
14399 handling of "amsmath" (renamed from "amsstyle").
14401 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14403 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14406 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14408 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14409 FuncStaus::FuncStatus & FuncStaus::some_method().
14411 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14413 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14414 of the func_satus stuff. Edited and massaged in various ways by
14417 * lyxfunc.C (getStatus): use FuncStatus
14419 2002-01-08 Juergen Vigna <jug@sad.it>
14421 * text.C (nextBreakPoint): use function Inset::isChar().
14423 * paragraph.C (TeXOnePar): use function
14424 Inset::forceDefaultParagraphs.
14426 * buffer.C (latexParagraphs): use function
14427 Inset::forceDefaultParagraphs.
14429 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14431 * lyx_gui.C (init): set the style of the menu popups to
14432 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14434 2002-01-07 Juergen Vigna <jug@sad.it>
14436 * text.C (setHeightOfRow): small fix
14437 (prepareToPrint): don't look at alignment if we don't have the place
14440 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14442 * box.C: New file. Move the Box methods and functions out of box.h,
14443 following Lars' suggestion.
14445 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14447 * box.h: #include "support/LOstream.h", needed for inlined function.
14450 * lyxtextclasslist.C: added some using std declarations.
14452 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14454 * box.h: make signed dimensions to allow insets wider than
14455 the screen (bug #162)
14457 * BufferView_pimpl.C: add some insetHit debug
14459 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14461 * vc-backend.C: add FIXME
14463 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14465 * lyxfunc.C (getStatus): enable code for showing math font status
14468 2002-01-07 Juergen Vigna <jug@sad.it>
14470 * text.C (nextBreakPoint): removed debug output not needed anymore.
14472 2002-01-06 Juergen Vigna <jug@sad.it>
14474 * text.C (nextBreakPoint): fixed up this function we had this bug
14475 since ever but now hopefully we break row better.
14476 (insertChar): we have to check if an inset is the next char as it
14477 could now happen that a large inset is causing a break.
14479 2002-01-05 Juergen Vigna <jug@sad.it>
14481 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14482 if it doesn't like to be drawed.
14484 2002-01-04 Juergen Vigna <jug@sad.it>
14486 * BufferView2.C (lockInset): forgot to set a cursor.
14488 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14490 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14492 * FormMathsPanel.C:
14495 * form_maths_panel.C:
14496 * form_maths_panel.h:
14497 * form_maths_panel.fd: implemented sub- and super- buttons in math
14500 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14501 (or ^ space) to be used as in TeX (req'd by Andr�.
14503 * lyxfunc.C: Allow ^ and _ again to be used both as
14504 super/subscript (mathed) and as themselves (in text).
14506 2002-01-03 Allan Rae <rae@lyx.org>
14508 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14509 "LyX" or the filename of the current buffer if it has one. This is a
14510 modified form of John Levon's patch.
14512 * XFormsView.C (setWindowTitle): also set icon title.
14514 * LyXView.h (setWindowTitle): signature changed.
14515 * XFormsView.h (setWindowTitle): ditto.
14517 2002-01-02 Juergen Vigna <jug@sad.it>
14519 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14521 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14523 * screen.C (topCursorVisible): introduce a temp var for
14524 text->cursor.row(), handle the case where this row is null. (kindo
14527 * text2.C (setCursor): add a couple of asserts.
14529 * paragraph.h (inset_iterator): add -> operator
14531 * paragraph.[Ch] (autoDeleteInsets): remove member function
14533 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14534 cursor pos correctly and handle inset deletion by itself.
14535 (insertErrors): move iterator declaration out of for expression
14537 * lyxtextclass.C: add <algorithm>
14539 * Makefile.am: added the new files to sources, removed layout.C
14541 * layout.C: removed file
14543 * layout.h: remove LYX_DUMMY_LAYOUT
14545 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14549 * lyxtextclass.[Ch]:
14550 * lyxtextclasslist.[Ch]: new files
14552 * include order changes to a lot of files, also changes because of
14555 2001-12-27 Juergen Vigna <jug@sad.it>
14557 * buffer.C (asciiParagraph): more fixes.
14559 * tabular.C (ascii): make ascii export support export of only the
14560 data separated by a column-delimiter.
14561 (ascii): better support for ascii export.
14563 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14565 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14567 * tabular_funcs.C: use a "using std::getline" instead of the
14568 previous fix from Angus (necessary for cxx + lyxstring)
14570 2001-12-24 Juergen Vigna <jug@sad.it>
14572 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14574 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14575 problems. First check a minipage also if we have some ert-contents
14576 (not only on par->size(), second set the right depth of the paragraph
14577 on the relink to the root-paragraph-list!
14579 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14580 which then did not anymore update the main paragraphs on undo/redo!
14582 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14584 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14585 code. Support all font-changing funcs (even those which are not in
14586 menu currently). Support for reporting font settings in
14587 mathed (disabled until Andre provides a function on mathed's side).
14589 * func_status.h (toggle): small helper function to set toggle
14592 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14594 * tabular_funcs.C: getline -> std::getline
14596 2001-12-21 Juergen Vigna <jug@sad.it>
14598 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14599 accessed and could be 0 (I couldn't generate this but it seems
14602 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14604 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14605 * tabular_funcs.h: here and include iosfwd
14607 2001-12-20 Juergen Vigna <jug@sad.it>
14609 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14610 inside inset but undo_par was.
14612 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14614 * Thesaurus.C: always include <config.h> in sources.
14618 * box.h: do not include <config.h> in header files
14620 * text.C (paintLastRow): remove unused variable
14622 * text.C (transformChar):
14624 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14626 * Painter.C (text):
14627 * font.C (width): rewrite to use uppercase() instead of
14630 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14632 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14634 * lyxfind.C: clean up of find failure position change
14636 2001-12-20 Juergen Vigna <jug@sad.it>
14638 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14640 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14641 (TeXRow): added to LaTeX a single tabular row.
14642 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14643 (Latex): simplified and finally good LT-h/f support.
14644 (various_functions): just small adaptions for LT-h/f support.
14646 * tabular_funcs.[hC]: added and moved here all not classfunctions
14649 2001-12-19 Juergen Vigna <jug@sad.it>
14651 * tabular.[Ch]: better support for longtabular options (not finished
14654 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14656 * text.C (paintLastRow): use the label font instead of the font of
14657 the last character to compute the size of *_BOX. This makes more
14658 sense and avoids a crash with empty paragraphs.
14659 Use Painter::rectangle to draw EMPTY_BOX.
14661 2001-12-19 Juergen Vigna <jug@sad.it>
14663 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14664 the paragraphs if the replaced paragraph is not the first one!
14665 Tried to delete not used paragraphs but does not work yet so for
14666 now it's inside #ifdef's and by default off!
14668 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14670 * MenuBackend.C: include "lyx_main.h" instead of declaring
14671 lastfiles (actually was declared as LastFiles* instead of a
14674 2001-12-17 Juergen Vigna <jug@sad.it>
14676 * tabular.C (AppendColumn): applied John's fix
14678 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14682 * BufferView_pimpl.h:
14683 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14686 * box.h: new start of class for above
14688 * lyxfunc.C: ignore space-only minibuffer dispatches.
14689 Show the command name when it doesn't exist
14691 * minibuffer.C: don't add empty lines to the history
14693 * minibuffer.C: add a space on dropdown completion
14695 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14697 * text.C: fix line above/below drawing in insets
14699 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14701 * lyxlength.C (LyXLength): Initialize private variables.
14703 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14705 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14706 when inserting error insets.
14708 2001-12-13 Juergen Vigna <jug@sad.it>
14710 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14711 actually sometimes the before-paragraph.
14712 (setUndo): don't clear the redostack if we're not actually undoing!
14714 2001-12-06 Juergen Vigna <jug@sad.it>
14716 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14717 and fixed redoing of main paragraph, so we can use it now ;)
14719 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14721 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14723 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14726 2001-12-13 André Pönitz <poenitz@gmx.net>
14729 * undo_func.C: minor cleanup
14731 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14733 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14734 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14735 font in urw-fonts package which is marked as -urw-fontspecific and
14736 does not work (incidentally, changing the encoding in the
14737 fonts.dir of this package to -adobe-fontspecific fixes the
14740 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14741 is a crash when undoing first paragraph (Juergen, please take a
14742 look). THis does not mean the undo fix is wrong, just that it
14745 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14746 the (Paragraph*) version when needed instead of duplicating the
14749 * text.C (workWidth): use Inset::parOwner to find out where the
14750 inset has been inserted. This is a huge performance gain for large
14751 documents with lots of insets. If Inset::parOwner is not set, fall
14752 back on the brute force method
14754 * paragraph_pimpl.C (insertInset):
14755 * paragraph.C (Paragraph):
14756 (cutIntoMinibuffer): set parOwner of insets when
14757 inserting/removing them
14759 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14761 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14767 * mathed/formulabase.C:
14768 * mathed/math_cursor.[Ch]:
14769 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14772 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14774 * lyxlength.[Ch] (operator!=): new function
14776 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14778 * text.C (workWidth): use Inset::parOwner to find out where the
14779 inset has been inserted. This is a huge performance gain for large
14780 documents with lots of insets. If Inset::parOwner is not set, fall
14781 back on the brute force method
14783 * paragraph_pimpl.C (insertInset):
14784 * paragraph.C (Paragraph):
14785 (cutIntoMinibuffer): set parOwner of insets when
14786 inserting/removing them
14788 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14790 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14792 * tabular-old.C (getTokenValue):
14793 * tabular.C (getTokenValue):
14794 (write_attribute): new versions for LyXLength
14795 (everywhere): adjust the use of widths
14797 * tabular.h: change the type of widths from string to LyXLength
14799 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14801 * paragraph.C: fixed missing line number count when exporting
14802 Environments to LaTeX file
14804 * buffer.C: added informational message for checking line numbers.
14806 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14808 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14809 paragraph, do the 'double space' part, but not the 'empty
14812 * text.C (workWidth): small optimization
14813 (getLengthMarkerHeight): use minimal size for negative lengths.
14815 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14817 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14819 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14821 2001-12-11 André Pönitz <poenitz@gmx.net>
14824 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14826 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14828 * text2.C: keep selection on a setFont()
14830 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14832 * lyx_cb.C: another bv->text misuse, from insert label
14834 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14837 * kbsequence.C: re-instate nmodifier mask
14839 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14841 * lyx_main.h: make lyxGUI private.
14843 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14845 * lyxfind.C: place the cursor correctly on failed search
14847 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14849 * text.C (getLengthMarkerHeight): for small heights, the arrows
14850 are not always on top/bottom of the text
14851 (drawLengthMarker): smaller arrows; take the left margin in
14852 account; draw also vfills.
14854 (paintLastRow): remove special code for vfill and standard spaces,
14855 since everything is handled in drawLengthMarker now.
14857 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14859 * buffer.C (insertErtContents): try to handle font and language
14860 interaction a bit better.g
14862 * ColorHandler.C (updateColor): change the hash to cover the whole
14863 LColor enum, ws cleanup
14864 (getGCLinepars): ditto
14865 (getGCLinepars): only lookup in the linecache once.
14867 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14869 * iterators.C (operator++): Make the iterator more robust
14871 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14873 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14875 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14878 * text.C: better added space drawing
14880 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14883 * BufferView2.C: fix layout combo update on inset unlock
14885 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14887 * Makefile.am: don't compile unused files
14889 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14893 * LyXAction.C: remove old LFUN_LAYOUTNO
14895 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14897 * paragraph_pimpl.h:
14898 * paragraph_pimpl.C: isTextAt() doesn't need font param
14900 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14903 * lyxlex.C: little cleanup
14905 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14907 * BufferView_pimpl.C: fix insertAscii for insets
14909 2001-12-05 Juergen Vigna <jug@sad.it>
14911 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14912 set the right font on the "multi" paragraph paste!
14914 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14920 * lyxlength.C: remove out-commented code.
14922 * BufferView_pimpl:
14936 * vc-backend.C: change "while(" to "while ("
14938 * lyxlength.[Ch]: add zero function to check if length is zero or
14940 * lyxgluelength.C: use it
14942 2001-12-05 Allan Rae <rae@lyx.org>
14944 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14945 Works for 2.95.3, from what I understand of Garst's reports this should
14946 work for other g++ versions. We're screwed if the abs(int) definition
14947 changed between bugfix releases of gcc.
14949 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14951 * text.C: fix chapter label offset !
14953 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14956 * text.C: fix hfill at end of line, clean up
14958 2001-12-04 Juergen Vigna <jug@sad.it>
14960 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14961 that we force an update of the inset and it's owners if neccessary.
14963 2001-12-03 Juergen Vigna <jug@sad.it>
14965 * text.C (rowLast): simplified code
14967 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14969 * lyxfunc.C: fix show options on timeout
14971 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14973 * screen.C (topCursorVisible): scroll half a page when the cursor
14974 reached top of bottom of screen
14976 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14978 * minibuffer.C: deactivate on loss of focus
14980 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14982 * vspace.[Ch] (operator!=): add operator.
14984 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14986 * BufferView_pimpl.C: refuse to open an inset when
14987 there's a selection.
14989 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14991 * BufferView_pimpl.C: allow to click on RHS of full row insets
14993 2001-11-30 Juergen Vigna <jug@sad.it>
14995 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14996 insets for undo reasons.
14998 2001-11-28 André Pönitz <poenitz@gmx.net>
15000 * vspace.[Ch]: cosmetical changes
15002 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15012 * kbsequence.C: part re-write of old kb code
15015 * WorkArea.C: remove Lgb_bug_find_hack
15017 2001-11-30 José Matos <jamatos@fep.up.pt>
15019 * buffer.C (makeDocBookFile): add a comment to point a hack.
15020 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15021 Fixed a double write of labels.
15023 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15026 * LaTeX.h Fixed bug in LaTeX class where it would not
15027 re-run latex if no depfiles were changed, but the .dvi was removed.
15029 2001-11-28 André Pönitz <poenitz@gmx.net>
15031 * all the files from the change on 2001/11/26:
15032 use lyx::layout_type instead of LyXTextClass::size_type
15033 use lyx::textclass_type instead of LyXTextClassList::size_type
15035 2001-11-29 Juergen Vigna <jug@sad.it>
15037 * text.C: added support for paragraph::isFreeSpacing()
15039 * buffer.C: same as above
15041 * paragraph.h: inserted isFreeSpacing() function to enable
15042 FreeSpacing inside InsetERT.
15044 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15045 of the paragraph's in the cut/copy buffer to 0!
15047 * text2.C (removeRow): remove the assert as it can!
15049 * lyxtext.h: added helper function firstRow returning firstrow and
15050 made firstrow private again.
15052 * BufferView2.C (lockInset): don't relock if we're already locked!
15054 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15055 the only paragraph.
15056 (removeRow): added Assert::(firstrow)
15058 * debug.C: forgot to add INSETTEXT here.
15060 2001-11-28 Juergen Vigna <jug@sad.it>
15062 * sp_spell.C (initialize): changed error text to more general
15063 spellchecker command use (not only ispell!)
15065 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15067 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15069 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15071 * vspace.C: initialise lyxgluelength on failure
15073 2001-11-28 Allan Rae <rae@lyx.org>
15075 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15076 declaration & definition that looks like a function declaration.
15078 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15080 * BufferView2.C (copy):
15081 (copyEnvironment): do not clear the selection when doing a copy.
15083 * text.C (paintFirstRow): compilation fix
15085 2001-11-27 Ben Stanley <bds02@uow.edu.au>
15087 * tabular.C (Latex): correct line count when writing latex.
15089 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
15091 * paragraph_pimpl.h:
15092 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15095 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15099 * LColor.C: change vfillline->added_space
15101 * text.C: add markers and text for added space
15103 * vspace.C: fix comment
15105 2001-11-28 André Pönitz <poenitz@gmx.net>
15107 * paragraph.C: whitespace changes
15108 * all the other files from the change on 2001/11/26:
15109 change *::pos_type into lyx::pos_type
15111 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
15113 * buffer.C (parseSingleLyXformat2Token): Set the language to the
15114 language of the document when inserting error insets.
15116 2001-11-26 André Pönitz <poenitz@gmx.net>
15118 * BufferView_pimpl.[Ch]:
15126 * paragraph_pimpl.[Ch]:
15129 * text2.C: reduce header dependencies, introduce type for positions
15131 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15133 * <various>: change to use Alert.h
15135 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
15137 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15138 when encountering an unknown token.
15139 (readLyXformat2): Show an error message if there were unknown tokens.
15141 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
15144 * BufferView_pimpl.C:
15148 * text2.C: use par->isInset()
15150 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15152 * paragraph_pimpl.h:
15153 * paragraph_pimpl.C: cleanup
15155 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15157 * text2.C (removeRow):
15158 * text.C (setHeightOfRow): remove useless (and costly) call to
15161 2001-11-20 Allan Rae <rae@lyx.org>
15163 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15164 Now need Inset*::checkInsertChar() to return true for appropriate
15165 cases so that the characters in the minibuffer will actually be
15168 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
15170 * text.C: change the order of the includes.
15171 (workWidth): initialize it at once.
15172 (workWidth): make maxw unsigned
15173 (setHeightOfRow): remove unused variable (inset)
15174 (selectSelectedWord): remove unused variable (inset)
15175 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15177 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15179 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15180 server is not running.
15182 (closeConnection): add debug info when server is disabled.
15184 * ColorHandler.C (getGCForeground): send debug message to GUI
15187 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15189 * kbmap.C (bind): modify because return conventions of
15190 kb_sequence::parse have changed.
15192 * kbsequence.C (parse): only ignore spaces and not any stupid
15193 control character. This avoids tests like s[i] <= ' ', which are
15194 guaranteed to fail with 8bit characters and signed chars.
15195 Change return code to string::npos when there have been no error
15196 (0 was a bad idea when error is at first character)
15198 2001-11-14 José Matos <jamatos@fep.up.pt>
15201 * buffer.C (simpleDocBookOnePar): removed unused argument.
15203 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15205 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15206 insets which are part of a word. Paragraph::isLetter takes care of
15207 that now. Use Paragraph::isInset to identify insets.
15208 (selectSelectedWord): do not test for hyphenation break.
15210 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15211 that protected spaces are considered as spaces.
15213 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15216 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15219 * lyxserver.C: fix it. and small cleanup.
15221 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15223 * BufferView_pimpl.C: use inline helpers
15226 * LaTeXFeatures.C: fix typos
15229 * Spacing.C: move spacing_string into class
15231 * ToolbarDefaults.C: move stuff into namespace anon
15233 * layout.h: update enum
15235 * lyxfunc.C: use better debug
15237 * minibuffer.h: fix typo
15241 * WorkArea.C: add and use Debug::WORKAREA
15245 * text2.C: code re-organisation, inline helpers
15247 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15249 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15250 std::vector.empty().
15252 2001-11-09 Allan Rae <rae@lyx.org>
15254 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15255 '\n's after tables. Tabular and ERT inset work now makes this no
15258 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15261 * minibuffer.C: fix crash, improve drop-down completion
15263 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15266 * lyxserver.C: invalidate fd's when doing endPipe()
15268 2001-11-08 José Matos <jamatos@fep.up.pt>
15270 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15271 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15274 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15276 2001-11-07 José Matos <jamatos@fep.up.pt>
15279 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15282 * buffer.C (sgmlOpenTag):
15283 * buffer.C (sgmlCloseTag): removed debug info.
15285 * buffer.h (sgmlOpenTag):
15286 * buffer.h (sgmlCloseTag): made public.
15288 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15290 * buffer.C (saveParamsAsDefaults):
15291 * lyx_cb.C (MenuLayoutSave): remove
15293 * LyXAction.C (init):
15295 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15297 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15299 * buffer.C (setPaperStuff): removed from here...
15301 * bufferparams.C (setPaperStuff): ... and moved there.
15303 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15307 * XFormsView.C: add support for drop-down completion
15309 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15311 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15314 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15316 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15319 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15321 * lyx_main.C: change ref to known bugs
15323 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15325 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15326 to work around older babel problems.
15328 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15330 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15332 2001-10-24 Juergen Vigna <jug@sad.it>
15334 * tabular-old.C (ReadOld): below variable changes reflected.
15336 * tabular.[Ch]: added ltType struct for longtable header/footer
15337 defines and changed all instances where they are used. Added
15338 future support for double top/bottom rows.
15340 2001-10-24 José Matos <jamatos@fep.up.pt>
15342 * buffer.h (docbookHandleCaption):
15343 * buffer.C (docbookHandleCaption): removed unused function.
15344 (makeDocBookFile): moved docbook supported version to v4.1.
15346 2001-10-24 José Matos <jamatos@fep.up.pt>
15349 * tabular.C (docbookRow): new function to export docbook code of a row.
15350 (DocBook): now honors the longtable flags.
15352 2001-10-23 José Matos <jamatos@fep.up.pt>
15355 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15356 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15358 * buffer.C (makeLinuxDocFile):
15359 (makeDocBookFile): reworked the preamble, more clean, and with
15360 support for lyx defined entities. Changed the document declaration
15361 to be more XML friendly.
15363 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15364 if we need to output XML that should be done with a filter.
15366 2001-10-22 Juergen Vigna <jug@sad.it>
15368 * sp_pspell.h (class PSpell): add alive function needed in the
15369 controller to see if the spellchecker could be started.
15371 2001-10-22 Juergen Vigna <jug@sad.it>
15373 * buffer.C (insertStringAsLines): modify the font for inserting
15374 chars in certain conditions by calling checkInsertChar(font).
15376 2001-10-19 Juergen Vigna <jug@sad.it>
15378 * text.C (workWidth): use getRow instead of wrong algorithm.
15379 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15381 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15386 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15388 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15390 * text.C (workWidth): do not search for the exact row when
15391 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15392 optimization for big documents.
15394 2001-10-18 Juergen Vigna <jug@sad.it>
15396 * text.C (workWidth): new function with added Inset * parameter.
15398 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15400 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15402 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15403 change return type of getColumnNearX.
15406 * text.C (changeRegionCase): use uppercase/lowercase instead of
15409 (rightMargin): simplify code by factoring out the uses of
15414 (appendParagraph): use Paragraph::size_type
15416 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15418 * vspace.C (asLatexString): add a missing break
15420 2001-10-15 Herbert Voss <voss@perce.de>
15422 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15424 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15426 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15429 2001-10-10 André Pönitz <poenitz@gmx.net>
15431 * lyxfunc.C: removed greek_kb_flag.
15433 2001-10-10 Herbert Voss <voss@perce.de>
15435 * lyx_main.C: delete global string help_lyxdir.
15437 2001-10-09 Herbert Voss <voss@perce.de>
15439 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15441 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15443 * lyx_main.C: added global string help_lyxdir.
15445 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15447 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15449 * lyxrc.C (set_font_norm_type): support iso8859-4
15451 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15453 * LaTeX.C (deplog): add another regex for MikTeX
15455 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15457 * lyxrc.C (set_font_norm_type): support iso8859-3
15459 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15461 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15463 * LaTeXFeatures.C: remove special case of french and index
15465 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15466 before \begin{document}). This solves several incompatibilities.
15468 2001-10-03 Garst Reese <reese@isn.net>
15470 * lyx_cb.C: change CheckTex error msg.
15472 2001-10-03 José Matos <jamatos@fep.up.pt>
15474 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15476 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15478 * .cvsignore: update
15480 * lyx_main.C (commandLineVersionInfo): use new style version info.
15482 * buffer.C (writeFile):
15484 (makeLinuxDocFile):
15485 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15487 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15489 * version.h: update to use stuff in version.C
15491 * version.C.in: new file. Contains version information determined
15492 at compile time. This is a merging of version.h and
15495 2001-10-03 Juergen Vigna <jug@sad.it>
15497 * BufferView_pimpl.C (update): don't change "dirty" status in
15500 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15502 * WorkArea.C (c-tor): re-position version string slightly.
15504 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15506 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15507 revert to previous code.
15509 WorkArea.[Ch]: (show, destroySplash): methods removed.
15511 WorkArea.C: rework code so that it's an amalgam of the codes before and
15512 after the splash screen was moved to WorkArea.
15514 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15517 * vspace.C (inPixels):
15520 * buffer.C (insertStringAsLines):
15521 (asciiParagraph): fix types to be large enough
15523 * lyxlex_pimpl.h: change member status from short to int
15525 * layout.h: fix type of endlabeltype
15528 * kbsequence.C (parse): change return type to string::size_type
15530 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15533 * Bullet.C (bulletSize):
15534 (bulletEntry): do not use short ints as parameters
15536 * BufferView2.C (insertLyXFile): change a char to an int.
15538 * WorkArea.C (WorkArea): remove unneeded floats in computation
15540 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15542 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15544 * paragraph.C (asString): Do not ignore newline/hfill chars when
15545 copying to the clipboard.
15547 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15549 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15550 after a multi-line inset.
15552 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15554 * paragraph.C (validate): Set NeedLyXFootnoteCode
15556 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15558 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15559 and decrease-error to decrease.
15561 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15563 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15564 it more readable (should be equivalent)
15566 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15568 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15570 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15572 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15573 of a cursor (row, etc.) after a character has been deleted
15574 (deleteEmptyParagraphMechanism): call the method above on _all_
15575 cursors held by the LyXText when a double space has been
15578 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15580 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15582 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15584 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15585 background. Use greyOut() and the new show() methods to toggle between
15586 the foreground and background. Add code to remove the splash after
15587 its initial showing.
15589 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15590 (create_forms): no longer call Dialogs::showSplash.
15592 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15594 * .cvsignore: add version_info.h
15596 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15598 * version_info.h.in: new file
15600 * Makefile.am: add version_info.h.in
15602 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15603 version_info.h instead of VERSION_INFO
15605 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15607 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15608 The ERT inset now returns string().
15610 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15612 * lyxtext.h, text.C (selectNextWord): renamed as
15613 selectNextWordToSpellcheck.
15615 * text.C (selectNextWordToSpellcheck): Modified to not select
15616 words inside an ERT inset.
15618 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15620 * lyx_cb.C (MenuLayoutSave): change a bit the question
15622 * sp_base.h: include <sys/types.h>
15624 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15626 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15628 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15630 * several files: fix typos in user-visible strings
15632 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15634 * text2.C (pasteSelection): do not set the selection, since it
15635 will be cleared later. Actually, the intent was to fix the way the
15636 selection was set, but I figured rmoving the code was just as good.
15638 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15640 * FontLoader.C (available): Check if font is available without
15643 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15645 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15647 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15649 * lyxrc.[Ch]: added display_graphics variable and associated code.
15651 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15653 * bufferparams.C (hasClassDefaults): new method. Returns true if
15654 the buffer parameters correspond to known class defaults
15656 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15658 * XFormsView.C (show): set minimum size to the main window.
15660 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15662 * text2.C (copySelection):
15664 * lyxfind.C (LyXReplace):
15665 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15666 LyXText::selectionAsString.
15668 * paragraph.C (asString): add "label" argument to the second form
15670 * text2.C (selectionAsString): add "label" argument and pass it to
15671 Paragraph::asString.
15673 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15675 * lyx_main.C (commandLineHelp): remove version information
15677 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15679 * lyx_main.C: add -version commandline option
15681 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15683 * paragraph.h: make the optional constructor arg required instead.
15684 some modifications to other files because of this.
15686 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15688 * lyxserver.C (C_LyXComm_callback): make it static
15690 * lyx_main.C (error_handler): make it static
15692 * lyx_gui.C (LyX_XErrHandler): make it static
15694 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15696 * WorkArea.C: make the extern "C" methods static.
15698 * Makefile.am (lyx_LDADD): simplify
15700 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15702 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15703 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15705 * LyXAction.C (init):
15706 * lyxfunc.C (dispatch): associated code removal.
15708 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15710 * lyxfont.h (isSymbolFont): shut off warning
15712 * text.C (setHeightOfRow):
15713 (getVisibleRow): fix crash with empty paragraphs which have a
15716 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15718 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15721 2001-09-04 José Matos <jamatos@fep.up.pt>
15724 * tabular.C (docbook): rename docBook method to docbook.
15726 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15728 * Makefile.am: add dependencies to main.o.
15730 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15732 * FontLoader.C (available): Return false if !lyxrc.use_gui
15734 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15736 * FontInfo.C (query):
15737 * converter.C (view):
15738 * importer.C (Import):
15739 * exporter.C (Export): Can not -> cannot.
15741 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15743 * BufferView_pimpl.C: allow to create index inset even if
15746 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15748 * buffer.C (getLists): replace boost::tie code with an explicit pair
15749 as boost::tie can break some compilers.
15751 * iterators.h: Added a std:: declaration to the return type of
15754 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15756 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15759 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15761 * iterators.[Ch]: New files. Provide paragraph iterators.
15763 * buffer.C (changeLanguage): Use paragraph iterators.
15764 (isMultiLingual): ditto
15766 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15768 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15770 * FontLoader.C: Support for cmr font.
15772 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15774 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15775 (available): New method.
15777 * FontInfo.C (getFontname): Use scalable fonts even when
15778 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15781 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15783 * converter.C (Formats::view): reverted! Incorrect fix.
15785 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15787 * converter.C (Formats::view): only output the -paper option
15788 if the dvi viewer is xdvi, thereby fixing bug #233429.
15790 2001-08-23 Herbert Voss <voss@perce>
15792 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15794 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15796 * Spacing.h (Spacing): Set space to Default on in the default
15799 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15801 * vc-backend.h (RCS::versionString): add RCS to version
15802 (CVS::versionString): add CVS to version
15804 * vc-backend.C (scanMaster): do not add CVS to version.
15805 (scanMaster): do not add RCS to version
15807 * lyxvc.C (versionString): new method
15809 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15811 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15813 * Spacing.C (set): initialize fval
15815 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15817 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15820 2001-08-16 Juergen Vigna <jug@sad.it>
15822 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15824 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15826 * BufferView_pimpl.C:
15829 * text2.C: setParagraph takes linespacing now
15831 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15833 * LyxAction.C: add internal LFUN_CITATION_INSERT
15835 * LyXView.C: actually apply fix
15837 * bufferlist.C: fix open non-existent file
15839 * lyxfind.C: fix indentation
15841 * lyxfunc.C: remove unneeded assert, fix typo
15843 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15845 * MenuBackend.C: use "Floatname List"
15847 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15849 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15850 when converting LaTeX layout to insetERT.
15851 Generate a non-collapsed float when reading old float
15853 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15855 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15858 2001-08-13 Juergen Vigna <jug@sad.it>
15860 * text.C (fill): return 0 instead of 20 as this seems to be the more
15863 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15865 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15868 2001-08-13 Juergen Vigna <jug@sad.it>
15870 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15872 (SearchBackward): comment out the unlocking of the inset_owner this
15873 should not be needed!
15875 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15877 * Many files: Remove inherit_language, and add latex_language
15879 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15880 collapsible insets.
15882 2001-08-10 Juergen Vigna <jug@sad.it>
15884 * text.C (prepareToPrint): fixed hfill-width in draw!
15886 * BufferView2.C (selectLastWord): save the selection cursor as this
15887 now is cleared in the function LyXText::clearSelection!
15889 2001-08-08 Juergen Vigna <jug@sad.it>
15891 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15892 BACKSPACE type functions.
15894 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15895 is only cutted from the document but not put in the cut-buffer, where
15896 still the old stuff should be.
15898 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15900 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15902 * tabular.C (SetWidthOfCell): fixed special case where the width
15904 (LeftLine): handle '|' in align_special.
15906 (LeftAlreadyDrawed): ditto
15907 (SetWidthOfCell): ditto
15909 2001-08-07 Juergen Vigna <jug@sad.it>
15911 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15913 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15915 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15916 * lyxlex.[hC]: ditto
15918 2001-08-06 Juergen Vigna <jug@sad.it>
15920 * text.C (getVisibleRow): fix up row clearing a bit.
15922 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15924 * minibuffer.C: make sure the X server sees the changes in the input.
15926 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15928 * paragraph.C (getFont): split into...
15929 (getLabelFont): this
15930 (getLayoutFont): and this
15931 * paragraph_pimpl.C (realizeFont): calling this
15933 * text2.C (getFont): split into...
15934 (getLayoutFont): this
15935 (getLabelFont): and this
15936 (realizeFont): all three calling this
15938 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15941 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15943 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15945 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15947 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15948 layouts from the Quote inset insertion.
15950 2001-08-03 Juergen Vigna <jug@sad.it>
15952 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15954 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15955 only if status not is already CHANGED_IN_DRAW (second level).
15957 * text.C (draw): don't set the need_break_row when inside an
15960 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15962 * buffer.C (parseSingleLyXformat2Token): handle more latex
15965 * bufferview_funcs.[hC]: change function names to
15966 begin with small char, adjust other files.
15968 2001-08-02 André Pönitz <poenitz@gmx.net>
15971 BufferView_pimpl.C: remove broken special code for math-greek
15973 2001-08-02 Juergen Vigna <jug@sad.it>
15975 * BufferView_pimpl.C (update): redone this function so that we
15976 update the text again if there was a CHANGE_IN_DRAW.
15978 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15979 (drawFromTo): added a new internal bool which is used by draw() and
15981 (general): some cursor drawing problems fixed.
15983 2001-08-01 Juergen Vigna <jug@sad.it>
15985 * lyxfind.C (LyXFind): fixed
15986 (SearchForward): ditto
15987 (SearchBackward): ditto
15989 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15990 spurius drawing of the cursor in the main area.
15992 * text2.C (status): small fix which could lead to a segfault!
15993 (clearSelection): remove unneeded BufferView param.
15995 2001-08-01 André Pönitz <poenitz@gmx.net>
15997 * lyxfunc.C: small change due to changed mathed interface
15999 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16001 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16003 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
16005 * lyxfunc.c: fail gracefully if file doesn't exist
16010 * BufferView_pimpl.C: IsDirWriteable() proto changed
16012 * LyXView.C: fix updateWindowTitle() to store the last title
16014 2001-07-31 Juergen Vigna <jug@sad.it>
16016 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16017 the font (wrong since using of Paragraph::highestFontInRange).
16019 * paragraph.C (highestFontInRange): added a default_size parameter.
16021 * text.C (getVisibleRow): minor clear row changes (still not perfect).
16022 (setHeightOfRow): reformat
16024 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16026 * converter.[hC] + affected files: move to (inital-char)lowercase
16029 * ParagraphParameters.C (ParagraphParameters): remove commented code
16031 * PainterBase.[Ch]: remove commented code
16033 * LaTeXFeatures.h: add "bool floats" for float.sty
16035 * LaTeXFeatures.C (LaTeXFeatures): init floats
16036 (require): handle float
16037 (getPackages): do it with floats
16039 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16041 * BufferView_pimpl.C (Dispatch): improve handling of
16042 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16044 * commandtags.h: #include lyxfont.h here temporarily to avoid
16047 * bufferlist.h: include LString.h here.
16049 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16051 * text2.C (getStringToIndex): new method.
16053 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
16055 * *: Reduced header file dependencies all over.
16057 2001-07-30 Baruch Even <baruch@lyx.org>
16059 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16061 2001-07-29 Baruch Even <baruch@lyx.org>
16063 * buffer.C (readInset): Changed GRAPHICS to Graphics.
16065 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16067 * ParameterStruct.h (endif): add a default constructor to make
16068 sure that all variables is initialized.
16070 * ParagraphParameters.C (ParagraphParameters): adjust
16072 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16074 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16075 index; also, check that there is something to index, and that it
16076 does not span over several paragraphs.
16077 (doubleClick): use WHOLE_WORD_STRICT for double click.
16079 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16081 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16084 2001-07-26 Baruch Even <baruch@lyx.org>
16086 * buffer.C (readInset): Changed to call up InsetGraphics when reading
16087 an InsetFig figure, backwards compatible reading of old figure code.
16089 2001-07-27 Juergen Vigna <jug@sad.it>
16091 * text2.C: font.realize function adaption.
16093 * text.C (draw): add a warnings lyxerr text if needed.
16095 * layout.C: font.realize function adaption.
16097 * language.C: add inherit_language and implement it's handlings
16099 * bufferview_funcs.C (StyleReset): remove language parameter from
16100 font creation (should be language_inherit now).
16102 * bufferparams.C (writeFile): handle ignore_language.
16104 * paragraph.C (getFontSettings): the language has to be resolved
16105 otherwise we have problems in LyXFont!
16107 * lyxfont.C (lyxWriteChanges): added document_language parameter
16108 (update): removed unneeded language parameter
16110 * paragraph.C (validate): fixed wrong output of color-package when
16111 using interface colors for certain fonts in certain environments,
16112 which should not seen as that on the final output.
16114 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
16116 * BufferView_pimpl.C:
16121 * LyXAction.C: add thesaurus support
16124 * lyxfind.C: add "once" parameter, for thesaurus, to not
16125 move to the next match
16127 2001-07-26 Juergen Vigna <jug@sad.it>
16129 * lyxfont.C (realize): honor ignore_language too!
16132 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16134 * text.C (draw): one place more for ignore_language to not draw
16137 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
16139 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16141 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16143 * buffer.C (parseSingleLyXformat2Token): a more general fix for
16144 the minipage conversion problem.
16146 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16148 * buffer.C (parseSingleLyXformat2Token): check minipage if we
16151 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16153 * BufferView.h: don't forward declare WorkArea
16155 * BufferView.C: don't include WorkArea.h
16157 2001-07-25 André Pönitz <poenitz@gmx.net>
16161 * lyxfunc.C: new LFUN 'math-space'
16163 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16165 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16167 * text2.C (toggleInset): call open/close
16169 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16171 * lyxfunc.C (dispatch): add debug for the disabled case
16173 * font.C (buttonText): make similar to rectText
16175 * buffer.C (readInset): comment out parsing of insetlist and
16178 * PainterBase.C (rectText): small correction
16180 * BufferView_pimpl.C: comment out insettheorem and insetlist
16181 * LyXAction.C: ditto
16182 * commandtags.h: ditto
16184 2001-07-24 Juergen Vigna <jug@sad.it>
16186 * text.C (draw): honor the ignore_language.
16188 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16190 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16192 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16195 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16197 * lyxtext.h: remove unused (and unimplemented) methods
16199 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16201 * text.C (getVisibleRow): honor background color
16204 * Painter.h: remove default color argument for fillRectangle
16206 * text.C (backgroundColor): new method
16208 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16210 * text.C (getVisibleRow): adjust
16212 * font.[Ch] (rectText): new method, metrics
16213 (buttonText): new method, metrics
16215 * PainterBase.[hC]: make rectText and buttonText always draw and take
16218 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16220 * ToolbarDefaults.C (read):
16221 * MenuBackend.C (read): allow escaping in all strings
16223 * BufferView_pimpl.C (insertAndEditInset): new method.
16224 (Dispatch): use insertAndEditInset whenever appropriate.
16226 * BufferView_pimpl.C (insertNote): removed
16228 * BufferView_pimpl.C (smartQuote): new method, moved from
16229 BufferView; if an insetquote cannot be inserted, insert a '"'
16232 * BufferView2.C: remove insertCorrectQuote();
16234 * lyxfunc.C (getStatus): Add support for all remaingin
16235 inset-insert lfuns.
16237 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16239 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16240 command (necessary to pass " as parameter of self-insert.
16242 * text.C (selectWordWhenUnderCursor):
16243 (selectWord): add word_location parameter
16244 (selectWordWhenUnderCursor): same + remove special code for word
16246 (selectNextWord): use kind() to guess type of insetspecialchar,
16249 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16250 (insertErtContents): create ert insets as collapsed.
16251 (readInset): better compatibility code for Info inset.
16253 2001-07-20 Juergen Vigna <jug@sad.it>
16255 * lyxfunc.C (dispatch): use always LyXFind now!
16257 * text2.C (init): add a reinit flag so that the LyXText can be
16258 reinited instead of deleted and reallocated (used in InsetText).
16260 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16266 2001-07-18 Juergen Vigna <jug@sad.it>
16268 * text.C (selectNextWord): handle insets inside inset by calling
16269 always the bv->text functions so that we can go up the_locking_inset!
16271 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16272 in strange locations when inside an inset!
16274 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16275 handling to include insets.
16277 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16279 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16281 * LyXAction.C (init):
16283 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16284 LIGATURE_BREAK, since the name is so stupid.
16286 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16288 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16291 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16293 * sp_form.[Ch]: remove.
16295 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16297 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16300 * src/buffer.C (readInset): ditto.
16302 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16304 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16305 menuSeparator(), endOfSentenceDot(), ldots() and
16306 hyphenationPoint(), which are therefore removed.
16307 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16309 * LyXAction.C (init):
16310 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16312 * paragraph.C (getWord): removed.
16314 * BufferView_pimpl.C (Dispatch): use last word or selection for
16315 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16317 * lyx_main.C (queryUserLyXDir): do not ask before creating
16318 user_dir, except if it has been named explicitely.
16320 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16322 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16323 a document of zero size.
16325 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16327 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16328 approriately in the c-tor and in require().
16329 (getPackages): output the appropriate LaTeX for natbib support.
16331 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16332 variables "use_natbib" and "use_numerical_citations" when reading the
16334 (readInset): read the various natbib cite commands.
16335 (validate): white-space change.
16337 * bufferparams.[Ch]: new variables "bool use_natbib" and
16338 "bool use_numerical_citations".
16339 (writeFile): output them in the LyX file.
16341 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16343 * lyxfunc.C (getStatus): add support for all the inset insertion
16346 * text2.C (insertInset):
16347 * paragraph.C (insetAllowed):
16348 * BufferView_pimpl.C (insertInset): update to take in account the
16349 renaming of insertInsetAllowed
16351 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16353 * text2.C (getInset): new method. returns inset at cursor position.
16355 * BufferView_pimpl.C (Dispatch): changes because of this.
16357 * LyXAction.C (init): rename open-stuff to inset-toggle.
16359 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16361 * text2.C (toggleInset): renamed from openStuff; use
16364 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16366 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16368 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16370 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16372 * buffer.C (readLyXformat2): Add filename to the error dialog
16374 2001-07-18 Juergen Vigna <jug@sad.it>
16376 * tabular.C (GetCellNumber): put an assert here instead of the check!
16378 2001-07-17 Juergen Vigna <jug@sad.it>
16380 * BufferView_pimpl.C (toggleSelection): adapted too.
16382 * text.C (selectNextWord): adapted for use with insets.
16383 (selectSelectedWord): ditto
16385 2001-07-17 Juergen Vigna <jug@sad.it>
16387 * sp_spell.C (PSpell): fix initialitation order.
16389 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16391 * paragraph.C: spacing
16393 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16395 * sp_spell.C: repair language selection for pspell
16397 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16399 * lyxfunc.h: change more methods to begin with lower char.
16401 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16403 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16404 for unknown layouts.
16406 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16408 * buffer.C (readLyXformat2): Generate an error dialog if there are
16411 2001-07-16 Juergen Vigna <jug@sad.it>
16413 * sp_spell.C: always compile ISpell part.
16415 * lyxrc.C: added use_pspell entry and it's handling.
16417 2001-07-13 Juergen Vigna <jug@sad.it>
16419 * sp_spell.C: removed double includes.
16421 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16423 Consistent use of Lsstream.h:
16424 * Lsstream.h: added using std::stringstream for consistencies sake.
16426 * buffer.C: removed using std::stringstream
16428 * lyxfont.C (stateText):
16429 * paragraph.C (asString):
16430 * text.C (selectNextWord, selectSelectedWord):
16431 * text2.C (setCounter):
16432 * vspace.C (asString, asLatexString):
16433 std::ostringstream -> ostringstream.
16435 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16437 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16438 * commandtags.h: add LFUN_HELP_ABOUTLYX
16439 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16441 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16443 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16445 * lyx_gui_misc.C: remove spellchecker
16446 * lyxfunc.C: showSpellchecker
16448 * sp_ispell.h: added
16449 * sp_pspell.h: added
16450 * sp_spell.C: added
16451 * sp_form.[Ch]: removed
16452 * spellchecker.[Ch]: removed
16454 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16456 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16458 (simpleTeXSpecialChars): Simply print the input character without
16459 any special translation if pass_thru is set.
16461 * layout.h: Added bool pass_thru to layout class for being able to
16462 implement pass through of a paragraph for Literate Programming.
16464 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16465 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16466 * layout.C (Read): add "passthru" to list of layout tags and add
16467 code to set the pass_thru boolean when it is read.
16469 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16471 * trans_decl.h: remove allowed from KmodInfo
16473 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16474 remove allowed code
16477 * paragraph_pimpl.C (erase): use boost::prior
16479 * Painter.C (text): use data() instead of c_str() when length is
16481 * WorkArea.C (putClipboard): ditto
16482 * font.h (width): ditto
16484 * BufferView2.C: use it-> instead of (*it). for iterators
16486 * paragraph_pimpl.C: ditto
16487 * paragraph.C: ditto
16488 * minibuffer.C: ditto
16489 * language.C: ditto
16491 * encoding.C: ditto
16492 * counters.C: ditto
16493 * converter.C: ditto
16495 * Variables.C: ditto
16496 * TextCache.C: ditto
16497 * MenuBackend.C: ditto
16498 * LyXAction.C: ditto
16500 * FloatList.C: ditto
16501 * DepTable.C: ditto
16502 * ColorHandler.C (LyXColorHandler): ditto
16504 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16506 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16508 * text2.C (openStuff): reintroduce this method (which had been
16509 nuked in NEW_INSETS frenzy).
16511 * lyxfunc.C (Dispatch): when an action has not been handled, use
16512 its name in the error message, not its number.
16514 * paragraph.C (inInset): change method name to begin with lowercase.
16517 * text2.C: updates because of this.
16519 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16521 * ToolbarDefaults.C (add): add spaces in error message
16523 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16525 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16526 (readLyXformat2): rename return_par to first_par, use lyxlex's
16527 pushToken and remove the manual push handling.
16528 (parseSingleLyXformat2Token): add another ert comp. variable:
16529 in_tabular, rename return_par to first_par. handle newlines better
16531 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16533 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16535 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16537 * text2.C (getParFromID): removed
16539 * buffer.C (getParFromID): new method moved form lyxtext.
16540 * BufferView2.C (insertErrors): adjust
16541 (setCursorFromRow): adjust
16542 * BufferView_pimpl.C (restorePosition): adjust
16543 * lyxfunc.C (Dispatch): adjust
16544 * undo_funcs.C (textUndo): adjust
16546 (textHandleUndo): adjust
16547 (textHandleUndo): adjust
16549 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16551 * buffer.C: up' the LYX_FORMAT
16553 * lyxfont.h: turn NO_LATEX on as default
16555 * buffer.C (insertErtContents): new methods of tex style compability.
16556 (parseSingleLyXformat2Token): use it several places.
16557 * tabular.C (OldFormatRead): and here
16559 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16561 * text2.C: remove some commented code.
16564 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16565 * trans.C: changes because of the above.
16567 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16569 * text2.C (setCounter): Fix counters bug with bibliography layout.
16571 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16573 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16574 own member functions
16575 (simpleTeXSpecialChars): ditto
16577 2001-07-06 Juergen Vigna <jug@sad.it>
16579 * a lot of files: changed the access to LyXText::status and the
16580 call of undo-functions.
16582 * undo.[Ch]: added a inset_id to the undo informations.
16584 * undo_funcs.[Ch]: added and moved here all undo functions.
16586 * lyxtext.h: give the status enum a weight, made status_ a private
16587 variable and made accessor functions for it, removed the whole bunch
16588 of undo-functions as they are now in their own file, make some
16589 functions publically available. Added function ownerParagraph with
16592 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16593 made InInset() a const function, added getParFromID() function.
16595 * buffer.[Ch]: added const version for inset_iterator functions,
16596 added getInsetFromID() function.
16598 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16599 changed undo functions for new version.
16601 2001-07-05 Juergen Vigna <jug@sad.it>
16603 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16604 unknow mechanism does not call the proper constructor but only this
16605 one also if I request the other!?
16607 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16609 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16611 * text2.C (LyXText): use initialization lists.
16613 * lyxtext.h (Selection): initialize set_ and mark_
16614 (init): remove method
16616 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16618 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16620 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16622 * screen.[Ch]: change method names to begin with lowercase
16624 * BufferView_pimpl.C (updateScrollbar): simplify further and
16625 hopefully make it a bit faster.
16627 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16629 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16630 calling directly xforms functions.
16632 * Painter.C (Painter):
16633 * lyx_cb.C (MenuWrite):
16634 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16637 * lyx_gui.C: remove bogus guiruntime extern declaration.
16639 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16641 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16643 (redoDrawingOfParagraph): ditto
16644 (redoParagraphs): ditto
16645 (cutSelection): don't create a object for CutAndPaste use the
16646 static method directly
16647 (pasteSelection): ditto
16649 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16652 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16654 * modifications to some other files because of this.
16656 * Makefile.am (lyx_SOURCES): add XFormsView
16658 * XFormsView.[Ch]: new files
16660 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16661 the main window. Move the gui dependent stuff to XFormsView
16663 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16665 * tabular.C (GetCellInset): update cur_cell also in the row/col
16666 version of this function.
16668 * lyxfunc.C: no need to include figure_form.h here.
16674 * lyxvc.C: no need to include forms.h here.
16676 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16678 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16680 * lyxfunc.C (Dispatch):
16682 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16683 constructor argument.
16685 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16687 * paragraph.C (Paragraph): dont't clear, and just set layout.
16688 (makeSameLayout): use params's copy contructor.
16690 * ParagraphParameters.[Ch] (makeSame): delete method
16692 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16694 * Variables.[Ch]: fix indentation, rename set to isSet
16696 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16698 * lyxfunc.C (Dispatch): fix typo
16700 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16702 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16705 * bufferlist.C: include assert.h for emergencyWrite().
16707 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16709 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16710 give up at last (bug #425202) !
16712 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16718 * spellchecker.C: strip spellchecker options and bring up
16719 preferences tab instead
16721 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16723 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16724 the istringstream constructor
16726 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16728 * paragraph.C (getLayout): fix return value
16730 * paragraph.h: do not declare getLayout as inline.
16732 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16734 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16736 * lyxcursor.h (operator<): new func
16737 (operator>): new func
16738 (operator>=): new func
16739 (operator<=): new func
16741 * text.C (changeCase): use selection.start and selection.end
16742 (changeRegionCase): require from to be <= to. Require par to be a
16745 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16747 2001-06-27 Juergen Vigna <jug@sad.it>
16749 * text.C (cursorLeftOneWord): changed to return the cursor and added
16750 overlay with BufferView * parameter which calls this one.
16752 (selectWord): use new getWord function.
16753 (changeCase): renamed from changeWordCase as and extended to work
16754 also on selections.
16756 * lyxtext.h: added enum word_location
16758 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16759 changeCase as this operates now also on selections.
16761 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16763 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16765 * many files: send debug output to Debug::INFO instead of
16768 * converter.C (View):
16770 (Move): send debug output to Debug::FILES instead of console.
16772 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16774 * lyxfunc.C (getStatus): use func_status
16776 * func_status.h: new header, describing the results of
16777 LyXFunc::getStatus;
16779 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16782 2001-06-25 The LyX Project <jug@sad.it>
16784 * buffer.C (sgmlOpenTag):
16786 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16788 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16790 * text2.C: remove some dead code
16792 * tabular.C (GetCellInset): store the last cell checked (gotten)
16794 * tabular.h: add the helper for the speedup
16796 * lyxtext.h: remove some dead code
16798 2001-06-26 The LyX Project <Asger>
16800 * paragraph.C: Change export to LaTeX of alignment to
16801 \begin{center} and family for better roundtrip work with reLyX.
16803 * Tune the math drawing a bit.
16805 2001-06-25 The LyX Project <Asger>
16807 * LColor.C (LColor): New color for math background. New color
16810 2001-06-25 The LyX Project <jug@sad.it>
16812 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16814 * lyxfunc.C (Open):
16815 * bufferlist.C (newFile): do not restrict to files ending with
16818 * BufferView_pimpl.C (MenuInsertLyXFile):
16820 2001-06-24 The LyX Project <jug@sad.it>
16822 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16825 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16827 * lyxtext.h: rename most methods to begin with a small char.
16828 Lots of changes because of this.
16830 * paragraph.C (Paragraph): do not call fitToSize
16831 (erase): call Pimpl::erase
16832 (insertChar): call Pimpl::insertChar
16833 (insertInset): call Pipl::insertInset
16834 (breakParagraph): do not call fitToSize
16835 (breakParagraphConservative): do not call fitToSize
16836 (fitToSize): remove method
16838 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16840 2001-06-24 The LyX Project <Asger>
16842 * Fix Qt compilation^2
16844 2001-06-24 The LyX Project <jug@sad.it>
16846 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16847 depthHook(getDepth()-1).
16850 * ParagraphParameters.h:
16851 * ParameterStruct.h: change type of depth to unsigned int ==
16852 depth_type. Many adaptations to other files before of that.
16854 2001-06-24 The LyX Project <Asger>
16856 * Fix Qt compilation.
16858 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16860 * paragraph.h: renamed several methods to begin with small letter.
16861 several changes to many parts of the code because of this.
16863 2001-06-23 The LyX Project <jug@sad.it>
16865 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16866 rewritten to discard all double spaces when KeepEmpty is off
16867 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16868 to only handle newlines but not fiddle with spaces and friends.
16870 * lyxfunc.C (MenuNew): when doing 'new from template', use
16871 template_path as default directory
16873 2001-06-23 The LyX Project <Asger>
16875 * Clean-up of header file includes all over
16876 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16878 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16880 * paragraph.h: renamed from lyxparagraph.h
16882 2001-06-23 Asger <lyx@violet.home.sad.it>
16884 * Buffer.h: Removed Buffer::resize
16885 * BufferList.h: Removed BufferList::resize
16886 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16887 the document lazily when we change the width, or the font settings.
16889 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16891 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16893 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16895 * buffer.h: remove out of date comment
16897 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16900 * screen.C: fix "theoretical" GC leak
16902 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16904 * LaTeX.C (scanAuxFile):
16905 (deplog): remove trailing \r when reading stream (useful under
16908 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16910 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16911 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16912 and BufferView::theLockingInset(Inset*), so should use them and not
16913 access bv_->text->the_locking_inset directly.
16915 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16917 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16920 * tex-defs.h: remove old unused file
16922 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16924 * BufferView_pimpl.C: fix typo, remove minibuffer message
16925 when buffer has loaded
16927 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16929 * lyxfunc.C (Dispatch): use stringstream
16930 (MenuNew): use stringstream
16931 (Open): use stringstream
16933 * importer.C (Import): use stringstream
16935 * bufferview_funcs.C (CurrentState): use stringstream
16937 * LaTeX.C (run): use stringstream
16939 * BufferView_pimpl.C (savePosition): use stringstream
16940 (restorePosition): use stringstream
16941 (MenuInsertLyXFile): use stringstream
16943 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16956 * vspace.C: removed // -*- C++ -*- as first line.
16959 * version.h: added // -*- C++ -*- as first line.
16961 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16963 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16965 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16968 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16970 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16973 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16975 * gettext.C: include LString.h even when --disable-nls is on.
16977 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16979 * converter.h (Get): changed argument type from int to
16980 FormatList::size_type to avoid unnecessary conversion.
16982 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16985 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16987 * gettext.h: include LString.h even when --disable-nls is on.
16989 2001-06-07 Juergen Vigna <jug@sad.it>
16991 * text.C (BreakAgain): subst spaces with tabs.
16993 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16994 (resizeInsetsLyXText): set force on resizeLyXText.
16996 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16998 * gettext.h (gettext_init):
16999 (locale_init): use a real definition instead of a macro
17001 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
17003 * Bufferview_pimpl.C:
17005 * LColor.C: further lcolor tidies
17007 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
17009 * BufferView_pimpl.C (updateScrollbar): simplify.
17011 * BufferView2.C: don't include insets/insetinfo.h, change
17012 prototype for insertInset and call the Pimpl version. let
17013 updateInset call Pimpl version.
17015 * BufferView.h: move inset_slept to BufferView::Pimpl, move
17016 gotoInset to BufferView::Pimpl
17018 2001-06-01 Juergen Vigna <jug@sad.it>
17020 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17021 inside a LockingInset (is the update needed at all?).
17023 2001-05-31 Juergen Vigna <jug@sad.it>
17025 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17026 here not the old one otherwise how should we compare it afterwards
17029 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17034 * FontInfo.C: bring C functions into global namespace when
17037 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17039 * LString.h: make sure config.h has been loaded before LString.h.
17041 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17042 (one for each char read by EatLine!).
17044 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17047 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
17049 * paragraph.C (BreakParagraph): set the inset_owner in the new par
17050 to the same as the par we break from
17052 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
17054 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17056 * MenuBackend.C (expand): also create menu entries for wide
17057 versions of the floats.
17059 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17061 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17063 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17064 frontends/Makefile.am
17070 * tabular.C (getTokenValue): add std::
17072 * tabular-old.C (getTokenValue): add std::
17073 (getTokenValue): ditto
17074 (getTokenValue): ditto
17076 * screen.C (ToggleSelection): adjust
17078 * lyxtext.h: put selection cursors inside a Selection struct.
17080 * lyxfunc.C (moveCursorUpdate): adjust
17082 * lyxfont.C (latexWriteStartChanges): add std::
17084 * lyxfind.C: adjust
17086 * font.h: delete with(char const *, LyXFont const &)
17088 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17090 * FontInfo.C (getFontname): add std::
17092 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17093 (workAreaButtonPress): adjust
17094 (tripleClick): adjust
17096 (moveCursorUpdate): adjust
17099 * BufferView2.C (gotoInset): adjust
17101 2001-05-30 Juergen Vigna <jug@sad.it>
17103 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17104 to check pspell I add this as default as I now have new pspell
17105 libraries and they seem to use this.
17107 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
17109 * text2.C (CutSelection): make the cursor valid before the call to
17112 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17114 * kbsequence.C (parse): de-uglify a bit the parsing code, which
17115 relied on 0 terminated strings and other horrors. Bug found due to
17116 the new assert in lyxstring!
17118 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17121 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
17123 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17126 * lyxfunc.C (processKeySym): change method of getting to the
17129 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17130 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17131 * BufferView_pimpl.[Ch]: here as private methods.
17133 2001-05-28 Juergen Vigna <jug@sad.it>
17135 * text.C (SetHeightOfRow): added the update() call again as it is
17136 needed to initialize inset dimensions!
17138 2001-05-16 Juergen Vigna <jug@sad.it>
17140 * text2.C (SetCharFont): Add new function with BufferView * and
17141 bool toggleall parameters for setting insets internal fonts.
17142 (SetFont): Freeze the undo as we may change fonts in Insets and
17143 all this change should be inside only one Undo!
17145 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17146 setting font's in insets as for them we have the SetFont function!
17148 2001-05-15 Juergen Vigna <jug@sad.it>
17150 * text2.C (ClearSelection): to be sure we REALLY don't have any
17153 * tabular.C (TeXCellPreamble): fixed the left border problem for
17156 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
17158 * LaTeX.C (deplog): Make sure that the main .tex file is in the
17161 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17163 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17164 LFUN_BREAKPARAGRAPH.
17166 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17167 help test to "internal only", similar for LFUN_INSERT_URL
17169 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17170 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17171 auto_region_delete and deadkeys.
17173 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17176 * LColor.C: remove some dead entries, tidy a little
17178 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17180 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17182 (Dispatch): implement LFUN_ESCAPE
17184 * commandtags.h: add LFUN_ESCAPE
17186 * LyXAction.C (init): add entry for LFUN_ESCAPE
17188 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17189 Remove commented code.
17190 (insertNote): moved here
17191 (open_new_inset): moved here
17193 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17196 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17198 * kbmap.C (findbinding): clean it up and make it work correctly.
17200 * lyx_main.C (init): do not pass argc and argv as parameters
17202 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17204 * buffer.C: fix path for OS/2 & Win32
17208 * lyx_main.C: Added os:: class.
17210 * os2_defines.h: update
17212 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17214 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17215 better by trying again with reduced state.
17217 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17219 * lyxrc.C (read): print error about invalid key sequence only when
17220 debugging (because not all latinX keysyms are known to some X
17223 * kbsequence.C (getiso): add a few std:: qualifiers
17224 (getiso): comment out extra return statement.
17226 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17228 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17230 (Dispatch): enhance the accent inset a bit. (not perfect)
17232 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17234 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17236 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17238 * bufferlist.C (emergencyWrite): fix assert() call
17240 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17242 * text.C (InsertChar): Added trivial patch to only send the "you
17243 can not do multiple spaces this way" message once during a
17246 2001-05-08 Baruch Even <baruch@lyx.org>
17248 * Makefile.am: Changed order of libraries to get LyX to link properly
17249 with the gnome frontend.
17251 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17253 * LaTeXFeatures.h: add a std:: qualifier
17255 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17257 * paragraph.C (String): use stringstream
17259 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17261 * paragraph.C (writeFile): remove footflag arg
17263 * buffer.C (makeLaTeXFile): use stringstream
17264 (latexParagraphs): remove footnot gurba
17266 * LaTeXFeatures.C (getPackages): use stringstream
17267 (getMacros): likewise
17268 (getTClassPreamble): likewise
17269 (getFloatDefinitions): new method
17271 * paragraph.C (writeFile): reindent
17274 * WorkArea.h: revert the xpos + etc changes.
17276 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17278 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17280 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17281 (pasteSelection): likewise
17282 * text2.C (CreateUndo): likewise
17284 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17286 * minibuffer.C (peek_event): temporarily reduce the functionality
17287 of the minibuffer (to allow args on lfuns)
17289 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17290 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17292 * buffer.C (readInset): add compability reading of old float
17293 lists, add reading of new style float list.
17294 (readInset): avoid reevaluation of inscmd.getCmdName()
17295 (getLists): reindent
17297 * MenuBackend.C (MenuItem): implement parsing of
17298 md_floatlistinsert and md_floatinsert.
17299 (expand::LastFiles): move initalizaton of iterators out of loop,
17300 avoid reevaluation.
17301 (expand::Documents): introduce typdedef vector<string> Strings,
17303 (expand::ExportFormats): introduce typedef vector<Format const *>
17304 Formats, and use it.
17305 (expand): implement FloatListInsert and FloatInsert.
17307 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17308 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17309 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17311 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17313 (Dispatch::LFUN_FLOAT_LIST): implement
17315 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17317 * LaTeX.C (run): Fix problem with --export code.
17319 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17321 * BufferView.[Ch] (workarea): removed.
17322 (getClipboard) new method; wrapper for workarea()->getClipboard()
17324 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17327 * WorkArea.h (width, height, xpos, ypos): These methods all
17328 returned the dimensions of the work_area sub-area of WorkArea,
17329 resulting in a position error if the WorkArea were resized. Now
17330 return the dimensions of the entire WorkArea.
17332 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17334 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17336 * LaTeX.C (deplog): correct the syntax of regex reg1
17338 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17340 * undo.C: remove !NEW_INSETS cruft
17342 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17344 * text2.C: remove !NEW_INSETS cruft
17346 * text.C: remove !NEW_INSETS cruft
17348 * tabular.C: remove !NEW_INSETS cruft
17350 * spellchecker.C: remove !NEW_INSETS cruft
17352 * lyxtext.h: remove !NEW_INSETS cruft
17354 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17356 * lyxfunc.C: remove !NEW_INSETS cruft
17358 * lyxfind.C: remove !NEW_INSETS cruft
17360 * lyx_cb.C: remove !NEW_INSETS cruft
17362 * figureForm.C: remove !NEW_INSETS cruft
17364 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17366 * buffer.[Ch]: remove !NEW_INSETS cruft
17368 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17370 * CutAndPaste.C: remove !NEW_INSETS cruft
17372 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17374 * BufferView2.C: remove !NEW_INSETS cruft
17376 * BufferView.h: remove !NEW_INSETS cruft
17378 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17380 * Lsstream.h: include LString.h before the sstream headers to
17381 fix problem with gcc 2.95.3 and lyxstring
17383 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17385 * lyx_main.C: add using directives when needed for C functions
17386 declared in std:: namespace.
17388 2001-04-27 Juergen Vigna <jug@sad.it>
17390 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17391 (SetHeightOfRow): comment out the update call should not be needed!
17393 2001-04-13 Juergen Vigna <jug@sad.it>
17395 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17396 (LyXTabular): tried to minimize operator= operations (and realized
17397 hopfully Lars wish).
17399 2001-04-27 Juergen Vigna <jug@sad.it>
17401 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17403 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17405 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17407 * buffer.C (readInset): hack to make listof algorithm work
17409 * BufferView_pimpl.C: hack to make listof algorithm work
17411 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17413 * LyXAction.C: removed all !NEW_INSETS cruft
17414 (init): moved lfun_item in method
17416 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17418 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17420 * BufferView2.C (theLockingInset): white space.
17422 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17424 * minibuffer.C: include <iostream>
17426 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17428 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17430 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17432 * text.[Ch] (TransposeChars): new method
17434 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17436 * call message directly through LyXView instead of through LyXFunc
17437 * BufferView2.C: adjust
17438 * BufferView_pimpl.C: adjust
17439 * FontLoader.C: adjust
17441 * bufferview_funcs.C: adjust
17442 * converter.C: adjust
17443 * figureForm.C: adjust
17444 * importer.C: adjust
17446 * lyx_gui_misc.C: adjust
17447 * lyxfunc.C: adjust
17450 + more files in subdirs
17452 * lyxparagraph.h (size): move up int file
17455 * adjust all uses of Assert to lyx::Assert.
17457 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17458 lyxfunctional in namespace lyx
17459 * layout.C (hasLayout): ditto
17462 (delete_layout): ditto
17463 (NumberOfClass): ditto
17464 * converter.C (GetFormat): ditto
17469 * bufferlist.C (getFileNames): ditto
17470 (emergencyWriteAll): ditto
17473 * MenuBackend.C (hasSubmenu): ditto
17476 * BufferView_pimpl.C (getInsetByCode): ditto
17478 2001-04-18 Juergen Vigna <jug@sad.it>
17480 * vspace.C (asLatexString): fixed the 100% problem.
17482 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17484 * lyxfunc.C (Dispatch):
17486 * minibuffer.h: add a few std:: qualifiers
17488 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17490 * minibuffer.[Ch]: reimplement so that commands is initiated and
17491 run from lyxfunc, simplified som handling, and made the completion
17492 and history code for complete. wip.
17494 * lyxfunc.C (processKeySym): call message
17495 (miniDispatch): new temporary method
17496 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17497 (LFUN_MESSAGE): implement
17498 (LFUN_MESSAGE_PUSH): implement
17499 (LFUN_MESSAGE_POP): implement
17500 (initMiniBuffer): the initial/defualt minibuffer message.
17502 * lyxfont.[Ch]: inline some more getters
17504 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17506 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17508 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17509 (AutoSave): use LFUN_MESSAGE
17510 (Reconfigure): ditto
17512 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17514 * figureForm.C: use LFUN_MESSAGE
17516 * converter.C (runLaTeX): use LFUN_MESSAGE
17518 * bufferview_funcs.C: use LFUN_MESSAGE
17520 (changeDepth): ditto
17522 * bufferparams.h: use boost::
17524 * bufferlist.h: inherit privately from noncopyable
17526 * bufferlist.C (loadLyXFile): remove some commented code.
17528 * buffer.C (runChktex): use LFUN_MESSAGE
17530 * ShareContainer.h: inherit privately from noncopyable
17532 * ParagraphParameters.[hC] (depth): inline it.
17534 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17536 (message): new method
17537 (messagePush): ditto
17538 (messagePop): ditto
17539 (show): init minibuffer
17540 (showState): direct call
17542 * LaTeX.[Ch]: inherit privately from noncopyable
17543 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17544 instead of WriteStatus.
17546 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17548 * BufferView_pimpl.C (buffer): don't init minibuffer
17549 (workAreaButtonPress): use LFUN_MESSAGE
17550 (workAreaButtonRelease): ditto
17551 (savePosition): ditto
17552 (restorePosition): ditto
17553 (MenuInsertLyXFile): ditto
17554 (workAreaExpose): don't init minibuffer
17555 (update): remove commented code, simplify
17557 * BufferView2.C (openStuff): use LFUN_MESSAGE
17558 (toggleFloat): ditto
17561 (copyEnvironment): ditto
17562 (pasteEnvironment): ditto
17567 (updateInset): remove some commented code
17569 * lastfiles.h: inherit privately from noncopyable
17572 * lyx_main.h: ditto
17574 * lyxlex_pimpl.h: ditto
17576 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17577 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17578 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17580 * LyXAction.h: inherit privately from noncopyable, add methods
17581 func_begin, func_end, returning iterators to the func map.
17583 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17584 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17585 (func_begin): new method
17586 (func_end): new method
17588 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17590 (copySelection): ditto
17591 (pasteSelection): ditto
17593 * BufferView.C: whitespace change
17594 * BufferView.h: inherit privately from noncopyable
17596 2001-04-16 Allan Rae <rae@lyx.org>
17598 * tabular-old.C (l_getline):
17599 * spellchecker.C (sc_check_word):
17600 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17601 an unrecognised preprocessor directive. So ensure they're wrapped.
17603 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17605 * src/exporter.C (Export): Give an error message when path to file
17608 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17610 * LaTeX.C (deplog): Always check that foundfile exists.
17612 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17615 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17617 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17619 * tabular.[Ch] (getLabelList): implement new method
17621 * minibuffer.h: comment ouf setTiimer
17623 * minibuffer.C (ExecutingCB): constify res
17624 (peek_event): constify s
17625 (Set): constify ntext
17626 (Init): constify nicename
17628 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17630 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17631 (savePosition): use two params to Minibuffer::Set
17632 (restorePosition): ditto
17634 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17636 * lyx_main.C: include language.h
17638 * Makefile.am (lyx_main.o): add language.h
17640 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17646 * CutAndPaste.C: include gettext.h
17648 * lyxfont.h: remove old hack with ON and OFF.
17651 * lyxfont.h: do not include language.h...
17656 * bufferview_funcs.C:
17662 * paragraph.C: ... but do it here instead
17664 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17666 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17668 * tabular.C: small reformat
17670 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17673 (BreakParagraph): ditto
17674 (SetOnlyLayout): ditto
17677 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17680 * lastfiles.C: removed most using decl, add std:: where needed
17682 * buffer.C: ws changes
17684 * MenuBackend.C (class compare_format): put into anon namespace
17685 (expand): constify label, names, action, action2
17688 * text.C (SingleWidth): constify font
17689 (IsBoundary): constify rtl2
17690 (GetVisibleRow): constify ww
17692 * LaTeX.C (deplog): constify logfile
17694 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17696 (workAreaExpose): constify widthChange, heightChange
17698 * lyxrow.C (par): moved
17701 * lyxrow.h: as inlines here
17703 * lyxfont.h (shape): moved from lyxfont.C
17704 (emph): moved from lyxfont.C
17706 * lyxfont.C (LyXFont): use initialization list for all
17708 (shape): move to lyxfont.h as inline
17709 (emph): move to lyxfont.h as inline
17712 2001-04-04 Juergen Vigna <jug@sad.it>
17714 * vspace.C: had to include stdio.h for use of sscanf
17716 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17719 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17720 independent of xforms.
17722 2001-04-02 Juergen Vigna <jug@sad.it>
17724 * spellchecker.C: fixed namespace placing!
17726 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17728 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17729 the LyXParagraph * is 0.
17731 2001-03-29 Juergen Vigna <jug@sad.it>
17733 * vspace.C: added support for %, c%, p%, l%.
17734 (stringFromUnit): added helper function.
17735 (asLatexString): changed to give right results for the %-values.
17737 * buffer.C: convert the widthp in a width%.
17739 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17741 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17744 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17745 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17747 * lyx_cb.[Ch]: see above.
17749 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17753 * lyx.[Ch]: replaced by figure_form.[Ch].
17757 * lyxfunc.C: changed headers associated with above changes.
17759 2001-03-27 Juergen Vigna <jug@sad.it>
17761 * BufferView_pimpl.C: set the temporary cursor right!
17763 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17765 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17767 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17769 * LString.h: removed "using std::getline"!
17771 * BufferView_pimpl.C (Dispatch): changes due to changes in
17772 InsetInclude::Params.
17774 * buffer.C (tag_name): removed redundant break statements as they were
17775 producing lots of warnings with my compiler.
17777 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17779 * LString.h: add "using std::getline" when using the real <string>.
17781 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17783 * buffer.C: removed bitset usage.
17784 PAR_TAG moved to an anonymous name space.
17785 (tag_name): new funtion, also in the anonymous namespace.
17786 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17787 (makeDocBookFile): clean code. Completed transition from string arrays
17789 (SimpleDocBookOnePar): code clean.
17791 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17793 * tabular.C: add some comments.
17795 2001-03-22 Juergen Vigna <jug@sad.it>
17797 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17798 compatibility read a bit and fixed bug with minipage in different
17801 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17803 * buffer.C (pop_tag): removed.
17804 (push_tag): removed.
17805 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17806 array replaced with vector. Added support for CDATA sections.
17807 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17809 (makeDocBookFile): XML conformant declaration of CDATA section,
17810 fixed bug related to <emphasis> in the first paragraph char.
17811 (sgmlOpenTag): exclude empty tags.
17812 (sgmlCloseTag): ditto.
17814 * buffer.h (pop_tag): removed.
17815 (push_tag): removed.
17817 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17819 * language.h (Languages): added size_type and size().
17821 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17823 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17824 response on compability reading of minipages. One probliem is that
17825 the old usage of minipages was flertydig
17827 * several files here and in subdirs: don't use static at file
17828 scope use anon namespaces instead.
17830 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17832 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17833 LaTeX output. This is necessary for Literate document
17836 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17838 * buffer.C: insert hfill when needed.
17840 * tabular.C (l_getline): use string::erase, small whitespace change.
17842 * BufferView_pimpl.C: try the anon namespace.
17843 * WorkArea.C: ditto
17845 2001-03-16 Juergen Vigna <jug@sad.it>
17847 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17848 otherwise it won't open options-dialogs.
17850 * buffer.C: honor pextraWidth(p) on converting minipages.
17852 * tabular.C (l_getline): changed the functions to strip trailing \r.
17854 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17856 * BufferView_pimpl.C:
17857 * minibuffer..C: added "using SigC::slot" declaration.
17859 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17861 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17867 * paragraph.C: ditto
17869 * lyxtext.h: NO_PEXTRA
17871 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17873 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17874 * ParameterStruct.h: ditto
17875 * ParagraphParameters.h: ditto
17876 * lyxparagraph.h: ditto
17878 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17880 * buffer.C: add compability for minipage alignment.
17881 (latexParagraphs): remove unwanted pextra check.
17883 * several files: remove CXX_WORKING_NAMESPACES
17885 * buffer.C (pop_tag): tie is in namespace boost
17887 * BufferView.h: noncopyable is in namespace boost
17889 * lyx_main.h: ditto
17892 * lastfiles.h: ditto
17893 * bufferlist.h: ditto
17894 * ShareContainer.h: ditto
17896 * LyXAction.h: ditto
17899 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17901 * Merging changes from BRANCH_MVC back into HEAD.
17903 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17905 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17907 * BufferView_pimpl.C: change from intl.C
17911 * Makefile.am: move combox.*
17917 * intl.C: remove dialog (covered by prefs)
17919 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17921 * lyxfunc.C (Dispatch): removed redundant break statement.
17923 2001-03-14 Juergen Vigna <jug@sad.it>
17925 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17927 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17929 * buffer.C: add hack to fix compability reading of minipages.
17931 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17933 * buffer.C (getLists): Cleanup.
17935 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17937 * lyxfont.C (update): don't honor toggleall on font size.
17939 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17943 * Makefile.am: moved to frontends/xforms/
17947 * BufferView_pimpl.C: changes for moved mathpanel
17949 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17951 * gettext.h: fix gettext_init() in --disable-nls
17953 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17955 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17957 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17960 * lyx.h: strip external form
17962 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17964 * BufferView_pimpl.C: add comment, destroySplash()
17966 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17968 * BufferView_pimpl.C:
17972 * lyxfunc.C: use re-worked insetinclude
17974 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17976 * buffer.C: add using std::stringstream.
17978 * lyx_cb.C: readd using std::ios.
17980 * buffer.C: add using std::map.
17982 * BufferView_pimpl.C: add using std::vector.
17984 * ShareContainer.h: add std:: to swap.
17986 * buffer.h: add some typedefs
17987 * buffer.C (getLists): use them
17988 (getLists): renamed from getTocList.
17989 add a counter for the different float types and use it in the
17991 (getLists): use the same counter for the NEW_INSETS and the "non"
17994 * lyx_cb.h: remove unused items, includes, using etc.
17996 * ShareContainer.h: remove some commented code, add more comments
17997 and "documentation".
17999 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18001 * buffer.C (getTocList): make the list also when NEW_INSETS is
18004 * buffer.h: remove TocType
18006 * buffer.C (getTocList): change to return a map<string,
18007 vector<TocItem> >, implement for dynamic number of list.
18009 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18010 * text2.C (PasteSelection): adjust
18011 * CutAndPaste.C (pasteSelection): adjust
18013 * FloatList.C (FloatList): update from the new_insets branch.
18014 * Floating.[Ch]: ditto
18015 * LaTeXFeatures.C: ditto
18017 * lyxlex_pimpl.C: ditto
18019 * paragraph.C (Last): remove when NEW_INSETS is defined.
18021 * other file: changes because of the above.
18023 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18025 * lyxparagraph.h: rename next to next_, previous to previous_,
18026 make them private for NEW_INSETS. Rename Next() to next(),
18027 Previous() to previous().
18029 * other files: changes because of the above.
18031 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
18034 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18037 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18039 * main.C (main): pass lyx_localedir to gettext_init().
18041 * gettext.h: remove locale_init and gettext_init macros
18043 * gettext.C (locale_init): new function
18044 (gettext_init): new function
18046 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18049 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
18051 * Moved credits to frontends:
18052 * credits.[Ch]: removed
18053 * credits_form.[Ch]: removed
18054 * lyx_gui_misc.C: remove credits stuff
18057 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18059 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18061 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18062 unneeded destructor.
18064 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18065 a standalone pointer again.
18067 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18069 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
18075 * ToolbarDefaults.C:
18084 * BufferView_pimpl.C: use new file dialog in GUII
18087 * lyx_cb.C: remove LayoutsCB to Toolbar
18089 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18091 * ShareContainer.h (get): add std:: qualifier
18093 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18095 * ShareContainer.h: define a proper ShareContainer::value_type
18096 type (and use typename to please compaq cxx)
18098 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18100 * lyxparagraph.h: move serveral local vars to
18101 ParameterStruct/ParagraphParameters., use ShareContainer in
18102 FontTable., make vars in FontTable private and add getter and
18105 * paragraph.C: changes because of the above.
18107 * lyxfont.h: remove copy constructor and copy assignment. (the
18108 default ones is ok), move number inside FontBits. move inlines to
18111 * lyxfont.C: add number to initializaton of statics, move several
18112 inlines here. constify several local vars. some whitespace
18113 cleanup. Dont hide outerscope variables.
18115 * Spacing.h: add two new constructors to match the set methods.
18117 * ShareContainer.h: new file, will perhaps be moved to support
18119 * ParameterStruct.h: new file
18121 * ParagraphParameters.h: new file
18123 * ParagraphParameters.C: new file
18125 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18126 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18128 * BufferView_pimpl.C: ParagraphParameter changes.
18129 * buffer.C: Likewise.
18130 * bufferview_funcs.C: Likewise.
18131 * text.C: Likewise.
18132 * text2.C: Likewise.
18134 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18136 * lyxfind.C (LyXReplace): do not redefine default argument in
18138 (IsStringInText): ditto
18139 (SearchForward): ditto
18140 (SearchBackward): ditto
18142 2001-03-06 Juergen Vigna <jug@sad.it>
18144 * lyxfind.C (IsStringInText): put parentes around expressions.
18146 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
18148 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18150 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
18152 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18154 * stl_string_fwd.h: add comment
18156 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18159 * tabular.C: remove unused DocBook methods
18165 killed DO_USE_DEFAULT_LANGUAGE
18167 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18169 * lyx_gui.C: do not include language.h.
18171 * bufferview_funcs.C (ToggleAndShow): do not provide optional
18172 arguments in function implementation.
18174 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18176 * BufferView_pimpl.C: add <ctime>
18178 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18180 * BufferView_pimpl.C: add using std::find_if
18182 2001-02-27 José Matos <jamatos@fep.up.pt>
18184 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18187 2001-02-11 José Matos <jamatos@fep.up.pt>
18189 * buffer.C (makeDocBookFile): command styles now have a parameter as
18190 "title" by default.
18192 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18194 * layout_forms.[Ch]: removed
18195 * lyx_cb.[Ch]: out character
18196 * lyx_gui.C: out character
18197 * lyx_gui_misc.C: out character
18198 * bufferview_funcs.C: : out character,
18199 added toggleall as parameter in ToggleAndShow
18201 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18203 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18205 * text2.C (SetCurrentFont): Disable number property at boundary.
18207 2001-02-26 Juergen Vigna <jug@sad.it>
18209 * lyxfunc.C (getStatus): added a string argument override function so
18210 that this is correctly called from LyXFunc::Dispatch if it contains a
18211 do_not_use_argument which is used!
18212 (Dispatch): added check for "custom" export and call appropriate func.
18214 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18216 * lyxrc.C: Add language_command_local, language_use_babel and
18217 language_global_options.
18219 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18221 * buffer.C (makeLaTeXFile): Use language_use_babel and
18222 language_global_options.
18224 2001-02-23 Juergen Vigna <jug@sad.it>
18226 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18227 which works with LyXText and putted it inside BufferView. Here now we
18228 only call for that part the BufferView::Dispatch() function.
18230 * BufferView.C (Dispatch): added.
18232 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18233 functions which needs to use a LyXText over from LyXFunc.
18234 (MenuInsertLyXFile): added
18235 (getInsetByCode): added
18236 (moveCursorUpdate): added
18237 (static TEXT): added
18239 2001-02-22 Juergen Vigna <jug@sad.it>
18241 * BufferView_pimpl.C (update): call a status update to see if LyXText
18244 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18246 * vc-backend.C (revert): implement for CVS
18247 (getLog): implement for CVS
18249 2001-02-20 Juergen Vigna <jug@sad.it>
18251 * text2.C (ClearSelection): added BufferView param for inset_owner call
18253 * lyxfunc.C (TEXT): added this function and use it instead of
18254 directly owner->view()-text of getLyXText().
18256 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18258 * src/layout_forms.C: out preamble
18259 * src/layout_forms.h: out preamble
18260 * src/lyx_cb.C: out preamble
18261 * src/lyx_cb.h: out preamble
18262 * src/lyx_gui.C: out preamble
18263 * src/lyx_gui_misc.C: out preamble
18264 * src/lyxfunc.C: connect with guii preamble
18266 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18268 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18270 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18272 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18273 whether to run bibtex.
18275 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18277 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18279 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18281 * Makefile.am (lyx_SOURCES): removed bibforms.h
18283 * vspace.h: doxygen
18285 * text.C (GetVisibleRow): make several local vars const
18287 * tabular.C: small cleanup.
18289 * lyxserver.C (callback): use compare instead of strncmp
18291 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18292 inlines to after class or to paragraph.C
18294 * lyxfont.h: remove friend operator!=
18296 * converter.h: move friend bool operator< to non friend and after
18299 * combox.h: small cleanup
18301 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18302 to inlines after class def.
18304 * buffer.C (pop_tag): use string operations instead of strcmp
18306 * bmtable.c: doxygen, small cleanup
18308 * LaTeX.h: remove friend operator==
18310 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18322 * BufferView_pimpl.C:
18323 * BufferView.[Ch]: remove cruft
18325 2001-02-14 Juergen Vigna <jug@sad.it>
18327 * lyxfunc.C: removed #if 0 unused code
18329 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18331 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18333 * text2.C (SetSelection): added a BufferView * parameter
18335 2001-02-13 Juergen Vigna <jug@sad.it>
18337 * lyxfunc.C (Dispatch): fixed protected blank problem.
18338 * BufferView2.C (protectedBlank): added LyxText * parameter.
18340 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18341 (AppendColumn): same as above for column_info.
18343 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18344 (moveCursorUpdate): use a LyXText param for support of InsetText.
18346 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18347 (tripleClick): ditto
18349 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18351 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18353 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18355 * text2.C (SetSelection): set correct update status if inset_owner
18356 (ToggleFree): ditto
18358 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18360 * tabular.C: remove some commented code.
18362 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18364 * BufferView_pimpl.C: call hideSplash()
18366 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18369 * bibforms.h: remove
18372 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18373 add LFUN_CHILD_CREATE
18375 * counters.h: fix tiny typo
18380 * lyx.C: move splash to frontends/xforms/
18382 * lyx_gui_misc.C: move Include and Bibform to frontends
18384 * lyxvc.h: clarify comment
18386 * vspace.C: tiny housekeeping
18388 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18390 * text.C (PrepareToPrint): RTL Fix.
18392 * paragraph.C (GetUChar): New method.
18393 (String): Use GetUChar.
18395 * buffer.C (asciiParagraph): Use GetUChar.
18397 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18399 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18401 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18404 * buffer.C: rename to getLogName(), handle
18405 build log / latex log nicely
18407 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18410 * MenuBackend.h: remove support for reference menuitem type.
18412 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18414 * BufferView_pimpl.C: housekeeping
18415 * BufferView_pimpl.h:
18420 * minibuffer.h: move Timeout GUI-I
18422 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18424 * lyxrc.C (read): Update converters data-structures.
18426 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18428 * LaTeX.h (operator!=): add operator != for Aux_Info
18430 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18432 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18434 * LaTeXLog.C: deleted, useful code moved to Buffer
18437 * buffer.C: new function getLatexLogName()
18443 * lyxfunc.C: use frontends for LaTeX and VC logs
18445 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18447 * LaTeX.h: yet another std:: that Allan forgot.
18449 * Variables.C (set): renamed from isset(), because this clashes
18450 with some HP-UX macros (grr).
18452 2001-02-06 Allan Rae <rae@lyx.org>
18454 * LaTeX.h: Another bug fix. Missing std:: this time.
18456 2001-02-04 Allan Rae <rae@lyx.org>
18458 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18459 floats problem. I've left it commented out because it's not quite
18460 correct. It should also test that the current object is a table or
18461 figure inset. But I haven't gotten around to figuring out how to do
18462 that. I *think* it'll be something like: "table" == inset.type()
18464 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18467 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18469 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18470 all the citation/databases/styles in the auxilary file.
18471 (run): Rerun latex if there was a babel language error.
18473 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18475 * text.C (Backspace): Preserve the font when changing newline char
18477 (BreakParagraph): If the cursor is before a space, delete the space.
18479 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18481 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18483 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18484 new argument (code).
18485 (ChangeCitationsIfUnique): New method.
18487 * paragraph.C (GetPositionOfInset): Handle bibkey.
18489 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18491 * BufferView_pimpl.h: change type of Position::par_pos to
18492 LyXParagraph::size_type.
18494 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18496 * BufferView_pimpl.C (savePosition, restorePosition): Write
18497 messages to minibuffer.
18499 2001-01-28 José Matos <jamatos@fep.up.pt>
18501 * buffer.C (makeDocBookFile): adds support for document language.
18502 A silly restriction on the name of LatexCommand types where removed.
18503 Added support for CDATA sections, allows to chars unescaped, used
18504 among others in code, to avoid escape < and >.
18506 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18508 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18509 saved positions instrad of a stack. Furthermore, a position is
18510 stored using paragraph id/paragraph position.
18512 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18513 Remove LFUN_REF_BACK.
18515 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18517 * converter.C (dvipdfm_options): New method.
18519 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18521 * vspace.C (isValidLength): Fix for empty input string.
18523 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18525 * LyXAction.C (init): change description of LFUN_FIGURE to
18528 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18530 * LaTeX.C: add using directive
18532 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18534 * MenuBackend.C (expand): Fix the sorting of the formats.
18536 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18538 * lyx_main.C: tiny error message fix
18540 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18542 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18543 calling fl_initialize(). This fixes the problem with ',' as
18544 decimal separator in text files.
18546 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18548 * trans.C (process): Fix the keymap bug.
18550 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18552 * LaTeX.C (scanAuxFiles): New method. Provides support for
18553 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18554 (scanLogFile) Scan for "run BibTeX" messages.
18556 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18557 OT1 font encoding. Also, load the aecompl package if the ae
18560 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18562 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18564 * texrow.C (increasePos): turn two error messages into debug
18567 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18569 * LaTeX.C (scanAux): Handle the \@input macro.
18570 (runBibTeX): Use scanAux().
18572 * language.C (latex_options_): New field.
18574 * LaTeXFeatures.C (getMacros): Add language macros.
18576 * buffer.C (makeLaTeXFile): Small fix.
18578 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18580 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18582 * text2.C: add a using directive.
18584 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18589 * lyxfunc.C: kill LyXBell.
18591 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18593 * text.C (IsBoundary): Remove the error message
18595 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18597 * lyxrc.C (setDefaults): Correct initialization value for
18600 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18602 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18605 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18606 and GotoNextNote().
18608 * src/LyXAction.C: Added reference-next.
18610 * text.C (InsertChar): Use contains instead of strchr.
18612 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18614 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18616 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18617 alignment commands (when needed).
18619 * text.C (InsertChar): Add ':' to number separator chars.