1 2005-12-15 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3 * lyx_main.C (priv_exec): don't initialize Math on startup
4 (initMath() has been moved to math_hullinset).
6 2005-12-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8 * lyxrc.C: set default_papersize to PAPER_DEFAULT;
9 handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
10 * paper.h: dispose dead PAPER_PACKAGES enum.
12 2005-12-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14 * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
17 2005-12-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
19 * exporter.C (Export): Don't try to copy a file if it does not exist
22 2005-12-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
24 * text2.C (makeFontEntriesLayoutSpecific): remove.
27 * text.C (insertChar): remove bogus caching of fonts (did not do
30 * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
33 2005-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
35 * rowpainter.C (paintFirst): fix centering of
36 LABEL_CENTERED_TOP_ENVIRONMENT.
38 2005-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
40 * BufferView.C (mouseSetCursor): new method. Calls
41 deleteEmptyParagraphMechanism if necessary.
43 * lyxtext.h: make deleteEmptyParagraphMechanism public.
45 * text3.C (dispatch/LFUN_MOUSE_PRESS): use
46 BufferView::mouseSetCursor (bug 2109).
47 (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
49 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
51 * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
52 do not remove it (this inset behaves differently from the others).
54 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
58 * BufferView_pimpl.C (getStatus): it is only possible to insert a
61 * buffer.C (readDocument): remove pit argument and code releated
62 to it; set the inset owner correctly (unrelated, but useful).
63 (readFile): get rid of pit argument.
65 * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
66 textclass instead of a selection index.
67 (pasteParagraphList): new function.
68 (pasteSelection): make it a wrapper around pasteParagraphList.
70 * BufferView_pimpl.C (MenuInsertLyXFile): use
71 cap::pasteParagraphList to insert a file.
73 2005-11-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
75 * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
77 2005-11-17 Michael Gerz <michael.gerz@teststep.org>
79 * exporter.C: fix typo in text message
81 2005-11-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
83 * text2.C (setLayout): move recUndo call to other setLayout method
84 * tabular.C (toggleFixedWidth): new, handle cell width changes
85 * tabular.C (setColumnPWidth): move some code from insettabular.C here
86 and use toggleFixedWidth
87 * tabular.C (setMColumnPWidth): ditto
89 2005-11-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
91 * paragraph.C (asString): use new inset->textString method (fix
94 2005-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
96 * CutAndPaste.C (numberOfSelections): new helper function.
98 * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
100 * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
101 LyXFunc::getStatus; implement LFUN_PASTE.
103 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
105 * dociterator.[Ch]: new member realInset() that returns the cell
106 for tabulars and the inset for the rest (bug 1952).
107 * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
110 2005-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
112 * text.C (leftMargin): honor the NextNoIndent tag in layouts.
114 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
118 * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
121 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
123 * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
124 line after typing ctrl-enter
126 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
128 * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
129 math insets do not return a proper editable() state yet (bug 2124).
131 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
133 * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for
134 docs containing very large paragraphs.
136 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
138 * cursor.C (selectionBegin, selectionEnd):
139 * text.C (drawSelection): Fix bug 2115: assertion when anchor and
140 cursor at different depths.
142 2005-11-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
144 * bufferview_funcs.C (coordOffset): do not call cursorPos
145 for collapsed collapsables (fix bug 2094).
147 2005-11-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
149 * paragraph.C (fontSpan): make sure that the FontSpan does not
150 span across beginOfBody (bug 1947).
152 2005-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
154 * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
156 2005-11-03 Michael Gerz <michael.gerz@teststep.org>
158 * messages.C: fix crash and localization on MinGW/Windows platform
160 2005-11-02 Angus Leeming <leeming@lyx.org>
163 * lyxtextclass.C: trivial fixes to some MSVS warnings.
165 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
167 * text3.C (getStatus): re-enable disabled code. (bug 2081)
169 * BranchList.h (empty): constify.
171 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
173 * text3.C (getStatus):
174 * MenuBackend.C (expandBranches): take the branch list from the
175 master document (bug 2092).
177 * MenuBackend.C (expandBranches):
178 * bufferparams.C (writeFile): use BranchList type.
180 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
182 * text3.C (dispatch, getStatus):
183 * LyXAction.C (init):
184 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
186 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
188 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
190 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
192 * text.C (insertChar): do not reset boundary (bug 2061)
194 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
196 * dociterator.C (updateInsets): new method. Updates the inset_
197 cache of all the slices of the iterator.
199 * text2.C (deleteEmptyParagraphMechanism): compare also containing
200 insets when comparing pit/pos; pass the right cursor to
201 recordUndo; when a paragraph has been deleted, compare `old.top()' to
202 the right cursor slice of `cur'; use updateInsets on cur to make
203 sure that the inset caches are correct; general cleanup.
205 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
207 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
208 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
209 containg inset. If this does not work, the same command will be
210 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
212 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
215 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
217 * lyxtextclass.C (Read): convert layout file if the format is wrong
218 * lyxtextclass.C (layout2layout): new, needed for the above
220 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
222 * messages.C: do not forget to include <cerrno>.
224 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
226 * dociterator.h (StableDocIterator): add access to pos().
227 * undo.C (samePar): new method to check if two
228 iterators are in the same paragraph
229 * undo.C (recordUndo): check for samePar instead of cell identity
230 (which includes pos() and is too strict) (fixes bug 2097)
232 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
234 * text.C (setCursorFromCoordinates): return a bool telling whether
237 * text3.C (cursorPrevious): update if needed after
238 setCursorFromCoordinates (when dEPM triggered).
240 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
241 (otherwise the anchor may be completely wrong and make dEPM assert).
243 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
245 * buffer.C: version upgrade to 245.
246 * bufferparams.C: remove \quotes_times (bug 2090).
247 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
248 quotation marks as default.
250 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
252 * CutAndPaste.C (nrOfParagraphs): remove (unused)
253 * CutAndPaste.C (cutSelection): Remove debug message
254 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
255 undo information and only copy if this is a real cut
256 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
258 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
260 * CutAndPaste.C (eraseSelection): prevent cursor corruption
261 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
262 superflous cur.selection() setting
263 * CutAndPaste.[Ch] (grabSelection): take a const cursor
264 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
266 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
268 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
271 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
273 * BufferView_pimpl.C: comment layout change
275 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
279 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
280 by bibliography managers (bug 2071).
282 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
284 * BufferView_pimpl.C (update): choose arguments to update call so
285 that single-par update works most times
286 * text3.C (dispatch): carefully tune updating separately for
287 whole-screen and current-paragraph
288 * rowpainter.C (paintText): 1) replace painting by caching for
289 the two extra paragraphs, because we can;
290 2) suppress greying out of areas below/above drawn area in case of
292 * lyxfunc.C (dispatch): remove superfluous update
293 * LyXAction.[Ch]: introduce SingleParUpdate
295 2005-10-05 Angus Leeming <leeming@lyx.org>
297 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
298 always initialised before use.
300 * text.C (setHeightOfRow): squash warning about comparison
301 of signed and unsigned types.
303 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
305 * text.C (cursorX): two fixes involving RtL text drawing
307 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
309 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
310 items, not only large ones (part of bug 2057)
312 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
314 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
315 argument, use "newcommand".
317 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
319 * cursor.C (setSelection): do not open collapsable insets;
320 the insets do by themselves now (autoopen).
322 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
324 * buffer.C: format is up to 244.
326 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
328 * text.C (redoParagraph): fix calcultation of inset width wrt
329 leftMargin (bug 1957).
331 * text3.C (dispatch): leave inset to the right when hitting ESC
334 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
339 * messages.C: include <boost/current_function.hpp>
341 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
343 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
344 when command is internal. (bug 1941)
346 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
348 * text2.C (cursorRight): do not honor boundary when at the end of
349 a paragraph. (bug 2010 again)
351 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
353 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
355 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
357 * rowpainter.C (paintText): fix RtL space width display bug (2029)
359 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
361 * text2.C (setCursor): remove the unused 'boundary' parameter for
362 the CursorSlice version; adapt the LCursor version.
365 * paragraph_pimpl.C (markErased):
366 * cursor.C (bruteFind2, bruteFond3): fix warnings.
368 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
370 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
371 as is already done for "chapter".
373 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
375 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
376 textclass; do not record undo if nothing is changed.
378 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
380 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
382 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
384 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
386 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
388 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
389 combox, it is necessary to search for the topmost paragraph in the
390 cursor stack (bug 1926)
392 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
394 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
395 end of paragraph. (bug 2010)
397 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
399 * text.C (leftMargin): check for inInset == 0
401 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
403 * text.C (leftMargin): test for insetbase's new neverIndent()
404 bool instead of listing each and every inset that does not
405 wish par indendation.
407 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
409 * buffer_funcs.C (setCounter): put the code to compute enum label
410 here (where it belongs).
412 * counters.C (enumLabel): move code to buffer_funcs.C.
414 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
416 * outputparams.[Ch]: store local_font instead of local_language
417 * paragraph.C (simpleTeXOnePar): adapt to the change above
419 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
422 * counters.[Ch]: clean up special code for Hebrew.
424 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
426 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
429 2005-09-08 Angus Leeming <leeming@lyx.org>
432 * lyxrc.C: correct grammar describing invocation of the
435 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
437 * text.C (read): remove unused variable.
438 (readParToken): remove static Change variable (never good in
439 recursive settings...); add it as a parameter instead.
441 * paragraph_pimpl.C (acceptChange): make debug info conditional.
443 * metricsinfo.C (PainterInfo): add new member erased_.
445 * rowpainter.C (RowPainter): add erased_ member, initialized from
447 (paintInset): pass erased_ to Inset::draw.
449 * lyxfunc.C (lookupChange): new function. Tells whether change
450 tracking is disabled at a given postion.
451 (getStatus): disable some actions when in deleted text with change
454 2005-08-03 John Levon <levon@movementarian.org>
456 * tabular.C (appendColumn, setMultiColumn): adapt to change to
459 * paragraph_pimpl.C (markErased): add bool argument and handle it.
460 Also make sure to mark insets recursively.
461 (rejectChange, erase): be recursive
463 * paragraph.C (markErased): add bool argument.
464 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
466 * lyxfind.C (findNextChange): tiny cleanup.
468 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
469 change tracking with the cursor in an inset; make sure the first
470 change is not skipped.
472 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
474 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
475 tabularStackDirty to work around bug 1919 (tabular needs
476 to know whether its own cell paste buffer or the one of
478 * CutAndPaste.C: mark tabular_stack_ clean after copy.
480 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
482 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
484 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
486 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
487 use old deleteion algorithm when changetracking is on.
489 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
491 * messages.C (get): add debug output.
493 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
495 * text.C (cursorX): fix bug 1965: cursor movement at
496 line end broken in RtL.
497 (drawSelection): fix bug 1970: drawing of single-line
498 selection broken for RtL.
500 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
504 * dociterator.h (clear, push_back, pop_back): change from
507 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
508 and changed to just return the value of the item depth; take a
509 ParIterator as argument; take the itemdepth at outer nesting level
510 in account if necessary; cleanup and comment the code.
511 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
512 and changed to just return true if reset is needed; take a
513 ParIterator as argument; cleanup and comment the code.
514 (setCounter): adapt to above changes.
516 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
518 * text3.C (dispatch): make debug message optional
520 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
522 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
525 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
527 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
529 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
531 * text.C (insertChar):
532 * text2.C (deleteEmptyParagraphMechanism): take care whether
533 a blank has been deleted (in change tracking mode) (bug 1254).
535 2005-07-20 John Levon <levon@movementarian.org>
537 * text2.C (insertStringAsLines): remove old dubious code,
540 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
542 * MenuBackend.C (expandToc): use Floating::listName() as title of
545 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
547 * toc.[Ch]: Do not use translatable strings (bug 1870).
549 2005-07-20 John Levon <levon@movementarian.org>
551 * tabular.C: fix 1748 - setting multicolumn adds
552 left line to the first cell
554 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
557 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
560 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
562 * messages.C: supress some lyxerr messages
564 2005-07-18 Juergen Vigna <jug@lyx.org>
566 * text.C (drawSelection): honor boundary when asking for cursorX.
568 2005-07-17 José Matos <jamatos@fc.up.pt>
570 * tabular.C (recalculateMulticolumns): fix handling of one column
573 2005-07-17 Juergen Vigna <jug@lyx.org>
575 * text.C (Delete, backspace): fixed so that paragraph with the
576 same layout can be merged by Delete/Backspace.
578 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
580 * text.C (readParToken): fix spelling.
582 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
584 * text2.C: fix counter update for DEPM problem reported by
587 2005-07-17 Juergen Vigna <jug@lyx.org>
589 * BufferView_pimpl.C (setBuffer): save/restore the
590 cursor/selection when switching buffers
593 * buffer.C (saveCursor): add saveDocumentIterators to save the
594 cursor when switching buffer.
596 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
599 * buffer.C: clarify message
601 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
603 * dociterator.C (DocIterator): fix initialization order
605 2005-07-17 Juergen Vigna <jug@lyx.org>
607 * text2.C (cursorHome):
608 * text.C (drawSelection, cursorX):
609 * dociterator.C (textRow): add boundary to getRow() call
611 * paragraph.C (getRow): implementation of below
613 * paragraph.h: add parameter boundary for getRow() function
615 2005-07-17 José Matos <jamatos@fc.up.pt>
619 * tex-strings.[Ch]: new file format, remove support for a4.sty,
620 a4wide.sty and a4widemargins.
622 2005-07-17 Juergen Vigna <jug@lyx.org>
624 * text2.C (cursorLeft): fix one of error
626 2005-07-17 Juergen Vigna <jug@lyx.org>
628 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
630 more fixes for boundary handling
632 * text3.C (dispatch): don't reset cursor if boundary has changed
635 2005-07-16 Juergen Vigna <jug@lyx.org>
637 * text2.C (getColumnNearX): hopefully got it right now,
638 check if we are on column 0 for special case.
640 2005-07-16 Juergen Vigna <jug@lyx.org>
642 * text2.C (getColumnNearX): handle special case Newline Inset
644 * text.C (singleWidth): Just remove bogus check
646 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
648 * funcrequest.C (split): avoid reading uninitialized char c
650 2005-07-16 José Matos <jamatos@fc.up.pt>
656 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
657 single papersize variable.
659 2005-07-16 Juergen Vigna <jug@lyx.org>
661 * text3.C (dispatch): honor boundary when checking if a cursor
662 movement has been done
664 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
665 (setCursor, setCursorIntern): fix cursor movement with boundary
667 2005-07-16 Juergen Vigna <jug@lyx.org>
669 * text.C (currentState): output the actual Boundary
671 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
673 * factory.C (createInset): fix bad logic for tabular creation
675 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
677 * lyx_main.C (init): change some reLyX reference to tex2lyx
679 2005-07-16 Juergen Vigna <jug@lyx.org>
681 * dociterator.C (DocIterator): initialize boundary
683 2005-07-16 Juergen Vigna <jug@lyx.org>
685 * text2.C (getColumnNearX): Consider rows without trailing blank.
687 2005-07-16 André Pönitz <poenitz@gmx.net>
689 * lyxfont.h: Change order of declarations to give the compiler
690 a better chance to inline things
692 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
693 questions on unsaved docs for better scritability
695 2005-07-16 André Pönitz <poenitz@gmx.net>
697 * paragraph.h (getChar): remove asserts as the same kind of security
698 can be achieved by using a suitable standard library implementation
699 and the function was in the critical path (25.9% in profiler)
701 2005-07-16 Juergen Vigna <jug@lyx.org>
703 * cursor.C (bruteFind2):
704 * bufferview_funcs.C (coordOffset):
705 * text.C (cursorX,cursorY): Handle cursor position after last char
706 in row before a inset which uses a whole row.
708 2005-07-15 José Matos <jamatos@lyx.org>
710 * output_plaintext.[Ch] (writeFileAscii): control reference title
712 (asciiParagraph): noparbreak was already deal and was incorrectly
715 2005-07-15 Juergen Vigna <jug@lyx.org>
717 * lyxfunc.C (dispatch): save and restore the cursor after a
720 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
722 * text.C (backspace): bug 806 for empty keepempty paragraphs we
723 change the layout to default before letting DEPM do its thing.
725 * paragraph_funcs.C (breakParagraph): dont reset the layout on
728 * text.C (setCursorFromCoordinates): add a debug statement
730 * text2.C (getColumnNearX): bug 1825 make sure that we don't
731 return a pos that is not on the row
733 * output_latex.C (TeXDeeper): get rid of potential dereferencing
734 of past the end iterator
736 2005-07-14 André Pönitz <poenitz@gmx.net>
738 * undo.C (recordUndoFullBuffer): implement undo for
741 2005-07-14 André Pönitz <poenitz@gmx.net>
743 * cursor.C (setSelection): open insets when selection is set there
744 to avoid crashs with cold coord cache
746 2005-07-14 André Pönitz <poenitz@gmx.net>
748 * trans_mgr.C (insert): move cursor to the right after inserting
751 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
753 * BufferView_pimpl.C (update): dampen some of the debug blabbering
754 * factory.C (readInset): ditto
755 * text.C, text2.C: ditto
757 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
759 * buffer.C: format incremented to 242. There is no file format per
760 se, but the "frenchb" language has been removed from lib/language
761 and has to be translated to "french" by lyx2lyx.
763 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
765 * cursor_slice.h, dociterator.h: add some documentation
766 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
768 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
770 * text.C (leftMargin): do not add identation to display() style
771 insets, because they are always centered (bug 1293).
773 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
775 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
776 formatted_time methods in support/lyxtime.
778 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
780 * toc.[Ch]: new method getGuiName, which is used by the frontends
781 to set the toc combo (fixes bug 1870). Make TOC string translatable.
783 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
785 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
786 StableDocIterator const &)
787 * undo.C (recordUndo): use the above instead of cell.size() comparison
788 (fixes bug 1808; instructed by Andr�.
790 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
793 * dociterator.h: Fix the assert when copying rows/cols in math
795 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
797 * BufferView_pimpl.C:
799 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
801 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
802 (findInset): new functions, refactored from goto Inset that return
803 the position of a certain inset without setting the buffer's cursor
805 (gotoInset): rewrite to call findInset and then set the cursor
808 2005-06-16 Angus Leeming <leeming@lyx.org>
810 * lyxrc.C (output, read): wrap all input and output of paths with
811 calls to os::internal_path and os::external_path, respectively.
812 (output): wrap bind_file inside quotes.
814 * format.C (view): enable the viewer to use the '$$s' placeholder.
816 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
818 * LColor.[Ch] (getFromLaTeXName): new
820 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
822 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
824 2005-06-14 Angus Leeming <leeming@lyx.org>
826 * lyx_main.C (init): ensure that the LyX binary dir is the first
827 element in the PATH on non-POSIX builds.
829 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
831 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
833 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
835 * rowpainter.C (paintInset, paintHebrewComposeChar)
836 (paintArabicComposeChar, paintChars): add a LyXFont argument.
837 (paintChars): use getFontSpan to reduce calls to getFont to a
838 minimum; use Paragraph::lookupChange instead of isXXXText.
839 (paintForeignMark): rename LyXFont argument.
840 (paintFromPos): pass a LyXFont object to the various paintXXX
843 * FontIterator.C (FontIterator, operator++): use
844 Paragraph::getFontSpan
846 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
847 version that returns the font span as a pair.
849 2005-06-09 Angus Leeming <leeming@lyx.org>
851 * converter.C (convert): Don't forget "outfile = real_outfile" as
852 the final step in a conversion where the input and output file names
853 are the same. Otherwise, future conversion steps won't work...
855 2005-06-09 Angus Leeming <leeming@lyx.org>
857 * lyxsocket.C: remove stub code as it isn't needed by
858 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
860 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
862 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
863 effectively disabled -x
865 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
867 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
868 when it actually makes sense.
870 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
872 * BufferView_pimpl.C: revert to showCursor in connection with
873 Lars's front-end stack
875 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
877 * text.C (redoParagraph): move cursor right after a bibitem
880 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
882 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
884 * buffer_funcs.C (bufferErrors): fix computation of the end of an
887 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
889 * BufferView.[Ch] (update):
890 * BufferView_pimpl.[Ch] (update, metrics):
891 * dimension.h (operator==):
892 * lyxfunc.C (dispatch):
893 * metricsinfo.h (ViewMetricsInfo):
894 * rowpainter.C (paintText):
896 * text.C (redoParagraph):
897 * text3.C (dispatch): Make LyX only repaint current paragraph in
898 case of character insert --> speedup. Also fix cursor draw
901 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
903 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
904 avoid a crash (bug 1891)
906 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
910 * text2.C (getStringToIndex): constify cur argument.
912 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
913 argument has been given
914 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
915 try to invoke LFUN_INSET_APPLY).
917 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
918 if no inset was created by doInsertInset
919 (doInsertInset): return true if an inset has been inserted.
921 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
923 * vspace.C (asGUIName): new method. A version of the space
924 suitable for showing on screen.
926 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
929 * lyxrc.C: rename "ASCII" to "Plain Text"
931 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
933 * buffer_funcs.C (expandLabel): take a Buffer as argument;
934 translate the labelstring.
935 (setCounter): translate labelstring as needed.
937 * output_docbook.C (makeCommand): fix expandLabel invokation
939 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
941 * BufferView.C: fix dialog title
943 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
945 * lyx_main.C (priv_exec): fix logic error with help from Angus
946 * lyx_main.C (parse_execute): set is_gui = false and remove now
947 obsolete comment about a segfault
949 2005-05-18 Angus Leeming <leeming@lyx.org>
951 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
953 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
955 * tabular.[hC]: added setCellInset to fix tabular paste.
957 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
959 * buffer.C (save): check if destination is writable before trying
962 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
964 * BufferView_pimpl.C (update): fix processEvents -caused update
967 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
969 * buffer_funcs.C (setCounter): fix test for numbering of
972 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
973 depth correctly; use optional argument when it exists
975 * lyxtextclass.C: remove unused MaxCounterTags enum
976 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
977 (max_toclevel, min_toclevel): new methods.
979 * MenuBackend.C (expandToc2): fix case where depth is smaller than
980 the smallest depth in toc.
982 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
983 layouts that should not appear in a table of contents.
985 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
987 * cursor.h (undispatched, noUpdate): add comments from Andr�
988 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
992 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
994 2005-05-07 André Pönitz <poenitz@gmx.net>
996 * cursor.[Ch] (leaveInset): new function
998 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1000 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1002 2005-05-04 Angus Leeming <leeming@lyx.org>
1004 * lyxfunc.C (getStatus): disable the spell checker dialog if
1005 none of USE_[AIP]SPELL are defined.
1007 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1009 * tabular.C (setWidthOfCell): remove obsolete comment
1011 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1013 * paragraph.C (bibitem):
1014 * buffer_funcs.C (setCounter):
1015 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1017 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1019 * text3.C (getStatus): immediately return after setOnOff
1021 * rowpainter.C: fix drawing of appendix start
1023 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1025 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1026 SwitchBetweenClasses and remove the unused return value.
1027 Handle character styles, too
1029 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
1031 * factory.C (createInset): handle undefined character styles
1033 2005-05-02 Angus Leeming <leeming@lyx.org>
1035 * buffer.C: protect the #include of utime.h with a preprocessor
1038 2005-05-02 Angus Leeming <leeming@lyx.org>
1040 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1041 function so that auto-saving works, albeit in a blocking manner.
1043 * Makefile.am: make compilation of the client sub directory, of
1044 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1045 on conditionals set at configure time.
1047 * SpellBase.[Ch]: no longer an abstract base class. Instead,
1048 it can be compiled in its own right but has no-op functionality.
1050 * aspell.C, pspell.C: remove preprocessor guards. The files should
1051 be compiled only if the necessary functionality exists.
1053 * lyxserver.C, lyxsocket.C: disable on Windows.
1055 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
1057 * text.C (leftMargin): Fix the parindent use bug (1764)
1060 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
1062 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1065 2005-04-25 Angus Leeming <leeming@lyx.org>
1073 include <config.h> in .C files, not .h ones.
1075 protect headers inside preprocessor guards.
1077 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1079 * FuncStatus.h (StatusCodes): document
1081 2005-04-21 André Pönitz <poenitz@gmx.net>
1083 * FuncStatus.h (enabled, onoff): document
1085 2005-04-19 Angus Leeming <leeming@lyx.org>
1087 * BufferView_pimpl.C (cursorToggle): no longer test whether
1088 any child processes have been reaped before calling
1089 handleCompletedProcesses().
1091 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
1093 * text3.C (dispatch): fix, finally fix, the language problem in
1094 new lyxtexts, without disabling on-the-fly font changes (Helge's
1097 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1099 * text3.C (dispatch): set cursor on double/triple click events
1102 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1104 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1105 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1107 * rowpainter.C (paintFirst): simplify the code a little bit. In
1108 particular, remove the test for secnumdepth.
1109 * text.C (setHeightOfRow): only allocate space for chapter number
1110 when updateCounters provided an actual label, instead of looking
1111 at secnumdepth directly.
1113 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1115 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1116 paragraphs when secnumdepth is large enough or, for environments,
1117 when they are not the first in a sequence.
1119 2005-04-17 Angus Leeming <leeming@lyx.org>
1121 * buffer.C (makeLaTeXFile): replace code to manipulate a path
1122 containing space and '~' characters with a call to latex_path().
1124 2005-04-17 Angus Leeming <leeming@lyx.org>
1126 * converter.C (convert): protect all args of convertDefault.sh
1129 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1131 * text3.C (dispatch): change the layout to "Caption" after inserting
1134 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1136 * text3.C (dispatch): fix language problem in newly created
1137 textinsets (and main text) in non-english docs
1139 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1141 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1142 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1143 * text3.C (getStatus): disable LFUN_INSET_MODIFY
1145 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1149 * text2.C (getFont):
1150 * rowpainter.C (getFont): Fix metrics bug introduced by inset
1153 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1155 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1156 output of \item arguments without trailing text.
1158 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1160 * FontIterator.C (operator*): avoid a copy of the font.
1162 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1164 * rowpainter.C (getFont): fix language bug from previous fix
1166 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1168 * rowpainter.C (RowPainter, getFont): fix font inside inset
1171 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1173 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1174 preventing inserted font, deco, delim insets jumping to start of
1177 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1179 * lyxfunc.C (dispatch): translate message before sending it to the
1182 2005-03-29 Angus Leeming <leeming@lyx.org>
1184 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1185 to LyX on the command line.
1187 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1189 * vc-backend.C: use QuoteName to protect file names wherever
1192 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1195 * BranchList.h: fix bugs 1844,1845: document settings don't
1198 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1200 * lyxrc.C (setDefaults, read, output, getDescription): add support
1201 for tex_allows_spaces.
1203 * exporter.C (Export): allows files in directory containing spaces
1204 if tex_allows_spaces is true.
1206 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1207 output it in double quotes.
1209 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1211 * rowpainter.C: use default text height for drawing change tracker
1214 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1216 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1218 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1220 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1221 directory is missing.
1223 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1225 * text2.C: fixed the fix, extended to other case.
1227 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1229 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1231 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1233 * text2.C (cursorUp): get rid of a crash
1234 * text.C (x2pos): add an assert
1236 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1238 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1242 * dociterator.C: include <boost/current_function.hpp>, which is
1243 needed when assertions are disabled.
1245 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1247 * text2.C: fix for stuck cursor when traversing two
1248 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1250 2005-02-25 Andreas Vox <avox@arcor.de>
1252 * output_docbook.C (makeParagraph): suppress trailing newline
1253 after a run of paragraphs
1255 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1257 * paragraph.C: fix for confused change tracker when pasting
1258 text that begins with a lineseparator. [bug 1827]
1259 (setChange(0, Change::INSERTED);)
1261 * paragraph_funcs.C: fix for lost changes on triple-paste
1262 in change tracking mode [bug 1827] (par.setChange()).
1264 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1266 * text2.C (updateCounters, setCounter, expandLabel): move to
1269 * buffer_funcs.C (updateCounters): turn into a free standing
1270 function and add a buffer parameter. Remove dead code for tracking
1272 (setCounter): change into a free-standing function which gets a
1273 dociterator as argument. Use this iterator to fix captions in a
1274 simple way. When no float is found above the caption, use the
1275 labelstring of the caption layout as default.
1277 * text.C (breakParagraph, backspace):
1278 * text2.C (init, setLayout, changeDepth):
1279 * text3.C (dispatch):
1280 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1283 * dociterator.C (forwardPar): make it much faster by calling
1284 forwardPos() only when really necessary.
1286 * output_docbook.C (makeCommand): adapt to expandLabel move.
1288 * cursor.C: remove unused variable
1290 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1292 * paragraph_funcs.C: fix crash when pasting insets in change
1293 tracking mode [bug 1277] (honour change type in moveItem).
1295 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1297 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1299 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1301 * BufferView.C (setCursor): change to use a DocIterator.
1302 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1303 (putSelectionAt): adapt to BufferView::setCursor change.
1305 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1306 moved here from LyXText and rewritten to use proper cursor
1307 methods. Fixes bug 1787, 616 and 835.
1309 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1310 when inside an inset (part of bug 781).
1311 (dispatch): adapt to change of BufferView::setCursor.
1312 (getStatus, dispatch): handle LFUN_GOTOERROR,
1313 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1315 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1316 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1317 * text3.C (gotoNextInset, gotoInset): removed.
1319 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1321 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1323 2005-02-15 Angus Leeming <leeming@lyx.org>
1325 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1326 can be used meaningfully in a comparison.
1328 2005-02-13 André Pönitz <poenitz@gmx.net>
1330 * bufferview_funcs.C (coordOffset): improve cursor drawing
1332 2005-02-13 André Pönitz <poenitz@gmx.net>
1334 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1335 * Cursor.C (dispatch): use fixIfBroken
1336 * lyxfunc.C (getStatus): use fixIfBroken
1338 2005-02-15 Angus Leeming <leeming@lyx.org>
1340 * lyx_main.C (error_handler):
1342 * lyxrc.C (setDefaults):
1344 #include "environment.h".
1346 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1348 2005-02-15 Angus Leeming <leeming@lyx.org>
1350 * lyxserver.C (startPipe): squash MSVC warning "local variable
1351 'fd' used without having been initialized".
1353 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1355 * BufferView_pimpl.C: revert accidental commit.
1357 2005-02-14 André Pönitz <poenitz@gmx.net>
1359 * dociterator.[Ch]: new member forwardPosNoDescent(),
1360 which doesn't enter nested insets.
1361 * text2.C (setFont): use forwardPosNoDescent() instead
1362 of ForwardPos() (fixes crash on font change).
1364 2005-02-13 Angus Leeming <leeming@lyx.org>
1366 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1367 only if lyxrc.path_prefix is not empty.
1369 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1371 * bufferparams.C (readGraphicsDriver): prevent crash
1373 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1375 * text2.C (setCounter): check for inInset() == 0
1377 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1379 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1380 but use update() to get correct screen display; use convert
1381 instead of istringstream.
1382 (getStatus): handle LFUN_GOTO_PARAGRAPH
1384 * lyxfunc.C (dispatch, getStatus): do not handle
1385 LFUN_GOTO_PARAGRAPH here.
1387 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1389 * text3.C (dispatch): size() -> depth()
1391 * text2.C: remove some debug output
1393 * paragraph.C: ws changes only
1395 * lyxfunc.C (getStatus): size() -> depth()
1397 * dociterator.h (clear, push_back, pop_back, internalData,
1398 operator[], resize, empty): new functions
1399 Make StableDocIterator and operator== be friends. Don't inherit
1400 from std::vector use a privat class variable slices_ instead.
1403 * dociterator.C: update because of not inheriting from std::vector
1404 anymore. Call explictly to slices_ instead. Use depth() instead of
1405 size() and top() instead of back()
1407 * cursor.C: chagne size() -> depth and back() -> top(). Also
1408 remove some direct operator[](i) calls in favour of foo[i]
1409 (getFont): remove some dead code
1411 * bufferview_funcs.C (coordOffset): size() -> depth()
1413 * buffer.C: ws changes only
1415 * CutAndPaste.C (eraseSelection): back() -> top()
1417 * BufferView_pimpl.C (selectionRequested): back() -> top()
1419 * BufferView.C (setCursor): size() -> depth()
1421 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1423 * text3.C (cursorPrevious): return true if depm changed something
1425 (dispatch): rename sl to oldTopSlice, remove moving use the new
1426 NoUpdate func attrib instead. Make sure that needsUpdate is set
1427 for function that have NoUpdate, but where depm might have changed
1430 * text2.C (cursorLeft): make us return true if depm changed
1432 (cursorRight): ditto
1433 (cursorUpParagraph): ditto
1434 (curosrDownParagraph): ditto
1435 (cursorUp, cursorDown): ditto, make sure to read comments in code
1436 (deleteEmptyParagraphMechanism): remove an assert, also return
1437 true if just a single char was deleted.
1439 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1440 cursor that we modify, to avoid modifying an active cursor before
1441 we call setCursor. This allows depm to run. Also return true if
1442 depm deleted something.
1444 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1445 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1446 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1447 something was changed in the buffer because of them (ie. depm run)
1449 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1450 debug messages. Make update by default be false. Make sure that
1451 the result of update is retained throught several calls down to
1454 * LyXAction.h: add a new func_attrib: NoUpdate
1456 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1457 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1458 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1460 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1462 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1464 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1465 bv_->owner(), bv_->buffer() by direct references to the private
1467 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1468 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1469 (fitCursor): center() is in BufferView::Pimpl.
1470 (getStatus, trackChanges, dispatch): no need for a temporary buf
1472 (fitCursor, workAreaDispatch): use workarea().workheight()
1474 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1476 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1478 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1480 * buffer.C: format up to 241.
1481 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1482 break if pasting into ERT
1483 * lyxfunc.C (getStatus): suppress mathpanel and
1484 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1486 2005-02-01 Angus Leeming <leeming@lyx.org>
1488 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1490 2005-02-01 Angus Leeming <leeming@lyx.org>
1492 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1493 calling fs::is_directory().
1495 2005-01-31 Angus Leeming <leeming@lyx.org>
1497 * lyx_main.C (priv_exec): specify explicitly the relative location
1498 of the top level build directory when run in-place.
1500 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1502 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1503 LyXText containing the cursor, not the top-level one.
1505 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1507 (insertStringAsLines): rename par to pit; use temporary variable
1508 par to hold a Paragraph; do not store par.layout() in a variable,
1509 since the pointer may die when breaking paragraphs; pass pars to
1510 breakParagraph() instead of Buffer::paragraphs().
1512 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1514 * lyxlex_pimpl.h: #include <fstream>.
1516 * BufferView.[Ch] (getLyXText): add a const version.
1518 * BufferView_pimpl.C: add debug aids.
1523 * paragraph_funcs.h: add commentary explaining what the class does.
1526 * coordcache.[Ch]: add lots of commentary.
1527 (startUpdating, doneUpdating): debug aids.
1528 (arrays, insets, parPos, getParPos): accessors to private data.
1530 * cursor_slice.[Ch] (text): add a const version.
1531 * dociterator.[Ch] (text, innerText): add const versions.
1533 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1536 * paragraph.C (getRow, pos2ros): add asserts.
1538 * paragraph.h: add commentary. Lots of.
1540 * paragraph.[Ch] (metrucs, draw): removed.
1543 * rowpainter.[Ch]: const-correct changes.
1545 * text.C: various obvious clean-ups. Removal of ancient cruft.
1548 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1550 * vc-backend.C (find_file): rewrite to use boost.filesystem
1553 * main.C (main): set default name check for boost.filesystem to
1556 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1559 (actOnUpdatedPrefs): ditto
1561 * lyx_main.C (init): rewrite to use boost.filesystem
1562 (queryUserLyXDir): ditto
1564 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1565 (getContentsOfAsciiFile): ditto
1567 * lastfiles.C (readFile): rewrite to use boost.filesystem
1569 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1571 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1572 (loadLyXFile): ditto
1574 * buffer.C (Buffer): adjust for destroydir
1575 (getLogName): rewrite to use boost.filesystem
1576 (setFileName): ditto
1577 (save): use fs::copy_file (from fs_extras)
1579 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1581 * LaTeX.C (run): rewrite to use boost.filesystem
1582 (scanAuxFiles): ditto
1583 (handleFoundFile): ditto
1585 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1587 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1589 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1591 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1593 * lyxlayout.[Ch]: change some vars from float to double
1595 * buffer.C (readFile): make a local var const
1597 * Several files: use convert<> instead of atoi,strToXXX and friends
1599 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1601 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1602 holds the contents of packages.lst. New functions getAvailable
1603 and isAvailable to parse and check that list, resp.
1607 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1609 * bufferparams.[Ch]: new param output_changes.
1611 * Buffer.C: increase file format to 240.
1612 Use output_changes and isVailable.
1616 * paragraph_pimpl.C: Use output_changes and isVailable.
1618 2005-01-23 Angus Leeming <leeming@lyx.org>
1620 * output_latex.C: #include "insetbibitem.h", rather than
1621 forward declare function bibitemWidest.
1623 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1625 * lyx_main.C (init): make it compile on the Mac.
1627 2005-01-20 Angus Leeming <leeming@lyx.org>
1629 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1630 (setLyXMisc): (char string literal) != (char string literal) is
1631 performing a comparison on the addresses. Convert one operand
1632 explicitly to string to guarantee expected behaviour.
1635 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1638 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1640 * output_plaintext.C: remove unneeded #include gzstream.h.
1642 2005-01-20 Angus Leeming <leeming@lyx.org>
1644 * SpellBase.h: rename some of the elements of the Result enum.
1651 * pspell.C (check): ditto
1653 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1655 * buffer.C: add #include <fstream>.
1657 * lyx_main.C (init): Compile fix.
1659 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1661 2005-01-20 Angus Leeming <leeming@lyx.org>
1663 * mover.h: change commentary to reflect the changed meaning of
1664 the $$s placeholder.
1666 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1668 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1670 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1672 2005-01-20 Angus Leeming <leeming@lyx.org>
1674 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1675 printing diagnostic data by not dereferecing an iterator past the
1678 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1680 * buffer.C (readHeader): use "&&" rather than "and".
1682 * lyxserver.h (inPipeName, outPipeName): make these const.
1684 2005-01-19 Angus Leeming <leeming@lyx.org>
1686 * lyx_main.C (error_handler, init): protect SIGHUP with
1687 #ifdef SIGHUP guards.
1689 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1691 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1693 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1695 * text.C (setHeightOfRow): add a margin at the top and bottom of
1696 the document (bug 1761)
1698 2005-01-17 Angus Leeming <leeming@lyx.org>
1700 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1701 with "python ". Workaround for a brain-dead Windows.
1703 2005-01-16 Angus Leeming <leeming@lyx.org>
1705 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1706 for MacOSX and Windows to use prependEnvPath.
1707 Strip out the hard-coded block to add elements to the PATH for
1708 MacOSX and replace it with a call to prependEnvPath using the
1709 contents of LyXRC::path_prefix.
1710 (queryUserLyXDir): strip out the code to run reconfigure, instead
1711 returning a boolean indicating the necessity to do so.
1712 (reconfigureUserLyXDir): contains the code to reconfigure the
1713 user support directory. Is now called after the various LyXRC data
1714 files have been read.
1716 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1718 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1720 * converter.[Ch] (convert): take a new parameter try_default. Use
1721 a default converter (imagemagick) if try_default is true.
1723 2005-01-13 Angus Leeming <leeming@lyx.org>
1725 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1726 os::cygwin_path_fix.
1727 (write): output LyXRC::cygwin_path_fix as necessary.
1729 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1732 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1734 2005-01-12 Angus Leeming <leeming@lyx.org>
1736 * lyx_main.C (init): set the PATH variable to include the
1737 directory containing the LyX binary when running on Mac or Windows.
1739 2005-01-12 Angus Leeming <leeming@lyx.org>
1741 * lyx_main.C (init): remove cruft that purports to set the locale
1742 dir. It doesn't and is not needed anyway.
1744 2005-01-10 Angus Leeming <leeming@lyx.org>
1746 * Makefile.am: remove the lyx_main.C special casing.
1748 * BufferView_pimpl.C:
1754 * messages.C: use support/package.h to provide the paths to the
1755 various directories used by LyX.
1757 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1759 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1760 layout if pasting into an empty paragraph)
1762 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1764 * tex-accent.C: add <string>
1766 2005-01-06 José Matos <jamatos@lyx.org>
1768 * ParagraphParameters.C (write): put every parameter in its own line.
1769 * paragraph.C (write): reduce number of consecutive empty lines exported.
1770 * buffer.C (LYX_FORMAT): increase file format to 239.
1772 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1774 * everywhere: change support/tostr.h -> support/convert.h
1776 * tabular.C: make all write_attributes templates, tostr -> convert
1778 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1779 (emptyTag): and -> &&, and fix type for ret from getChar
1780 (getFirstWord): fix type for ret from getChar
1781 (onlyText): and -> &&
1782 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1785 * toc.C (goTo, action):
1786 * text3.C (dispatch):
1787 * text.C (currentState):
1788 * tex-accent.C (DoAccent):
1791 * lyxfunc.C (menuNew):
1792 * lyxfinc.C (replace):
1793 * counters.C (laberItem):
1794 * bufferview_funcs.C (font2string):
1795 * bufferparams.C (writeFile):
1796 * buffer.C (readFile):
1798 * MenuBackend.C: tostr -> convert
1800 * LaTeX.C (runMessage): fix format
1801 (scanAuxFiles): tostr -> convert
1803 * BufferView_pimpl.C (savePosition): fix format
1804 (restorePosition): ditto
1807 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1809 * Spacing.[Ch]: New method getValueAsString().
1813 * ParagraphParameters.C:
1816 * text3.C: store/read spacing value as string.
1818 * rowpainter.C: change float value (spacing_val) to double.
1820 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1821 broken custom document spacing).
1823 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1825 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1826 namespace, also more use of temp references and const
1828 * cursor.[Ch] (getStatus): move to lyxfunc.C
1830 * bufferparams.C: reformat slightly
1832 * bufferview_funcs.C (font2string): constify arg
1838 * buffer_funcs.C: (many funcs): constify arg on function
1839 definitions, also make more local vars const, also add ASSERTS on
1842 * buffer.C (LYX_FORMAT): put const in correct place
1843 (many funcs): constify arg on function definitions, also make
1844 more local vars const
1846 * aspell_local.h: remove "struct" from typdef setup
1848 * aspell.C (check): make word_ok const
1849 (nextMiss): simplify slightly
1852 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1854 * lyxrc.[Ch]: store all float values as strings.
1855 use int (not float) for lyxrc.dpi.
1857 2005-01-04 Angus Leeming <leeming@lyx.org>
1859 * lyx_cb.C (Reconfigure):
1860 * lyx_main.C (queryUserLyXDir):
1861 to run the <system_lyxdir>/configure correctly on Windows, prefix
1862 the path to the script with "sh " when generating the string that
1863 is passed to system().
1865 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1867 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1869 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1871 * lyxlength.C (asLatexString): get rid of setprecision
1873 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1875 * text2.C (setLayout): remove unused variable endpit.
1876 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1878 * paragraph.C (onlyText): remove unused variable style.
1880 * cursor.C (bruteFind): remove unused variables beg and end.
1882 * Makefile.am (dist_noinset_DATA): not needed anymore
1884 * cheaders/*: remove.
1886 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1888 * text3.C: fix LFUN_MATH_MODE.
1890 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1892 * buffer_funcs.C (countWords): new function. Counts words between
1895 * BufferView_pimpl.C (getStatus, dispatch): handle
1898 * LyXAction.C (init):
1899 * lfuns.h: add LFUN_WORDS_COUNT.
1901 2004-12-19 Angus Leeming <leeming@lyx.org>
1903 * buffer.C (save): s/slashify_path/internal_path/.
1905 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1907 * lyxfind.C (findChange): do not search for end of pars, because
1908 the change tracker cannot handle this (fixes bug 1719).
1910 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1912 * paragraph.[Ch] (autoBreakRows): remove
1914 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1916 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1917 avoid using the paragraph one
1919 * text2.C (LyXText, insertStringAsLines): adjust
1921 2004-12-16 Angus Leeming <leeming@lyx.org>
1925 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1927 2004-12-14 Angus Leeming <leeming@lyx.org>
1929 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1931 * bufferlist.C (emergencyWrite):
1932 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1935 2004-12-14 Angus Leeming <leeming@lyx.org>
1937 * main.C: (main): no longer pass pointers to os::init.
1939 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1941 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1942 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1944 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1947 * text3.C: remove selection_possible global flag
1949 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1951 * text2.C (getSelectionSpan): remove
1952 (changeDepth, changeDepthAllowed): adjust
1954 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1956 * Makefile.am (BOOST_LIBS): use boost variables
1958 2004-12-03 José Matos <jamatos@lyx.org>
1960 * buffer.C: format up to 238.
1962 2004-12-03 José Matos <jamatos@lyx.org>
1964 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1966 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1968 * cursor.C (goUpDown): remove call to idxUpDown2
1970 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1972 * tabular.[Ch]: use size_t-like types for cell, row and column
1975 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1977 * lyxfunc.C (getStatus): do not lose previous information when
1978 calling BufferView::getStatus; do not set a default "Command
1979 disabled" message at the beginning, but just before returning.
1981 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1983 * cursor.h (getStatus): add better comment from src/cursor.C
1985 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1987 * text3.C (getStatus): return false when the lfun is not handled
1989 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1991 * broken_headers.h: remove
1993 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1995 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1997 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1998 offset_ref accessors
2000 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2001 top_y_, merge fitcursor with update
2002 (updateScrollbar, scrollDocView, fitCursor, center, update): new
2004 (metrics): introduce
2005 (workAreaDispatch): adapt to new coord scheme
2006 (redoCurrentBuffer): remove
2008 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2010 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2013 * coordcache.[Ch]: add paragraph cache and helpers
2015 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2018 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2019 (targetX, setTargetX): introduce
2021 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2022 baseline -> ascent, as the rest of lyx
2024 * lyxtext.h: remove redoParagraphs, updateParPositions,
2025 fullRebreak, redoParagraphInternal. move dist to anon namespace in
2026 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2027 have ascent/descent (ascent is ascent of first par)
2029 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2032 * paragraph.[Ch]: unify dimension handling with the rest of lyx
2034 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2036 * pariterator.C: fix infinite loop introduced in par->pit renaming
2038 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2039 in insets and LyXText, draw two off-screen paragraphs using
2040 NullPainter, and adapt to new coord scheme
2044 * text3.C: adapt lfun handlers to the new coord scheme, which
2045 means: there's only guaranteed coord information for onscreen pars
2046 plus one above and one below. This implies that one can do search
2047 from y coordinates in the range [-1,workHeight]
2049 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2051 * rename a lot of InsetOld to InsetBase
2053 2004-11-25 Angus Leeming <leeming@lyx.org>
2055 * BufferView_pimpl.C:
2057 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2059 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2061 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2062 call BufferView::getStatus if LCursor::getStatus did nothing
2063 (setStatusMessage, getStatusMessage): removed.
2065 * FuncStatus.C (message): new methods. Used to provide an error
2066 message indicating why a command is disabled.
2067 (clear, |=, FuncStatus): update for message.
2069 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2071 * lyxfunc.C (dispatch): always call sendDispatchMessage
2073 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2076 * BufferView_pimpl.C:
2081 * cursor_slice.[Ch]:
2084 * paragraph_funcs.C:
2090 * undo.C: par->pit renaming
2092 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2094 * tabular.C (cellstruct): use initialization, store a shared_ptr
2095 to insettext instead of the insettext directly, adjust to fit.
2096 (operator=): new function
2097 (swap): new function
2098 (rowstruct): use initialization
2099 (columnstruct): use initialization
2100 (ltType): use initialization
2103 * lyxlength.h (swap): new function
2105 * LColor.[Ch] (operator=): use the common semantics
2107 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2109 * lyxfind.C (findNextChange): update the bufferview after setting
2112 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2114 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2115 number of InsetOptArgs has already been inserted.
2117 * output_latex.C (latexOptArgInsets): new method. This outputs all
2118 the optarg insets, up to the limit defined in the layout file.
2119 (optArgInset): removed
2120 (TeXOnePar): call latexOptArgInsets; correctly update texrow
2122 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2124 * paragraph.C (isLetter): remove special spellchecker-related
2125 code; return true also for digits
2126 (isWord, isKomma): remove
2128 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2129 * lyxfind.C (MatchString()): use isLetter instead of isWord
2131 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2133 * pariterator.h (operatir=): comment out un-implemented member
2136 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2139 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2141 * lyxfont.h: include LColor.h to satisfy concept checks.
2143 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2145 * pariterator.h: add typdefs for value_type, difference_type,
2146 pointer and reference to satisfy concept checks. Also add default
2147 constructor for same reason.
2149 * pariterator.C (operator++): add post-increment operator to
2150 satisfy concept checks.
2152 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2155 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2157 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2158 checks. Also rename base_type to BaseType to follow naming
2161 * FloatList.h: include Floating.h to satisfy concept checks.
2163 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2165 * lyxfunc.C (getStatus): when the origin of the request is menu or
2166 toolbar, and the LyXView does not have focus, do as if there was
2167 no buffer (bug 1720)
2169 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2170 FuncRequest to individual entries of LFUN_SEQUENCE
2172 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2174 * output_latex.C (TeXOnePar): override runparams.moving_arg
2175 according to the needprotect value of the current paragraph (bug
2178 * paragraph.C (simpleTeXOnePar): no need to override
2179 runparams.moving_args here
2181 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2183 * vspace.C: fix off-by-one-error, related to fix #1682
2185 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2187 * lengthcommon.C: a more general fix for bug 1682
2189 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2191 * text.C (backspace): fix crash
2193 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2195 * format.[Ch] (getFormatFromFile): new method
2196 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2198 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2200 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2202 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2204 * lyxfunc.C (dispatch): remove the verbose argument
2205 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2208 * kbmap.C (defkey): set the origin of func to KEYBOARD
2210 * MenuBackend.C (MenuItem):
2211 * ToolbarBackend.C (add): set the origin of func to UI
2213 * funcrequest.[Ch]: add origin member, which indicates which part
2214 of LyX requests an action
2216 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2218 * converter.C (move): don't lie in the error message
2219 * converter.h (isReachable, move): document
2221 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2223 * buffer.C: remove unused using lyx::support::atoi
2224 * paragraph_funcs.C: ditto
2226 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2228 * bufferlist.C (exists): use bind and equal_to instead of
2231 * lyxtextclasslist.C (NumberOfClass): ditto
2233 * cursor.C (insert): use for_each instead of explicit for loop
2235 * bufferlist.C (getFileNames): use std::transform and
2236 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2238 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2241 * buffer.C (changeLanguage): use for_each instead of explicit for
2243 (hasParWithID): implement using getParFromID
2245 * LaTeXFeatures.C: ws change only
2247 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2250 * BufferView_pimpl.C (trackChanges): use for_each instead of
2253 2004-11-04 André Pönitz <poenitz@gmx.net>
2256 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2258 * dociterator.C (asDocIterator): use hard assert again.
2260 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2262 * lyxlength.C (asLatexString): rewrite so that it does not use
2265 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2267 * text3.C (specialChar, dispatch): make sure cursor moves to the
2268 right after inserting an inset
2270 2004-11-02 José Matos <jamatos@lyx.org>
2272 * output_docbook.C (docbook):
2273 * paragraph.C (getID):
2274 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2275 garantee that the output is always legal.
2277 * tabular.C (docbook):
2278 * outputprams.[Ch]: remove mixed contents.
2280 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2282 * text2.C (setCounter): prevent endless loop
2284 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2286 * exporter.C (copyFile): use the mover instead of support::copy()
2287 * exporter.C (Export): pass format and latex name to copyFile()
2288 * exporter.h (addExternalFile): document
2289 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2291 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2293 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2295 2004-10-30 José Matos <jamatos@lyx.org>
2297 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2298 text and no inset or font change. This allows to use CDATA
2299 sections just for the whole paragraph.
2301 2004-10-30 José Matos <jamatos@lyx.org>
2303 * paragraph.C (getFirstWord): remove unused variable.
2305 2004-10-30 José Matos <jamatos@lyx.org>
2307 * paragraph.C (getFirstWord): the content should always be escaped
2309 (simpleDocBookOnePar):
2310 * output_docbook.C (makeEnvironment): replace reference to CDATA
2313 2004-10-30 José Matos <jamatos@lyx.org>
2315 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2317 2004-10-30 José Matos <jamatos@lyx.org>
2319 * output_docbook.C (makeParagraphs):
2320 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2321 standard paragraph has only a given type of content drop the wrapper.
2323 2004-10-29 José Matos <jamatos@lyx.org>
2325 * output_docbook.C (makeEnvironment):
2327 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2329 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2331 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2332 (cleanID): sanitize any id.
2334 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2336 * buffer.C, lyxlex_pimpl.C:
2337 * lyxlex_pimpl.C (setFile):
2338 s/getExtFromContents/getFormatFromContents/
2340 2004-10-28 José Matos <jamatos@lyx.org>
2342 * output_docbook.C (makeEnvironment): move id to broadest possible
2345 * sgml.C (openTag): apply substitution of <> for all attributes.
2347 2004-10-28 José Matos <jamatos@lyx.org>
2349 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2350 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2351 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2353 * sgml.[Ch]: new version for open and closeTag for paragraph and
2354 for strings. Now they handle the ids of paragraphs.
2356 2004-10-26 Angus Leeming <leeming@lyx.org>
2358 * Makefile.am: add mover.[Ch].
2360 * converter.C (convert, move): use the new Movers to move external
2361 files to the temp directory.
2363 * lyx_main.C (init): ensure that the global system_movers data
2366 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2369 * mover.[Ch]: new files, defining a Mover as a utility to move an
2370 external file between directories and, if necessary, manipulate this
2371 file using a helper script.
2373 2004-10-25 José Matos <jamatos@lyx.org>
2375 * output_docbook.C (makeCommand): merge two if's that tested the
2378 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2380 * sgml.C (escapeString): fix warning in a better way
2382 2004-10-25 José Matos <jamatos@lyx.org>
2384 * sgml.C (escapeString): import the require boosts header file for
2385 tie, and avoid a signed unsigned comparison.
2387 2004-10-25 José Matos <jamatos@lyx.org>
2389 * sgml.h: add #include <string>
2391 2004-10-25 José Matos <jamatos@lyx.org>
2393 * sgml.[Ch] (escapeString): new function to escape all the string.
2395 2004-10-24 José Matos <jamatos@lyx.org>
2397 * paragraph.[Ch] (getFirstWord): new function to get the first
2398 word. Useful for description.
2399 (simpleDocBookOnePar): remove depth argument, add another that
2400 says where to start the paragraph.
2402 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2403 use the new functions to fix cleanly the support for descriptions.
2405 2004-10-24 José Matos <jamatos@lyx.org>
2407 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2408 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2409 * output_linuxdoc.C (linuxdocParagraphs):
2410 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2411 add buffer as argument.
2413 2004-10-24 José Matos <jamatos@lyx.org>
2415 * output_docbook.C (makeEnvironment, searchEnvironment): place
2416 CDATA inside paragraphs and fix scope for listitems.
2418 2004-10-24 José Matos <jamatos@lyx.org>
2420 * output_docbook.C: remove using statement for stack.
2422 2004-10-23 José Matos <jamatos@lyx.org>
2424 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2425 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2426 docbook. The new scheme is recursive and makes use of iterators, the
2427 same as latex export works.
2428 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2429 directly with the paragraph contents. This code was moved up to
2430 output_docbook.C (docbookParagraphs).
2431 * sgml.C (openTag, closeTag): removed unneeded newlines.
2432 (closeEnvTags) removed.
2434 2004-10-23 André Pönitz <poenitz@gmx.net>
2436 * undo.C (textUndoOrRedo):
2437 * dociterator.C (asDocIterator): work around crash
2439 * cursor.C (getStatus): replace ASSERT by more verbose error message
2440 and manual correction of the problem. Should increase stability
2441 while providing more sensible information.
2443 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2445 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2447 * bufferlist.C (previous, next): new methods
2450 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2452 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2454 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2455 entities to preamble.
2457 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2459 * messages.C (Pimpl): strip off translation context information
2461 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2463 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2464 the cursor is correct (bug 1694)
2466 2004-10-13 José Matos <jamatos@lyx.org>
2468 * output_docbook.C (docbookParagraphs): fix closing tags in the
2469 end of the document.
2471 2004-10-09 José Matos <jamatos@lyx.org>
2473 * buffer.C: format up to 237.
2474 * bufferparams.C (write): use tostr to convert booleans to strings.
2476 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2478 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2480 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2482 * LaTeX.C: implement use of babel language in xindy.
2484 2004-10-05 José Matos <jamatos@lyx.org>
2486 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2487 Add new translators to help reading and writing the lyx file.
2489 2004-10-05 José Matos <jamatos@lyx.org>
2491 * ParagraphParameters.C (read):
2492 * text.C (readParToken): replace nexToken by more appropriate lex
2495 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2497 * LaTeX.C (runMakeIndex):
2498 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2499 (usually 'makeindex') configurable.
2501 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2502 with a variable rather than with a number.
2504 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2506 * output_latex.C (TeXOnePar): make sure font setting is the first
2507 thing that gets output (and the last at the end). Should fix bug
2510 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2512 * pch.h: use proper signal include
2514 * LaTeX.h: Use preferred calling of Boost.Signal
2517 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2519 * pch.h: dont include <boost/function/function0.hpp>
2521 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2523 * paragraph_pimpl.h: remove usage of ShareContainer
2525 * paragraph_pimpl.C: remove initialization of ShareContainer.
2527 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2531 * BufferView.C (putSelectionAt): change the semantics when
2532 backwards == true: now, this just swaps cursor and anchor wrt the
2535 * BufferView.h (putSelectionAt): add some documentation
2537 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2538 make sure backwardChar is done at least once (to avoid getting
2540 (findNextChange): use putSelectionAt in the forward direction
2541 (operator()): use Paragraph::isWord
2543 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2545 * Spacing.C (set): c_str fix
2547 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2549 * lyx_cb.C (Reconfigure): quote the name of configure script in
2550 case it contains spaces
2552 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2556 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2557 (BOOST_LIBS): use top_buildir when looking for the file
2559 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2561 * pch.h: do not use include boost/format.hpp, multiple symbols
2562 will result (gcc bug)
2565 2004-08-23 José Matos <jamatos@lyx.org>
2567 * bufferparams.C (readToken): fix reading of the author field.
2569 2004-08-20 José Matos <jamatos@lyx.org>
2571 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2573 2004-08-20 José Matos <jamatos@lyx.org>
2575 * lyxlex.[Ch] (findToken): remove function.
2577 * ParagraphParameters.C (findToken):
2578 * bufferparams.C (findToken): replace call for previous function
2579 with local copy. This local function has one more argument, the
2580 read string argument.
2582 2004-08-16 José Matos <jamatos@lyx.org>
2584 * ParagraphParameters.C (write):
2585 * Spacing.C (writeFile):
2586 * bufferparams.C (writeLaTeX):
2587 * lyx_cb.C (Reconfigure):
2588 * paragraph.C (write):
2589 * tabular.C (write): remove unnecessary space at end of line.
2592 2004-08-16 José Matos <jamatos@lyx.org>
2594 * text.C (readParagraph): remove debug message.
2596 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2598 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2601 * output_plaintext.C (asciiParagraph): set depth correctly
2603 * outputparams.h: add member depth
2605 * paragraph_funcs.C (ownerPar): remove.
2607 * text2.C (setCounter): remove first_pit; comment out some
2608 non-working code that uses ownerPar
2610 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2613 2004-08-16 José Matos <jamatos@lyx.org>
2615 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2616 For the same level of importance use the same chanel to report problems.
2617 (read): add code to deal with \begin_body and \end_body.
2620 2004-08-15 José Matos <jamatos@lyx.org>
2622 * lyxlex.C (getString): fix comment, buffer::readBody is now
2623 buffer:readDocument.
2625 * tex-strings.C (string_papersize): Default -> default,
2626 Custom -> custom, for consistency with other options.
2628 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2632 * Makefile.am: support pch
2634 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2636 * text.C (readParToken): remove the static LyXFont variable and
2637 pass it as a parameter instead. This fixes a nasty bug where an
2638 inset will be inserted with a bad font in some situations
2639 (readParagraph): adapt
2641 * text2.C (setCounter): reduce number of calls to pars_[pit]
2643 * text.C (singleWidth): add an assert, fix a test
2645 * rowpainter.C (paintText): reduce number of calls to singleWidth
2647 * paragraph.C (isHfill):
2648 (isNewline): ws only
2650 2004-08-14 André Pönitz <poenitz@gmx.net>
2655 * lyxtext.h (several functions): use a Paragraph & argument
2658 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2660 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2662 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2664 * text.C (singleWidth): remove useless test
2666 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2668 * tabular.h: remove bogus comments
2670 * tabular.C (getDescentOfRow):
2671 (isPartOfMultiColumn): add assertions
2673 * lyxlength.C (inPixels): remove #warning
2675 2004-08-14 André Pönitz <poenitz@gmx.net>
2677 * paragraph.h: inline getChar()
2679 * BufferView.h: remove unused declarations
2681 2004-08-14 José Matos <jamatos@lyx.org>
2683 * Buffer.[Ch] (readDocument): new name for old readBody.
2684 * Buffer.C: new file format, new keywords: \begin_document,
2685 \begin_header, \begin_body, \end_body.
2687 * bufferparams.C (readToken): replace all calls to lex.nextToken
2688 by lex.next(). Do the same to eatLine except where really needed.
2690 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2691 line when writing to the lyx file.
2693 * output_plaintext.C (asciiParagraph): fix Bibliography style
2696 * text.C (read): fix end of file handling.
2698 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2700 * MenuBackend.C (Menu::operator[]): new method to access
2701 individual menu items
2702 (Menu::hasFunc): new method. search for an item that corresponds
2704 (MenuBackend::specialMenu): new method
2705 (MenuBackend::expand): if a special menu has been set, skip
2706 entries whose func() appears in this menu
2708 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2710 * text3.C: use Debug::DEBUG a bit more
2712 * text.C (leftMargin): try to simplify a tiny bit change var x to
2713 l_margin. Dont output the wide margins always.
2714 (rightMargin): no margin in inner texts
2716 * rowpainter.h (nestMargin): new func
2717 (changebarMargin): new func
2718 (rightMargin): new func
2720 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2724 * factory.C (createInset): modify setDrawFrame
2726 * cursor.C: use Debug::DEBUG a bit more
2728 2004-08-14 André Pönitz <poenitz@gmx.net>
2731 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2732 cache for all insets in (at least partially) visible (top-level)
2735 * BufferView_pimpl.C: reset external coord cache before every update.
2736 This means the coord cache only contains valid entries.
2738 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2741 * BufferView_pimpl.C (getInsetByCode): move function out of class
2742 and change in to a template in anon namespace. Also fix to do what
2745 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2748 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2750 (breakParagraph): rename par to par_offset and use a local
2751 reference. Add code to keep the language over a rebreak.
2752 (breakParagraphConservative): rename par to par_offset, use a
2754 (mergeParagraph): ditto
2756 (isFirstInSequence): ditto
2757 (outerFont): rename pit to par_offset
2759 * paragraph.C: ws change
2760 * paragraph.h: ditto
2764 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2766 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2769 * paragraph.C (simpleTeXOnePar): when we have a \item with
2770 optional argument, enclose the argument with curly brackets (in
2771 case it contains a closing square bracket)
2775 * text3.C (checkInsetHit): constify
2777 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2779 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2780 documents (bug 1629)
2782 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2784 Fix toggling of collapsable insets with the mouse (bug 1558)
2786 * lyxfunc.C (dispatch): adapt to LCursor changes
2788 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2789 make sure that dispatch is not invoked twice
2791 * cursor.C (needsUpdate): new method
2792 (dispatch): return void
2793 (result): new method, to access the DispatchResult of the cursor.
2795 2004-08-13 José Matos <jamatos@lyx.org>
2797 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2799 2004-08-13 André Pönitz <poenitz@gmx.net>
2801 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2803 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2806 2004-08-12 André Pönitz <poenitz@gmx.net>
2808 * text3.C: take out the 'cursor right' form insertInset and only
2809 do it in those places when it is really needed. Fixes crash on
2812 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2814 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2816 * BufferView_pimpl.C (setBuffer): initialize the current font of
2817 the underlying LyXText
2819 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2821 * kbsequence.C (print): use UI native formatting for menu
2824 * text.C (insertChar): call Paragraph::insertChar with a font
2827 * paragraph.C (insertInset, insertChar): the version that takes a
2828 LyXFont argument is now a wrapper around the other one (the
2829 opposite used to be true).
2831 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2832 argument. Font setting is done in Paragraph now.
2834 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2836 * outputparams.h: add new members intitle and lang.
2838 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2839 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2841 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2843 * text3.C (dispatch): remove special handling of button 4 and 5,
2844 it is now taken care of in the frontend code.
2846 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2848 * Spacing.h: add <string> (STLPort compile fix)
2850 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2852 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2854 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2856 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2859 * converter.C (showMessage): inherit from unary_function, make
2862 * buffer.C (writeFile): initialize retval
2864 * InsetList.h: rename private variable list to list_
2865 * InsetList.[Ch]: adjust accordingly.
2867 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2869 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2870 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2871 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2872 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2873 * ParagraphParameters.C, LaTeXFeatures.C: replace
2874 "support/std_sstream.h" with <sstream>
2876 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2878 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2879 * lyxsocket.C (LyXServerSocket): ditto
2880 (serverCallback): ditto
2882 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2884 * LaTeXFeatures.C: check release date when loading jurabib.
2886 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2888 * lyxserver.C (startPipe): call register_socket_callback
2889 (endPipe): call unregister_socket_callback
2891 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2893 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2894 (LyXServerSocket): register the callback
2895 (LyXServerSocket): unregister the callback
2896 (fd): delete function
2897 (serverCallback): improve error checking and setup the callbacks.
2898 (dataCallback): change arg to fd.
2899 (writeln): new func (copied fro the client socket) used for server
2901 (LyXDataSocket): simplify
2902 (~LyXDataSocket): close ann unregiser callback
2903 (server): delete function
2904 (fd): delete function
2905 (readln): small changes, improve some std::string usage
2906 (writeln): constify a bit
2908 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2910 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2913 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2915 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2916 after it has been populated
2918 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2920 * text2.C (insertInset): move cursor when inserting inset.
2922 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2924 * kbmap.C (findbindings): a couple of new methods. returns a
2925 container of kb_sequence objects. The real work is done by the
2926 private recursive version
2927 (printbindings): uses findbindings to print out a bracketed list
2928 of bindings (renamed from findbinding).
2930 * MenuBackend.C (binding): use kb_keymap::findbindings
2932 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2934 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2936 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2938 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2940 * paragraph.C (isWord): return true on insets that report
2943 * text.C (getWord): use Paragraph::isWord to decide what is in a
2944 word and what is not; fix bug 1609.
2946 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2948 * tex-strings.C: add "none" to string_paperpackages[], fixes
2949 off-by-one-error in the paperpackage selection.
2952 * tex-strings.[Ch]: char const * string[n]
2953 -> char const * const string[]
2955 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2957 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2958 command, return early.
2960 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2962 * debug.h: add DEBUG to enum and fix size of ANY.
2964 * debug.C: add support for Debug::DEBUG
2965 (showTags): cast errorTags.level to unsigned int
2967 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2968 (redoCurrentBuffer): ditto
2969 (updateScrollbar): ditto
2970 * cursor.C (dispatch): ditto
2971 * text2.C (setLayout): ditto
2973 (updateCounters): ditto
2975 (deleteEmptyParagraphMechanism): ditto
2977 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2979 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2980 annotations to cleanup the Makefile slightly.
2982 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2984 * lyxrc.C: do not set user_email to a default value but use empty
2985 instead. The entry used to be translated, which does not work
2986 since at the point where lyxrc is constructed there is no
2987 translation service available
2989 * messages.C (getLocaleDir): remove and use directly
2990 lyx_localedir() instead
2992 2004-06-02 Angus Leeming <leeming@lyx.org>
2994 Fix crash caused by dereferencing null pointer 'exportdata' in
2995 OutputParams by creating a new ExportData variable on the heap,
2996 storing it in a boost::shared_ptr.
2997 The crash was triggered when generating an Instant Preview
2998 of an external inset.
3000 * Makefile.am: add outputparams.C
3002 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3003 (c-tor): allocate memory to it.
3005 * exporter.C (c-tor): associated changes.
3007 2004-06-01 Angus Leeming <leeming@lyx.org>
3009 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3010 contains data before calling isInset(0). (Bug 1513.)
3012 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3014 * exporter.C (checkOverwrite): new method
3015 * exporter.C (copyFile): new method
3016 * exporter.C (Export): copy referenced files to the document dir
3017 * exporter.[Ch]: new class ExportedFile
3018 * exporter.[Ch]: new class ExportData. Contains currently the
3019 names of referenced external files
3020 * outputparams.h: add exportdata member.
3022 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3024 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3027 2004-05-19 Angus Leeming <leeming@lyx.org>
3032 * lyxfunc.C: small changes due to the introduction of namespace
3033 lyx::frontend and the moving of namespace biblio to lyx::biblio.
3035 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
3037 * text3.C (dispatch): supress update when only moving the cursor
3038 * cursor.C (selHandle): remove commented code
3040 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3042 * paragraph.C (startTeXParParams): correct column count
3043 * CutAndPaste.C (pasteSelection): remove const_cast
3044 * output_docbook.C (docbookParagraphs): remove const_cast
3045 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3046 const_cast and return ParagraphList::const_iterator
3047 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3048 * output_plaintext.C (writeFileAscii): remove const_cast
3049 * paragraph.[Ch] (simpleTeXOnePar): make const
3050 * paragraph_funcs.C (outerPar): use const iterators
3051 * paragraph_pimpl.C (validate): use const iterators
3052 * text.C (setHeightOfRow): use const iterators
3054 2004-05-17 Angus Leeming <leeming@lyx.org>
3057 * LyXAction.C (init): new LFUN_INSET_REFRESH.
3059 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3060 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3061 if the citation engine has changed.
3063 2004-05-14 José Matos <jamatos@lyx.org>
3065 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3066 if the textclass does not provide it. Have it different for sgml and
3068 support the language of document.
3069 * output_docbook.C (docbookParagraphs):
3070 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3071 first anchor as the id of the paragraph, remove special case code.
3072 * sgml.C (escapeChar): escape only < & >.
3074 2004-05-14 Angus Leeming <leeming@lyx.org>
3076 * bufferparams.h: move biblio::CiteEngine enum here to minimize
3077 dependencies on src/frontends/controllers/biblio.h. Define a
3078 CiteEngine_enum wrapper class to enable the enum to be forward
3081 2004-05-12 Angus Leeming <leeming@lyx.org>
3083 * buffer.C: up LYX_FORMAT to 234.
3084 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3085 use_numerical_citations with a single biblio::CiteEngine cite_engine
3087 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3089 2004-05-13 José Matos <jamatos@lyx.org>
3092 * converter.C (Converter, readFlags): add xml member.
3093 * outputparams.h: add XML flavor.
3094 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3096 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3098 * lyxfunc.C (dispatch):
3099 (getStatus): fix handling of LFUN_SEQUENCE
3101 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3103 * debug.C (showLevel): do not forget the end-of-line marker
3105 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3107 * kbmap.C (read): do not stop parsing a bind file when an error
3110 2004-04-29 Angus Leeming <leeming@lyx.org>
3115 * text2.C: wrap a bunch of #warning statements
3116 inside #ifdef WITH_WARNINGS blocks.
3118 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3120 * buffer.C: increment format to 233.
3122 2004-04-28 Angus Leeming <leeming@lyx.org>
3124 * BufferView_pimpl.C:
3127 s/updateToolbar()/updateToolbars()/
3128 s/Toolbar.h/Toolbars.h/
3130 2004-04-28 Angus Leeming <leeming@lyx.org>
3132 * BufferView.[Ch] (c-tor):
3133 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3134 No longer passes these data to the WorkArea generator.
3136 2004-04-28 Angus Leeming <leeming@lyx.org>
3138 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3140 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3142 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3144 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3146 * output_latex.C (TeXEnvironment): make sure that there is a line
3147 break before \end{foo} for the last paragraph of a document
3148 (TeXOnePar): if the paragraph is at the end of the document (or
3149 inset) and the language has to be reset, then make sure that the
3150 line break is _before_ the language command, not after (fixes bug
3151 1225); also make sure that the language reset command is the first
3152 thing after the paragraph (to ensure proper nesting of
3153 environments and thus fix bug 1404)
3155 2004-04-21 John Levon <levon@movementarian.org>
3158 * ToolbarBackend.C: make "name" be a programmatic name
3159 and a gui_name field.
3161 * lyxfunc.C: display the minibuffer on M-x
3163 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3165 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3168 2004-04-19 Angus Leeming <leeming@lyx.org>
3170 * BufferView_pimpl.C (setBuffer): changed preview interface.
3172 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3175 2004-04-19 John Levon <levon@movementarian.org>
3177 * BufferView_pimpl.C:
3178 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3180 2004-04-05 Angus Leeming <leeming@lyx.org>
3182 * text.C (redoParagraphs): add call to updateCounters(), thereby
3183 fixing the missing "Figure #:" label from the caption of a
3186 2004-04-13 Angus Leeming <leeming@lyx.org>
3188 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3189 cursor is clicked out of an inset.
3191 2004-04-13 Angus Leeming <leeming@lyx.org>
3193 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3194 than an InsetOld one.
3196 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3198 * format.[Ch]: add editor to Format
3199 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3200 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3202 2004-04-08 André Pönitz <poenitz@gmx.net>
3204 * metricsinfo.h: remove PainterInfo::width member
3206 2004-04-08 Angus Leeming <leeming@lyx.org>
3208 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3209 "\providecommand" rather than "\newcommand", thereby preventing
3210 clashes with packages that define "\boldsymbol" themselves.
3213 2004-04-08 Angus Leeming <leeming@lyx.org>
3215 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3216 thereby squashing an unnecessary warning.
3218 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3220 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3223 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3225 * BufferView.C (setCursor): call redoParagraph (some insets could
3227 (putSelectionAt): remove the 'double update' trick
3229 * BufferView_pimpl.C (fitCursor): call refreshPar
3230 (workAreaDispatch): remove an uneeded update call
3231 (dispatch): remove some manual update calls
3233 * cursor.[Ch]: remove cached_y_, updatePos
3234 (selHandle): set noUpdate when appropriate
3236 * lyxfunc.C (dispatch): track if we need an update
3238 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3240 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3241 (paintSelection): cheap optimization, do not call cursorX when not
3243 (paintPars): change signature
3246 (paintTextInset): adjust
3250 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3252 * lengthcommon.C: compilation fix: remove explicit array size from
3253 unit_name[] and friends
3255 2004-04-05 Angus Leeming <leeming@lyx.org>
3257 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3259 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3260 present only for the preferences dialog.
3261 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3263 2004-04-05 Angus Leeming <leeming@lyx.org>
3265 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3266 to enable the frontends to export changes to lyxrc correctly.
3268 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3270 2004-04-07 André Pönitz <poenitz@gmx.net>
3272 * cursor.[Ch] (selClear, adjust): remove math
3274 * cursor_slice.C: more agressive assert
3277 * BufferView_pimpl.C: rework mouse event dispatch
3284 2004-04-05 André Pönitz <poenitz@gmx.net>
3286 * cursor.[Ch] (valign, halign...): remove unneeded functions
3288 2004-04-05 Angus Leeming <leeming@lyx.org>
3290 * lyxlength.[Ch] (unit_name et al.): const-correct.
3292 2004-04-05 Angus Leeming <leeming@lyx.org>
3294 * BufferView_pimpl.C:
3303 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3305 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3307 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3309 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3311 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3312 * BufferView_pimpl.[Ch] (getStatus)
3313 * BufferView.[Ch] (getStatus): add
3314 * lyxfunc.C (getStatus): move lfuns handled in
3315 BufferView::dispatch to te function above
3316 * Cursor.C (setSelection): set selection() = true
3318 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3320 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3322 2004-03-31 Angus Leeming <leeming@lyx.org>
3324 * lyxfunc.C (dispatch): Fall through to the generic
3325 Dialogs::show("preamble").
3327 2004-03-31 Angus Leeming <leeming@lyx.org>
3329 * lyxfunc.C (dispatch): Fall through to the generic
3330 Dialogs::show("spellchecker").
3332 2004-03-31 Angus Leeming <leeming@lyx.org>
3334 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3337 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3342 * insetiterator.[Ch]:
3347 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3349 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3351 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3352 insets where we are putting the cursor.
3354 2004-03-31 Angus Leeming <leeming@lyx.org>
3357 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3359 * lyxrc.[Ch] (read, write): overloaded member functions taking
3360 a std::[io]stream arguments.
3362 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3364 2004-03-31 Angus Leeming <leeming@lyx.org>
3366 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3367 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3369 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3370 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3372 2004-03-31 Angus Leeming <leeming@lyx.org>
3374 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3375 the LFUN_ALL_INSETS_TOGGLE code.
3377 2004-03-30 Angus Leeming <leeming@lyx.org>
3379 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3380 has died. Fall through to the generic Dialogs::show("document").
3382 2004-03-30 Angus Leeming <leeming@lyx.org>
3385 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3386 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3388 * lyxfunc.C (getStatus, dispatch): define the actions for these
3389 lfuns. Little more than a cut and pste job from ControlDocument.C
3391 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3393 2004-03-30 Angus Leeming <leeming@lyx.org>
3396 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3397 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3399 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3400 open/closed state of ollapsable insets. Usage:
3402 all-inset-toggle <state> <name>, where
3403 <state> == "open" || "closed" || "toggle" and
3404 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3406 * lyxtext.h, text2.C (toggleInset): removed.
3408 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3409 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3410 now passes LFUN_INSET_TOGGLE to the found inset.
3412 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3413 is now invoked as "all-insets-toggle toggle branch".
3415 2004-03-30 Angus Leeming <leeming@lyx.org>
3419 * pariterator.[Ch]: added/corrected header blurb.
3421 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3423 * dociterator.[Ch]: add an inset_ member
3424 (backwardPos): implemented
3425 (backwardPos, forwardPos): use inset_ when the stack is empty.
3426 (doc_iterator_begin, doc_iterator_end): implemented
3427 * pariterator.[Ch]: adjust, add begin, end
3428 * insetiterator.[Ch]: adjust, add begin, end
3432 * BufferView_pimpl.C:
3433 * CutAndPaste.C: adjust
3435 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3437 * buffer.C: increment file format to 232.
3438 * LaTeXFeatures.C: add bibtopic package.
3439 * bufferparams.[Ch]: param \use_bibtopic.
3441 * lyxrc.[Ch]: add lyxrc bibtex_command
3442 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3444 * buffer.C: increment file format to 231.
3446 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3448 * dociterator.C: implement forwardPar
3449 * iterators.[Ch]: remove, replaced by
3450 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3452 * BufferView_pimpl.C:
3455 * bufferview_funcs.C:
3461 * Makefile.am: adjust
3463 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3465 * CutAndPaste.C (pasteSelection): fix 2 crashes
3466 (eraseSelection): fix a crash
3467 * paragraph_funcs.C: remove a warning
3469 2004-03-28 Angus Leeming <leeming@lyx.org>
3472 * LyXAction.C (init): new LFUN_PRINT.
3474 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3476 2004-03-27 Angus Leeming <leeming@lyx.org>
3479 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3481 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3483 2004-03-27 Angus Leeming <leeming@lyx.org>
3485 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3486 insetlist always contains non-null pointers to insets.
3488 2004-03-26 Angus Leeming <leeming@lyx.org>
3490 * src/BufferView_pimpl.C:
3491 * src/CutAndPaste.C:
3494 * src/output_plaintext.C:
3495 * src/outputparams.h:
3496 * src/paragraph_funcs.C:
3500 * src/frontends/controllers/ControlErrorList.C:
3501 * src/frontends/gtk/FileDialogPrivate.C:
3502 * src/frontends/gtk/GPainter.C:
3503 * src/frontends/gtk/GToolbar.C:
3504 * src/frontends/qt2/QRef.C:
3505 * src/mathed/math_scriptinset.C: squash compiler warnings.
3507 2004-03-26 Angus Leeming <leeming@lyx.org>
3509 * ispell.C (LaunchIspell::start):
3510 * lyx_cb.C (AutoSaveBuffer::start):
3511 invoke run(DontWait) rather than runNonBlocking().
3513 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3515 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3517 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3519 * kbsequence.C (print): adjust
3521 * kbmap.C (printKeySym): rename and change signature
3522 (printKey): use LyXKeySym::print()
3524 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3526 * undo.C: add using std::advance to compile for stlport
3528 2004-03-24 Angus Leeming <leeming@lyx.org>
3530 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3531 it leads to a crash when no buffer is present.
3533 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3534 Martin Vermeer <martin.vermeer@hut.fi>
3536 * lyxfunc.C (dispatch):
3537 * bufferparams.C (readToken): use the new LColor::setColor
3539 * LColor.[Ch] (setColor): new version that takes two strings as
3540 argument and creates a new color entry if necessary
3542 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3544 * buffer.C (makeLaTeXFile): if the main latex file that is
3545 processed is usually a subdocument of some master, then pretend
3546 for a while that it is actually the master
3548 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3550 * buffer.C (getLabelList):
3551 (getBibkeyList): use getMasterBuffer()
3552 (getMasterBuffer): new method. Returns the main document in the
3553 case where one is using included documents.
3555 2004-03-25 André Pönitz <poenitz@gmx.net>
3559 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3561 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3563 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3564 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3566 * ParameterStruct.h: merge with ParagraphParameters
3568 * lyxtext.h: remove LyXText::parOffset() and getPar()
3570 * text3.C: Remove all 'manual' update calls. We do now one per user
3571 interaction which is completely sufficient.
3575 * BufferView_pimpl.C:
3576 * FontIterator.[Ch]:
3578 * ParagraphParameters.[Ch]:
3583 * cursor_slice.[Ch]:
3590 * output_docbook.[Ch]:
3591 * output_latex.[Ch]:
3592 * output_linuxdoc.[Ch]:
3593 * output_plaintext.[Ch]:
3595 * paragraph_funcs.[Ch]:
3596 * paragraph_pimpl.[Ch]:
3604 * frontends/controllers/ControlDocument.C:
3605 * frontends/controllers/ControlErrorList.C:
3606 * frontends/controllers/ControlSpellchecker.C:
3609 * insets/insetbase.h:
3610 * insets/insetbibitem.C:
3611 * insets/insetbox.C:
3612 * insets/insetbranch.C:
3613 * insets/insetcaption.C:
3614 * insets/insetcharstyle.C:
3615 * insets/insetcharstyle.h:
3616 * insets/insetcollapsable.C:
3617 * insets/insetcollapsable.h:
3618 * insets/insetert.C:
3619 * insets/insetfloat.C:
3620 * insets/insetfoot.C:
3621 * insets/insetmarginal.C:
3622 * insets/insetnote.C:
3623 * insets/insetoptarg.C:
3624 * insets/insettabular.C:
3625 * insets/insettext.C:
3626 * insets/insettext.h:
3627 * insets/insetwrap.C:
3628 * mathed/math_mboxinset.C:
3629 * mathed/math_nestinset.C:
3630 * mathed/math_scriptinset.C:
3631 * mathed/math_scriptinset.h:
3634 2004-03-24 Angus Leeming <leeming@lyx.org>
3636 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3637 deal with any child processes that have finished but are waiting to
3638 communicate this fact to the rest of LyX.
3640 2004-03-24 Angus Leeming <leeming@lyx.org>
3642 64-bit compile fixes.
3644 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3645 (c-tor): pass lyx::pos_types rather than ints.
3647 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3650 * text.C (Delete): compile fix.
3651 (getPar): ensure that function declaration is the same as that in
3654 2004-03-23 Angus Leeming <leeming@lyx.org>
3656 * ispell.C (LaunchIspell):
3657 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3658 a boost::shred_ptr rather than a std::auto_ptr.
3660 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3662 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3663 handle LFUN_FILE_INSERT_*
3665 * lyxrc.C (setDefaults, getDescription, output, read):
3666 * lyxrc.h: remove ps_command
3668 2004-03-22 Angus Leeming <leeming@lyx.org>
3670 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3671 Ensure that error_handler is processed once only and that all data
3672 is saved before attempting to output any warning messages.
3674 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3676 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3678 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3680 2004-03-19 André Pönitz <poenitz@gmx.net>
3682 * cursor.[Ch] (reset): take main text inset as argument
3684 * BufferView: adjust
3685 * BufferView_pimpl.C: adjust
3687 * paragraph.[Ch]: fix completely broken operator=()
3689 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3691 * LColor.C (getFromLyXName): make sure that the color name is used
3694 2004-03-17 Angus Leeming <leeming@lyx.org>
3697 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3699 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3700 dialog and to kill a forked process.
3702 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3704 * text2.C (setCursorFromCoordinates): fix font problem
3706 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3708 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3709 bogus "rebuild cursor" code
3711 2004-03-11 André Pönitz <poenitz@gmx.net>
3713 * buffer.[Ch]: use InsetText instead of LyXText as container for
3716 * dociterator.[Ch]: drop the BufferView * member which is not needed
3717 anymore after the change to buffer.C
3719 * paragraph_funcs.C:
3723 * BufferView_pimpl.[Ch]:
3725 * cursor_slice.[Ch]: adjust
3727 * text3.C: fix bug in mathDispatch
3729 2004-03-08 André Pönitz <poenitz@gmx.net>
3731 * undo.[Ch]: use 'StableDocumentIterator' as base for
3734 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3737 * bufferparams.[Ch]: add jurabib support and param.
3739 * LaTeX.C: add FIXME/comment.
3741 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3743 * buffer.C: increment file format to 230.
3745 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3747 * cursor.C (dispatch): avoid infinite loops
3749 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3751 * rowpainter.C (paintSelection): fix x coordinates
3753 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3755 * text.C (rowBreakPoint): fix breaking before displayed insets
3757 2004-03-01 André Pönitz <poenitz@gmx.net>
3759 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3761 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3765 * BufferView_pimpl.C:
3773 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3779 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3780 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3782 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3784 * Bidi.[Ch] (computeTables): const correctness
3785 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3786 fill_hfill, fill_label_hfill and x from Row
3787 * lyxtext.h: prepareToPrint returns a RowMetrics
3788 * rowPainter.C: adjust
3789 * text.C (prepareToPrint): use width, not textWidth. adjust
3790 (redoParagraphInternal, cursorX): adjust
3791 * text2.C (getColumnNearX): adjust
3792 (init): put a default value to the top LyXText::width
3794 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3796 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3798 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3800 * lyxtext.h: add FontIterator class
3802 * text.C (FontIterator, operator*, operator->, operator++): add
3803 (rowBreakPoint, setRowWidth): adjust (fixing a
3806 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3808 * BufferView_pimpl.C (workAreaDispatch): allow also
3809 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3811 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3813 * text.C (rowBreakPoint): fix a bug showing with very large insets
3815 2004-02-25 André Pönitz <poenitz@gmx.net>
3818 * cursor.[Ch]: move some mathed specific code to mathed
3820 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3822 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3823 use_tempdir in preferences
3824 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3826 * lyx_main.C: ensure that tempdir is valid
3827 * lyxlex.h: correct typo
3828 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3829 * paragraph.[Ch] (isMultiLingual): make const
3830 * cursor.[Ch] (openable): make const
3832 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3834 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3836 2004-02-20 André Pönitz <poenitz@gmx.net>
3838 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3840 * cursor.[Ch]: prepare for localized getStatus()
3846 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3848 2004-02-20 André Pönitz <poenitz@gmx.net>
3850 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3852 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3854 * text2.C (setCursorFromCoordinates): switch to absolute coords
3856 (cursorDown): adjust
3857 * text3.C (dispatch): adjust
3859 2004-02-16 André Pönitz <poenitz@gmx.net>
3861 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3864 * cursor_slice.[Ch]: remove unneeded acessor function
3866 * lyxtext.h: rename rtl() to isRTL()
3874 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3876 * rowpainter.C (paintSelection): coord fix
3878 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3880 * Spacing.C: compile fix
3882 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3884 * cursor.C (dispatch): restore current_ before returning
3886 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3888 * text2.C (cursorUp, cursorDown): fix coords
3891 2004-02-12 André Pönitz <poenitz@gmx.net>
3896 * text3.C: add LCursor & parameter to most cursor movement functions
3897 remove usage of LyXText::cursorRow() and cursorPar()
3899 * cursor.[Ch]: add textRow() needed members
3902 * BufferView_pimpl.C:
3905 * BufferView_pimpl.C: adjust
3907 2004-02-11 André Pönitz <poenitz@gmx.net>
3911 * BufferView_pimpl.C: shift undo/redo handling
3913 * cursor.[Ch]: fix mathed crash
3916 * lyxtext.h: move selectionAsText to LCursor
3924 * rowpainter.C: fix excessive drawing
3926 2004-02-06 André Pönitz <poenitz@gmx.net>
3929 * BufferView_pimpl.[Ch]:
3930 * text3.C: move some text specific LFUN handling
3932 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3934 * text3.C (checkInsetHit): adjust coords
3935 * text2.C (getColumnNearX): adjust coords
3936 (edit): adjust coords
3937 * text.C (getRowNearY): add two asserts
3939 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3942 * format.C: add using std::distance to compile on gcc 2.95/stlport
3944 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3946 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3948 2004-02-04 André Pönitz <poenitz@gmx.net>
3950 * BufferView.[Ch] (insertInset):
3951 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3956 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3958 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3959 on the default clause of the switch
3960 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3961 wasn't catched by LCursor::dispatch
3963 2004-02-03 André Pönitz <poenitz@gmx.net>
3966 * cursor.[Ch]: some additional asserts
3968 * undo.[Ch]: remove LyXText dependency in interface
3972 * lyxtext.h (firstPar, lastPar): remove dead functions
3977 * paragraph.[Ch]: adjust
3979 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3981 * lyxfind.C (find): fix argument order in call to ::find
3983 2004-02-02 André Pönitz <poenitz@gmx.net>
3985 * cursor.[Ch]: remove direct access to anchor
3987 * text.C: remove findText() hack
3989 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3991 * iterators.[Ch] (lockPath): remove in favour of...
3992 * BufferView.[Ch] (setCursor): this addition
3993 * BufferView.C (putSelectionAt): adjust
3994 * undo.C (performUndoOrRedo): adjust
3995 * lyxfunc.C (dispatch): adjust
3997 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3999 * iterators.C (lockPath): add a missing slice
4000 * undo.C (performUndoOrRedo): remove redundant positioning code
4002 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4004 * vc-backend.C (scanMaster): ";" -> ';'
4006 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4008 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4009 std::binary_function
4011 * lyxtextclass.C (compare_name): rename to...
4012 (LayoutNamesEqual): ...this
4014 * lyxlex_pimpl.C (compare_tags): inherit from
4015 std::binary_function, put back into anon namespace
4017 * lyxfind.C (MatchString): inherig from std::binary_function
4018 (findChange): use empty() istead of !size()
4020 * format.C (FormatNamesEqual): new functor
4027 * converter.C (compare_Converter): rename to...
4028 (ConverterEqual): ...this, and fixup a bit.
4029 (getConverter): use it, and make function const
4030 (getNumber): use it, and make function const
4034 * bufferlist.C: add using boost::bind
4036 * MenuBackend.C (MenuNamesEqual): new functor
4037 (hasMenu): use it, and make function const
4038 (hasSubmenu): use nested bind to get rid of compare_memfun.
4040 2004-01-30 André Pönitz <poenitz@gmx.net>
4042 * BufferView_pimpl.C:
4045 * cursor_slice.[Ch]:
4048 * paragraph_funcs.C:
4049 * paragraph_funcs.h:
4053 * text3.C: move some of the edit(x,y) handling to the insets
4054 some coordinate changes.
4056 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4058 * text.C: add using statements for std::advance and std::distance
4060 * paragraph.C: add using statement for std::distance
4062 * lyxfind.C: add using statement for std::advance
4064 * cursor.C (region): remove std:: from swap
4065 (openable): use nucleus in stead of operator->
4067 * BufferView.C: add using statements for std::distance and std::swap
4069 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4071 * iterators.C: Remove the pimple, move the needed structures to
4072 the header file. Create accessor for the positions stack.
4073 (asPosIterator): remove function
4075 * PosIterator.C (PosIterator): move constructors to top of file
4076 (PosIterator): reimplement the constructor taking a ParIterator in
4078 (setFrom): new function
4079 (operator!=): inline it
4081 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4083 * lyxfind.C (replaceAll): use std::advance
4085 * iterators.h: inherit from std::iterator.
4087 * PosIterator.C (advance, distance): remove
4088 * PosIterator.h: interit from std::iterator.
4090 2004-01-26 André Pönitz <poenitz@gmx.net>
4093 * BufferView_pimpl.[Ch]:
4097 * bufferview_funcs.C:
4107 * output_linuxdoc.C:
4108 * output_plaintext.C:
4110 * paragraph_funcs.[Ch]:
4111 * paragraph_pimpl.[Ch]:
4117 * text3.C: more IU: dumps most of the rest of the mathcursor
4118 implementation into cursor.[Ch]; "globalize" a bit of it.
4120 2004-01-25 Angus Leeming <leeming@lyx.org>
4122 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4124 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4126 * LaTeXFeatures.h: add nice_ and nice() const
4127 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4129 2004-01-20 André Pönitz <poenitz@gmx.net>
4132 * BufferView_pimpl.C:
4134 * bufferview_funcs.C:
4136 * cursor_slice.[Ch]:
4147 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4148 LCursor and mathcursor parts to LCursor and InsetBase.
4150 2004-01-15 André Pönitz <poenitz@gmx.net>
4152 * cursor_slice.[Ch]: add a few covienience functions
4154 * funcrequest.[Ch]: remove BufferView * member
4156 * BufferView_pimpl.C:
4163 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4165 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4167 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4168 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4170 2004-01-13 André Pönitz <poenitz@gmx.net>
4173 * lyxtext.h: hide cursor and selection anchor behind accessor function
4176 * BufferView_pimpl.[Ch]:
4178 * bufferview_funcs.C:
4188 * cursor_slice.[Ch]: some integer type changes for inset unification
4190 * lyxcursor.[hC]: remove, it's CursorSlice now.
4193 * BufferView_pimpl.[Ch]:
4194 * bufferview_funcs.C:
4200 * textcursor.[Ch]: adjust
4202 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4204 * text2.C (undoSpan): add and use
4205 * text.C (breakParagraph): use undoSpan (fix bug 578)
4208 2004-01-08 Angus Leeming <leeming@lyx.org>
4210 * BufferView_pimpl.C (MenuInsertLyXFile):
4211 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4212 * lyxfunc.C (menuNew, open, doImport):
4213 FileFilterList change to the FileDialog open and save functions.
4215 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4217 * ShareContainer.h: make isEqual and isUnique adaptable
4219 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4221 2004-01-07 Angus Leeming <leeming@lyx.org>
4224 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4226 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4228 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4229 functions replacing find, replace and replaceAll.
4231 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4232 LFUN_WORDFIND(FORWARD|BACKWARD).
4234 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4236 * text.C (breakParagraph): remove an outdated #warning
4238 2004-01-07 André Pönitz <poenitz@gmx.net>
4240 * lyxfind.C: somewhat clearer logic
4242 * text.C: prevent crash in cursorX on unitialized row cache
4244 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4246 * lyxcursor.[Ch] (operator>): add
4247 * textcursor.C (selStart, selEnd): use std::min and std::max
4249 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4251 * Chktex.C: include boost/format.hpp
4253 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4255 * InsetList.C: replace functor MathcIt with adaptable functor
4257 (insetIterator): modify accordingly
4259 * BranchList.h: move the BranchNamesEqual functor here from...
4260 * BranchList.C: ... to here
4262 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4264 (add): replace a finding loop with std::find_if.
4266 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4268 * output_docbook.C: moving LatexParam functionality into
4271 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4273 * buffer.C: increment format to 229.
4275 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4278 * lyx_sty.[Ch]: remove minipageindent_def
4284 * text3.C: remove LFUN_INSET_MINIPAGE
4286 2003-12-28 Angus Leeming <leeming@lyx.org>
4288 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4290 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4292 * text2.C (setParagraph): fix off-by-one crash
4294 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4296 * output_docbook.C: header stuff for AGU
4298 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4300 * text2.C (redoCursor): remove
4303 * BufferView_pimpl.C: remove calls to redoCursor and
4304 setCursor(cursor.par(), cursor.pos()) all around
4306 2003-12-15 Angus Leeming <leeming@lyx.org>
4308 * buffer.C: up the format to 228.
4310 2003-12-15 André Pönitz <poenitz@gmx.net>
4312 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4317 * BufferView_pimpl.C:
4326 2003-12-15 Angus Leeming <leeming@lyx.org>
4328 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4329 than getFromGUIName to manipulate the color.
4331 2003-12-14 Angus Leeming <leeming@lyx.org>
4333 * BranchList.[Ch]: minimize the API.
4334 (Branch::getBranch, getColor): now return a 'const &'.
4335 (Branch::setSelected) now returns a bool set to true if the
4336 selection status changes.
4337 (BranchList::clear, size, getColor, setColor, setSelected,
4338 allBranches, allSelected, separator): removed.
4339 (BranchList::find): new functions, returning the Branch with
4341 (BranchList::add, remove): return a bool indicating that
4342 the operation was successful.
4344 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4345 new InsetBranch::isBranchSlected member function.
4347 * LColor.[Ch]: mimimize the API.
4348 (fill): renamed as addColor and made private.
4349 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4350 versions of these functions taking a string arg have been removed.
4352 * bufferparams.C (readToken):
4353 * lyxfunc.C (dispatch):
4354 * lyxrc.C (read): changes due to the altered BranchList and
4357 * factory.C (createInset, readInset): changes due to altered
4360 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4363 * lyxfunc.C: remove insetminipage. "minipage-insert"
4364 now produces a frameless minipage box inset.
4366 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4368 * textcursor.[Ch] (selStart,selEnd): add new methods
4369 remove selection::start, end, use LyXCursor::operator<
4370 * lyxcursor.[Ch] (operator<): add
4371 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4372 * BufferView.[Ch] (unsetXSel): add
4373 * text2.C (clearSelection): use unsetXSel,adjust
4376 * rowpainter.C: adjust
4377 * bufferview_funcs.C (put_selection_at): adjust
4379 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4381 * BufferView_pimpl.C: small coord. correction
4383 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4385 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4386 dragging over the splash screen.
4388 2003-12-11 Angus Leeming <leeming@lyx.org>
4390 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4391 as it is now handled in LyXText::dispatch.
4393 * text3.C (doInsertInset): remove a level of nesting.
4395 2003-12-11 Angus Leeming <leeming@lyx.org>
4397 * factory.C (createInset): changes due to the changed interface to
4398 InsetCommandMailer::string2params.
4400 2003-12-10 Angus Leeming <leeming@lyx.org>
4402 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4403 'dialog-show-new-inset <inset name>'
4405 2003-12-10 Angus Leeming <leeming@lyx.org>
4407 * buffer.C: up the format to 227.
4409 * factory.C: the box inset is now identified simply by 'Box'.
4411 2003-12-10 Angus Leeming <leeming@lyx.org>
4413 * buffer.C: up the format to 226.
4415 * factory.C: the note inset is now identified simply by 'Note'.
4417 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4419 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4420 when a pit is enough. Standarize a couple of loops.
4422 2003-12-05 Angus Leeming <leeming@lyx.org>
4424 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4425 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4426 data to the re-worked "log" dialog.
4428 2003-12-03 André Pönitz <poenitz@gmx.net>
4434 * paragraph_funcs.C:
4436 * text2.C: use Inset::getText instead of Inset::getParagraph
4438 2003-12-03 André Pönitz <poenitz@gmx.net>
4442 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4443 InsetText::read() as LyXText::read()
4445 2003-12-02 Angus Leeming <leeming@lyx.org>
4447 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4448 type. Add a comment in the implementation that the function uses
4449 the stream's bad() function rather than fail() as the std::streams
4452 2003-12-02 André Pönitz <poenitz@gmx.net>
4454 * lyxlex.[Ch]: make interface more similar to std::stream
4456 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4458 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4460 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4462 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4464 * vspace.[Ch]: remove VSpace::NONE
4466 2003-12-01 André Pönitz <poenitz@gmx.net>
4469 * lyxtext.h: move ParagraphList member to LyXText
4470 rename LyXText::ownerParagraphs to LyXText::paragraph
4473 * bufferview_funcs.C:
4483 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4485 * undo.C: fix cursor positioning
4487 2003-12-01 John Levon <levon@movementarian.org>
4489 * BufferView_pimpl.C: fix a crash on exit with
4492 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4494 * BranchList.C: fix setSelected() method.
4496 2003-11-28 André Pönitz <poenitz@gmx.net>
4498 * ParagraphParameters.[Ch]:
4499 * ParameterStruct.h: remove space above/below from Paragraph to
4502 * BufferView_pimpl.C:
4508 * paragraph_funcs.C:
4514 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4516 * factory.C: Syntax change for CharStyles
4518 2003-11-28 André Pönitz <poenitz@gmx.net>
4523 * buffer.[Ch]: move LyXText member
4525 2003-11-28 André Pönitz <poenitz@gmx.net>
4527 * BufferView.[Ch]: make LyXText * text a private member
4529 * BufferView_pimpl.C:
4540 * output_plaintext.C: cleanup
4542 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4545 * lyxtextclass.[Ch]: parametrize SGML document header
4547 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4550 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4553 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4555 * text2.C (setFont): rework using PosIterator (no more recursive)
4556 (setCharFont): no more needed
4557 (setLayout): no more selection cursors fiddling (done by redoCursor)
4558 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4559 destroy remaining ones)
4561 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4563 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4565 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4568 * text3.C: adjust + re-allow multi par depth changes
4569 * textcursor.C: simplify a bit
4571 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4577 * src/output_docbook.C:
4578 * src/output_latex.C:
4583 * src/text2.C: Introducing a number of tags parametrizing various
4584 XML formats that we may want to support
4586 2003-11-25 André Pönitz <poenitz@gmx.net>
4588 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4590 * lyxtext.h (leftMargin/rightMargin): simplify interface
4597 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4599 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4600 master file to any child files. Fixes bug 546.
4602 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4604 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4606 2003-11-24 André Pönitz <poenitz@gmx.net>
4608 * rowpainter.C: simplification
4610 * text2.C (updateCounters): remove call to redoParagraph on
4611 changed labels as this is far too expensive.
4613 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4615 * converter.C (convert): fix a crash: this function gets
4616 called with buffer == 0 from importer code.
4618 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4620 * text3.C (cursorPrevious): make sure that we do not compare
4621 iterators form different containers.
4624 * rowpainter.C (paintSelection): make sure that we do not compare
4625 iterators from different containers.
4627 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4628 iterators from different ParagraphList containers.
4631 * text2.C (LyXText): change order of initialization slightly
4632 (operator=): new function. copy all variables except cache_par_
4633 (moveUp): make sure that we do not compare iterators from
4634 different ParagraphList constainers.
4637 * text.C (firstPar): new function
4638 (lastPar): new function
4639 (endPar): new function
4641 * lyxtext.h: move things around and group public functions, public
4642 variables, private functions, private variables
4644 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4646 * factory.C: change call to InsetERT constructor to avoid
4647 additional invocation of method status
4648 * text2.C (toggleInset): remove redundant update() call
4649 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4650 instead of a Bufferview pointer
4652 2003-11-21 André Pönitz <poenitz@gmx.net>
4654 * rowpainter.C: simplification
4656 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4658 * text3.C (dispatch): make possible to extend a word/row selection
4661 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4663 * lyxtext.h: x0_,y0_ -> xo_,yo_
4664 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4665 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4666 * rowpainter.C (paintRows): paint full paragraphs
4668 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4670 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4673 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4675 * lyxtext.h: add x0_, y0_
4676 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4677 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4679 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4681 * text2.C (setCursorIntern): move the x_target update here *
4682 * text3.C: change some bv() to true/false in calls to
4683 cursorUp/Down/Right/Left
4684 * cursor.C: use helper function.
4686 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4688 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4689 * paragraph_funcs.[Ch]: correct comment
4690 * rowpainter.C: do not paint selections away from bv->cursor()
4691 Fix a long standing selection painting bug.
4692 * text3.C: generalize mouse-selection code to LyXTexts other that
4694 * textcursor.C: do not use y coords if we can use par offsets
4696 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4698 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4699 cursor position after e.g. inset insert)
4701 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4703 * lyxfind.C (replace): adjust to locking removal + some
4706 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4708 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4711 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4714 * output_docbook.C: XML sanitation: new layout
4715 parameters InnerTag and CommandDepth
4717 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4719 * BufferView_pimpl.C:
4721 * text3.C: Fix the insertion and modification of button-style
4724 2003-11-13 André Pönitz <poenitz@gmx.net>
4726 * InsetList.[Ch]: remove deleteLyXText
4728 * paragraph.[Ch]: cache beginOfBody position
4733 * text3.C: remove superfluous update() calls
4737 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4739 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4740 * BufferView.C (fitLockedInsetCursor): remove
4741 * cursor.[Ch] (getDim): add
4742 * text.C (getRowNearY): add faster version
4743 * text3.C: remove some update calls
4745 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4757 * text3.C: The Character Style /XML short element patch.
4759 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4762 * factory.C: Small step to solving 'unable to insert some insets'
4765 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4767 * cursor.[Ch] (updatePos): new function for updating the y
4768 position of the tip inset
4769 * bufferview_funcs.C (put_selection_at):
4770 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4772 2003-11-11 André Pönitz <poenitz@gmx.net>
4774 * text.C: remove big comment on invalid Paragraph pointers as it is
4777 2003-11-11 André Pönitz <poenitz@gmx.net>
4779 * text_funcs.[Ch]: merge with ...
4787 * Makefile.am: remove text_funcs.[Ch]
4789 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4791 * cursor.C (getPos): return absolute cached y coord
4793 * BufferView_pimpl.C (fitCursor): new simplistic code
4794 (workAreaDispatch): add a fitCursor call
4796 2003-11-10 André Pönitz <poenitz@gmx.net>
4799 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4801 2003-11-10 André Pönitz <poenitz@gmx.net>
4803 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4804 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4805 indicate that the cursor needs to leave an inset
4807 * lyxtext.h: remove inset locking
4809 * cursor.[Ch]: re-implement functionality provided by inset locking
4812 * BufferView_pimpl.[Ch]:
4814 * bufferview_funcs.[Ch]:
4826 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4828 * PosIterator.[Ch]: replace the stack with a vector, add inset
4830 * iterators.[C]: adjust
4832 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4834 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4836 * paragraph_funcs.C (readParToken): put the correct id in the
4837 error item, not the id of the top paragraph
4839 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4841 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4842 * bufferview_funcs.C (put_selection_at): use the above
4844 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4846 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4848 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4850 * output_linuxdoc.h:
4851 * output_plaintext.h:
4853 * output_docbook.h: add #include statements
4855 2003-11-05 José Matos <jamatos@lyx.org>
4857 * output_docbook.[Ch]:
4858 * output_latex.[Ch]:
4859 * output_linuxdoc.[Ch]:
4860 * output_plaintext.[Ch]: New files for output formats.
4861 * output.[Ch]: New file for helper functions.
4864 * paragraph_funcs.[Ch]: output functions moved to new files.
4866 * outputparams.h: rename of latexrunparams.h
4874 * paragraph_funcs.[Ch]:
4875 * paragraph_pimpl.[Ch]:
4876 * tabular.[Ch]: rename ascii to plaintext
4877 and LatexRunParams to OutputParams.
4879 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4881 * iterators.[Ch] (text): require bv argument
4882 * undo.C (recordUndo):
4883 * lyxfunc.C (dispatch):
4884 * bufferview_funcs.C (put_selection_at): adjust
4886 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4888 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4890 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4892 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4895 2003-11-04 André Pönitz <poenitz@gmx.net>
4897 * cursor.[Ch]: restructure
4900 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4902 * iterators.[Ch] (asCursor): remove
4904 * lfuns.h: remove LFUN_INSET_EDIT
4910 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4912 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4914 * lyxfind.[Ch]: complete overhaul
4915 * BufferView_pimpl.C:
4917 * paragraph.[Ch] (insert): add
4919 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4923 * text.C: remove dead spellcheck code
4925 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4927 * dispatchresult.h: add a val setter
4929 * cursor.C (dispatch): use a tempvar for data_[i]
4931 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4933 * PosIterator.[Ch]: compile fix
4935 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4937 * text.C (cursorPar): deactivate the cursor cache
4939 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4941 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4943 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4945 * text3.C (dispatch): adjust for new DisptchResult semantics.
4947 * lyxfunc.C (dispatch): handle update when return from
4948 Cursor::dispatch, adjust for new DispatchResult semantics.
4950 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4951 DispatchResult(true) mean to not update. Add class functions for
4952 setting dispatched and update, as well as reading.
4954 * cursor.C (dispatch): don't handle update here
4956 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4958 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4959 * trans_mgr.C: adjust
4961 * paragraph_funcs.C (readParToken): exception safety
4963 * lyxvc.h: store the vcs pointer in a scoped_ptr
4966 * lyxsocket.C (serverCallback): exception safety
4968 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4970 * ispell.C (clone): make it return a auto_ptr
4972 * factory.C (createInset): exception safety
4973 (readInset): exception safety
4975 * bufferlist.C (newBuffer): exception safety
4977 * Thesaurus.C (Thesaurus): use initialization for aik_
4979 * MenuBackend.C (expandToc): exception safety.
4981 2003-11-03 André Pönitz <poenitz@gmx.net>
4985 * bufferview_funcs.C: remove getInsetFromId()
4988 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4994 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4996 * PosIterator.C (distance, advance): new
4997 * bufferview_funcs.[Ch] (put_selection_at): new
4998 * iterators.[Ch] (lockPath): new
5000 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
5002 * iterators.[Ch] (asPosIterator): added
5003 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5004 * PosIterator.[Ch]: added
5006 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5010 * cursor.C (dispatch):
5011 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5013 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5014 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5015 contructor, add a class function dispatched. Remove operator>=
5017 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5019 * debug.C: only use the default constructor for debugstream
5022 * main.C (main): include debug.h and setup the lyxerr streambuf
5025 2003-10-31 José Matos <jamatos@lyx.org>
5027 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5029 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5030 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5031 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5032 * paragraph_pimpl.C (simpleTeXSpecialC):
5033 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5034 add LatexRunParams argument.
5036 * exporter.C (Export): change call accordingly.
5038 * latexrunparams.h: add new member to take care of the other backends.
5039 2003-10-30 José Matos <jamatos@lyx.org>
5041 * buffer.C (makeLinuxDocFile, makeDocBookFile):
5042 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5043 factorise code for paragraph output.
5045 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5048 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5050 * text3.C (dispatch):
5051 * lyxfunc.C (dispatch):
5052 * cursor.C (dispatch):
5053 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5055 * dispatchresult.h: make the dispatch_result_t ctor explicit
5057 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
5060 * buffer.C: small refactoring of docbook stuff
5062 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5064 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5067 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5069 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5070 operator dispatch_result_t, and operators for == != and >=
5072 * cursor.C (dispatch): adjust for operator dispatch_result_t
5073 removal. comment out call to update
5075 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5077 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5085 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5088 * dispatchresult.h: new file, DispatchResult broken out of
5091 * Makefile.am (lyx_SOURCES): add dispatchresult.h
5093 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5095 * text.C (rowBreakPoint): put a hack inside #if 0
5097 2003-10-28 André Pönitz <poenitz@gmx.net>
5101 * paragraph_funcs.C:
5104 * text2.C: general cleanup (lots of small stuff)
5106 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5108 * text2.C (cursorEnd): simple fix to the "end key goes to one
5109 before the end on last row" bug
5111 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5113 * text.C (backspace): fix the "zombie characters"
5115 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5117 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5119 2003-10-27 André Pönitz <poenitz@gmx.net>
5121 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5123 * factory.C: handle new InsetPagebreak, InsetLine
5125 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5126 and move handling into new InsetPagebreak, InsetLine
5128 * BufferView_pimpl.C:
5130 * ParagraphParameters.C:
5131 * ParameterStruct.h:
5136 * paragraph_funcs.C:
5137 * paragraph_pimpl.C:
5143 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5146 * lyxrow_funcs.[Ch]:
5152 * text3.C: remove lastPos uses in favour of Row::endpos
5154 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5156 * undo.C (performUndoOrRedo): fix two crashes by setting a
5157 cursor by hand and reordering some calls. Use bv->lockInset instead
5158 of inset->edit because the latter loses cursor information
5160 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5162 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5164 (rowBreakPoint): fix width. change point to point + 1.
5165 Add a missing check.
5167 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5170 * lyxfunc.C: fix (at least partly) the problems
5171 with the Nav menu and headers inside branch insets
5174 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5176 * paragraph.C (getChar): add strong asserts
5178 * lyxrow_funcs.C (lastPos): remove hideous hack
5180 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5181 (fill): adjust to that (avoid an infinite loop)
5183 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5185 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5187 2003-10-23 André Pönitz <poenitz@gmx.net>
5189 * RowList_fwd.h: change list<> to vector<> to gain speed
5190 after suggestion from Alfredo
5192 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5194 * lyxtext.h: move the bidi stuff from here...
5197 * Bidi.[Ch]: ... to here
5199 2003-10-23 André Pönitz <poenitz@gmx.net>
5202 * text.C (isLastRow, isFirstRow): new functions
5204 * paragraph.h: new width cache member
5206 * rowpainter.C: replace RowList::iterator with Row & where possible
5208 * lyxfunc.C: replace several view()->text with a single call
5210 * toc.C: fix 'unused' warning
5212 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5214 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5215 when woring with stream::pos_type
5216 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5218 2003-10-22 André Pönitz <poenitz@gmx.net>
5221 * text.C: use Row & instead of RowList::iterator
5223 * lyxrow.h: rename end() to endpos()
5229 2003-10-22 Angus Leeming <leeming@lyx.org>
5231 * buffer.[Ch] (fully_loaded): new member function, returning true
5232 only when the file has been loaded fully.
5233 Used to prevent the premature generation of previews and by the
5234 citation inset to prevent computation of the natbib-style label.
5236 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5237 templates are all set up.
5239 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5241 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5243 * text.C: fixed an "oops" in the "is a bit silly"
5246 2003-10-21 André Pönitz <poenitz@gmx.net>
5248 * FuncStatus.[Ch]: small stuff, whitespace
5250 * lyxfont.[Ch]: operator<<() for debug reasons
5254 * lyxtext.h: whitespace, spelling
5256 * paragraph.C: naming of variables
5259 * text2.C: small stuff
5262 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5264 * text.C: (1) finish off the inset display() work;
5265 (2) fix the "is a bit silly" bug (accessing char
5268 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5270 * text.C: re-introduce display() for insets, fixing the
5271 various bugs (stretch of line above, math inset
5274 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5276 * text.C (rightMargin): remove spurious semicolon
5278 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5281 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5283 * text3.C: fix one crash due to wrong cursor def
5285 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5287 * vc-backend.C (scanMaster): make the regex static
5289 * LaTeX.C (scanAuxFile): make the regexs static
5291 * text3.C (doInsertInset, dispatch, dispatch):
5292 * text2.C (cursorUp, cursorDown):
5293 * text.C (selectNextWordToSpellcheck):
5294 * BufferView_pimpl.C (dispatch):
5295 * lyxfunc.C (dispatch): localDispatch -> dispatch
5297 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5299 * lyxsocket.C: include <cerrno>
5301 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5303 * lyxfunc.C (dispatch): remove textcache stuff
5305 * bufferlist.C (release): remove textcache stuff
5308 * TextCache.C: delete file
5309 * TextCache.h: delete file
5311 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5313 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5314 delete of the bv_->text.
5315 (resizeCurrentBuffer): remove texcache stuff
5316 (workAreaResize): ditto
5318 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5320 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5323 2003-10-16 André Pönitz <poenitz@gmx.net>
5330 * text3.C: speed up by storing y positions per paragraph plus per-row
5331 offset instead of having a 'full' y position in the row.
5333 2003-10-15 André Pönitz <poenitz@gmx.net>
5337 * undo.[Ch]: make undo aware of inner insets
5339 2003-10-14 Angus Leeming <leeming@lyx.org>
5341 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5342 static member functions LyX::ref() and LyX::cref.
5343 (lastfiles): new accessor functions for the new lastfiles_ member var.
5344 (addLyXView, views_): add a new LyXView to the list of views_.
5345 (updateInset): loop over all LyXViews to call their own updateInset
5346 member function, returning a pointer to the Buffer owning the inset.
5348 * BufferView_pimpl.C (loadLyXFile):
5349 * MenuBackend.C (expandLastfiles):
5350 * bufferlist.C (MenuWrite, QuitLyX):
5351 lastfiles is no longer a global variable.
5352 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5354 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5355 static function. Access through LyX::cref().emergencyCleanup().
5357 2003-10-14 André Pönitz <poenitz@gmx.net>
5359 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5361 * undo.[Ch]: restoring part of 'undo in insets'
5364 * undo_funcs.[Ch]: merge with undo.[Ch]
5366 * tabular.C: small cleansing stuff
5368 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5370 * paragraph_funcs.C (readParToken): report unknown insets as error
5371 boxes. Use the outer paragraph as location (also for unknown
5374 * factory.C (readInset): do not abort on reading an unknown inset.
5375 Eat it and return 0.
5377 2003-10-13 Angus Leeming <leeming@lyx.org>
5379 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5381 * lyxrc.C: displayTranslator is now a function,
5382 declared in GraphicsTypes.h.
5384 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5386 * format.C: new placeholder $$a to pass the socket address.
5388 * bufferlist.[Ch]: new function getBufferFromTmp.
5390 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5391 files in the temporary dir.
5393 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5395 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5397 * Makefile.am: add lyxsocket.[Ch].
5399 * lyx_main.C (error_handler): handle SIGPIPE.
5401 2003-10-13 André Pönitz <poenitz@gmx.net>
5403 * BufferView_pimpl.C:
5408 * undo_funcs.[Ch]: use paroffset_type instead of
5409 ParagraphList::iterators to prevent multiple conversion
5410 (and get a more robust interface)
5412 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5414 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5416 * text3.C (dispatch): ditto
5418 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5420 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5421 move the onlyfile, use onlyfile instead of foundfile in a couple
5424 * DepTable.C (update): flush the error stream a bit more
5426 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5428 * lyxserver.C (callback): adjust
5430 * lyxfunc.C (getStatus): add a missing brace in commented code
5431 (ensureBufferClean): reindent
5432 (dispatch): delete version taking a string
5434 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5436 * LaTeX.C (deplog): move found file handlig from here...
5437 (handleFoundFile): .. to new function here.
5438 (deplog): make sure to discover several files mentioned on the
5441 2003-10-10 André Pönitz <poenitz@gmx.net>
5448 * text3.C: fix some of the tabular crashes
5450 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5452 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5454 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5456 2003-10-09 André Pönitz <poenitz@gmx.net>
5458 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5461 * BufferView_pimpl.C:
5462 * bufferview_funcs.C:
5473 * undo_funcs.C: adjust
5475 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5477 * text2.C (incrementItemDepth): new function, use a backtracking
5478 algorithm to discover the correct item depth.
5479 (resetEnumCounterIfNeeded): new function, use a backtracking
5480 algorithm to discover if counter reset is needed.
5481 (setCounter): use them. Simplify a bit. Add different labels for
5482 different item depths for itemize.
5484 * paragraph.C (Paragraph): remove initialization of enumdepth
5487 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5488 enumerate and itemize. Change the type of itemdepth to signed char.
5490 2003-10-08 André Pönitz <poenitz@gmx.net>
5492 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5497 * tabular.[Ch]: fix crash after 'row-insert'
5499 2003-10-08 Angus Leeming <leeming@lyx.org>
5501 Fix doxygen warnings.
5503 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5504 Remove CutAndPaste:: prefix from header file declaration.
5506 * LColor.h (fill): remove LColor:: prefix from declaration.
5508 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5509 use lyx::depth_type rather than Paragraph::depth_type so that
5510 header file and .C file match.
5512 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5514 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5515 * aspell.C: \file aspell_local.C -> \file aspell.C
5516 * gettext.C: \file gettext.C -> \file src/gettext.C
5517 * gettext.h: \file gettext.h -> \file src/gettext.h
5518 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5519 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5520 * text.C: \file text.C -> \file src/text.C
5522 * toc.C: move comment so that doxygen is not confused.
5524 2003-10-07 Angus Leeming <leeming@lyx.org>
5526 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5528 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5531 * aspell_local.h: add forgotten std::string's.
5533 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5540 * text3.C: The Box patch. Fancybox support, minipage, parbox
5542 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5548 * ParagraphParameters.h:
5558 * lyxtextclasslist.h:
5561 * paragraph_pimpl.C:
5562 * textcursor.h: add <string> and other small fixes to make Lars'
5563 std::string patch compile with STLport.
5565 2003-10-06 Angus Leeming <leeming@lyx.org>
5567 * LColor.h: Add missing #include <string>.
5569 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5571 * All most all file in all subdirs: Make <string> be the prefered
5572 way of getting to std::string, add using declarations.
5574 2003-10-06 André Pönitz <poenitz@gmx.net>
5576 * metricsinfo.C: initialize LyXFont before changing attribute.
5577 (fixes the 'math in \emph is upright' bug)
5579 2003-10-06 André Pönitz <poenitz@gmx.net>
5581 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5583 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5586 * paragraph_pimpl.C: Small fixes to build using STLport
5588 2003-10-02 André Pönitz <poenitz@gmx.net>
5591 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5593 2003-10-01 André Pönitz <poenitz@gmx.net>
5595 * factory.C: assert early
5597 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5599 * lyx_main.C: remove the global debug object
5601 * debug.h: adjust for new debugstream
5603 * debug.C: adjust for new debugstream and keep the global debug
5606 2003-09-22 Angus Leeming <leeming@lyx.org>
5608 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5609 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5610 an incomplete class LyXFont.
5612 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5614 * factory.C: bug fix in branches
5616 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5618 * lyxfunc.C (processKeySym): adjust
5620 (dispatch): change arg name from ev to func, adjust
5621 (sendDispatchMessage): ditto
5623 * lyx_main.C (defaultKeyBindings): adjust keybindings
5624 (deadKeyBindings): ditto
5626 * kbsequence.C (addkey): return a FuncRequest
5628 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5630 * kbmap.C (bind): take a FuncRequest as arg, adjust
5633 (defkey): change to take a FuncRequest as arg, adjust
5634 (findbinding): take a FuncRequest as arg, adjust.
5636 * funcrequest.h (operator=): added
5638 * funcrequest.C (FuncRequest): default kb_action changed from
5639 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5641 * buffer.C (dispatch): simplify
5642 (dispatch): adjust to take a FuncRequest as arg, adjust
5644 * boost.C (assertion_failed): change assertion message slightly
5646 * ToolbarBackend.C (read): simplify
5648 * MenuBackend.C (binding): adjust call to findbinding, add a
5649 message if no binding is found.
5651 (expandToc): correct by adding a empty FuncRequest
5653 * LyXAction.C: include <boost/assert.hpp>
5654 (isPseudoAction): delete function
5655 (LookupFunc): change name to...
5656 (lookupFunc): this. change return type to FuncRequest.
5657 (getActionName): take kb_action as arg, simplify
5658 (funcHasFlag): add an assert, simplify.
5660 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5662 * toc.C (action): return a FuncRequest, simplify
5664 * lyxfunc.C (processKeySym): adjust
5665 (getStatus): delete version that takes an int.
5667 (dispatch): delete version that takes action as int
5669 (sendDispatchMessage): simplify and adjust
5671 * funcrequest.C (getArg): take unsigned int as arg
5673 * ToolbarBackend.C (read): adjust
5674 (add): delete version that takes func as a string.
5675 (getIton): take a FuncRequest as arg
5677 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5680 * MenuBackend.C (MenuItem): add a new construct that only takes a
5681 Kind, simplify the constructor use for submenus.
5683 (expandLastfiles): adjust
5684 (expandDocuments): adjust
5685 (expandFormats): adjust
5686 (expandFloatListInsert): adjust
5687 (expandFloatInsert): adjust
5688 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5690 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5691 Remove class variables lyx_pseudo_map and lyx_arg_map
5693 * LyXAction.C (searchActionArg): delete function
5694 (getPseudoAction): delete function
5695 (retrieveActionArg): delete function
5696 (LookupFunc): make it return kb_action, simplify.
5697 (getActionName): simplify
5699 * factory.C (createInset): fix new bug
5701 2003-09-19 Angus Leeming <leeming@lyx.org>
5703 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5704 masterFilename_ parameter in the include inset.
5706 * factory.C (createInset): changes due to the changes to InsetInclude.
5708 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5710 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5712 2003-09-18 Angus Leeming <leeming@lyx.org>
5715 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5716 Inset::fillWithBibKeys.
5717 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5719 2003-09-18 Angus Leeming <leeming@lyx.org>
5721 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5723 (ctor): pass and store a 'Buffer const &'
5724 (buffer): new member function.
5726 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5727 '*this' to the LaTeXFeatures ctor.
5729 2003-09-18 Angus Leeming <leeming@lyx.org>
5735 * text.C: rename EnumLColor as LColor_color.
5737 2003-09-18 Angus Leeming <leeming@lyx.org>
5739 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5740 remove #include "insets/insetbase.h" from cursor.h.
5742 2003-09-18 Angus Leeming <leeming@lyx.org>
5744 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5745 InsetOld_code to remove #include "inset.h".
5747 * iterators.C: add #include "insets/inset.h"
5749 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5751 * BufferView.C: remove more locking stuff that apparently doesn't
5752 do anything sensible.
5754 2003-09-16 André Pönitz <poenitz@gmx.net>
5757 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5760 2003-09-16 Angus Leeming <leeming@lyx.org>
5762 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5764 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5767 * paragraph.h: remove #include "lyxfont.h". Forward declare
5770 2003-09-16 Angus Leeming <leeming@lyx.org>
5772 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5773 of support/textutils.h.
5774 (isWord): move the contents of support/textutils.h's IsWordChar here.
5780 * text2.C: add #include "paragraph.h".
5783 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5785 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5791 * LaTeX.C: use namespace alias for lyx::support::os
5793 2003-09-16 Angus Leeming <leeming@lyx.org>
5796 * bufferview_funcs.C:
5799 * paragraph_pimpl.C:
5801 * text.C: add #include "LColor.h".
5803 2003-09-16 Angus Leeming <leeming@lyx.org>
5805 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5806 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5808 Store the FontBits::color variable as an int rather than as an
5809 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5812 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5813 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5814 string calls together.
5816 * lyxrc.C: add #include "LColor.h".
5818 2003-09-15 Angus Leeming <leeming@lyx.org>
5820 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5823 2003-09-15 Angus Leeming <leeming@lyx.org>
5825 * LColor.h: add an EnumLColor wrapper for LColor::color.
5827 * lyxfont.[Ch] (color, setColor, realColor):
5828 * lyxtext.h, text.C (backgroundColor):
5829 pass EnumLColor args to/from the functions, rather than LColor::color
5833 * lyxtext.h: forward declare EnumLColor.
5835 * lyx_main.C: add #include "LColor.h".
5837 2003-09-15 Angus Leeming <leeming@lyx.org>
5839 * .cvsignore: add lyx-gtk.
5841 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5846 * ParagraphParameters.C
5850 * bufferview_funcs.C
5860 * vc-backend.C: remove usage of STRCONV
5862 2003-09-15 Angus Leeming <leeming@lyx.org>
5864 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5865 explicitly define the color passed to the painter.
5867 2003-09-15 Angus Leeming <leeming@lyx.org>
5869 * bufferparams.C (BufferParams): reorder member initializers to avoid
5872 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5874 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5875 * text.C (updateRowPositions): remove an unusual nop
5877 2003-09-12 André Pönitz <poenitz@gmx.net>
5879 * BufferView_pimpl.C:
5888 * Counters.[Ch]: finish the 'automatic counters' job
5890 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5892 * aspell.C: include <boost/assert.cpp> (compile fix)
5894 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5896 * boost.C (assertion_failed): use lyx::support::abort instead of
5899 2003-09-10 Angus Leeming <leeming@lyx.org>
5901 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5902 with their _fwd progeny.
5904 2003-09-09 Angus Leeming <leeming@lyx.org>
5906 134 files throughtout the source tree: replace 'using namespace abc;'
5907 directives with the appropriate 'using abc::xyz;' declarations.
5909 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5911 * boost.C (emergencyCleanup): moved here from LAssert.c
5912 (assertion_failed): new function, called by BOOST_ASSERT
5914 * several files: change Assert to BOOST_ASSERT
5916 2003-09-09 Angus Leeming <leeming@lyx.org>
5918 * buffer.[Ch]: Add an Impl class and move Buffer's member
5919 variables into it. As a result move several header files out of
5922 Add header files to lots of .C files all over the tree as a result.
5924 2003-09-09 Angus Leeming <leeming@lyx.org>
5926 * buffer.[Ch]: make Buffer's member variables private. Add
5929 Lots of changes all over the tree as a result.
5931 2003-09-08 Angus Leeming <leeming@lyx.org>
5933 * graph.C: #include <config.h>.
5935 2003-09-08 Angus Leeming <leeming@lyx.org>
5939 * BufferView_pimpl.C:
5968 * toc.C: remove redundant using directives.
5970 2003-09-07 Angus Leeming <leeming@lyx.org>
5972 * LaTeXFeatures.h: remove #include "support/types.h".
5973 * ToolbarBackend.h: remove #include <algorithm>.
5974 * changes.h: remove #include <ctime>.
5975 * debug.h: remove #include <iosfwd>.
5976 * graph.h: remove #include "support/std_string.h".
5977 * lyx_main.h: remove #include <csignal>.
5978 * lyxlex_pimpl.h: remove #include <fstream>.
5979 * sgml.h: remove #include <algorithm>, <utility>.
5980 * toc.h: remove #include "support/std_ostream.h".
5981 Add #include <iosfwd>.
5983 2003-09-07 Angus Leeming <leeming@lyx.org>
5985 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5987 * converter.h: forward declare LatexRunParams.
5988 * encoding.h: remove #include "lyxrc.h".
5989 * lyxtext.h: remove #include "LColor.h".
5990 * lyxtextclass.h: remove #include "support/types.h".
5991 * trans.h: remove #include "tex-accent.h".
5992 * trans_mgr.h: remove #include "tex-accent.h".
5993 * insets/inset.h: remove #include "support/types.h", <vector>.
5994 * insets/insetcollapsable.h: remove #include "LColor.h".
5995 * insets/insetinclude.h: remove #include "dimension.h".
5996 * insets/insetlatexaccent.h: remove #include "dimension.h".
5997 * insets/insetoptarg.h:: remove #include "insettext.h".
5998 * insets/insettext.h: remove #include "dimension.h",
5999 <boost/shared_ptr.hpp>
6001 * insets/renderers.h: add #include "dimension.h".
6002 * insets/updatableinset.h: add #include "support/types.h".
6004 * many .C files: Associated changes.
6006 2003-09-06 Angus Leeming <leeming@lyx.org>
6008 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6009 one, inside testInvariant.
6011 * PrinterParams.C: new file.
6012 * PrinterParams.[Ch]: move the function bodies out of line.
6014 2003-09-06 Angus Leeming <leeming@lyx.org>
6016 * ParagraphParameters.h: forward declare ParameterStruct rather than
6017 including its header file.
6018 (depth): moved out-of-line.
6020 2003-09-06 Angus Leeming <leeming@lyx.org>
6022 * BufferView_pimpl.h:
6025 * lyxfunc.h: forward declare LyXKeySym rather than
6026 #include "frontends/LyXKeySym.h".
6028 * BufferView_pimpl.C:
6031 * lyxfunc.C: associated changes.
6033 2003-09-06 Angus Leeming <leeming@lyx.org>
6035 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6036 As a result, can remove the #include "insets/inset.h" from BufferView.h
6038 2003-09-06 Angus Leeming <leeming@lyx.org>
6040 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6041 As a result, can remove the #include "insets/inset.h" from BufferView.h
6043 2003-09-06 Angus Leeming <leeming@lyx.org>
6049 * bufferview_funcs.C:
6050 * BufferView_pimpl.C:
6055 * ParagraphParameters.C:
6060 * frontends/controllers/ControlDocument.C:
6061 * insets/insetcaption.C: rearrange the #includes into some sort of
6064 * buffer.h: remove #includes ErrorList.h, undo.h
6066 2003-09-06 Angus Leeming <leeming@lyx.org>
6068 * support/types.h: add a 'depth_type' typedef, used to store the
6069 nesting depth of a paragraph.
6072 * ParameterStruct.h: use this lyx::depth_type typedef rather than
6073 defining explicitly.
6076 * paragraph_funcs.h:
6077 * ParagraphParameters.h:
6078 * sgml.h: use lyx::depth_type rather than Paragraph or
6079 ParameterStruct's depth_type.
6082 * paragraph_funcs.h: no need to #include paragraph.h anymore.
6085 * BufferView_pimpl.C:
6087 * ParagraphParameters.C:
6090 * bufferview_funcs.C:
6097 * frontends/LyXView.C:
6098 * frontends/controllers/ControlDocument.C:
6099 * frontends/controllers/ControlErrorList.C:
6100 * insets/insetbibitem.C:
6101 * insets/insetbranch.C:
6102 * insets/insetcaption.C:
6103 * insets/insetcollapsable.C:
6104 * insets/insetenv.C:
6105 * insets/insetert.C:
6106 * insets/insetfloat.C:
6107 * insets/insetfoot.C:
6108 * insets/insetfootlike.C:
6109 * insets/insetnewline.C:
6110 * insets/insetquotes.C:
6111 * insets/insettabular.C:
6112 * insets/insettext.C:
6113 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6115 * frontends/controllers/ControlChanges.C: #include "changes.h".
6117 2003-09-06 Angus Leeming <leeming@lyx.org>
6119 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6120 than #including paragraph.h.
6123 * RowList.h: deleted. Superfluous.
6133 * insets/insettext.h: use ParagraphList_fwd.h rather than
6136 * paragraph.h: don't forward declare ParagraphList.
6139 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6140 rather than ParagraphList.h. paragraph.h is still needed for the
6141 Paragraph::depth_type parameters.
6143 * textcursor.h: enable it to compile stand-alone in light of the
6146 * bufferview_funcs.C:
6158 * frontends/controllers/ControlParagraph.C:
6159 * frontends/controllers/ControlTabular.C:
6160 * insets/insetmarginal.C:
6161 * insets/insetminipage.C:
6162 * insets/insetnote.C:
6163 * insets/insetoptarg.C: add header files needed to compile again.
6165 2003-09-06 Angus Leeming <leeming@lyx.org>
6167 * RowList_fwd.h: new file, forward-declaring Row rather than
6168 #including lyxrow.h.
6173 * insets/insettext.h: use it instead of RowList.h
6175 * bufferview_funcs.C:
6182 * text3.C: #include "RowList.h".
6184 2003-09-05 Angus Leeming <leeming@lyx.org>
6186 * factory.C (createInset):
6187 * vspace.C (c-tor): replace sscanf call with an istringstream.
6188 * ispell.C: re-add missing HP/UX headers.
6189 * lyxserver.C: re-add missing os2 headers.
6191 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6200 * text3.C: re-add missing system headers, needed for 2.95.2.
6202 2003-09-05 Angus Leeming <leeming@lyx.org>
6204 Changes most place everywhere due to the removal of using directives
6205 from support/std_sstream.h.
6207 2003-09-05 Angus Leeming <leeming@lyx.org>
6209 Replace LString.h with support/std_string.h,
6210 Lsstream.h with support/std_sstream.h,
6211 support/LIstream.h with support/std_istream.h,
6212 support/LOstream.h with support/std_ostream.h.
6214 Changes resulting throughout the tree.
6216 2003-09-05 Angus Leeming <leeming@lyx.org>
6218 * sgml.h: ensure that the header file can be compiled stand-alone.
6219 * *.C: strip out redundant #includes. (320 in total.)
6221 2003-09-04 Angus Leeming <leeming@lyx.org>
6223 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6224 here (from getPackages).
6226 * debug.[Ch]: add a new EXTERNAL tag.
6228 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6230 * text2.C (cursorEnd): simplify
6232 (getColumnNearX): adjust
6234 * text.C (computeBidiTables): adjust
6237 * rowpainter.C (paintChars): adjust
6238 (paintSelection): adjust
6239 (paintChangeBar): adjust
6242 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6244 (numberOfSeparators): adjust
6246 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6252 * text3.C: Restricts the mouse click functionality
6253 of insets like bibtex, include, toc and floatlist to the visible
6254 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6255 up the dialogs. Cursor has to be in front of the inset (i.e.
6256 start of row) for this to function.
6258 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6260 * bufferview_funcs.C (currentState): output row information
6262 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6264 * bufferview_funcs.C (currentState): output paragraph position
6266 2003-09-04 Angus Leeming <leeming@lyx.org>
6268 * FloatList.h: move out #include "Floating.h".
6269 * LaTeX.h: move out #include "DepTable.h".
6270 * LyXAction.h: move out #include "funcrequest.h".
6271 * buffer.h: move out #include "author.h", "iterators.h".
6272 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6273 * lyx_main.h: move out #include "errorlist.h".
6274 * lyxfunc.h: move out #include "FuncStatus.h".
6275 * lyxtext: move out #include "lyxcursor.h".
6276 * paragraph_pimpl.h: move out #include "counters.h".
6278 2003-09-03 Angus Leeming <leeming@lyx.org>
6280 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6281 preamble_snippets list, enabling us to add snippets to the preamble
6282 only if the snippet was not there already.
6284 2003-09-04 Angus Leeming <leeming@lyx.org>
6286 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6288 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6290 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6293 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6295 * BranchList.C: point fix, earlier forgotten
6297 2003-09-02 Angus Leeming <leeming@lyx.org>
6299 * box.C (contains): renamed from 'contained' after a fantastic
6302 2003-09-02 John Levon <levon@movementarian.org>
6308 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6310 2003-09-02 John Levon <levon@movementarian.org>
6312 * text2.C: simplification of cursorEnd(), including partial
6315 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6317 * buffer.C (readFile): add a space
6319 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6321 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6323 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6325 * buffer.C (readFile): new function, take a filename and a
6326 ParagraphList::iterator
6328 (readFile): adjust, make it private. don't use setStream, make
6329 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6330 always contain the filename.
6332 * BufferView.C (insertLyXFile): simplify and make it work for
6335 2003-08-30 John Levon <levon@movementarian.org>
6337 * Makefile.am: fix dist (from Kayvan)
6339 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6341 * most files: change to use const Buffer refs
6343 2003-08-27 André Pönitz <poenitz@gmx.net>
6345 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6346 on top of ownerPar().
6348 2003-08-27 John Levon <levon@movementarian.org>
6350 * funcrequest.C: properly initialise POD members
6352 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6354 * lyxtext.h (top_y): move top_y from here
6359 * BufferView_pimpl.[Ch]: to here
6360 * frontends/screen.C:
6361 * insets/insettabular.C:
6362 * insets/insettext.C: adjust
6363 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6365 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6368 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6370 2003-08-26 André Pönitz <poenitz@gmx.net>
6372 * paragraph_func.[Ch] (outerPar): new function
6375 * paragraph_funcs.C:
6376 * paragraph_funcs.h:
6377 * paragraph_pimpl.C:
6378 * text2.C: remove Inset::par_owner
6380 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6385 * text2.C: eliminates the needFullRow/display() stuff
6386 altogether, putting the logic in metrics/draw in the insets.
6388 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6390 * text2.C (redoParagraphInternal, redoParagraphs):
6391 * text.C (redoParagraph): add a call to updateRowPositions at the
6392 end of each 'metrics-like' call. Remove all others.
6393 (getRow): remove the 'y-computing' version.
6394 (getRowNearY): do not compute nor return the real y. Solve the
6395 'y < 0' problem and simplify.
6397 2003-08-22 Angus Leeming <leeming@lyx.org>
6399 * *.[Ch]: clean-up of licence and author blurbs.
6400 Also move config.h out of a few .h files and into a few .C files.
6402 2003-08-22 André Pönitz <poenitz@gmx.net>
6404 * lyxrow.[Ch]: add x_ and *fill_ members
6409 * text2.C: adjust/remove prepareToPrint() calls
6411 2003-08-22 André Pönitz <poenitz@gmx.net>
6413 * lyxrow.[Ch]: add end_ member
6415 * lyxrow_funcs.C: use LyXRow::end_
6417 * lyxtext.h (singleWidth): add LyXFont parameter
6420 * text2.C: adjust LyXText::singleWidth() calls
6422 * text.C (redoParagraph): simplify row breaking logic
6425 2003-08-19 André Pönitz <poenitz@gmx.net>
6427 * funcrequest.C: initialize button_ member
6430 * rowpainter.[Ch]: interface consolidation
6432 2003-08-18 André Pönitz <poenitz@gmx.net>
6435 * BufferView_pimpl.C:
6437 * paragraph_funcs.C:
6439 * text3.C: remove LyXScreen::draw() and fitCursor calls
6441 * BranchList.h: remove spurious semicolons
6443 * MenuBackend.C: fix branchlist related crash
6445 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6453 * bufferparams.[Ch]:
6457 * text3.C: implements the 'branch inset'
6458 idea. This allows the output of various versions of a document
6459 from a single source version, selectively outputing or suppressing
6460 output of parts of the text.
6461 This implementation contains a 'branch list editor' in a separate
6462 tab of the document settings dialog. Branches are user definable
6463 and have a "display colour" to distinguish them on-screen.
6465 ColorHandler was somewhat cleaned up.
6466 (1) make possible a dynamically growing LColor list by allowing
6467 the graphic context cache to grow along (vector);
6468 (2) eliminate an IMHO unnecessary step in colour allocation.
6470 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6472 * BufferView_pimpl.C: compile fix
6474 2003-08-15 André Pönitz <poenitz@gmx.net>
6476 * rowpainter.C: remove extra metrics calls
6478 * lyxtext.h: merge the two constructors into a single one,
6479 pass reference to owner's par list
6481 * BufferView_pimpl.C:
6485 2003-08-15 André Pönitz <poenitz@gmx.net>
6487 * lyxrow_funcs.[Ch]:
6490 * paragraph_funcs.C:
6495 * text_funcs.C: split LyXText::rowlist_ into individual
6496 Paragraph::rows_ chunks
6499 * BufferView_pimpl.[Ch]:
6502 * text3.C: remove toggleSelection()
6504 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6506 * bufferlist.C: beautify two alerts (shorter text of buttons)
6507 * buffer.C: Remove redundant ' ' from message
6509 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6510 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6511 rename VALIGN_CENTER to VALIGN_MIDDLE
6513 2003-08-11 André Pönitz <poenitz@gmx.net>
6515 * lyxtext.h (getPar):
6516 * text.C: new function
6518 2003-08-11 André Pönitz <poenitz@gmx.net>
6521 * tracer.[Ch]: remove unneeded files
6523 * InsetList.[Ch]: remove resizeInsetsLyXText()
6528 * text3.C: merge insertParagraphs() and appendParagraph()
6529 remove breakAgain(), update()
6531 * BufferView_pimpl.[Ch]:
6532 * bufferview_funcs.[Ch]:
6536 * tabular.C: adjust after text & InsetList changes.
6538 2003-08-08 André Pönitz <poenitz@gmx.net>
6540 * text.C (insertChar, backspace): replace rowlist fiddling
6541 with rebreak of full par
6544 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6545 checkParagraph, updateInset): removed
6547 2003-08-07 André Pönitz <poenitz@gmx.net>
6550 * text3.C: merge some LFUN handlers, remove dead code
6552 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6554 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6556 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6558 * text2.C (DEPM): fix part of bug 1255 and 1256
6560 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6562 * BufferView_pimpl.C (workAreaDispatch): change to use
6563 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6564 that are no mouse related.
6566 2003-08-05 André Pönitz <poenitz@gmx.net>
6569 * BufferView_pimpl.[Ch]:
6570 * bufferview_funcs.C:
6572 * text3.C: rip out "deep update"
6574 * textcursor.[Ch] (last_sel_cursor): remove unused member
6576 2003-08-04 André Pönitz <poenitz@gmx.net>
6579 * BufferView_pimpl.[Ch]:
6580 * ParagraphParameters.C:
6581 * bufferview_funcs.C:
6587 * text3.C: replace "complicated" BufferView::update(...) calls with
6590 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6592 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6594 * Makefile.am (lyx_SOURCES): add paper.h
6596 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6598 * Makefile.am: move things around so that both lyx-qt and
6599 lyx-xforms can be built (according to --with-frontend). Then lyx
6600 is a symbolic link to lyx-[firstfrontend]
6602 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6604 * Always use std::endl with lyxerr
6606 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6608 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6610 2003-08-01 André Pönitz <poenitz@gmx.net>
6613 * BufferView_pimpl.[Ch]:
6615 * text3.C: merge BufferView::repaint() and BufferView::update()
6617 2003-08-01 José Matos <jamatos@lyx.org>
6619 * buffer.[Ch]: file_format is no longer a buffer data element.
6621 2003-08-01 André Pönitz <poenitz@gmx.net>
6626 * text2.C: make redoParagraph more independent of current cursor
6628 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6630 * text2.C: remove unneeded members
6632 2003-07-30 André Pönitz <poenitz@gmx.net>
6634 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6636 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6637 create a single function...
6639 * paragraph_funcs.C (moveItem): ... here.
6642 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6644 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6646 * LColor.[Ch]: Add comment and greyedout logical colors.
6648 2003-07-30 André Pönitz <poenitz@gmx.net>
6650 * tabular.C: don't use Assert too heavily. This crashes where it
6653 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6655 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6656 is disabled (bug 1232)
6658 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6660 * factory.C: limited 'arg' scope
6662 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6664 * factory.C: fixed Note submenu issues
6666 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6668 * factory.C: submenu for Note/Comment/Greyedout
6670 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6673 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6675 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6678 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6679 greyedout. Patch provided by Jürgen Spitzmüller.
6681 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6683 * kbmap.C (read): fix error message when reading bind files
6685 2003-07-29 Angus Leeming <leeming@lyx.org>
6687 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6688 certainly does not do what it purports to do. I am doing it, and
6689 us, a favour by killing it.
6691 2003-07-28 José Matos <jamatos@lyx.org>
6693 * buffer.C (readBody, do_writeFile):
6694 * paragraph.C(readParagraph): \end_document replaces \the_end.
6696 2003-07-29 André Pönitz <poenitz@gmx.net>
6699 * BufferView_pimpl.[Ch]:
6703 * textcursor.[Ch]: remove toggleToggle & Co
6705 2003-07-28 José Matos <jamatos@fep.up.pt>
6707 * buffer.C (readParagraph):
6708 * params_func (readParToken, readParagraph):
6709 * paragraph.C (write): \layout -> \begin_layout.
6711 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6713 * lyxlex_pimpl.C (setFile): clean up slightly.
6715 * bufferparams.h: add compressed var
6717 * buffer_funcs.C (readFile): adjust for LyXLex change
6718 (newFile): ditto + simplify
6720 * buffer.C (writeFile): handle writing of compressed files
6722 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6723 Check if the file is compressed and set a bufferparm if so.
6725 * Makefile.am (lyx_LDADD): remove explicit -lz
6727 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6729 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6730 makeDocBookFile): put the real LyX version in the first line of
6734 * version.C.in: remove lyx_docversion
6736 * tabular.C (write_attribute): add a template-based version to
6737 write enums properly
6739 2003-07-28 André Pönitz <poenitz@gmx.net>
6744 * text3.C: use doubles again for x-coordinates. They are needed.
6746 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6748 * messages.C (getLocaleDir): use lyx_localedir()
6750 * lyxlex_pimpl.C (setFile): compress stuff
6752 * buffer.C (writeFile): add some compression stuff
6753 (do_writeFile): new func, dont call expliti close... will this
6756 * Makefile.am (lyx_LDADD): add -lz
6758 2003-07-28 José Matos <jamatos@fep.up.pt>
6760 * buffer.C: increment file format.
6761 * paragraph_funcs (readParagraph, readParToken):
6762 * paragraph.C (readParagraph): add \end_layout.
6764 2003-07-27 Angus Leeming <leeming@lyx.org>
6766 * Makefile.am: remove special casing for configure-time setting of
6767 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6769 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6770 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6772 2003-07-26 André Pönitz <poenitz@gmx.net>
6774 * paragraph_func.[Ch]:
6775 * paragraph.C (realizeFont): inline it whereever it is used
6780 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6783 2003-07-26 André Pönitz <poenitz@gmx.net>
6787 * text2.C: get rid of LyXText::need_break_row
6789 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6791 * toc.[Ch]: put namespace toc inside namespace lyx
6793 * MenuBackend.C (expandToc2): adjust for lyx::toc
6796 * lyxfunc.C (dispatch): adjust for lyx::find
6798 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6799 lyx::find instead. Reorganize a bit.
6800 (LyXReplace): rename to replace
6801 (LyXFind): rename to find
6803 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6806 2003-07-26 André Pönitz <poenitz@gmx.net>
6808 * text.C (setHeightOfRow): restrict scope of temporary variable
6810 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6811 code (never has been used?)
6813 2003-07-27 Asger Alstrup <alstrup@local>
6815 * text.C (fill): Optimise algorithm to exploit that we can reuse
6816 the LyXFont for many characters.
6817 (setHeightOfRow): Same thing.
6818 (rowBreakPoint): Same thing.
6820 2003-07-26 Asger Alstrup <alstrup@local>
6822 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6824 * text.C (singleWidth): Spurious font copying in hot-spot
6825 singleWidth avoided. Reorder tests for arabic for efficiency.
6827 * text.C (fill): handle empty paragraphs better.
6829 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6832 * encoding.h: add includes
6834 * lyxrc.C: remove reading of bind files
6836 * lyx_main.C (init): setup bindings and menus only if we have a
6839 * kbmap.C (read): new method. Do the actual reading of bind
6842 * converter.C (dvipdfm_options):
6845 (output): adapt PAPER_* enums.
6847 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6849 * bufferparams.h: remove paper-related enums from there
6851 * paper.h: New file. A trivial header file to hold paper-related
6852 enums. It should later expand to contain many paper-related
6855 * lyxrc.C: declare extern displayTranslator
6857 2003-07-27 José Matos <jamatos@fep.up.pt>
6859 * tabular.[Ch] (linuxdoc): add support for tables and figures
6862 2003-07-27 José Matos <jamatos@fep.up.pt>
6864 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6865 consistency in both functions.
6866 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6868 2003-07-26 Asger Alstrup <alstrup@local>
6870 * rowpainter.C (paintRows): Change algorithm to work directly on
6871 the insets rather than asking every character in the document
6872 whether its an inset.
6874 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6876 * buffer.C (openFileWrite): factorize some code
6878 2003-07-26 Angus Leeming <leeming@lyx.org>
6881 * lyx_main.[Ch]: replace occurances of system_tempdir with
6884 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6886 * rename Inset to InsetOld
6888 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6890 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6891 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6892 which I think is a bit clearer. EDIT is gone, since it was
6893 premature optimisation, and broken for mathed anyway.
6894 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6895 with cursor positioning in insets as well (math insets still do not
6896 work, but that's a different story anyway.) It mysteriously
6897 crashes sometimes with undo in the first paragraph, but I'm fairly
6898 confident that this is a compiler bug.
6900 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6902 * paragraph.C (Paragraph): adjust for new clone return type
6904 (copyIntoMinibuffer): ditto
6906 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6908 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6909 by not having a special case, and always doing a full rebreak of
6910 the document after undo.
6912 2003-07-23 Angus Leeming <leeming@lyx.org>
6914 * factory.C (createInset): InsetExternal::setParams now takes a
6917 2003-07-23 Angus Leeming <leeming@lyx.org>
6919 * factory.C (createInset): changed interface to the external and
6920 graphics mailers' string2params functions.
6922 2003-07-23 Angus Leeming <leeming@lyx.org>
6924 * factory.C (createInset): pass a
6925 Buffer const * parameter to InsetExternalMailer's string2params.
6927 2003-07-22 John Levon <levon@movementarian.org>
6929 * Thesaurus.h: include the right aiksaurus header
6931 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6933 * MenuBackend.C (expand): check menu shortcuts unconditionally
6935 2003-07-21 Angus Leeming <leeming@lyx.org>
6937 * factory.C (createInset): pass a
6938 buffer_path parameter to InsetGraphicsMailer's string2params.
6940 2003-07-21 Angus Leeming <leeming@lyx.org>
6942 * BufferView_pimpl.C (buffer):
6945 * lyxfunc.C (dispatch):
6946 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6947 rather than the grfx shortcut.
6949 2003-07-21 André Pönitz <poenitz@gmx.net>
6951 * rowpainter.C: remove unused variables
6954 * tabular_funcs.h: move to tabular.C
6955 * Makefile.am: adjust
6957 * tabular.[Ch]: basic optical cleaning
6959 * author.h: pass references, not values
6961 2003-07-18 André Pönitz <poenitz@gmx.net>
6969 * text3.C: two-phase drawing for InsetText and InsetTabular
6970 some float -> int changes.
6972 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6974 * lyx_main.C: fix the fix
6976 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6978 * lyx_main.C: fix a crash in batch mode if no files specified
6981 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6983 * format.[Ch] (papersize): moved to BufferParams
6984 * converter.[Ch] (dvips_options): moved to BufferParams
6985 (dvipdfm_options): moved to anon namespace
6986 * bufferparams.[Ch]: added above functions.
6988 2003-07-17 André Pönitz <poenitz@gmx.net>
6992 * text2.C: don't call inset->update() anymore
6994 * metricsinfo.[Ch]: add convenience constructor
6996 2003-07-16 André Pönitz <poenitz@gmx.net>
7001 * text2.C: replace the LyXCursor::irow_ member with
7002 on-demand computation of the value
7004 2003-07-16 John Levon <levon@movementarian.org>
7006 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7008 2003-07-15 André Pönitz <poenitz@gmx.net>
7011 * text2.C: remove no more needed refresh_row
7013 2003-07-15 André Pönitz <poenitz@gmx.net>
7018 * text3.C: refresh_status tristate -> need_update bool
7020 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
7022 * lyxtext.h (init): remove reinit argument (act as if always true)
7023 * text2.C: adjust to that
7025 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7027 * bufferview_funcs.[Ch]: introduce function replaceSelection()
7028 * text3.C: use it to delete selections in some cases
7029 (bugs 441, 673, 702, 954).
7031 2003-07-14 André Pönitz <poenitz@gmx.net>
7033 * rowpainter.[Ch]: reduce interface
7035 2003-07-14 André Pönitz <poenitz@gmx.net>
7037 * BufferView_pimpl.C:
7038 * text2.C: adjust after removing unused BufferView * argument
7040 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
7042 * text2.C (init): fix a crash fired on resize
7044 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
7046 * buffer.[Ch]: added new closing signal
7047 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7048 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7049 BufferView::Pimpl via the closing the signal
7051 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
7053 * buffer.[Ch]: take out all bv-related from buffer
7055 * BufferView_pimpl.[Ch]: connect to new signals
7056 * CutAndPaste.C: removed useless asserts
7057 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7060 * lyxfunc.C: moved view-related funciontality from vc here
7061 * paragraph.C: removed outdated comments
7064 2003-07-10 André Pönitz <poenitz@gmx.net>
7066 * BufferView_pimpl.C:
7070 * text2.C: remove InsetText::InnerCache, clean up consequences
7072 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7074 * ispell.C: fix two typos in error messages
7076 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
7078 * Extend Note inset to other forms of annotation like Comment
7079 and Greyedout. Right button click gives dialog.
7081 Files modified or added (+):
7085 * ControlNote.[Ch] +
7087 * Makefile.am in frontends/xforms, frontends/xforms/forms,
7088 frontends/controllers
7092 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7094 * aspell.C: add missing namespace lyx::support
7096 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
7098 * BufferView.[Ch] (newFile): Add
7099 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7100 * LaTeX.[Ch] (message): added this signal and use it
7101 * buffer.[Ch] (busy, message): added these signals and use them
7102 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7106 * importer.C: use buffer signals instead of direct bv calling
7107 * lyx_cb.[Ch] (ShowMessage): removed
7110 * paragraph_funcs.C:
7111 * text2.C: use buffer signals
7113 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7115 * introduce namespace lyx::graphics
7117 2003-07-02 André Pönitz <poenitz@gmx.net>
7119 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7121 2003-07-01 André Pönitz <poenitz@gmx.net>
7128 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7129 text*.C to text_func.C
7131 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7133 * introduce namespace lyx::support
7135 2003-06-30 André Pönitz <poenitz@gmx.net>
7140 * text.C: re-enable --with-included-string
7142 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7144 * textcursor.C: add <config.h>
7146 * text.C (getWord): remove const from word_location arg
7148 * lyxvc.C (getLogFile): fix const type order
7150 * lyxtext.h: remove const from word_location arg, add arg name
7152 * lyxlayout.h: currect type on labeltype.
7154 * importer.C: correct \file
7156 * converter.C (intToFormat): use std:: on ret val, ws changes
7158 * bufferlist.h: correct \file
7160 * buffer.C (makeLinuxDocFile): fix const type order
7161 (makeDocBookFile): ditto
7162 (fillWithBibKeys): use std:: on stdlib args.
7164 * CutAndPaste.C: fix authors.
7165 (availableSelections): use std:: on return vector
7167 2003-06-27 André Pönitz <poenitz@gmx.net>
7169 * BufferView_pimpl.C:
7170 * bufferview_funcs.C:
7178 * text3.C: remove LyXCursor::row_ member
7181 * text.C: rename fullRebreak() to partialRebreak() and implement
7182 a fullRebreak() that really bereks fully
7184 * textcursor.h: new struct for cursor-related data
7186 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7188 * lyx_main.C (LyX): get full path of document loaded on the
7191 2003-06-26 André Pönitz <poenitz@gmx.net>
7193 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7194 remove unused/broken operator>,<,>=.
7196 * text.C: remove only use of broken operator<= in an Assert().
7198 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7200 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7201 moved errorlist_.clear to showErrorList
7203 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7205 * converter.C (scanLog, runLaTeX):
7206 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7207 move the bv->showErrorList call to the callers
7208 * lyxfunc.C: i.e. here...
7210 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7211 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7212 namespace, the second to...
7213 * buffer_funcs (BufferFormat, parseErrors): added
7214 * errorlist.C (ErrorList(TeXErrors const &)): removed
7216 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7218 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7220 2003-06-24 "Garst R. Reese" <reese@isn.net>
7224 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7226 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7228 * version.C.in: change docversion to 1.4
7230 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7232 * buffer.C: fix a bug just introduced
7234 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7236 * buffer.[Ch]: added the parseError signal and use it, removed
7238 * BufferView.[Ch] (addError): moved to ...
7239 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7240 to the Buffer::parseError signal to catch (guess what) parse errors
7241 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7243 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7245 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7246 ability to create a buffer and to return an existing one from
7247 the list. Moved these functions to...
7248 * buffer_funcs.[Ch]: added
7249 * BufferView.[Ch] (loadLyXFile): added
7250 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7251 job removed from bufferlist::loadLyXFile.
7252 * buffer.C (setReadOnly): make it work without view
7253 (i.e added an if (users))
7255 2003-06-19 Angus Leeming <leeming@lyx.org>
7258 * LyXAction.C (init):
7259 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7260 with LFUN_DIALOG_SHOW <name> <data>.
7262 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7264 * CutAndPaste.C (availableSelections): small compilation fix for
7265 ancient (gcc 2.9x) compilers
7267 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7269 * text3.C (cursorNext): add tmp var
7271 * text2.C (updateCounters): for function calling out of for clause
7272 (replaceSelectionWithString): ditto
7273 (insertStringAsParagraphs): ditto
7274 (getColumnNearX): add tmp var
7275 (setCursorFromCoordinates): add tmp var
7276 (cursorDownParagraph): add tmp var
7277 (deleteEmptyParagraphMechanism): add tmp var
7279 * text.C (insertChar): add tmp var
7281 * rowpainter.C (paintDepthBar): add tmp var
7283 * CutAndPaste.C (availableSelections): potentially check all
7284 paragraphs in a cut to fill the shown strings.
7286 2003-06-18 André Pönitz <poenitz@gmx.net>
7288 * kbmap.[Ch]: use vector<> instead of list<>
7290 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7292 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7293 pasteSelection with index
7295 * text2.C (pasteSelection): modify, call pasteSelection with index
7297 * paragraph.C (asString): reimplement version with no interval to
7298 call the one with interval.
7300 * lyxtext.h: add index arg to pasteSelection
7302 * MenuBackend.C (MenuItem): handle PasteRecent
7303 (Menu::read::Menutags): add md_pasterecent
7305 (expandPasteRecent): new function
7308 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7310 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7312 (availableSelections): new function
7314 2003-06-17 Angus Leeming <leeming@lyx.org>
7316 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7318 2003-06-17 Angus Leeming <leeming@lyx.org>
7321 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7323 * lyxfunc.C (dispatch): invoke it.
7325 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7327 * iterators.C (operator++, ParPosition): reintroduce some
7328 const_cast for the benefit of older compilers.
7330 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7332 * text3.C (dispatch): do not modify clipboard when doing
7333 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7334 LFUN_DELETE_SKIP on a selection selection
7336 2003-06-16 André Pönitz <poenitz@gmx.net>
7342 * tabular.[Ch]: IU of clone() and getLabelList();
7344 2003-06-13 André Pönitz <poenitz@gmx.net>
7346 * tabular.h: compactification
7348 2003-06-12 André Pönitz <poenitz@gmx.net>
7352 * tabular_funcs.h: some renaming plus whitespace
7354 2003-06-12 André Pönitz <poenitz@gmx.net>
7357 * BufferView_pimpl.C:
7363 * toc.C: Return a Paragraph & for ParIterator::operator*()
7365 2003-06-11 John Levon <levon@movementarian.org>
7369 * ToolbarBackend.C: add "Toolbars" section and
7372 2003-06-10 Angus Leeming <leeming@lyx.org>
7375 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7377 * lyxfunc.C (dispatch): invoke it.
7379 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7381 * main.C: protect <ios> with HAVE_IOS
7382 (main): protect sync_with_stdio with HAVE_IOS
7384 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7386 * text2.C (cutSelection): adjust
7387 (pasteSelection): adjust
7389 * messages.C: handle get of empty string
7391 * main.C (main): use sync_with_stdio(false)
7393 * lyxfunc.C (dispatch): adjust
7395 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7396 (WriteAs): remove unneeded BufferView arg.
7398 * bufferparams.h: use correct types on papersize, papersize2 and
7401 * bufferparams.C (readToken): adjust for type
7402 (writeLaTeX): add missing cases to switch.
7404 * bufferlist.C (quitWriteBuffer): adjust
7407 * buffer.C (asciiParagraph): remove some commented code.
7409 * CutAndPaste.C: remove current_view extern variable.
7410 (cutSelection): add BufferParams arg.
7411 (eraseSelection): add BufferParams arg.
7412 (pasteSelection): add Buffer const & arg
7414 2003-06-07 John Levon <levon@movementarian.org>
7417 * paragraph_funcs.C:
7418 * paragraph_pimpl.C:
7422 * paragraph.C: allow InsetERT to freely space lines,
7423 and some consolidation of code
7425 2003-06-06 José Matos <jamatos@fep.up.pt>
7427 * buffer.C (makeDocBookFile): fix bug #821
7429 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7431 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7433 2003-06-04 Angus Leeming <leeming@lyx.org>
7435 * buffer.C: bump format to 224.
7437 2003-06-05 André Pönitz <poenitz@gmx.net>
7439 * text2.C (redoParagraphs): remove two const_cast<>
7441 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7443 * ParagraphList.h: remove last remnants of NO_STD_LIST
7445 2003-06-03 Angus Leeming <leeming@lyx.org>
7447 * factory.C (createInset): small change to the way InsetExternal's params
7450 2003-06-04 André Pönitz <poenitz@gmx.net>
7452 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7454 * paragraph_pimpl.h:
7455 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7457 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7459 * undo_funcs.C: make some simple cases of undo work again
7461 2003-06-03 John Levon <levon@movementarian.org>
7463 * ispell.C: HPUX doesn't have sys/select.h
7466 2003-06-03 John Levon <levon@movementarian.org>
7468 * CutAndPaste.C: update tabular and include inset
7473 * paragraph.C: remove owningBuffer(), don't pass Buffer
7476 * factory.C: insetGraphicsParams changed
7478 2003-06-02 John Levon <levon@movementarian.org>
7484 * text3.C: remove insetparent
7486 2003-06-02 John Levon <levon@movementarian.org>
7489 * buffer.C: fix inset_iterator.end(), move out of line
7492 2003-06-01 John Levon <levon@movementarian.org>
7494 * text3.C: use a proper cut/paste when doing inset
7495 insert (from Jürgen Spitzmüller)
7497 2003-06-01 John Levon <levon@movementarian.org>
7499 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7501 2003-05-30 André Pönitz <poenitz@gmx.net>
7503 * rowpainter.C: unify second drawing phase
7505 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7507 * trans_mgr.C: remove one case of current_view
7509 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7511 * paragraph_funcs.h: remove paragraph.h include
7513 * paragraph.h: delete NO_STD_LIST stuff
7515 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7517 * buffer.h: remove paragraph.h include
7519 * ParagraphList.C: delete file
7521 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7523 * toc.C (getTocList): adjust
7525 * paragraph_pimpl.C (validate): adjust
7527 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7529 * paragraph.C (Paragraph): adjust
7530 (getPositionOfInset): use const_iterator, adjust
7531 (bibitem): use const_iterator, adjust
7532 (setInsetOwner): adjust
7534 * iterators.C (operator++): adjust
7536 * InsetList.[Ch]: Replace selfmade iterator with standard
7537 vector::iterator also introduce const_iterator. Remove getPos,
7538 getInset and setInset from InsetTable. Adjust accordingly.
7540 * BufferView.C (lockInset): adjust
7541 (ChangeInsets): adjust
7543 * tabular.[Ch]: delete commented same_id functions
7545 2003-05-28 John Levon <levon@movementarian.org>
7547 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7549 2003-05-28 André Pönitz <poenitz@gmx.net>
7551 * metricsinfo.[Ch]: remove 'fullredraw' member
7553 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7555 * lyxtextclass.C (operator): remove caching.
7557 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7561 * text2.C (cursorBottom): adjust
7562 (setCounter): use ParagraphList::find, adjust
7564 * text.C (workWidth): use ParagraphList::find, adjust
7566 * lyxcursor.C (LyXCursor): adjust
7568 * buffer.C (inset_iterator): adjust
7570 * ParagraphList.h: make iterator(value_type) private, make
7571 ParagraphList a friend of iterator.
7573 * ParagraphList.C (find): new function
7575 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7577 2003-05-27 André Pönitz <poenitz@gmx.net>
7579 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7581 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7583 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7585 2003-05-26 John Levon <levon@movementarian.org>
7587 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7589 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7591 * remove same_id from function signatures, adjust.
7593 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7595 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7597 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7599 * paragraph.C (Paragraph): get rid of same_ids parameter
7601 * ParagraphList.C (insert): adjust
7604 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7606 * paragraph_funcs.C (breakParagraph): adjust
7607 (breakParagraphConservative): adjust
7609 * buffer.C (readParagraph): adjust
7611 * ParagraphList.C (insert): take a reference instead of a pointer
7614 * paragraph.[Ch] (id): new function
7616 * bufferlist.C (newFile): adjust
7618 * ParagraphList.C (ParagraphList): adjust
7620 (push_back): take a reference instead of a pointer.
7622 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7624 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7627 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7628 set else use old code.
7630 * ParagraphList.C: remove all NO_NEXT code and only compile this
7631 code of NO_STD_LIST is set.
7633 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7635 * BufferView_pimpl.C:
7645 * graphics/GraphicsConverter.C:
7646 * graphics/PreviewLoader.C: header adjustment
7648 2003-05-23 Angus Leeming <leeming@lyx.org>
7650 * LaTeXFeatures.[Ch] (useBabel): new method.
7651 * bufferparams.C (writeLaTeX): use it.
7653 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7655 * ParagraphList.h (set): remove unused function.
7657 2003-05-23 André Pönitz <poenitz@gmx.net>
7660 * BufferView_pimpl.C:
7664 * undo_funcs.C: setUndo reworked
7666 * iterators.[Ch]: add access to topmost ParagraphList
7668 * lyxtext.[Ch] (workWidth): add a const
7670 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7672 * texrow.[Ch] (increasePos): remove function
7673 * exporter.C (export): removed unused var and outdated comment
7675 2003-05-23 Angus Leeming <leeming@lyx.org>
7677 * latexrunparams.h: rename fragile as moving_arg.
7678 * paragraph.C (simpleTeXOnePar): ditto.
7679 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7681 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7683 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7685 (textUndoOrRedo): comment out a currently unused var.
7687 * paragraph.h (NO_NEXT): enable NO_NEXT
7689 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7691 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7693 * exporter.C (Export): adjust for removeAutoInsets removal.
7695 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7697 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7699 * BufferView.[Ch] (removeAutoInsets): delete function
7701 2003-05-22 Angus Leeming <leeming@lyx.org>
7703 * latexrunparams.h: add a free_spacing variable.
7705 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7706 to pass moving_arg, as the data is stored in runparams.fragile.
7708 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7709 to Inset::latexOptional or to simpleTeXOnePar.
7711 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7712 free_spacing arg to Inset::latexOptional.
7714 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7717 2003-05-22 Angus Leeming <leeming@lyx.org>
7719 * latexrunparams.h: add fragile and use_babel variables.
7721 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7722 * buffer.C (makeLaTeXFile): store this returned value in
7723 runparams.use_babel, thus passing it to the inset::latex methods.
7725 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7726 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7728 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7729 longer has a fragile arg, as it is stored in runparams.fragile.
7731 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7732 moving_arg parameter as the data is stored in runparams.fragile.
7734 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7735 a fragile parameter as the data is stored in runparams.fragile.
7737 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7739 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7741 2003-05-22 Angus Leeming <leeming@lyx.org>
7743 * latexrunparams.h: add a 'bool nice' which defaults to false.
7745 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7746 now encapsulated within runparams.
7748 * bufferlist.C (updateIncludedTeXfiles):
7749 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7751 2003-05-22 Angus Leeming <leeming@lyx.org>
7753 * latexrunparams.h: new file containing struct LatexRunParams.
7754 * Makefile.am: add new file.
7756 * LaTeX.[Ch] (c-tor, run):
7757 * buffer.[Ch] (makeLaTeXFile):
7758 * bufferlist.[Ch] (updateIncludedTeXfiles):
7759 * converter.C (convert, scanLog):
7760 * converter.[Ch] (runLaTeX):
7761 * exporter.C (Export):
7762 * paragraph.[Ch] (simpleTeXOnePar):
7763 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7764 * paragraph_funcs.[Ch] (latexParagraphs):
7765 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7766 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7767 pass around a LatexRunParams parameter.
7769 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7771 * paragraph.[Ch]: remove unused constructor
7773 * ParagraphList.C (erase): new function, taking two iterators
7775 2003-05-22 André Pönitz <poenitz@gmx.net>
7777 * undo_funcs.C: remove duplicated code
7779 * iterator.[Ch]: operator=
7781 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7783 * tabular.C (SetMultiColumn): ws changes
7785 * rowpainter.C (paintFirst): get rid of a ->previous
7787 * lyx_cb.C (getPossibleLabel): parlist simplification
7789 * BufferView.C (ChangeInsets): simplify slightly.
7791 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7793 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7794 * lfuns.h: new LFUN_SPACE
7795 * lyxfunc.C: protected space has a new lfun
7796 * paragraph_funcs.C: read new space insets
7798 * factory.C: handle new space insets
7800 2003-05-22 André Pönitz <poenitz@gmx.net>
7803 * BufferView_pimpl.C:
7806 * undo_funcs.C: return a ParIterator from getParFromID.
7808 * iterators.[Ch]: add two const's
7810 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7812 * toc.C (getTocList): adjust
7814 * iterators.[Ch]: rework for parlist
7816 * buffer.C (par_iterator_begin): adjust
7817 (par_iterator_end): adjust
7819 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7821 * BufferView.C (removeAutoInsets): adjust
7822 (ChangeInsets): adjust
7824 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7826 * text.C (top_y): fix bug 1110
7828 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7830 * errorlist.[Ch]: added
7833 * BufferView_pimpl.C:
7834 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7837 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7839 * Makefile.am: ensure that lyx is relinked upon changes to the
7840 various "convenience" libs.
7842 2003-05-20 Angus Leeming <leeming@lyx.org>
7844 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7845 files are compiled in alphabetical order again.
7847 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7849 2003-05-19 Angus Leeming <leeming@lyx.org>
7851 * gettext.[Ch]: remove "char const * _(char const *)".
7853 2003-05-19 André Pönitz <poenitz@gmx.net>
7855 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7864 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7866 2003-05-19 André Pönitz <poenitz@gmx.net>
7870 * lyxtextclass.[Ch]:
7872 * paragraph_funcs.[Ch]:
7874 * text3.C: more insetenv work
7876 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7878 * ParagraphParameters.C (params2string): small bug fixed
7880 2003-05-16 André Pönitz <poenitz@gmx.net>
7883 * bufferview_funcs.C: patch from Kornel Benko to prevent
7884 crash when _(...) is called twice in a statement
7886 2003-05-16 André Pönitz <poenitz@gmx.net>
7893 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7895 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7897 * lyx_main.C (init): remove spurious static_cast
7899 2003-05-14 André Pönitz <poenitz@gmx.net>
7901 * BufferView.C: fix format string
7903 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7905 * BufferView.[Ch] (insertErrors): removed
7906 * BufferView.[Ch] (showErrorList): added
7907 * buffer.C (runChkTeX):
7908 * converter.C (scanLog): call showErrorList instead of inserterrors
7910 2003-05-13 André Pönitz <poenitz@gmx.net>
7912 * BufferView_pimpl.C:
7914 * bufferview_func.C:
7921 * tabular_funcs.h: tostr() from its own header
7923 * ParagraphParameters.C:
7928 * text3.C: STRCONV()
7930 2003-05-12 André Pönitz <poenitz@gmx.net>
7933 * BufferView_pimpl.C:
7937 * ParagraphParameters.C:
7941 * bufferview_funcs.C:
7954 * paragraph_funcs.C:
7958 * text3.C: boost::format -> bformat all over the place
7961 2003-05-09 André Pönitz <poenitz@gmx.net>
7963 * LColor.[Ch]: Pimpl the #include <map> away
7965 2003-05-09 John Levon <levon@movementarian.org>
7967 * bufferlist.C: never remove emergency saves
7969 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7971 * Makefile.am: better lib building
7973 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7975 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7977 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7978 (simpleTeXSpecialChars): adjust
7979 (simpleTeXSpecialChars): adjust
7980 * paragraph.C (simpleTeXOnePar): adjust
7981 * buffer.C (makeLaTeXFile): adjust
7983 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7985 * text2.C (changeDepth): parlist cleanup
7986 (getColumnNearX): ditto
7988 * rowpainter.C (getLabelFont): parlist cleanup
7990 * bufferlist.C (newFile): parlist cleanup
7992 * CutAndPaste.C (eraseSelection): parlist cleanup
7994 * BufferView_pimpl.C (trackChanges): parlist cleanup
7997 * BufferView.C (lockInset): parlist cleanup.
7998 (ChangeInsets): ditto
8000 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8002 * CutAndPaste.h: Update file header.
8004 * CutAndPaste.C: Update file header.
8005 Store the parts cut out of the Document in a limited_stack.
8006 (copySelection): adjust
8007 (pasteSelection): new function, takes the index in the limited stack.
8008 (nrOfParagraphs): adjust
8009 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8010 simplify error inset insertion.
8011 (checkPastePossible): adjust
8013 2003-05-06 John Levon <levon@movementarian.org>
8015 * text2.C: don't cast wrap inset to float
8017 2003-05-05 André Pönitz <poenitz@gmx.net>
8020 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8022 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8023 few naked Paragraph *.
8025 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
8027 * bufferparams.C: Output warning if a document with missing
8028 TeX document class is loaded
8029 * exporter.C: Disable TeX exports if the document class is missing
8032 * lyxtextclasslist.C: Handle new textclass.lst format; new method
8033 isTeXClassAvailable()
8035 2003-05-03 John Levon <levon@movementarian.org>
8038 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8039 explicit cursor show/hide
8041 * BufferView_pimpl.h:
8042 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8043 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8045 * lyxfunc.C: hide cursor before dispatching.
8050 * text3.C: remove explicit cursor hides
8052 2003-05-02 André Pönitz <poenitz@gmx.net>
8054 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8057 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8060 * text2.C: tiny whitespace
8062 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8064 * undo_funcs.C: almost only ws changes.
8066 * ParagraphList.C (splice): just return if pl is empty.
8068 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8070 * ParagraphList.C (splice): new function.
8072 * CutAndPaste.C (pasteSelection): use it
8074 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8076 * CutAndPaste.C (pasteSelection): remove the last next and
8077 previous from this file.
8079 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8081 * CutAndPaste.C (pasteSelection): more clean up, user proper
8082 ParagraphList functions for pasteing.
8084 * ParagraphList.C (insert): new function, three arg insert
8086 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8088 * ParagraphList.C (insert): new function, three arg insert
8090 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8093 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8095 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8097 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8099 * CutAndPaste.C (pasteSelection): remove some unneeded code.
8101 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8103 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8104 (copySelection): clean up a bit.
8105 (pasteSelection): use make_pair
8107 * ParagraphList.C (ParagraphList): implement copy constructor
8108 (operator=): implement, base on copy constructor.
8111 * paragraph.C (erase): return a bool
8113 * paragraph_pimpl.C (erasePos): remove function, move contents...
8114 (erase): ... here. Return a bool.
8115 (erase): call erase instead of erasePos.
8117 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
8119 * ParagraphList.h: define PitPosPair
8120 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8121 ParagraphList, fix a bug on pasting multiple pars
8122 * text2.C: change interface to C&P
8124 2003-04-30 André Pönitz <poenitz@gmx.net>
8126 * undo_func.C: revert part of yesterday's patch 2
8128 2003-04-30 John Levon <levon@movementarian.org>
8130 * LColor.C: s/tabular/table/
8132 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8134 * text3.C (dispatch): do not convert iterator -> pointer
8135 * undo_funcs.C (setCursorParUndo): ditto
8136 * text_funcs.C (transposeChars): ditto
8138 * text2.C (setLayout): ws changes only
8140 * text.C (breakParagraph): do not convert iterator -> pointer
8142 (acceptChange): ditto
8143 (rejectChange): ditto
8148 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8151 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8153 * text3.C (gotoInset): YABG (yet another bad getChar)
8155 2003-04-29 André Pönitz <poenitz@gmx.net>
8157 * paragraph.h: make operator= private unimplemented as long as
8160 * ParagraphList.C: whitespace
8163 * paragraph_pimpl.[Ch]:
8164 * paragraph_funcs.C:
8166 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8169 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8171 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8173 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8174 * paragraph.[Ch] (erase):
8175 * paragraph_pimpl.[Ch] (erase): change return type and value
8176 * text2.C (cutSelection): some rework
8178 2003-04-28 John Levon <levon@movementarian.org>
8180 * bufferlist.C: changes for unsaved changes dialog
8182 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8184 * bufferlist.C (newFile): set language (messages_) for new
8187 * buffer.C (readFile): ws changes only.
8189 2003-04-28 André Pönitz <poenitz@gmx.net>
8194 * BufferView_pimpl.C:
8195 * BufferView.C: getParFromID related ParagraphList::iterator changes
8197 2003-04-28 André Pönitz <poenitz@gmx.net>
8199 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8202 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8204 * messages.C: remove one more localedir class variable.
8206 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8208 * messages.C (getLocaleDir): singleton generation function
8210 (Messages): add a default constructor.
8212 * main.C (main): do not setup localedir here, do not call
8215 * gettext.C (_): use it.
8216 (gettext_init): delete funciton
8218 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8220 * gettext.C (getLyXMessages): new singleton generating function.
8222 * buffer.C (updateDocLang): adjust
8224 * Makefile.am (messages.o): add target
8225 (main.o): remove target
8227 2003-04-27 John Levon <levon@movementarian.org>
8232 * lyxvc.C: specify cancel button in Alert::prompt
8234 2003-04-26 John Levon <levon@movementarian.org>
8239 * LyXAction.C: add LFUN_INSET_SETTINGS
8241 * lyxfunc.C: don't enable tabular-feature when there's
8242 just any locking inset
8244 2003-04-26 John Levon <levon@movementarian.org>
8246 * bufferlist.C: re-add Cancel to buffer close question
8248 * lyxfunc.C: fix import UI a bit
8250 2003-04-25 John Levon <levon@movementarian.org>
8252 * gettext.C: remove the broken asserts for now
8254 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8256 * messages.C: make case where setlocale cannot comply work better.
8258 * buffer.C (updateDocLang): new function
8259 (changeLanguage): use it
8262 * text2.C (setCounter): use B_ a bit.
8264 * lyxlayout.C (Read): be sure to trim the label strings.
8266 * messages.C (Messages): fix typo in comment
8268 * buffer.C (readFile): set message_ after file is loaded.
8269 (makeDocBookFile): remove double return
8270 (changeLanguage): reset message_ upon language change.
8271 (B_): new func, use this to get translated buffer strings.
8273 * main.C: add myself and Jean Marc as authors.
8275 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8277 * messages.[hC]: pimplify Messages, and three different pimpls to be
8278 used in different circumstances.
8280 * gettext.[Ch]: change for use with new message code.
8282 2003-04-24 André Pönitz <poenitz@gmx.net>
8284 * factory.C: support for eqref
8286 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8288 * messages.[Ch]: add missing char
8290 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8292 * messages.[Ch]: New files
8294 2003-04-18 John Levon <levon@movementarian.org>
8298 * BufferView_pimpl.C:
8302 * text2.C: remove layout-copy/paste (bug 778)
8304 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8306 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8308 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8310 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8311 if they succeed. Act accordingly.
8313 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8315 * text2.C (setCharFont): adjust
8316 (setCounter): adjust
8317 (insertStringAsLines): adjust
8319 * text.C (leftMargin): adjust
8320 (setHeightOfRow): adjust
8322 * rowpainter.C (paintFirst): adjust
8325 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8327 (isFirstInSequence): ditto
8328 (getEndLabel): ditto
8331 * paragraph.C (getParLanguage): comment out some hard stuff.
8333 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8335 (simpleDocBookOnePar): ditto
8336 (makeDocBookFile): use ParagraphList::iterator
8338 * CutAndPaste.C (pasteSelection): adjust
8340 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8342 * text2.C (getFont): adjust
8343 (getLayoutFont): adjust
8344 (getLabelFont): adjust
8346 * paragraph_funcs.C (TeXOnePar): adjust
8348 * buffer.C (simpleLinuxDocOnePar): adjust
8349 (simpleDocBookOnePar): adjust
8351 * CutAndPaste.C (pasteSelection): adjust
8353 * BufferView.C (getEncoding): adjust
8355 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8357 2003-04-16 John Levon <levon@movementarian.org>
8359 * lyxfind.C: use parlist stuff for search/changes
8361 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8363 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8365 * text2.C (deleteEmptyParagraphMechanism): adjust
8367 * text2.[Ch] (ownerParagraph): delete func (both of them
8369 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8371 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8373 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8375 * ParagraphList.C: prepare for NO_NEXT
8377 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8379 * text2.C (getFont): adjust
8380 (getLayoutFont): adjust
8381 (getLabelFont): adjust
8383 * paragraph.C (getFont): adjust
8384 (getLabelFont): adjust
8385 (getLayoutFont): adjust
8387 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8389 2003-04-15 John Levon <levon@movementarian.org>
8393 * lyx_main.C: handle Include in .ui files
8395 2003-04-15 John Levon <levon@movementarian.org>
8397 * MenuBackend.C: make the doc files length shorter
8400 * ToolbarBackend.C: handle toolbar placement flags,
8403 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8405 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8408 * paragraph_funcs.C (TeXOnePar): adjust
8410 * paragraph.C (getLabelFont): add outerfont arg, adjust
8411 (getLayoutFont): ditto
8412 (simpleTeXOnePar): adjust
8414 * paragraph_pimpl.C (realizeFont): delete func
8416 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8418 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8419 row argument, constify cur argument.
8421 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8423 * text2.C (getFont): adjust
8424 (getLayoutFont): adjust
8425 (getLabelFont): adjust
8427 * paragraph_funcs.C (TeXOnePar): adjust
8428 (outerFont): new func...
8429 (realizeFont): ...moved out from here, changed this to facilitate
8432 * paragraph.C (getFont): take outerfont as arg, adjust
8433 (simpleTeXOnePar): add outerfont arg, adjust
8435 * buffer.C (simpleLinuxDocOnePar): adjust
8436 (simpleDocBookOnePar): adjust
8438 * CutAndPaste.C (pasteSelection): adjust
8440 * BufferView.C (getEncoding): adjust
8442 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8444 * text2.C (setCharFont): adjust
8445 (setCounter): adjust
8447 * text.C (leftMargin): adjust
8448 (setHeightOfRow): adjust
8450 * rowpainter.C (paintFirst): adjust
8453 * paragraph_pimpl.C (realizeFont): adjust
8455 * paragraph.C (isFirstInSequence): move from here...
8456 * paragraph_funcs.C (isFirstInSequence): ...to here
8458 * paragraph.C (outerHook): move from here...
8459 * paragraph_funcs.C (outerHook): ...to here
8461 * paragraph.C (depthHook): move from here...
8462 * paragraph_funcs.C (depthHook): ...to here
8464 * paragraph.C (getEndLabel): move from here...
8465 * paragraph_funcs.C (getEndLabel): ...to here
8467 * text2.C (realizeFont): move from here...
8468 * paragraph_funcs.C (realizeFont): ...to here
8470 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8472 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8474 2003-04-14 Angus Leeming <leeming@lyx.org>
8476 * LColor.[Ch]: scrap LColor mathcursor.
8478 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8480 * lyxlex.[Ch] (text): delete function
8481 * trans.C (Load): adjust
8482 * paragraph_funcs.C (readParToken): adjust
8484 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8486 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8487 vector<char> instead of a char[].
8489 * lyxlex_pimpl.C (getString): adjust
8491 (lex): use getString
8495 * lyxlex.C (text): use pimpl_->getString()
8499 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8501 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8502 (makeFontEntriesLayoutSpecific): temp var for par.size()
8503 (setLayout): temp var for ownerParagraphs().end()
8504 (fullRebreak): temp var for rows().end()
8505 (selectionAsString): temp var for boost::next(startpit), realize
8506 that the while really is a regular for loop.
8507 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8508 setCursor in one place.
8509 (setParagraph): temp vr for ownerParagraphs().end()
8510 (updateCounters): make the while loop a for loop
8511 (cutSelection): temp var for ownerParagraphs().end()
8512 (updateInset): make the do {} while() a regular for loop
8513 (getCursorX): use temp vars
8514 (setCurrentFont): use temp vars
8515 (getColumnNearX): use temp vars
8517 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8519 * text.C (transformChar): use temp var for getChar
8520 (computeBidiTables): use temp var for row->par()
8521 (fill): move temp vars for row->par() and pit->layout() earlier in
8523 (labelFill): use temp var for row->par()
8524 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8525 asc and desc, realize that pit never changes and that firstpit is
8526 just a duplicate and not needed. Exchange rit->par() with pit in a
8528 (breakAgain): use a temp var for boost::next(rit)
8529 (breakAgainOneRow): ditto
8530 (breakParagraph): use a temp var for rows().begin()
8531 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8532 (cursorRightOneWord): use temp var for cursor.par() and
8533 cursor.pos(), remove usage of tmpcursor.
8534 (cursorLeftOneWord): use temp var for cursor.par() and
8535 cursor.pos() only set cur at end of function.
8537 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8539 * text.C, text2.C: exchange all usage of Paragraph::next with
8540 boost::next(ParagraphList::iterator)
8542 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8544 * text2.C (cursorTop): simplify implementation
8545 (cursorBottom): ditto
8546 (setParagraph): use ParagraphList::iterator
8547 (setCurrentFont): adjust
8548 (getColumnNearX): adjust
8549 (cursorRight): adjust
8550 (cursorLeft): remove usage of Paragraph::previous
8551 (cursorUpParagraph): ditto
8552 (deleteEmptyParagraphMechanism): slight cleanup
8554 * text.C (isBoundary): take a Paragraph const & instead of a
8556 (addressBreakPoint): ditto
8557 (leftMargin): remove usage of Paragraph::previous.
8558 (setHeightOfRow): ditto
8559 (cursorLeftOneWord): ditto
8560 (selectNextWordToSpellcheck): ditto
8563 (breakParagraph): remove one usage of Paragraph::next
8564 (redoParagraph): ditto
8565 (acceptChange): ditto
8566 (insertChar): adjust
8567 (rowBreakPoint): adjust
8569 * bufferview_funcs.C (toggleAndShow): adjust
8571 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8573 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8574 methods to access it.
8576 * text.C: Added updateRowPositions to compute all row positions.
8577 Make top_y and getRowNearY() to use the cached y position
8579 2003-04-11 John Levon <levon@movementarian.org>
8581 * text.C (rowBreakPoint): reintroduce the labelEnd
8582 checks, code copied from the row fill stuff. Deep voodoo.
8584 * text.C (fill): add a comment and debugging for the
8587 2003-04-11 John Levon <levon@movementarian.org>
8589 * text.C: make sure fullrow insets get wrapped to the next line,
8590 even when they're in a manual label
8592 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8594 * text2.C (insertParagraph): make it take ParagraphList::iterator
8596 (setLayout): make it return ParagraphList::iterator
8597 (redoParagraphs): ditto
8599 (checkParagraph): ditto
8601 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8603 * text2.C: adjust several funcs.
8604 (realizeFont): take a ParagraphList::iterator as arg.
8605 (getLayoutFont): ditto
8606 (getLabelFont): ditto
8607 (setCharFont): ditto
8609 * text.C: adjust several funcs.
8611 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8613 * text.C (selectNextWordToSpellcheck): don't accidentally
8616 2003-04-10 John Levon <levon@movementarian.org>
8618 * ToolbarBackend.C (getIcon): special handling for
8621 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8623 * text2.C (cursorRight): a getChar assert fixed
8625 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8627 * text2.C (getFont): change to take a ParagraphList::iterator
8628 instead of Paragraph*
8629 Adjust several functions.
8631 * text.C (transformChar): change to take a ParagraphList::iterator
8632 instead of Paragraph*
8633 (singleWidth): ditto
8634 Adjust several functions.
8636 * rowpainter.C: adjust several functions
8637 * rowpainter.h:store a ParagraphList::iterator and not a
8641 2003-04-09 John Levon <levon@movementarian.org>
8646 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8647 and the "help" bits as well
8649 2003-04-09 John Levon <levon@movementarian.org>
8652 * ToolbarBackend.C: allow multiple toolbars
8654 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8656 * undo_funcs.C (setCursorParUndo): adjust
8658 * text_funcs.C (transposeChars): adjust
8660 * text3.C (gotoNextInset): adjust
8663 * text2.C (setLayout): adjust
8664 (changeDepth): adjust
8666 (redoParagraphs): adjust
8667 (selectionAsString): adjust
8668 (setParagraph): adjust
8669 (insertInset): adjust
8670 (cutSelection): adjust
8671 (copySelection): adjust
8672 (pasteSelection): adjust
8673 (insertStringAsLines): adjust
8674 (updateInset): adjust
8675 (setCursor): change to take a ParagraphList::iterator parameter
8676 (setCursorIntern): change to take a ParagraphList::iterator parameter
8677 (setCurrentFont): adjust
8678 (cursorLeft): adjust
8679 (cursorRight): adjust
8680 (deleteEmptyParagraphMechanism): adjust
8682 * text.C (breakParagraph): adjust
8683 (insertChar): adjust
8684 (acceptChange): adjust
8685 (rejectChange): adjust
8686 (selectNextWordToSpellcheck): adjust
8687 (changeCase): adjust
8691 * lyxfind.C (SearchForward): adjust
8692 (SearchBackward): adjust
8693 (nextChange): adjust
8695 * lyxcursor.C (par): adjust
8697 * lyxcursor.h: store a ParagraphList::iterator instead of a
8700 * lyx_cb.C (getPossibleLabel): adjust
8702 * bufferview_funcs.C (toggleAndShow): adjust
8704 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8707 * BufferView.C (removeAutoInsets): adjust
8708 (lockedInsetStoreUndo): adjust
8710 2003-04-09 John Levon <levon@movementarian.org>
8712 * ToolbarBackend.C: try icon without argument
8713 if with argument fails
8715 2003-04-08 John Levon <levon@movementarian.org>
8718 * ToolbarBackend.C: add getIcon(), handle tooltip,
8719 and change from "Icon" to "Item".
8721 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8723 * BufferView.C (lockInset): another bad getchar crunched
8725 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8727 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8730 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8732 * lyxfind.C (searchForward, searchBackwards): bug 782
8734 2003-04-07 John Levon <levon@movementarian.org>
8736 * paragraph.C: remove dead comment
8738 * text.C: remove troublesome depth-fiddling code
8739 in leftMargin() and rightMargin() (bug 1017)
8741 * text.C: fix breaking of rows in nested lists
8744 * text2.C (updateCounters): fix up depth values
8747 2003-04-07 John Levon <levon@movementarian.org>
8749 * BufferView_pimpl.C: clear message when doc finishes resizing,
8750 and after a mouse event
8752 * lyxfunc.C: clear message after exiting inset
8754 2003-04-07 John Levon <levon@movementarian.org>
8756 * bufferview_funcs.C: show math status not outside
8757 status in the statusbar
8759 2003-04-07 John Levon <levon@movementarian.org>
8761 * lyxfunc.C: note status changed after a depth change
8763 2003-04-04 Angus Leeming <leeming@lyx.org>
8765 * LaTeX.h: move AuxInfo operator==, != out of line.
8766 Remove LaTeX virtual destructor; nothing derives from it.
8767 Move operator()() out of public area and rename it startscript().
8768 Change protected for private.
8770 2003-04-04 Angus Leeming <leeming@lyx.org>
8773 * text2.C: remove unneeded #includes.
8775 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8777 * text2.C (dEPM): fix the heigth of the next row
8779 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8781 * text.C: squashed an invalid getChar requester + some ws changes
8783 2003-04-03 John Levon <levon@movementarian.org>
8785 * bufferview_funcs.h:
8786 * bufferview_funcs.C:
8789 * text2.C: make getStatus work for the env depth lfuns
8791 2003-04-03 John Levon <levon@movementarian.org>
8793 * bufferview_funcs.h:
8794 * bufferview_funcs.C:
8797 * text2.C: parlistize decDepth(), by merging it with incDepth()
8799 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8801 * lyxrow.h: store a ParagraphList::iterator instead of a
8802 Paragraph* and adjust other class functions to suit.
8804 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8807 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8809 * text2.C (setCursor): do not anchor to cursor row for the time being
8811 2003-04-02 John Levon <levon@movementarian.org>
8818 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8820 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8822 * paragraph.h: make ParagraphList and ParagraphList::iterator
8823 friends of Paragraph.
8825 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8827 * ParagraphList.C: Use the private next_ and previous_ from
8830 2003-04-01 John Levon <levon@movementarian.org>
8834 * Makefile.am: rename, remove defaults gunk
8837 * MenuBackend.C: remove defaults gunk
8840 * Languages.C: remove defaults gunk
8843 * lyx_main.C: error out if files couldn't be found.
8845 2003-04-02 John Levon <levon@movementarian.org>
8847 * text2.C: make incDepth() use parlist
8849 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8851 * undo_funcs.C (firstUndoParagraph): adjust
8853 * text3.C (gotoInset): adjust
8854 (dispatch): adjust, and rewrite loop.
8856 * text2.C (init): adjust, and rewrite loop.
8857 (redoParagraphs): adjust
8858 (updateInset): adjust, and rewrite loop.
8859 (deleteEmptyParagraphMechanism): adjust
8861 * tabular.C (LyXTabular): adjust
8862 (SetMultiColumn): adjust
8865 * lyxtext.[Ch] (ownerParagraph): delete function
8866 (ownerParagraphs): new function returns a ParagraphList.
8868 * BufferView.C (removeAutoInsets): adjust
8869 (insertErrors): adjust
8870 (setCursorFromRow): adjust
8872 2003-04-01 Angus Leeming <leeming@lyx.org>
8874 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8877 2003-04-02 John Levon <levon@movementarian.org>
8883 * text_funcs.C: make transposeChars a free function
8885 * lyxrow_funcs.C: remove wrong comment
8887 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8890 * rowpainter.C: adjust
8895 * lyxrow_funcs. [Ch]: new files
8897 * lyxrow.[Ch]: remove next and previous pointers
8898 (next,previous): remove accessor functions
8899 (isParEnd): move to lyxrow_funcs
8900 (lastPos): move to lyxrow_funcs
8901 (nextRowIsAllInset): move to lyxrow_funcs
8902 (lastPrintablePos): move to lyxrow_funcs
8903 (numberOfSeparators): move to lyxrow_funcs
8904 (numberOfHfills): move to lyxrow_funcs
8905 (numberOfLabelHfills): move to lyxrow_funcs
8906 (hfillExpansion): move to lyxrow_funcs
8910 * bufferview_funcs.C (toggleAndShow): adjust
8912 * RowList.h: Remove class RowList from file leave just a
8915 * RowList.C: delete file
8917 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8920 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8922 * text3.C (cursorPrevious): adjust
8923 (cursorNext): adjust
8926 * text2.C (redoHeightOfParagraph): adjust
8927 (redoDrawingOfParagraph): adjust
8930 * text.C (breakParagraph): adjust
8931 (insertChar): adjust
8934 * rowpainter.C (RowPainter): adjust
8935 (leftMargin): simplify and adjust
8936 (most rowpainter functions): adjust.
8938 * rowpainter.h: store the row as RowList::iterator not as Row*
8940 * lyxcursor.C (row): taka RowList::iterator as arg
8943 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8946 2003-04-01 Angus Leeming <leeming@lyx.org>
8948 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8949 stuff like bool Bool.
8951 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8953 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8956 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8958 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8961 * lyxtext.h (rows): drop one version and leve a const variant that
8962 returns a RowList::iterator.
8964 2003-03-31 Angus Leeming <leeming@lyx.org>
8966 * text.C (fill): ensure that the signature is the same as that in the
8969 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8971 * text2.C (redoParagraphs): adjust
8972 (updateCounters): adjust
8973 (checkParagraph): adjust
8974 (getColumnNearX): adjust and reformat a bit.
8976 * text.C (top_y): adjust
8978 (leftMargin): adjust
8979 (prepareToPrint): adjust
8981 (getRowNearY): adjust
8983 * lyxtext.h: make rowlist_ mutable.
8985 * RowList.h: add const_iterator
8986 * RowList.C: adjust for RowList::const_iterator.
8988 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8991 2003-03-31 John Levon <levon@movementarian.org>
8994 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8996 * lyx_main.C: set default fonts from using lyx_gui funcs
8998 * exporter.C: pdf_mode moved from lyxrc
9001 * lyxfunc.C: changes from above
9003 2003-03-31 John Levon <levon@movementarian.org>
9005 * lyx_main.C: fix to the last fix
9007 2003-03-31 John Levon <levon@movementarian.org>
9009 * bufferlist.C: "Load original" -> "Load Original"
9015 * format.C: more Alert cleanups
9017 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9019 * text2.C (removeParagraph): make it take a RowList::iterator as
9021 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9022 (postRowPaint): make it take a RowList::iterator as arg, adjust.
9024 * text.C (anchor_row): make it take a RowList::iterator as arg,
9026 (computeBidiTables): make it take a const reference to Row instead
9027 of Row pointer, adjust.
9028 (leftMargin): make it take a RowList::iterator as arg, adjust.
9029 (rowBreakPoint): adjust
9030 (breakAgainOneRow): make it take a RowList::iterator as arg,
9032 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9034 * bufferview_funcs.C (toggleAndShow): adjust
9036 2003-03-30 John Levon <levon@movementarian.org>
9040 * boost-inst.C: moved to support
9042 * several files: changes as a result
9044 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9046 * text2.C (LyXText): adjust.
9048 (removeRow): make it take a RowList::iterator as arg, adjust.
9049 (fullRebreak): adjust
9050 (deleteEmptyParagraphMechanism): adjust
9051 (clearPaint): adjust
9054 * text.C (top_y): adjust
9055 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9056 (breakAgain): make it take a RowList::iterator as arg, adjust.
9057 (breakParagraph): adjust
9058 (insertChar): adjust
9061 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9062 need_break_row, and refresh_row.
9064 * text3.C (dispatch): adjust
9066 * text2.C (checkParagraph): adjust
9068 (setCursorFromCoordinates): adjust
9070 * text.C (top_y): adjust
9072 (getRow): make it return a RowList::iterator, adjust
9073 (getRowNearY): make it return a RowList::iterator, adjust
9075 * text2.C (init): adjust
9076 (insertRow): remove function
9077 (insertParagraph): adjust
9078 (redoParagraphs): adjust
9079 (fullRebreak): adjust
9080 (updateCounters): adjust
9082 * text.C (top_y): rewrite to use RowList iterators.
9084 (setHeightOfRow): rewrite to sue RowList iterators.
9085 (appendParagraph): adjust
9086 (breakAgain): adjust
9087 (breakAgainOneRow): adjust
9088 (breakParagraph): adjust
9090 (getRowNearY): adjust, and remove commented code.
9092 * lyxtext.h (firstRow): delete function
9093 (lastRow): delete function
9094 (rows): new function (const and non-const versions.)
9095 (insertRow): delete function
9097 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9099 2003-03-29 John Levon <levon@movementarian.org>
9101 * BufferView_pimpl.C: always update scrollbar top
9102 because pasting text when we're anchored could mean we
9103 miss an update altogether
9105 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9107 * text2.C (init): use rowlist_.end() and not 0.
9108 (insertRow): change to take a RowList::iterator as arg, adjust
9110 (insertParagraph): change to take a RowList::iterator as arg,
9112 (redoParagraphs): remove some debug msgs.
9114 * text.C (appendParagraph): change to take a RowList::iterator
9115 arg, adjust for this.
9116 (breakAgain): add an assert
9117 (breakAgainOneRow): ditto
9119 2003-03-29 John Levon <levon@movementarian.org>
9121 * text2.C: do not clear selection after inc/decDepth
9124 2003-03-29 John Levon <levon@movementarian.org>
9127 * buffer.C: fix broken strerrors according to Lars
9129 2003-03-29 John Levon <levon@movementarian.org>
9131 * converters.C: more Alert cleanups
9133 2003-03-29 John Levon <levon@movementarian.org>
9135 * bufferview_funcs.C: remove pointless Alert
9137 * buffer.C: fix confusing error message when
9138 a template is chmoded 000
9140 2003-03-29 John Levon <levon@movementarian.org>
9144 * BufferView_pimpl.C: Alert fixes
9148 * tabular-old.C: remove unused table compat reading
9150 2003-03-29 John Levon <levon@movementarian.org>
9155 * lyx_cb.C: more Alert cleanups
9157 * lyxfunc.C: don't allow chktex if not latex document
9159 2003-03-29 John Levon <levon@movementarian.org>
9163 * buffer.C: warnings pushed down from support/,
9166 2003-03-29 John Levon <levon@movementarian.org>
9168 * lyxfunc.C: safety check for C-r (revert)
9170 2003-03-29 John Levon <levon@movementarian.org>
9173 * bufferlist.C: several UI fixes using Alert::prompt.
9174 Fix the pointless looping quit code. Fix stupid revert
9179 * lyx_cb.C: use Alert::prompt
9181 * lyx_main.C: remove a silly question
9183 * lyxfunc.C: remove a couple of silly questions,
9186 2003-03-28 John Levon <levon@movementarian.org>
9188 * text2.C: fix bug 974 (End on empty par)
9190 2003-03-28 John Levon <levon@movementarian.org>
9192 * BufferView_pimpl.C:
9194 * lfuns.h: remove do-nothing math greek lfuns
9196 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9198 * lyxgluelength.h (isValidGlueLength): add default arg on
9199 parameter 2. Remove default arg from friend in class.
9201 * lyxlength.h (isValidLength): add default arg on parameter 2.
9202 Remove default arg from friend in class.
9204 * text2.C (LyXText): adjust, initialize refresh_row.
9208 (insertParagraph): adjst
9209 (redoParagraphs): adjust
9210 (fullRebreak): adjust
9211 (updateCounters): adjust
9212 (deleteEmptyParagraphMechanism): first attempt at fixing a
9215 * text.C (top_y): adjust
9216 (setHeightOfRow): adjust
9218 (getRowNearY): adjust
9220 * lyxtext.h: include RowList.h
9221 (~LyXText): not needed anymore, deleted.
9222 (firstRow): modify for RowList
9223 (lastRow): new function
9224 Delete firstrow and lastrow class variables, add a Rowlist
9225 rowlist_ class variable.
9227 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9230 * RowList.C (insert): fix case where it == begin().
9232 2003-03-26 Angus Leeming <leeming@lyx.org>
9234 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9235 the thesaurus dialog.
9237 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9239 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9241 * RowList.[Ch]: new files
9243 * ParagraphList.C (erase): handle the case where it == begin
9246 2003-03-25 John Levon <levon@movementarian.org>
9250 * aspell.C: add new aspell support
9253 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9256 2003-03-25 Angus Leeming <leeming@lyx.org>
9259 * LyXAction.C (init): new LFUN_INSET_INSERT.
9261 * BufferView_pimpl.C (dispatch): split out part of the
9262 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9264 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9267 2003-03-25 Angus Leeming <leeming@lyx.org>
9269 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9271 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9274 * text3.C: remove useless row->height(0)
9276 2003-03-25 John Levon <levon@movementarian.org>
9280 * text3.C: rename the refreshing stuff to better names
9282 2003-03-24 John Levon <levon@movementarian.org>
9284 * BufferView_pimpl.h:
9285 * BufferView_pimpl.C: update layout choice on a mouse
9288 2003-03-23 John Levon <levon@movementarian.org>
9290 * Makefile.am: fix commandtags.h reference
9292 2003-03-22 John Levon <levon@movementarian.org>
9294 * BufferView_pimpl.C:
9299 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9301 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9304 * text.C: take the rtl methods out of line
9306 2003-03-21 André Pönitz <poenitz@gmx.net>
9308 * metricsinfo.[Ch]: new files containing structures to be passed around
9309 during the two-phase-drawing...
9311 2003-03-21 André Pönitz <poenitz@gmx.net>
9313 * lyxtextclass.C: read 'environment' tag.
9315 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9317 * text2.C (removeRow): fix bug 964
9319 2003-03-20 John Levon <levon@movementarian.org>
9323 * text2.C: paint cleanups. Inset::update() dropped font
9326 2003-03-19 John Levon <levon@movementarian.org>
9328 * lyxfunc.C: only fitcursor/markDirty if available()
9330 2003-03-19 John Levon <levon@movementarian.org>
9332 * commandtags.h: rename to ...
9334 * lfuns.h: ... this, and renumber / cleanup
9336 2003-03-19 John Levon <levon@movementarian.org>
9338 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9339 fit the cursor after an lfun
9343 * BufferView_pimpl.h:
9344 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9346 * LyXAction.C: layout-character should have ReadOnly
9348 * ParagraphParameters.C:
9350 * bufferview_funcs.C:
9357 * undo_funcs.C: changes from above
9359 2003-03-18 John Levon <levon@movementarian.org>
9361 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9362 remove it from update()
9364 * lyxfunc.C: update layout choice after an lfun
9366 * text3.C: remove extra updateLayoutChoice()s
9368 2003-03-18 John Levon <levon@movementarian.org>
9370 * text.C: top_y change means full repaint, fix
9371 a drawing bug with cursor movement
9373 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9377 * text2.C: anchor row on setCursor
9379 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9381 * lyxtext.h: remove almost all mutable keywords
9384 * text3.C: remove const keywords accordingly
9386 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9388 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9390 (TeXEnvironment): ditto
9393 2003-03-17 John Levon <levon@movementarian.org>
9395 * text.C (rowBreakPoint): remove attempt to fix displayed
9396 math insets inside a manual label
9398 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9400 * lyxtext.h: remove BufferView* as first arg from almost all class
9402 * other files: adjust.
9404 2003-03-17 John Levon <levon@movementarian.org>
9408 * text2.C: more paint cleanups
9410 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9413 * rowpainter.C: remove "smart" background painting code
9415 2003-03-16 John Levon <levon@movementarian.org>
9420 * text3.C: add helper functions for setting refresh_row/y
9422 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9424 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9425 newline inset which *can* get inserted in the pass_thru layouts.
9426 This is primarily for literate documents.
9428 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9430 * buffer.C: increment LYX_FORMAT to 223
9432 2003-03-14 André Pönitz <poenitz@gmx.net>
9434 * textclass.h: prepare for environment handling, ws changes
9435 * lyxlayout.C: read latexheader and latexfooter tags
9437 2003-03-14 John Levon <levon@movementarian.org>
9439 * text2.C: rewrite ::status() a bit
9441 2003-03-13 John Levon <levon@movementarian.org>
9443 * lyxtext.h: add some docs
9445 2003-03-13 John Levon <levon@movementarian.org>
9450 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9452 2003-03-13 John Levon <levon@movementarian.org>
9454 * text3.C: fix appendix redrawing
9456 2003-03-13 John Levon <levon@movementarian.org>
9458 * text.C (setHeightOfRow):
9460 * rowpainter.C: make appendix mark have the text
9461 "Appendix" so the user knows what it is
9464 * LColor.C: s/appendixline/appendix/ from above
9466 2003-03-13 John Levon <levon@movementarian.org>
9468 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9470 * text.C: fix a getChar(pos) bug properly
9472 2003-03-13 Angus Leeming <leeming@lyx.org>
9475 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9476 Probably only temporary. Let's see how things pan out.
9478 * BufferView.C (unlockInset):
9479 * BufferView_pimpl.C (fitCursor):
9480 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9482 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9483 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9485 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9486 new functions that convert ParagraphParameters to and from a string.
9488 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9489 BufferView::Pimpl's dispatch.
9490 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9492 2003-03-13 André Pönitz <poenitz@gmx.net>
9496 * factory.C: make it aware of InsetEnv
9498 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9500 * text2.C (setCursor): never ask for one past last
9501 (setCursor): add some debugging messages.
9503 * text.C (singleWidth): never ask for one past last
9504 (singleWidth): ditto
9506 (rightMargin): ditto
9507 (rowBreakPoint): ditto
9508 (setHeightOfRow): ditto
9509 (prepareToPrint): ditto
9511 * rowpainter.C (paintBackground): never ask for one past last
9512 (paintText): never ask for one past last
9514 * paragraph_pimpl.C (getChar): make the assert stricter, never
9515 allow the one past last pos to be taken
9517 * paragraph.C (getChar): ws changes only
9519 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9520 (numberOfSeparators): ditto
9521 (numberOfHfills): ditto
9523 2003-03-12 John Levon <levon@movementarian.org>
9529 * paragraph_funcs.C: fix per-buffer authorlists
9531 2003-03-12 John Levon <levon@movementarian.org>
9533 * text.C: fix newline in right address
9535 2003-03-12 Angus Leeming <leeming@lyx.org>
9537 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9538 duplicate those in LyXFunc::dispatch.
9542 * ToolbarDefaults.C:
9543 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9544 Add LFUN_FONTFREE_UPDATE.
9546 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9547 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9549 * bufferview_func.[Ch]: several new functions to facilliate
9550 transfer of data to and from the character dialog.
9552 2003-03-12 John Levon <levon@movementarian.org>
9557 * paragraph_funcs.C:
9558 * paragraph_pimpl.C:
9562 * text3.C: remove META_NEWLINE in favour of an inset
9565 * rowpainter.C: remove paintNewline (done by inset)
9567 2003-03-12 John Levon <levon@movementarian.org>
9569 * paragraph_pimpl.C: complain about bad getChar()s
9570 for a while at least
9572 2003-03-12 John Levon <levon@movementarian.org>
9575 * buffer.C: move paragraph read into a separate function,
9576 a little renaming to reflect that.
9579 * bufferparams.C: remove the author_ids map, not necessary now
9582 * factory.C: moved Buffer::readInset to here
9584 * paragraph_funcs.h:
9585 * paragraph_funcs.C: readParagraph free function moved from
9588 * tabular.C: name change
9590 2003-03-12 John Levon <levon@movementarian.org>
9593 * ParagraphParameters.C: move par params input to
9596 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9597 behave like a normal read from the stream wrt reading
9598 a line vs. a \\token
9600 2003-03-12 John Levon <levon@movementarian.org>
9603 * ParagraphParameters.h:
9604 * ParagraphParameters.C: move output code to a
9607 2003-03-12 John Levon <levon@movementarian.org>
9609 * BufferView.C (insertLyXFile):
9612 * tabular.C: use a parlist iterator for creating the
9615 2003-03-12 John Levon <levon@movementarian.org>
9617 * buffer.C: make current_change static local not
9620 2003-03-12 John Levon <levon@movementarian.org>
9622 * buffer.C: fix insertStringAsLines for change tracking
9624 2003-03-12 John Levon <levon@movementarian.org>
9631 * bufferparams.C: move author list into params. Rename some
9632 functions. Move the header reading into a separate token
9633 loop. Move the header token reading into BufferParams.
9635 2003-03-12 John Levon <levon@movementarian.org>
9637 * changes.C: put debug inside lyxerr.debugging() checks
9639 2003-03-11 André Pönitz <poenitz@gmx.net>
9641 * factory.C: make it aware of InsetHFill
9643 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9645 * buffer.C (latexParagraphs): move function from here...
9646 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9649 2003-03-10 Angus Leeming <leeming@lyx.org>
9651 * LyXAction.C (init): fix bug in poplating array with multiple entries
9652 with the same LFUN (spotted by JMarc).
9654 2003-03-10 John Levon <levon@movementarian.org>
9657 * text2.C: move getColumnNearX() near its
9660 2003-03-10 John Levon <levon@movementarian.org>
9662 * text.C: fix break before a minipage
9664 2003-03-10 John Levon <levon@movementarian.org>
9666 * text.C: fix the last commit
9668 2003-03-09 John Levon <levon@movementarian.org>
9672 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9673 bug 365 (don't break before insets unless needed). Don't
9674 return a value > last under any circumstances.
9676 2003-03-09 Angus Leeming <leeming@lyx.org>
9678 * BufferView_pimpl.C (trackChanges, dispatch): call
9679 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9681 2003-03-09 Angus Leeming <leeming@lyx.org>
9683 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9684 than Dialogs::showAboutlyx().
9686 2003-03-09 Angus Leeming <leeming@lyx.org>
9688 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9689 than Dialogs::showTabularCreate().
9691 2003-03-09 John Levon <levon@movementarian.org>
9695 * text2.C: 3rd arg to nextBreakPoint was always the same.
9698 2003-03-08 John Levon <levon@movementarian.org>
9705 * text2.C: Remove the "main" bit from the "main body"
9708 2003-03-08 John Levon <levon@movementarian.org>
9710 * text.C (leftMargin): The left margin of an empty
9711 manual label paragraph should not include the label width
9714 * text.C (prepareToPrint): don't attempt to measure hfills
9715 for empty manual label paragraphs - the answer should be 0
9717 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9719 * CutAndPaste.C: remove commented code and reindent.
9721 2003-03-08 John Levon <levon@movementarian.org>
9724 * lyxfunc.C: move reloadBuffer()
9727 * BufferView.C: to here
9729 * lyxvc.C: add comment
9732 * vc-backend.C: call bv->reload() to avoid
9733 getStatus() check on MENURELOAD
9735 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9737 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9738 to an old format .dep file.
9740 2003-03-07 Angus Leeming <leeming@lyx.org>
9742 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9743 when the LFUN_MOUSE_RELEASE should have been handled by
9744 inset->localDispatch.
9746 2003-03-07 Angus Leeming <leeming@lyx.org>
9748 * BufferView_pimpl.C (dispatch):
9749 * LyXAction.C (init):
9750 * ToolbarDefaults.C (init):
9752 * lyxfunc.C (getStatus):
9753 remove LFUN_INSET_GRAPHICS.
9755 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9757 2003-03-07 Angus Leeming <leeming@lyx.org>
9760 * LyXAction.C (init):
9761 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9763 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9766 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9768 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9769 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9771 2003-03-07 Angus Leeming <leeming@lyx.org>
9773 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9776 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9778 * ParagraphList.C (front): new function
9781 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9783 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9784 and top_row_offset_. removed var first_y.
9786 * text2.C (LyXText, removeRow):
9788 * BufferView_pimpl.C:
9789 use these methods instead of using first_y
9791 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9793 * text2.C (pasteSelection): adjust for checkPastePossible
9795 * CutAndPaste.C: remove Paragraph * buf and replace with
9796 ParagraphList paragraphs.
9797 (DeleteBuffer): delete
9798 (cutSelection): change the tc type to textclass_type
9799 (copySelection): change the tc type to textclass_type
9800 (copySelection): adjust for ParagraphList
9801 (pasteSelection): change the tc type to textclass_type
9802 (pasteSelection): adjust for Paragraphlist
9803 (nrOfParagraphs): simplify for ParagraphList
9804 (checkPastePossible): simplify for ParagraphList
9805 (checkPastePossible): remove unused arg
9807 * ParagraphList.C (insert): handle the case where there are no
9810 * CutAndPaste.h: make CutAndPaste a namespace.
9812 * text3.C (dispatch): adjust
9814 * text.C (breakParagraph): add a ParagraphList as arg
9816 * paragraph_funcs.C (breakParagraph): change to take a
9817 BufferParams and a ParagraphList as args.
9818 (breakParagraphConservative): ditto
9819 (mergeParagraph): ditto
9820 (TeXDeeper): add a ParagraphList arg
9821 (TeXEnvironment): ditto
9824 * buffer.C (readLyXformat2): adjust
9825 (insertStringAsLines): adjust
9826 (latexParagraphs): adjust
9828 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9829 (cutSelection): adjust
9830 (pasteSelection): adjust
9832 * BufferView_pimpl.C (insertInset): adjust
9834 2003-03-05 Angus Leeming <leeming@lyx.org>
9837 * LyXAction.C (init):
9838 * BufferView_pimpl.C (dispatch):
9839 * lyxfunc.C (getStatus):
9840 remove LFUN_CHILD_INSERT.
9842 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9844 2003-03-05 Angus Leeming <leeming@lyx.org>
9847 * LyXAction.C (init):
9848 * src/factory.C (createInset):
9849 * lyxfunc.C (getStatus):
9850 * text3.C (dispatch):
9851 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9853 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9855 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9857 * ParagraphList.C (insert): handle insert right before end()
9858 (erase): fix cases where it can be first or last paragraph.
9860 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9862 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9863 Paragraph::next and Paragraph::previous
9866 * text.C (breakParagraph): adjust
9868 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9869 BufferParams& as arg.
9870 (breakParagraph): use ParagraphList::insert
9871 (breakParagraphConservative): take a Buffer* instead of a
9872 BufferParams& as arg.
9873 (breakParagraphConservative): use ParagraphList::insert.
9875 * buffer.C (insertStringAsLines): un-const it
9876 (insertStringAsLines): adjust
9878 * ParagraphList.C (insert): new function
9880 * CutAndPaste.C (pasteSelection): adjust
9882 * text.C (backspace): adjust
9884 * tabular.C (SetMultiColumn): adjust
9886 * CutAndPaste.C (cutSelection): adjust
9887 (pasteSelection): adjust
9889 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9890 Buffer const * as arg
9892 * ParagraphList.C (erase): new function
9893 * paragraph_funcs.C (mergeParagraph): use it
9894 (mergeParagraph): make it take a Buffer* instead of a
9895 BufferParams* as arg
9897 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9899 (breakParagraphConservative): ditto
9901 * paragraph.h: remove the breakParagraph friend
9903 * paragraph.C (eraseIntern): new function
9904 (setChange): new function
9906 * paragraph_funcs.C (mergeParagraph): make it take a
9907 ParagraphList::iterator instead of a Paragraph *, adjust
9910 * paragraph.h: move an #endif so that the change tracking stuff
9911 also works in the NO_NEXT case.
9913 2003-03-04 Angus Leeming <leeming@lyx.org>
9916 * LyXAction.C: new LFUN_INSET_MODIFY.
9918 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9919 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9921 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9923 * several files: ws changes only
9925 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9926 (TeXEnvironment): ditto
9929 * buffer.C (makeLaTeXFile): adjust
9930 (latexParagraphs): make it take ParagraphList::iterator as args
9932 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9934 * buffer.C (latexParagraphs): adjust
9936 * paragraph.C (TeXOnePar): move function...
9937 (optArgInset): move function...
9938 (TeXEnvironment): move function...
9939 * paragraph_pimpl.C (TeXDeeper): move function...
9940 * paragraph_funcs.C: ...here
9942 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9944 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9946 * buffer.C (readInset): remove compability code for old Figure and
9949 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9951 * buffer.C: ws changes
9954 * BufferView_pimpl.C: ditto
9957 * bufferlist.h: ditto
9961 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9963 * converter.[Ch]: split into itself +
9966 * Makefile.am: += graph.[Ch] + format.[Ch]
9973 * lyxrc.C: added #include "format.h"
9975 2003-02-27 Angus Leeming <leeming@lyx.org>
9977 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9980 * factory.C (createInset): add "label" to the factory.
9982 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9983 string and do no more.
9985 2003-02-27 Angus Leeming <leeming@lyx.org>
9988 * LyXAction.C (init):
9989 * factory.C (createInset):
9990 * BufferView_pimpl.C (dispatch):
9991 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9993 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9995 * lyxfunc.C (dispatch):
9996 * text3.C (dispatch): pass name to params2string.
9998 2003-02-26 Angus Leeming <leeming@lyx.org>
10000 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10002 Rearrange the ~includes. Strip out the unnecessary ones.
10004 * factory.C (createInset): reformat.
10005 create new insets for the various LFUN_XYZ_APPLY lfuns.
10007 2003-02-26 John Levon <levon@movementarian.org>
10010 * lyxrow.C: add isParStart,isParEnd helpers
10012 * paragraph.h: make isInserted/DeletedText take refs
10014 * paragraph_funcs.h:
10015 * paragraph_funcs.C: remove #if 0'd code
10020 * text.C: use lyxrow helpers above.
10021 Move draw and paint routines to RowPainter.
10022 Make several methods use refs not pointers.
10023 Make backgroundColor() const.
10024 Add markChangeInDraw(), isInInset().
10025 Merge changeRegionCase into changeCase.
10026 Make workWidth() shouldn't-happen code into an Assert.
10029 * rowpainter.C: new class for painting a row.
10032 * vspace.C: make inPixels take a ref
10034 2003-02-26 Angus Leeming <leeming@lyx.org>
10036 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10039 2003-02-25 John Levon <levon@movementarian.org>
10041 * ispell.C: give the forked command a more accurate name
10043 2003-02-22 John Levon <levon@movementarian.org>
10046 * toc.C: make TocItem store an id not a Paragraph *
10049 2003-02-21 Angus Leeming <leeming@lyx.org>
10051 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10052 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10053 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10054 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10055 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10056 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10058 * BufferView_pimpl.C (dispatch):
10059 * LyXAction.C (init):
10060 * factory.C (createInset):
10061 * lyxfunc.C (getStatus, dispatch):
10062 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10064 2003-02-21 Angus Leeming <leeming@lyx.org>
10066 * BufferView_pimpl.C (MenuInsertLyXFile):
10067 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10068 * lyxfunc.C (menuNew, open, doImport):
10069 no longer pass a LyXView & to fileDlg.
10071 2003-02-21 Angus Leeming <leeming@lyx.org>
10073 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10074 * LyXAction.C: change, BIBKEY to BIBITEM.
10075 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10076 Change InsetBibKey to InsetBibitem.
10077 Change BIBKEY_CODE to BIBITEM_CODE.
10078 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10079 * factory.C: replace insetbib.h with insetbibitem.h.
10080 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10081 * paragraph.C: replace insetbib.h with insetbibitem.h.
10082 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10083 Change bibkey() to bibitem().
10084 * text.C: remove insetbib.h.
10085 * text2.C: replace insetbib.h with insetbibitem.h.
10086 change bibkey() to bibitem().
10087 * text3.C: remove insetbib.h.
10088 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10090 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10092 * lyxrc.C (output): enclose user email in quotes (in case there are
10095 2003-02-18 John Levon <levon@movementarian.org>
10097 * buffer.h: add std::
10099 2003-02-17 John Levon <levon@movementarian.org>
10105 * pspell.C: reworking. Especially in ispell, a large
10106 number of clean ups and bug fixes.
10108 * lyxfunc.C: fix revert to behave sensibly
10110 2003-02-17 André Pönitz <poenitz@gmx.net>
10113 * commandtags.h: new LFUN_INSERT_BIBKEY
10123 * paragraph_func.C: remove special bibkey handling
10125 2003-02-17 John Levon <levon@movementarian.org>
10127 * text.C (Delete): fix case where delete at the end of
10128 the very first paragraph would not merge the pars
10130 2003-02-17 John Levon <levon@movementarian.org>
10132 * lyxrow.C: fix lastPrintablePos()
10134 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10136 * bufferparams.C (writeLaTeX): add a std:here
10138 * buffer.C: and remove a using directive there
10140 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10142 * buffer.C (makeLaTeXFile): move the code that generates the
10145 * bufferparams.C (writeLaTeX): ... in this new method
10147 * LaTeXFeatures.C (getEncodingSet): make const
10148 (getLanguages): make const
10150 * MenuBackend.C (binding): returns the binding associated to this
10152 (add): sets the status of each item by calling getStatus. Adds
10154 (read): add support for OptSubMenu
10155 (expand): remove extra separator at the end of expanded menu
10157 2003-02-15 John Levon <levon@movementarian.org>
10160 * BufferView_pimpl.C:
10162 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10163 inset code that had no actual effect. Remove unneeded status
10166 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10168 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10171 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10173 * text.C (drawLengthMarker): also draw an arrow marker for
10174 symbolic lengths (medskip...)
10176 2003-02-14 John Levon <levon@movementarian.org>
10179 * tabular.C: better method names
10181 2003-02-14 John Levon <levon@movementarian.org>
10183 * BufferView_pimpl.C:
10188 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10189 it's a more accurate name. Remove some pointless uses.
10191 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10193 * text2.C (LyXText): change order of initilizers to shut off
10196 2003-02-14 John Levon <levon@movementarian.org>
10198 * buffer.C: use ParIterator for getParFromID()
10202 * paragraph_pimpl.h:
10203 * paragraph_pimpl.C: remove unused getParFromID()
10205 2003-02-14 John Levon <levon@movementarian.org>
10207 * buffer.C: remove some very old #if 0'd parse code
10209 2003-02-13 John Levon <levon@movementarian.org>
10213 * text2.C: move hfillExpansion(), numberOfSeparators(),
10214 rowLast(), rowLastPrintable(), numberofHfills(),
10215 numberOfLabelHfills() ...
10218 * lyxrow.C: ... to member functions here.
10223 * text.C: remove LyXText::beginningOfMainBody(), and call
10224 p->beginningOfMainBody() directly. Move the check for
10225 LABEL_MANUAL into the latter.
10232 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10238 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10239 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10241 2003-02-13 John Levon <levon@movementarian.org>
10243 * CutAndPaste.C: remove debug
10245 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10247 * paragraph.C (asString): remove two unused variables
10249 * lyxtextclass.C (readTitleType):
10251 (LyXTextClass): handle new members titletype_ and titlename_
10253 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10255 2003-02-09 John Levon <levon@movementarian.org>
10258 * buffer.C: replace hand-coded list with a map for the dep clean
10260 2003-02-08 John Levon <levon@movementarian.org>
10262 * LaTeX.C: consolidate code into showRunMessage() helper
10264 2003-02-08 John Levon <levon@movementarian.org>
10269 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10270 and pass the size in explicitly
10272 * BufferView_pimpl.h:
10273 * BufferView_pimpl.C:
10275 * BufferView.C: add getCurrentChange()
10277 * BufferView_pimpl.h:
10278 * BufferView_pimpl.C: handle change lfuns
10280 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10281 for changes. Mark pasted paragraphs as new.
10283 * support/lyxtime.h:
10284 * support/lyxtime.C:
10285 * DepTable.C: abstract time_t as lyx::time_type
10288 * LColor.C: add colours for new text, deleted text, changebars
10290 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10291 package use "usenames" option.
10295 * LyXAction.C: add change lfuns
10299 * author.C: author handling
10302 * buffer.C: add a per-buffer author list, with first entry as
10303 current author. Handle new .lyx tokens for change tracking. Output
10304 author list to .lyx file. Output dvipost stuff to .tex preamble.
10305 Bump lyx format to 222.
10308 * bufferlist.C: add setCurrentAuthor() to reset current author details
10312 * bufferparams.C: add param for tracking
10314 * bufferview_funcs.C: output change info in minibuffer
10318 * changes.C: add change-tracking structure
10321 * debug.C: add CHANGES debug flag
10324 * lyxfind.C: add code for finding the next change piece
10327 * lyxrc.C: add user_name and user_email
10330 * lyxrow.C: add a metric for the top of the text line
10333 * text.C: implement accept/rejectChange()
10336 * text.C: paint changebars. Paint new/deleted text in the chosen
10337 colours. Strike through deleted text.
10341 * paragraph_pimpl.h:
10342 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10343 in the current change to the insert functions. Rework erase to
10344 mark text as deleted, adding an eraseIntern() and a range-based
10345 erase(). Implement per-paragraph change lookup and
10348 * paragraph_funcs.C: Fixup paste for change tracking.
10350 * tabular.C: mark added row/columns as new.
10352 * text.C: fix rowLast() to never return -1. Don't allow
10353 spellchecking of deleted text. Track transpose changes. Don't
10354 allow paragraph break or merge where appropriate.
10356 * text2.C: leave cursor at end of selection after a cut.
10358 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10360 * text.C (getLengthMarkerHeight):
10361 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10362 visible on screen too.
10364 2003-02-07 John Levon <levon@movementarian.org>
10366 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10368 2003-02-05 Angus Leeming <leeming@lyx.org>
10370 * lyxserver.C (read_ready): revert my patch of 11 September last year
10371 as it sends PC cpu through the roof. Presumably this means that
10372 the lyxserver will no longer run on an Alpha...
10374 2003-01-30 Angus Leeming <leeming@lyx.org>
10376 * factory.C (createInset): create an InsetCommandParam of type "index"
10377 and use it to 'do the right thing'.
10379 * text2.C (getStringToIndex): ensure that cursor position is always
10380 reset to the reset_cursor position.
10382 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10384 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10387 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10391 * lyxfunc.C: Output messages with identical spelling, punctuation,
10394 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10396 * MenuBackend.C (expandFormats): List only viewable export formats
10399 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10402 * lyxfunc.C (getStatus): Make sure that formats other than
10403 "fax" can also be disabled
10405 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10407 * text3.C (dispatch): put the lfuns that insert insets in 3
10408 groups, and call doInsertInset with appropriate arguments.
10409 (doInsertInset): new function, that creates an inset and inserts
10410 it according to some boolean parameters.
10412 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10414 * buffer.C (readFile): remember to pass on 'par' when calling
10415 readFile recursively.
10417 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10419 * MenuBackend.C (expandFormats): add "..." to import formats.
10421 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10423 * paragraph.C (asString): Remove XForms RTL hacks.
10425 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10426 * buffer.C: fix typo
10428 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10430 * Makefile.am (LIBS): delete var
10431 (lyx_LDADD): add @LIBS@ here instead.
10433 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10435 * Clarify the meaning of "wheel mouse jump"
10437 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10439 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10442 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10444 * importer.C (Loaders): do not preallocate 3 elements in the
10445 vector, since one ends up with 6 elements otherwise
10447 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10449 * DepTable.C (write): write the file name as last element of the
10450 .dep file (because it may contain spaces)
10451 (read): read info in the right order
10453 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10455 * paragraph_pimpl.C (simpleTeXBlanks):
10456 (simpleTeXSpecialChars):
10457 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10459 * tabular.C (latex): add some missing case statements. Reindent.
10461 * MenuBackend.C (expandToc): remove unused variable.
10463 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10472 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10475 2003-01-05 John Levon <levon@movementarian.org>
10478 * BufferView.C: add getEncoding()
10481 * kbsequence.C: do not store last keypress
10484 * lyxfunc.C: store last keypress here instead. Pass encoding
10487 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10489 * lyx_main.C (init): remove annoying error message when following
10490 symbolic links (bug #780)
10492 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10494 * text.C (insertChar):
10495 * lyxrc.C (getDescription): remove extra spaces
10497 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10499 * lyxrc.C (getDescription): remove extra spaces
10501 2002-12-20 John Levon <levon@movementarian.org>
10503 * text3.C: hack fix for page up/down across tall rows
10505 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10507 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10510 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10512 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10513 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10514 thesaurus is not compiled in
10516 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10518 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10520 2002-12-16 Angus Leeming <leeming@lyx.org>
10523 * lyx_main.C (init): remove override_x_deadkeys stuff.
10525 2002-12-12 John Levon <levon@movementarian.org>
10527 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10528 insert. Only remove shift modifier under strict
10531 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10533 * MenuBackend.C (expandToc): fix crash.
10535 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10537 * MenuBackend.C (expandToc): gettext on float names.
10539 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10541 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10542 implement bool empty() [bug 490]
10544 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10546 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10548 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10550 * several files: ws changes
10552 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10554 * text2.C (setCounter): clean up a bit, use boost.format.
10555 (updateCounters): initialize par upon declaration.
10557 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10558 if the layout exists. We do not just store the layout any more.
10559 (SwitchLayoutsBetweenClasses): use boost.format
10561 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10563 * converter.C (convert): if from and to files are the same, use a
10564 temporary files as intermediary
10566 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10569 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10571 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10573 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10575 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10577 * tabular.C (asciiPrintCell): use string(size, char) instead of
10580 * sgml.C (openTag): fix order of arguments to string constructor
10583 * lyxfunc.C (dispatch): use boost.format
10585 * lots of files: change "c" -> 'c'
10587 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10589 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10591 2002-11-25 Angus Leeming <leeming@lyx.org>
10593 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10595 * lyx_main.C (init): compile fix.
10597 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10599 * lyx_cb.C (start): boost.formatify
10600 do not include <iostream>
10602 * lengthcommon.C: ws only
10604 * boost-inst.C,BoostFormat.h: add more explict instantations
10606 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10608 * lots of files: handle USE_BOOST_FORMAT
10610 2002-11-21 John Levon <levon@movementarian.org>
10612 * pspell.C: fix compile
10614 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10616 * lyxfunc.C (dispatch): use boost::format
10620 * lyxfont.C (stateText): use boost::format
10622 * lyx_main.C (LyX): use boost::format
10624 (queryUserLyXDir): ditto
10625 (readRcFile): ditto
10627 (typedef boost::function): use the recommened syntax.
10629 * importer.C (Import): use boost::format
10631 * debug.C (showLevel): use boost::format
10633 * converter.C (view): use boost::format
10638 * bufferview_funcs.C (currentState): use boost::format
10640 * bufferlist.C (emergencyWrite): use boost::format
10642 * buffer.C (readLyXformat2): use boost::format
10643 (parseSingleLyXformat2Token): ditto
10645 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10647 * LaTeX.C (run): use boost::format
10649 * Chktex.C (scanLogFile): use boost::format
10651 * BufferView_pimpl.C (savePosition): use boost::format
10652 (restorePosition): ditto
10653 (MenuInsertLyXFile): ditto
10655 * BoostFormat.h: help file for explicit instation.
10657 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10659 * tabular.C (latex): Support for block alignment in fixed width
10662 2002-11-17 John Levon <levon@movementarian.org>
10664 * BufferView_pimpl.C:
10666 * lyxfunc.C: split filedialog into open/save
10668 2002-11-08 Juergen Vigna <jug@sad.it>
10670 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10671 by my last patch (hopefully).
10673 2002-11-08 John Levon <levon@movementarian.org>
10682 * toc.C: ParConstIterator, and use it (from Lars)
10684 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10686 * lyxtextclass.[Ch]: revise and add doxygen comments
10688 2002-11-07 John Levon <levon@movementarian.org>
10690 * text.C: fix progress value for spellchecker
10692 * toc.C: fix navigate menu for insetwrap inside minipage
10694 * paragraph_funcs.C: added FIXME for suspect code
10696 2002-11-07 John Levon <levon@movementarian.org>
10698 * BufferView_pimpl.C: fix redrawing of insets
10701 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10703 * text2.C (updateCounters): fix bug 668
10705 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10707 * text3.C (dispatch): Do not make the buffer dirty when moving the
10710 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10712 * vc-backend.C: STRCONV
10713 (scanMaster): ditto
10715 * text2.C (setCounter): STRCONV
10717 * paragraph.C (asString): STRCONV
10719 * lyxlength.C (asString): STRCONV
10720 (asLatexString): ditto
10722 * lyxgluelength.C (asString): STRCONV
10723 (asLatexString): ditto
10725 * lyxfunc.C (dispatch): STRCONV
10728 * lyxfont.C (stateText): STRCONV
10730 * importer.C (Import): STRCONV
10732 * counters.C (labelItem): STRCONV
10733 (numberLabel): ditto
10734 (numberLabel): remove unused ostringstream o
10739 * bufferview_funcs.C (currentState): STRCONV
10741 * buffer.C (readFile): STRCONV
10742 (asciiParagraph): ditto
10743 (makeLaTeXFile): ditto
10745 * Spacing.C (writeEnvirBegin): STRCONV
10747 * LaTeXFeatures.C (getLanguages): STRCONV
10748 (getPackages): ditto
10750 (getBabelOptions): ditto
10751 (getTClassPreamble): ditto
10752 (getLyXSGMLEntities): ditto
10753 (getIncludedFiles): ditto
10757 (scanAuxFile): ditto
10760 * LString.h: add the STRCONV macros
10762 * BufferView_pimpl.C (savePosition): STRCONV
10763 (restorePosition): ditto
10764 (MenuInsertLyXFile): ditto
10766 * vc-backend.C (scanMaster): change from submatch[...] to
10769 * funcrequest.C: include config.h
10771 * factory.C: include config.h
10773 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10775 * box.C: include config.h
10777 * LaTeX.C (scanAuxFile): change from submatch[...] to
10781 2002-10-25 Angus Leeming <leeming@lyx.org>
10783 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10785 * ispell.[Ch] (setError): new method.
10786 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10787 Use setError() insetead of goto END.
10789 * lyx_cb.C (AutoSave): move out child process into new class
10792 2002-10-30 John Levon <levon@movementarian.org>
10794 * text3.C: make start appendix undoable
10796 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10798 * lyxlength.C (inPixels): Fix returned value.
10800 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10803 2002-10-24 Angus Leeming <leeming@lyx.org>
10805 * lyxgluelength.h: no need to forward declare BufferParams
10806 or BufferView, so don't.
10808 2002-10-21 John Levon <levon@movementarian.org>
10810 * BufferView.C: menuUndo ->undo, redo
10812 * BufferView.h: document, remove dead, make some methods private
10814 * paragraph_funcs.h:
10815 * paragraph_funcs.C:
10816 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10821 * sgml.C: move sgml open/close tag into sgml.C
10823 * bufferview_funcs.h: unused prototype
10826 * lyxfunc.C: remove unused
10829 * text.C: remove unused
10831 2002-10-21 John Levon <levon@movementarian.org>
10835 * BufferView_pimpl.h:
10836 * BufferView_pimpl.C: fix mouse wheel handling based on
10837 patch from Darren Freeman
10839 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10841 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10843 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10845 * lyxlength.C (inPixels): Fix hanfling of negative length.
10846 Fix LyXLength::MU case.
10848 2002-10-16 John Levon <levon@movementarian.org>
10850 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10852 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10854 * converter.C (view): add support for $$i (file name) and $$p
10855 (file path) for the viewer command. If $$i is not specified, then
10856 it is appended to the command (for compatibility with old syntax)
10858 2002-10-14 Juergen Vigna <jug@sad.it>
10860 * undo_funcs.C (textHandleUndo): alter the order in which the
10861 new undopar is added to the LyXText, as we have to set first
10862 the right prev/next and then add it as otherwise the rebuild of
10863 LyXText is not correct. Also reset the cursor to the right paragraph,
10864 with this IMO we could remove the hack in "redoParagraphs()".
10866 2002-10-09 Angus Leeming <leeming@lyx.org>
10868 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10869 to turn off an optimisation if a new inset is to be inserted.
10871 2002-10-11 André Pönitz <poenitz@gmx.net>
10873 * lyxtext.h: make some functions public to allow access
10874 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10876 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10878 * text3.C (dispatch): when changing layout, avoid an infinite loop
10881 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10883 * lyxrc.C (read): treat a viewer or converter command of "none" as
10886 * MenuBackend.C (expandFormats): for an update, also allow the
10887 formats that are not viewable
10889 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10890 script if it is newer than the lyxrc.defaults in user directory
10892 2002-10-07 André Pönitz <poenitz@gmx.net>
10894 * text.C: Vitaly Lipatov's small i18n fix
10896 2002-09-25 Angus Leeming <leeming@lyx.org>
10898 * ispell.h: doxygen fix.
10900 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10902 * buffer.h (readFile): Add a new argument to the method, to allow
10903 reading of old-format templates.
10905 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10907 * toc.C (getTocList): Get TOC from InsetWrap.
10909 2002-09-16 John Levon <levon@movementarian.org>
10911 * lyxfunc.C: check tabular for cut/copy too
10913 2002-09-12 John Levon <levon@movementarian.org>
10915 * LyXAction.C: tidy
10918 * factory.C: add header
10920 * paragraph_funcs.h:
10921 * paragraph_funcs.C: cleanup
10923 2002-09-11 John Levon <levon@movementarian.org>
10925 * PrinterParams.h: odd/even default to true
10927 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10929 * PrinterParams.h: update printer parameters for new xforms dialog
10931 2002-09-11 Angus Leeming <leeming@lyx.org>
10933 * lyxserver.C (read_ready): re-write to make it more transparent
10934 and to make it work in coherent fashion under Tru64 Unix.
10936 2002-09-11 André Pönitz <poenitz@gmx.net>
10940 * text3.C: implement LFUN_WORDSEL
10942 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10944 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10945 make floatlist_ a boost::shared_ptr<FloatList>
10947 * lyxtextclass.C: include FloatList.h
10948 (LyXTextClass): initialize floatlist_
10949 (TextClassTags): add TC_NOFLOAT
10950 (Read): match "nofloat" to TC_NOFLOAT and use it.
10951 (readFloat): modify call to floatlist_
10955 * FloatList.[Ch] (FloatList): remove commented out float
10957 (erase): new function
10959 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10961 * MenuBackend.C (expandToc): fix crash when there is no document
10964 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10966 * many files: Add insetwrap.
10968 2002-09-09 John Levon <levon@movementarian.org>
10970 * text2.C: remove confusing and awkward depth wraparound
10972 2002-09-09 John Levon <levon@movementarian.org>
10974 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10977 * buffer.C: remove getIncludeonlyList()
10980 * lyxfunc.C: remove headers
10982 2002-09-09 Juergen Vigna <jug@sad.it>
10984 * text.C (getColumnNearX): fix form Michael this is most
10985 probably a cut&paste bug.
10987 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10989 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10991 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10992 references, ws changes.
10994 * text2.C (init): update counters after init
10995 (insertParagraph): no need to set counter on idividual paragraphs.
10996 (setCounter): access the counters object in the textclass object
10997 on in the buffer object.
10998 (updateCounters): ditto
11000 * lyxtextclass.C: include counters.h, add variable ctrs_ as
11001 shared_ptr<Counters> to avoid loading counters.h in all
11003 (LyXTextClass): initialize ctrs_
11004 (TextClassTags): add TC_COUNTER, and ...
11005 (Read): use it here.
11006 (CounterTags): new tags
11007 (readCounter): new function
11008 (counters): new funtion
11009 (defaultLayoutName): return a const reference
11011 * counters.C (Counters): remove contructor
11012 (newCounter): remove a couple of unneeded statements.
11013 (newCounter): simplify a bit.
11014 (numberLabel): some small formatting changes.
11016 * buffer.[Ch]: remove all traces of counters, move the Counters
11017 object to the LyXTextClass.
11019 2002-09-06 Alain Castera <castera@in2p3.fr>
11021 * tabular.C: uses \tabularnewline; uses >{...} construct from array
11022 package to set the horizontal alignment on fixed width columns.
11025 * lyx_sty.h: added tabularnewline macro def.
11027 * LaTeXFeatures.C: added NeedTabularnewline macro feature
11029 2002-09-06 John Levon <levon@movementarian.org>
11031 * LyXAction.C: tooltips for sub/superscript
11033 * MenuBackend.C: a bit more verbose
11035 * lyxfunc.C: tiny clean
11037 * undo_funcs.C: document undo_frozen
11039 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
11041 * counters.C (Counters): add missing algorithm counter.
11043 * text2.C (setCounter): lookup the counter with layouts latexname
11044 instead of by section number.
11045 (setCounter): use a hackish way to lookup the correct enum
11047 a float name->type change
11048 reset enum couners with counter name directly instead of depth value.
11050 * counters.C (Counters): remove the push_backs, change to use the
11051 float type not the float name.
11052 (labelItem): remove unused string, float name->type change
11054 * counters.h: don't include vector, loose the enums and sects vectors
11056 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
11058 * lyxtextclass.C (TextClassTags): add TC_FLOAT
11059 (Read): add float->TC_FLOAT to textclassTags
11060 (Read): and handle it in the switch
11061 (readFloat): new function
11063 * FloatList.C (FloatList): comment out the hardcoded float
11066 * lyxlayout.h: ws change.
11068 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
11070 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11072 2002-09-03 Angus Leeming <leeming@lyx.org>
11074 * BufferView_pimpl.h: qualified name is not allowed in member
11075 declaration: WorkArea & Pimpl::workarea() const;
11077 * factory.C: added using std::endl directive.
11079 * text3.C: added using std::find and std::vector directives.
11081 2002-08-29 André Pönitz <poenitz@gmx.net>
11084 * text2.C: remove unused member number_of_rows
11087 * BufferView2.C: remove file, move contents to...
11088 * BufferView.C: ... here
11090 * BufferView_pimpl.C:
11091 * factory.C: move more inset creation to factory
11093 * vspace.C: avoid direct usage of LyXText, ws changes
11096 don't provide direct access to WorkArea, use two simple
11097 acessors haveSelction() and workHeight() instead
11100 2002-08-29 John Levon <levon@movementarian.org>
11102 * BufferView_pimpl.C (dispatch): do not continue when
11105 2002-08-28 André Pönitz <poenitz@gmx.net>
11107 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11110 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11112 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
11114 * buffer.C: increment LYX_FORMAT to 221
11116 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11117 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11119 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11121 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11123 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11125 * factory.C (createInset): use LyXTextClass::floats
11127 * MenuBackend.C (expandFloatListInsert):
11128 (expandFloatInsert):
11131 * text2.C (setCounter):
11133 * LaTeXFeatures.C (useFloat):
11134 (getFloatDefinitions):
11136 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11138 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11139 floatlist_, with accessor floats().
11141 * FloatList.h: remove global FloatList
11143 2002-08-26 André Pönitz <poenitz@gmx.net>
11145 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11149 * BufferView_pimpl.C:
11150 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11152 2002-08-25 John Levon <levon@movementarian.org>
11154 * LyXAction.C: fix margin note description
11156 2002-08-24 John Levon <levon@movementarian.org>
11160 * bufferview_funcs.C:
11162 * undo_funcs.C: cleanups
11164 * lyxfunc.C: disable CUT/COPY when no selection
11166 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11168 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11169 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11171 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11172 Add backward compatibility to "mono", "gray" and "no".
11174 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11176 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11177 (and file_format >= 200).
11179 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11181 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11183 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11185 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11187 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11189 * BufferView_pimpl.C:
11196 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11197 inset and code to make it work with the paragraph code. The inset
11198 can be anywhere in the paragraph, but will only do the expected
11199 thing in LaTeX if the layout file contains the parameter line
11201 (or more generally, a nonzero value) for that layout.
11203 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11205 * paragraph.h: remove the declaration of undefined counters class
11208 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11210 * text2.C (setCounter): fixed enumeration mis-count as reported by
11211 Dr. Richard Hawkins.
11213 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11215 * paragraph_funcs.h: remove some unneeded includes
11217 * text.C (backspace): pasteParagraph now in global scipe
11219 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11220 (pasteSelection): ditto
11222 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11223 * paragraph_funcs.C (pasteParagraph): ... here
11225 2002-08-20 André Pönitz <poenitz@gmx.net>
11227 * commandtags.h: new LFUNs for swapping/copying table row/colums
11230 * lyxfunc.C: support for new lfuns
11232 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11235 * buffer.[Ch]: remove NO_COMPABILITY stuff
11237 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11239 * boost.C (throw_exception): new file, with helper function for
11240 boost compiled without exceptions.
11245 * ParameterStruct.h:
11246 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11248 * bufferlist.C (emergencyWriteAll): use boost bind
11250 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11252 * text.C: include paragraph_funcs.h
11253 (breakParagraph): breakParagraph is now in global scope
11255 * paragraph_funcs.[Ch]: new files
11257 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11260 * buffer.C: include paragraph_funcs.h
11261 (insertStringAsLines): breakParagraph is now in global scope
11263 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11266 * CutAndPaste.C: include paragraph_funcs.h
11267 (cutSelection): breakParagraphConservative is now in global scope
11268 (pasteSelection): ditto
11270 * buffer.h: declare oprator== and operator!= for
11271 Buffer::inset_iterator
11273 * bufferlist.C (emergencyWrite): don't use fmt(...)
11275 * text3.C: add using std::endl
11277 * BufferView.C (moveCursorUpdate): remove default arg
11279 2002-08-20 André Pönitz <poenitz@gmx.net>
11281 * buffer.[Ch]: move inline functions to .C
11284 * BufferView_pimpl.C:
11286 * buffer.[Ch]: use improved inset_iterator
11289 * paragraph.[Ch]: write one paragraph at a time
11291 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11293 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11294 style if style is not specified.
11296 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11298 * text2.C (setCounter): when searching for right label for a
11299 caption, make sure to recurse to parent insets (so that a caption
11300 in a minipage in a figure float works) (bug #568)
11302 2002-08-20 André Pönitz <poenitz@gmx.net>
11304 * text3.C: new file for LyXText::dispatch() and helpers
11306 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11308 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11310 2002-08-19 André Pönitz <poenitz@gmx.net>
11313 * text.C: new LyXText::dispatch()
11315 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11317 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11319 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11321 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11324 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11326 * Makefile.am: use $(variables) instead of @substitutions@
11328 2002-08-15 André Pönitz <poenitz@gmx.net>
11331 * BufferView_pimpl.C: streamlining mathed <-> outer world
11335 * LyXAction.C: remove unused LFUN_MATH
11337 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11339 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11341 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11343 * paragraph.C (Paragraph): reformat a bit
11344 (cutIntoMinibuffer): use builtin InsetList function instad of
11348 * buffer.C: include boost/bind.hpp, add using std::for_each
11349 (writeFileAscii): use ParagraphList iterators
11350 (validate): use for_each for validate traversal of paragraphs
11351 (getBibkeyList): use ParagraphList iterators
11352 (resizeInsets): use for_each to resizeInsetsLyXText for all
11354 (getParFromID): use ParagraphList iterators
11356 * BufferView2.C (lockInset): use paragraph list and iterators
11358 2002-08-14 John Levon <levon@movementarian.org>
11360 * lyxserver.C: remove spurious xforms include
11362 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11364 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11366 2002-08-13 André Pönitz <poenitz@gmx.net>
11369 * lyxfunc.C: further cleaning
11371 2002-08-13 André Pönitz <poenitz@gmx.net>
11373 * funcrequest.h: new constructor
11375 * funcrequest.C: move stuff here from .h
11378 * BufferView_pimpl.C:
11381 * lyxfunc.C: subsequent changes
11383 * lyxfunc.h: new view() member function
11385 * lyxfunc.C: subsequent changes
11387 2002-08-13 Angus Leeming <leeming@lyx.org>
11390 * BufferView_pimpl.C:
11398 changes due to the changed LyXView interface that now returns references
11399 to member variables not pointers.
11401 2002-08-13 Angus Leeming <leeming@lyx.org>
11403 * WordLangTuple (word, lang_code): return references to strings,
11408 * lyxtext.h: forward-declare WordLangTuple.
11413 * text.C: #include "WordLangTuple.h".
11416 * text.C: (selectNextWordToSpellcheck): constify return type.
11418 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11424 * paragraph_pimpl.h:
11427 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11428 suggested by Angus.
11429 Made updateCounter always count from start of buffer, and removed
11430 second argument (par).
11431 Reverted floats number display to '#'. Perhaps I'll try again when the
11432 code base is sanitized a bit.
11434 2002-08-12 Angus Leeming <leeming@lyx.org>
11436 * buffer.[Ch] (getLabelList): constify.
11438 2002-08-07 André Pönitz <poenitz@gmx.net>
11440 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11442 * funcrequest.h: extension to keep mouse (x,y) position
11444 2002-08-12 Juergen Vigna <jug@sad.it>
11446 * BufferView2.C (insertErrors): forbid undo when inserting error
11449 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11451 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11453 * ParagraphList.[Ch]: new files
11455 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11457 * BufferView2.C (lockInset): ParagraphList changes
11460 * bufferlist.C: ditto
11464 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11466 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11467 unused class variable counter_,
11469 * paragraph.[Ch] (getFirstCounter): delete unused function
11471 * counters.C: include LAssert.h
11472 (reset): add a new function with no arg, change other version to
11473 not have def. arg and to not allow empty arg.
11475 * text2.C (setCounter): remove empty arg from call to Counters::reset
11477 2002-08-11 John Levon <levon@movementarian.org>
11479 * Makefile.am: add WordLangTuple.h
11481 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11483 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11484 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11486 * insets/insettext.C: InsetList changes
11488 * graphics/GraphicsSupport.C (operator()): InsetList changes
11490 * toc.C (getTocList): InsetList changes
11492 * paragraph_pimpl.[Ch]: InsetList changes
11494 * paragraph.[Ch]: InsetList changes
11496 * buffer.C (inset_iterator): InsetList changes
11497 (setParagraph): ditto
11498 * buffer.h (inset_iterator): ditto
11499 * iterators.C (operator++): ditto
11500 * iterators.h: ditto
11502 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11504 * InsetList.[Ch]: new files, most InsetList handling moved out of
11507 * BufferView2.C (removeAutoInsets): InsetList changes
11509 (ChangeInsets): ditto
11511 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11513 * paragraph_pimpl.h (empty): new function
11515 * paragraph.[Ch] (empty): new function
11517 * other files: use the new Paragraph::empty function
11519 2002-08-09 John Levon <levon@movementarian.org>
11521 * lyxtext.h: remove unused refresh_height
11523 2002-08-09 John Levon <levon@movementarian.org>
11530 * paragraph.C: move sgml char escaping out of paragraph
11533 * paragraph.C: remove id setter
11537 * paragraph_pimpl.C: remove dead tex_code_break_column
11539 * bufferview_funcs.C: small cleanup
11541 * lyxfunc.C: remove dead proto
11543 * lyxtext.h: make some stuff private. Remove some dead stuff.
11545 * lyxgluelength.C: make as[LyX]String() readable
11547 2002-08-08 John Levon <levon@movementarian.org>
11552 * ToolbarDefaults.C:
11555 * toc.C: lyxaction cleanup
11557 2002-08-08 John Levon <levon@movementarian.org>
11559 * BufferView2.C: small cleanup
11562 * lyxfind.C: move unnecessary header into the .C
11564 2002-08-08 John Levon <levon@movementarian.org>
11566 * funcrequest.h: just tedious nonsense
11569 * lyx_main.C: cleanups
11572 * vspace.C: remove dead header lyx_main.h
11574 2002-08-07 Angus Leeming <leeming@lyx.org>
11577 * paragraph_pimpl.h:
11578 Forward declare class Counters in paragraph.h by moving the ctrs member
11579 variable into Paragraph::Pimpl.
11580 (counters): new method, returning a reference to pimpl_->ctrs.
11582 * text2.C: ensuing changes.
11584 2002-08-07 John Levon <levon@movementarian.org>
11586 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11588 * BufferView_pimpl.C: announce X selection on double/triple
11591 * lyx_main.C: use correct bool in batch dispatch
11593 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11595 2002-08-07 André Pönitz <poenitz@gmx.net>
11597 * funcrequest.h: new class to wrap a kb_action and its argument
11600 * BufferView_pimpl[Ch]:
11604 * lyxrc.C: subsequent changes
11607 2002-08-07 John Levon <levon@movementarian.org>
11609 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11610 document options change.
11612 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11617 * makefile.am: move counters functionality over from
11618 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11620 2002-08-06 John Levon <levon@movementarian.org>
11622 * WordLangTuple.h: new file for word + language code tuple
11633 * BufferView2.C: use WordLangTuple
11636 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11638 2002-08-06 John Levon <levon@movementarian.org>
11640 * lyx_main.C: fix cmdline batch handling
11642 2002-08-06 André Pönitz <poenitz@gmx.net>
11644 * lyxrc.C: set default for show_banner to true
11646 2002-08-06 John Levon <levon@movementarian.org>
11648 * pspell.C: fix a crash, and allow new aspell to work
11650 2002-08-06 John Levon <levon@movementarian.org>
11653 * kbmap.C: small cleanup
11656 * vspace.C: add const
11658 2002-08-05 John Levon <levon@movementarian.org>
11660 * LyXAction.C: back to tabular-insert
11662 2002-08-04 John Levon <levon@movementarian.org>
11665 * BufferView.C: cosmetic change
11667 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11677 * BufferView2.C: purge all "Lyx" not "LyX" strings
11680 * lyxcursor.C: attempt to add some documentation
11685 * ToolbarDefaults.C:
11686 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11687 merge with LFUN_TABULAR_INSERT
11694 * pspell.C: split up i/pspell implementations into separate
11695 files, many cleanups
11697 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11699 * text2.C: some cleanup
11701 * lyxfunc.C: don't check for isp_command == "none" any more, it
11702 didn't make any sense
11704 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11709 * makefile.am: move counters functionality over
11710 from text2.C/paragraph.[Ch] to counters.[Ch], and
11712 2002-08-02 John Levon <levon@movementarian.org>
11714 * buffer.C: s/lyxconvert/lyx2lyx/
11716 2002-08-02 Angus Leeming <leeming@lyx.org>
11718 * lyxlex.C: revert John's change as it breaks reading of the user
11721 2002-08-02 Angus Leeming <leeming@lyx.org>
11723 * importer.C (Import):
11724 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11725 changes due to LyXView::view() now returning a boost::shared_ptr.
11727 2002-08-02 John Levon <levon@movementarian.org>
11729 * lyxlex.C: small cleanup
11731 2002-08-02 John Levon <levon@movementarian.org>
11733 * text2.C (status): small cleanup, no logic change
11735 2002-08-01 John Levon <levon@movementarian.org>
11738 * buffer.C (writeFile): don't output alerts, caller
11742 * lyx_cb.C: from above
11744 * lyxfunc.C: allow to open non-existent files
11746 2002-07-31 John Levon <levon@movementarian.org>
11748 * lyxserver.C: don't let incidental errors get
11751 2002-07-30 John Levon <levon@movementarian.org>
11753 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11755 2002-07-30 John Levon <levon@movementarian.org>
11758 * lyxserver.C: remove I/O callback too
11760 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11762 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11765 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11767 * many files: strip,frontStrip -> trim,ltrim,rtrim
11769 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11771 * PrinterParams.h: remove extern containsOnly, and include
11772 support/lstrings.h instead.
11774 * LaTeX.C (scanAuxFile): modify because of strip changes
11776 * buffer.C (makeLaTeXFile): ditto
11777 * bufferparams.C (writeFile): ditt
11778 * lyxfont.C (stateText): ditto
11779 * lyxserver.C (read_ready): ditto
11780 * vc-backend.C (scanMaster): ditto
11782 * BufferView_pimpl.h: ws changes
11784 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11786 2002-07-26 André Pönitz <poenitz@gmx.net>
11788 * kb_sequence.C: remove unnedred usings
11790 2002-07-26 Juergen Vigna <jug@sad.it>
11792 * lyxfind.C (LyXReplace): we have to check better if the returned
11793 text is not of theLockingInset()->getLockingInset().
11795 2002-07-25 Juergen Vigna <jug@sad.it>
11797 * lyxfind.C (LyXReplace): don't replace if we don't get the
11800 * undo_funcs.C (createUndo): remove debugging code.
11802 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11804 * buffer.C (parseSingleLyXformat2Token): Use default placement
11805 when reading old floats.
11807 * FloatList.C (FloatList): Change the default placement of figure
11808 and tables to "tbp".
11810 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11812 * MenuBackend.C: using std::max
11814 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11816 * MenuBackend.C (expandToc):
11817 (expandToc2): code moved from xforms menu frontend. It is now
11818 generic and TOCs are transparent to menu frontends.
11820 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11822 * toc.C (getTocList): protect against buf=0
11824 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11825 Menu as first parameter. Now, this calls itself recursively to
11826 expand a whole tree (this will be useful for TOC handling)
11827 (expandFloatInsert): remove 'wide' version of floats
11829 * MenuBackend.h (submenuname): returns the name of the submenu.
11830 (submenu): returns the submenu itself, provided it has been
11831 created by MenuBackend::expand
11833 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11835 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11836 insets which have noFontChange == true. (bug #172)
11838 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11840 * BufferView_pimpl.C: add connection objects and use them...
11843 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11845 * MenuBackend.C (expandLastfiles):
11848 (expandFloatListInsert):
11849 (expandFloatInsert):
11850 (expand): split expand in parts
11852 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11854 * lyx_gui.C: use lyx_gui::exit()
11856 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11858 * LyXAction.C: show the failing pseudo action
11860 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11862 * buffer.C (readFile): Run the lyxconvert script in order to read
11865 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11869 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11871 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11875 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11877 2002-07-22 Herbert Voss <voss@lyx.org>
11880 * lyxlength.[Ch]: add support for the vertical lengths
11882 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11884 * toc.[Ch]: std:: fixes
11886 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11888 * lyxrc.C: do not include lyx_main.h
11890 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11896 * BufferView2.C: include "lyxlex.h"
11899 * bufferparams.h: do not #include "lyxlex.h"
11901 * lyxtextclasslist.C (Add): remove method
11902 (classlist): renamed to classlist_
11904 * paragraph_pimpl.C:
11908 * bufferview_funcs.C:
11913 * toc.C (getTocList): use BufferParams::getLyXTextClass
11915 * toc.C (getTocList): use InsetFloat::addToToc
11917 * toc.[Ch]: new files, containing helper functions to handle table
11920 * lyxfunc.C (dispatch): no need to remove spaces around command
11922 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11923 first command of the sequence; it is not very clever, but I do not
11924 have a better idea, actually
11926 * LyXAction.C (LookupFunc): make sure to remove space at the
11927 beginning and end of the command
11929 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11931 * MenuBackend.C (getMenubar): new method: return the menubar of
11933 (read): treat differently reading of menu and menubar (in
11934 particular, the menubar has no name now)
11935 (Menu::menubar): remove
11937 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11940 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11942 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11943 a bibitem inset in a RTL paragraph.
11945 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11947 * paragraph_pimpl.C: constify
11949 * BufferView_pimpl.C:
11951 * lyxfunc.C: fix dispatch in a nicer way
11953 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11955 * lyxfunc.C (dispatch):
11956 * BufferView_pimpl.C:
11957 * BufferView_pimpl.h:
11959 * BufferView.h: rename Dispatch() to dispatch()
11961 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11963 * lyxlayout.C (Read): honor DependsOn tag
11965 * lyxlayout.[Ch] (depends_on): new method
11967 * version.C.in: update lyx_docversion
11969 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11971 * paragraph.C (validate): remove from here...
11972 * paragraph_pimpl.C (validate): ... and move here
11973 (isTextAt): make it const
11975 * buffer.C (getLists): ws cleanup
11977 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11979 * language.C (read): Use iso8859-1 encoding in latex_lang
11980 (this prevents LyX from crashing when using iso10646-1 encoding).
11982 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11984 * text2.C (toggleInset): if cursor is inside an inset, close the
11985 inset and leave cursor _after_ it
11987 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11989 * lyxfunc.C: move minibuffer completion handling out of here
11991 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11993 * BufferView_pimpl.C:
11994 * LaTeX.C: fix dispatch calls
11996 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11998 * text.C (drawChars): Fix Arabic text rendering.
12000 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
12004 * lyxfunc.C: remove message-push/pop
12008 * lyxfunc.C: rationalise some code by removing verboseDispatch
12009 in favour of a bool argument to dispatch()
12011 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12013 * lyx_main.C (init): make sure to read symlinks as absolute paths
12015 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12018 * lyxfunc.C: no need for commandshortcut to be a member
12020 2002-07-15 André Pönitz <poenitz@gmx.net>
12022 * converter.C: add support for $$s (scripts from lib/scripts dir)
12023 * lyx_main.C: white space
12025 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12029 * lyxrc.C: remove second exit confirmation
12031 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12036 * BufferView_pimpl.h:
12037 * BufferView_pimpl.C:
12038 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12040 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12042 * MenuBackend.C (expand): add numeric shortcuts to document menu
12044 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12046 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12048 * lyxfont.C (setLyXFamily):
12055 * buffer.C (asciiParagraph): use ascii_lowercase
12057 2002-07-15 Mike Fabian <mfabian@suse.de>
12059 * lyxlex_pimpl.C (search_kw):
12060 * lyxlex.C (getLongString):
12061 * converter.h (operator<):
12062 * converter.C (operator<):
12063 * buffer.C (parseSingleLyXformat2Token):
12065 * ToolbarDefaults.C (read):
12066 * MenuBackend.C (checkShortcuts):
12068 * LColor.C (getFromGUIName):
12069 (getFromLyXName): use the compare_ascii_no_case instead of
12070 compare_no_case, because in turkish, 'i' is not the lowercase
12071 version of 'I', and thus turkish locale breaks parsing of tags.
12073 2002-07-16 Angus Leeming <leeming@lyx.org>
12075 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12076 now takes a Buffer const & argument.
12078 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
12080 * BufferView.C (resize): check there's a buffer to resize
12082 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
12084 * lyxfunc.C: remove dead code
12087 * lyxserver.C: use lyx_guii::set_read_callback
12089 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
12091 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12092 an inset in a RTL paragraph.
12094 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12096 * lyxfunc.C: repaint after a font size update
12098 2002-07-15 André Pönitz <poenitz@gmx.net>
12100 * lyxlength.C: inBP should be able to return negative values
12102 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12104 * lyxfunc.C: use lyx_gui::update_fonts()
12106 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12108 * lyxfunc.C: use lyx_gui::update_color()
12110 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12116 * lyxrc.C: remove file->new asks for name option, and let
12117 buffer-new take an argument
12119 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12121 * BufferView_pimpl.C: remove unneeded extra repaint()
12123 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
12125 * LyXAction.C: allow command-sequence with NoBuffer
12127 * lyxfunc.C: don't insist on trailing ';' for command-sequence
12129 2002-07-10 Angus Leeming <leeming@lyx.org>
12131 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12133 2002-07-09 Angus Leeming <leeming@lyx.org>
12135 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12137 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12139 * lengthcommon.h: whitespace
12141 * lyxfunc.C: update scrollbar after goto paragraph
12143 * lyxtext.h: factor out page break drawing, and fix it so
12144 page break/added space paints as selected nicely
12146 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12148 * BufferView_pimpl.C: add FIXMEs, clean up a little
12150 2002-07-09 André Pönitz <poenitz@gmx.net>
12152 * lyxfont.[Ch]: support for wasy symbols
12154 2002-07-08 André Pönitz <poenitz@gmx.net>
12156 * BufferView_pimpl.C: apply John's patch for #93.
12158 2002-07-05 Angus Leeming <leeming@lyx.org>
12160 * BufferView_pimpl.C (buffer): generate previews if desired.
12162 * LColor.h: add "preview" to the color enum.
12164 * LColor.C (LColor): add a corresponding entry to the items array.
12166 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12169 2002-07-05 Angus Leeming <leeming@lyx.org>
12171 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12172 The body of the code is now in the method that is passed an ostream &
12173 rather than a file name.
12174 Pass an additional only_preamble parameter, useful for the forthcoming
12177 2002-07-03 André Pönitz <poenitz@gmx.net>
12179 * lyxfunc.C: simplify getStatus() a bit for math stuff
12181 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12183 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12185 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12187 * text.C (changeRegionCase): do not change case of all the
12188 document when region ends at paragraph end (bug #461)
12190 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12192 * paragraph.C (startTeXParParams):
12193 (endTeXParParams): add \protect when necessary
12195 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12197 * BufferView_pimpl.C (workAreaExpose): remove warning
12199 2002-06-27 Angus Leeming <leeming@lyx.org>
12201 * Makefile.am: add lyxlayout_ptr_fwd.h.
12203 2002-06-26 André Pönitz <poenitz@gmx.net>
12205 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12207 2002-06-25 Angus Leeming <leeming@lyx.org>
12209 * lyxfunc.C (dispatch): Comment out the call to
12210 grfx::GCache::changeDisplay. The method no longer exists now that the
12211 pixmap generation part of the graphics loader has been moved into
12214 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12216 * text2.C: layout as layout
12218 * text.C: layout as layout
12220 * tabular.C (OldFormatRead): layout as layout
12222 * paragraph_pimpl.C (TeXDeeper): layout as layout
12223 (realizeFont): layout as layout
12225 * paragraph.C (writeFile): layout as layout
12226 (validate): layout as layout
12227 (getFont): layout as layout
12228 (getLabelFont): layout as layout
12229 (getLayoutFont): layout as layout
12230 (breakParagraph): layout as layout
12231 (stripLeadingSpaces): layout as layout
12232 (getEndLabel): layout as layout
12233 (getMaxDepthAfter): layout as layout
12234 (applyLayout): layout as layout
12235 (TeXOnePar): layout as layout
12236 (simpleTeXOnePar): layout as layout
12237 (TeXEnvironment): layout as layout
12238 (layout): layout as layout
12239 (layout): layout as layout
12241 * lyxtextclass.C (compare_name): new functor to work with
12242 shared_ptr, layout as layout
12243 (Read): layout as layout
12244 (hasLayout): layout as layout
12245 (operator): layout as layout
12246 (delete_layout): layout as layout
12247 (defaultLayout): layout as layout
12249 * lyxlayout_ptr_fwd.h: new file
12251 * lyxlayout.C (Read): layout as layout
12253 * lyx_cb.C (MenuInsertLabel): layout as layout
12255 * bufferlist.C (newFile): layout as layout
12257 * buffer.C (readLyXformat2): layout as layout
12258 (parseSingleLyXformat2Token): layout as layout
12259 (insertStringAsLines): layout as layout
12260 (asciiParagraph): layout as layout
12261 (latexParagraphs): layout as layout
12262 (makeLinuxDocFile): layout as layout
12263 (simpleLinuxDocOnePar): layout as layout
12264 (makeDocBookFile): layout as layout
12265 (simpleDocBookOnePar): layout as layout
12266 (getLists): layout as layout
12268 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12270 * CutAndPaste.C (cutSelection): layout as layout
12271 (pasteSelection): layout as layout
12272 (SwitchLayoutsBetweenClasses): layout as layout
12274 * BufferView_pimpl.C (Dispatch): layout as layout
12275 (smartQuote): layout as layout
12277 * BufferView2.C (unlockInset): layout as layout
12279 2002-06-24 André Pönitz <poenitz@gmx.net>
12281 * lyxfunc.C: fix #487
12283 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12287 * lyxfunc.C: remove display_shortcuts, show_banner
12289 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12291 * Buffer_pimpl.C: oops, update on resize
12293 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12300 * BufferView.C: use repaint()
12302 * BufferView_pimpl.h:
12303 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12304 as it's a clearer description. Remove superfluous
12307 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12309 * text.C: fix bug 488. Not ideal, but getting
12310 getWord() to work properly for the insets that
12311 matter is more difficult ...
12313 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12315 * BufferView_pimpl.C:
12318 * lyxfunc.C: remove the six million index lyxfuncs to just
12319 one, and DTRT (bug 458)
12321 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12325 * BufferView_pimpl.h:
12326 * BufferView_pimpl.C: clean up resize() stuff,
12327 and unnecessary updateScreen()s
12329 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12333 * BufferView_pimpl.h:
12334 * BufferView_pimpl.C:
12337 * minibuffer.C: remove focus management of workarea,
12338 not needed. Use screen's greyOut()
12340 2002-06-17 Herbert Voss <voss@lyx.org>
12342 * converter.C: (convert) do not post a message, when converting
12343 fails, let the calling function decide what to do in this case
12345 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12347 * lyxfunc.C: tidy up a little
12349 2002-06-16 <alstrup@diku.dk>
12351 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12352 Got rid of FORMS_H_LOCATION include. Now we are
12355 2002-06-15 LyX Development team <lyx@rilke>
12357 * buffer.[Ch] (sgmlOpenTag):
12358 (sgmlCloseTag): Added support for avoiding pernicious mixed
12359 content. Return number of lines written.
12361 (makeLinuxDocFile):
12362 (makeDocBookFile): Fixed calls to sgml*Tag.
12363 Simple white space clean.
12365 (simpleDocBookOnePar): Simple white space clean.
12367 * tabular.[Ch] (docBook): Renamed to docbook and got another
12368 argument to related with the pernicious mixed content.
12370 (docbookRow): Fixed calls for docbook inset method.
12372 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12374 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12375 so it's X11 independent.
12379 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12381 2002-06-15 Lyx Development team <lyx@electronia>
12383 * intl.h: Renamed getTrans to getTransManager.
12385 2002-06-14 Angus Leeming <leeming@lyx.org>
12387 * Makefile.am: nuke forgotten stl_string_fwd.h.
12389 2002-06-12 Angus Leeming <leeming@lyx.org>
12391 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12393 2002-06-13 Angus Leeming <leeming@lyx.org>
12396 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12398 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12400 * kbmap.C (getiso): add support for cyrillic and greek
12402 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12406 * BufferView_pimpl.h:
12407 * BufferView_pimpl.C: move bogus scrolling logic
12410 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12413 * BufferView_pimpl.C: view->resize() change
12415 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12417 * BufferView_pimpl.C: topCursorVisible
12420 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12424 * lyx_gui.C: move to frontends/
12428 * lyx_main.C: changes from above
12430 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12437 * lyx_main.C: minor tidy
12439 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12441 * BufferView_pimpl.h:
12442 * BufferView_pimpl.C:
12444 * BufferView.C: make painter() const,
12447 * BufferView2.C: use screen() accessor
12450 * lyx_main.C: some minor cleanup
12452 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12454 * BufferView_pimpl.h:
12455 * BufferView_pimpl.C: remove enter/leaveView,
12458 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12463 * BufferView_pimpl.h:
12464 * BufferView_pimpl.C: only construct screen once,
12467 * lyxrc.C: remove pointless comment
12469 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12472 * BufferView.C: remove active() and belowMouse()
12474 * BufferView_pimpl.h:
12475 * BufferView_pimpl.C: use workarea() not workarea_,
12476 and make it use a scoped_ptr instead
12478 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12480 * lyx_gui.C: add debug message on BadWindow
12482 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12484 * sp_spell.C: fdopen is not part of the C++ standard.
12486 * paragraph.C (InsetIterator): use >= instead of ==
12488 2002-06-07 Angus Leeming <leeming@lyx.org>
12490 Fixes needed to compile with Compaq cxx 6.5.
12491 * BufferView_pimpl.C:
12498 * lyxtextclasslist.C:
12503 all c-library variables have been moved into namespace std. Wrap
12504 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12509 Add a using std::abs declaration.
12511 * kbmap.h (modifier_pair):
12512 * paragraph.h (InsetTable, InsetList):
12513 * lyxfont.h (FontBits):
12514 type definition made public.
12516 * bufferlist.C (emergencyWriteAll): the compiler complains that
12517 there is more than one possible lyx::class_fun template to choose from.
12518 I re-named the void specialisation as lyx::void_class_fun.
12520 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12522 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12523 the compiler is is unable to find tostr in write_attribute.
12525 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12527 * buffer.C (sgmlError): hide #warning
12529 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12531 * xtl/*: get rid of xtl, which is not in use anyway
12533 * LyXAction.C (init):
12534 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12535 were unimplemented xtl experimentation
12537 2002-06-04 André Pönitz <poenitz@gmx.net>
12539 * lyxfunc.C: disable array operation on simple formulae
12541 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12543 * converter.C: constify a bit
12545 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12547 * lyx_gui.C: check xforms version correctly
12549 2002-04-30 Herbert Voss <voss@lyx.org>
12551 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12554 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12556 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12557 attempt to register it with a VCS)
12559 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12561 * lyx_main.C (init): honor variables LYX_DIR_13x and
12564 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12568 * lyx_main.C: fix a crash on bad command line,
12569 and give a useful exit status on error
12571 * lyxfunc.C (doImport): allow -i lyx to work
12573 2002-03-30 André Pönitz <poenitz@gmx.net>
12575 * lyxfunc.C: mathed font changes
12577 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12592 * trans_mgr.h: srcdocs, and some minor cleanups
12594 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12596 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12597 call getFont all the time)
12599 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12601 * switch from SigC signals to boost::signals
12603 2002-05-29 André Pönitz <poenitz@gmx.net>
12605 * paragraph_pimpl.C (getChar): don't call size() too often...
12607 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12609 * paragraph_pimpl.C (insertChar): do not try to update tables when
12610 appending (pos == size())
12612 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12613 in order to reduce drastically the number of comparisons needed to
12614 parse a large document
12616 2002-05-29 André Pönitz <poenitz@gmx.net>
12622 * textclasslist.[Ch]:
12623 * sp_ispell.h: whitespace change
12625 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12627 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12628 lyxaction directly now.
12630 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12634 * lyxvc.C: remove unused headers
12636 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12643 * undo_funcs.C: some cleanups. Use shared_ptr
12644 and a template for the undo stacks.
12646 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12648 * BufferView_pimpl.h:
12649 * BufferView_pimpl.C:
12656 * text2.C: use key_state/mouse_state
12658 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12660 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12663 * chset.C: change include order
12664 (loadFile): use boost regex and get rid of LRegex and LSubstring
12666 * Makefile.am (BOOST_LIBS): new variable
12667 (lyx_LDADD): use it
12669 * LaTeX.C: change include order.
12670 (scanAuxFile): use boost regex and get rid of LRegex and
12674 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12679 * FontInfo.C: moved to frontends/xforms/
12682 * FontLoader.C: moved into frontends for GUIIzation
12687 * lyxfunc.C: changes from above
12689 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12691 * LColor.C: remove spurious X include
12693 * BufferView_pimpl.C:
12698 * text2.C: move font metrics to frontends/
12700 2002-05-24 Juergen Vigna <jug@sad.it>
12702 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12703 setting the undo_cursor.
12705 * ParagraphParameters.h: include local includes first.
12707 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12709 * BufferView_pimpl.C:
12710 * BufferView_pimpl.h:
12714 * screen.C: move WorkArea into frontends/
12720 * BufferView2.C: move LyXScreen into frontends/
12724 * lyx_gui.C: move lyxlookup into frontends/xforms/
12726 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12729 * BufferView_pimpl.C:
12739 * bufferview_funcs.C:
12752 * vc-backend.C: move LyX/XFormsView into frontends/
12754 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12766 * text2.C: move Painter to frontends/
12768 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12770 * buffer.C: comment out some some code that depend upon lyx_format
12773 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12774 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12776 * buffer.h (NO_COMPABILITY): turn off compability
12778 * ColorHandler.C: include scoped_array.hpp
12780 * font.C: Use more specific smart_ptr header.
12783 * ShareContainer.h: ditto
12784 * lyx_main.h: ditto
12786 * FontInfo.h: ditto
12787 * BufferView_pimpl.h: ditto
12788 * ColorHandler.h: ditto
12790 * kbmap.C (defkey): change call to shared_ptr::reset
12792 2002-05-21 Juergen Vigna <jug@sad.it>
12794 * buffer.C (insertErtContents): fix to insert ert asis if it is
12795 non empty. Skip it completely if it contains only whitespaces.
12797 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12799 * BufferView_pimpl.C:
12800 * BufferView2.C: clear selection on paste (bug 393)
12802 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12804 * DepTable.C: include ctime
12806 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12808 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12810 2002-05-14 Juergen Vigna <jug@sad.it>
12812 * text.C (breakParagraph): fixed function to honor the keepempty
12813 layout in the right maner and also to permit the right breaking
12814 algorithm on empty or non empyt keepempty paragraphs.
12816 * paragraph.C (breakParagraph): we have to check also if the par
12817 is really empty (!size()) for isempty otherwise we do the wrong
12820 2002-05-10 Juergen Vigna <jug@sad.it>
12822 * buffer.[Ch] : The following are only changes to the ert
12823 compatibility read reading old LaTeX layout and font stuff and
12824 convert it to ERTInsets.
12826 * buffer.h: added isErtInset().
12828 * buffer.C (struct ErtComp): add a fromlayout bool to check
12829 if we're inside a LaTeX layout.
12830 (isErtInset): new helper function.
12831 (insertErtContents): look for other ert insets before this one
12832 and insert the contents there, so that we don't have subsequent
12833 ERT insets with nothing between them. This way we create only one
12834 inset with multiple paragraphs. Also check if we don't insert only
12835 spaces ' ' as they are ignored anyway afterwards in the .tex file
12836 so if we have only spaces we will ignore this latex part in the
12838 (parseSingleLyXformat2Token \\layout): better compatibility when
12839 reading layout-latex stuff.
12840 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12842 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12843 stuff after reading the inset only get the information back from
12846 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12848 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12850 * LaTeXFeatures.C (getBabelOptions): New method.
12852 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12854 * BufferView_pimpl.C (Dispatch): work around missing argument for
12857 2002-05-08 Juergen Vigna <jug@sad.it>
12859 * text.C (leftMargin): handle paragraph leftindent.
12861 * paragraph.C (writeFile): write the new \\leftindent tag.
12862 (validate): handle leftindent code.
12863 (TeXEnvironment): handle paragraphleftindent code again.
12865 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12867 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12868 for paragrap_extra indent code and new token \\leftindent.
12869 (latexParagraphs): handle the leftindent as environment.
12871 * ParameterStruct.h: added leftindent support.
12873 * ParagraphParameters.C (leftIndent): added support functions for
12874 the paragraph left indent.
12876 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12879 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12881 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12884 * text.C (computeBidiTables): No bidi in insetERT.
12886 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12889 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12891 * version.C.in: pre 5
12893 2002-05-02 José Matos <jamatos@fep.up.pt>
12894 * buffer.C (makeDocBookFile): white space changes, add newline to
12896 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12898 * tabular.C (docBook): fix typo.
12900 2002-05-03 Juergen Vigna <jug@sad.it>
12902 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12903 change in LyXText as we can not be sure it was not freed.
12904 (drawOneRow): remove unused code.
12906 * text.C (drawInset): redo the calculation of the need_break_row as
12907 it could have a row which was already freed.
12908 (draw): look at the return value of drawInset and return false if
12909 it also returned false.
12910 (paintRowText): look at the return value of draw and return false if
12911 it also returned false.
12913 * lyxtext.h: added bool return type to drawInset() and draw() so that
12914 if we have a change in the row so that the rowbreak has to be redone
12915 we abort drawing as it will be called again.
12917 2002-05-02 Juergen Vigna <jug@sad.it>
12919 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12920 a change in the maintext also if we're inside an inset.
12921 (Dispatch): set the cursor again after a break line and after the
12922 screen has been updated as it could be we're in a different row.
12924 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12925 to set the cursor behind the pargraph with > size().
12926 (setCursor): check also for the same paragraph when checking where
12927 to put the cursor if we have a NFR inset.
12929 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12930 parts of layout read further up as it still was in the wrong
12933 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12935 * screen.C (drawFromTo): change sine fullRebreak always return
12938 * buffer.C (parseSingleLyXformat2Token): reindent some
12940 * BufferView_pimpl.C (update): change since fullRebreak always
12942 (Dispatch): git rid of the last hardcoded "Standard"s.
12944 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12946 * text2.[Ch] (fullRebreak): make it return void now that we always
12949 2002-04-30 Juergen Vigna <jug@sad.it>
12951 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12952 ert compatibility check for "latex" layout.
12954 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12956 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12957 minipages: use col% instead of p%, and also use the current font.
12958 (makeLaTeXFile): Fix use babel condition.
12959 (parseSingleLyXformat2Token): Correct font when reading old floats.
12961 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12963 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12964 inserting list of floats.
12966 2002-04-25 Herbert Voss <voss@lyx.org>
12968 * MenuBackend.C (expand): don't add the graphics extensions to the
12971 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12973 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12974 non-existing layout, do not complain if it was the default layout
12975 of the original class (bug #342)
12977 2002-04-24 Juergen Vigna <jug@sad.it>
12979 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12980 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12982 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12984 * buffer.C (getBibkeyList): If using \bibliography, return the
12985 option field with the reference itself. Enables us to provide natbib
12986 support when using \bibliography.
12988 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12990 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12992 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12993 natbib is provided by the LaTeX class.
12995 2002-04-23 Juergen Vigna <jug@sad.it>
12997 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13000 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13002 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13004 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13006 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13007 ensuremath around textordmasculine, textordfeminine and
13010 2002-04-19 Juergen Vigna <jug@sad.it>
13012 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13013 reinitializing the buffer otherwise row-dimensions may be wrong.
13014 (update): reset also the selection cursors if they do exits otherwise
13015 their x/y positions may be wrong.
13017 * text2.C (cursorDown): don't enter the inset if we came from a row
13018 above and are one row over the inset.
13020 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13021 really leaving an inset.
13023 2002-04-18 Juergen Vigna <jug@sad.it>
13025 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13026 of the selected paragraph does not have the selected layout also if
13029 * text2.C (setLayout): fixed bug which did not change last selected
13032 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13033 changed the read and substituted \\end_float with \\end_inset!
13035 * BufferView_pimpl.C (cursorPrevious):
13036 (cursorNext): fixed to make it work with rows heigher than the work
13037 area without moving the cursor only the draw of the row.
13038 (workAreaMotionNotify): fix jumping over high rows.
13040 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13042 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13045 2002-04-16 Juergen Vigna <jug@sad.it>
13047 * text2.C (setCursor): set also the irow().
13048 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13050 (cursorDown): support for locking an inset if the x_fix value goes
13051 inside it. That way I can transverse insets too with cursor up/down.
13053 * lyxrow.h: added irow helper function same as other (i) functions.
13055 * BufferView_pimpl.C (cursorPrevious):
13056 (cursorNext): fixed for insets!
13058 2002-04-15 Juergen Vigna <jug@sad.it>
13060 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13061 position otherwise it is wrong in some cases.
13063 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13064 inside the inset before the call.
13066 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
13068 * buffer.[Ch] (getBibkeyList): make it const.
13070 2002-04-12 Juergen Vigna <jug@sad.it>
13072 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13074 * text2.C (getCursorX): new helper function
13075 (setCursor): compute also ix_
13076 (setCursorFromCoordinates): set also ix.
13078 * lyxcursor.h: added ix_ and helper functions.
13080 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13082 * buffer.C (insertStringAsLines): dont break paragraph if the this
13083 paragraph is inside an inset which does not permit it!
13085 * text.C (breakParagraph): honor keepempty flag and break the paragraph
13086 also with no chars on this paragraph.
13087 (paintRowText): only paint stuff if it's inside the workarea!
13089 * paragraph.C (breakParagraph): honor keepempty flag and break the
13090 paragraph always below not above.
13092 * BufferView2.C (unlockInset): update the paragraph layout on inset
13093 unlock as we changed paragraph in such a case.
13095 * lyxfind.C (LyXFind): clear the former selection if not found!
13097 * text2.C (insertInset): freeze Undo after setUndo so that it is not
13098 again called in insertChar().
13100 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13101 an inset which uses the whole row!
13102 (rightMargin): ditto.
13103 (insertChar): force a rebreak if we inserted an inset!
13105 2002-03-28 Herbert Voss <voss@lyx.org>
13107 * lyxlength.[Ch]: add inBP() to get the right PS-point
13108 units (BigPoint). With inPixels we have rounding errors
13110 2002-04-11 Juergen Vigna <jug@sad.it>
13112 * text2.C (setCursorFromCoordinates): set iy to the right value.
13113 (setCursor): add check if row->previous exists!
13115 * buffer.C (parseSingleLyXformat2Token): reset font after read of
13116 an old float_type as this was the case in the old code!
13118 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13120 * BufferView2.C (showLockedInsetCursor): use iy
13121 (fitLockedInsetCursor): ditto
13123 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13124 locked insets as there we have the right value now.
13126 * lyxcursor.C: added iy_ variable and iy functions to set to the
13127 baseline of cursor-y of the locked inset.
13129 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13130 (setCursor): fixed for insets which need a full row.
13132 * text.C (rowLastPrintable): don't ignore the last space when before
13133 an inset which needs a full row.
13134 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13135 as last character of a row when before a inset which needs a full row.
13137 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13139 * version.C.in: update date
13141 * text2.C (fullRebreak): try to always return true and see what
13144 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13146 * MenuBackend.C (expand): use Floating::listName
13148 * FloatList.C (FloatList): add listName argument to the built-in
13151 * Floating.[Ch]: add listName member, which is the 'List of XXX'
13152 text associated with the float.
13154 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13156 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13158 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13160 * ShareContainer.h: add a couple of missing typenames.
13162 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13164 * lyxrc.C (getDescription): use _() correctly rather than N_().
13166 2002-03-28 Herbert Voss <voss@lyx.org>
13168 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13169 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13171 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13173 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13174 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13176 2002-03-29 Juergen Vigna <jug@sad.it>
13178 * lyxfunc.C (dispatch): add a missing fitCursor call.
13180 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13181 it was scrolled by a cursor move, so return the bool status.
13183 * BufferView.C (fitCursor): return the bool flag also to the outside
13184 world as this is needed.
13186 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13188 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13189 call the edit() as it is not needed (and wrong) IMO.
13190 (workAreaButtonPress): set the screen_first variable before evt.
13191 unlock the inset as this may change screen_first and then we have
13192 a wrong y position for the click!
13194 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13196 * MenuBackend.C (expand): another translation that I missed
13198 2002-03-28 Juergen Vigna <jug@sad.it>
13200 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13202 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13204 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13206 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13208 * MenuBackend.C (expand): fix export/view/update when there is no
13211 2002-03-27 Herbert Voss <voss@lyx.org>
13213 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13216 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13218 * bufferview_funcs.C (currentState): only show paragraph number
13219 for is DEVEL_VERSION is set.
13221 * lyxfunc.C (dispatch): put warning in INFO channel
13223 * MenuBackend.C (expand): translate the name of floats
13225 * FloatList.C (FloatList): mark the float names for translation
13227 * converter.C (convert): use LibScriptSearch
13229 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13231 * MenuBackend.C (defaults): fix default menu (we might as well get
13234 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13236 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13239 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13241 * lyxvc.C: reorder includes.
13243 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13245 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13248 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13250 * CutAndPaste.C: change layouts earlier on paste
13251 to avoid crashing when calling getFont()
13253 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13255 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13258 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13260 * WorkArea.C: remove 'Pending' debug message.
13262 * most files: ws cleanup
13264 * buffer.[Ch]: ws changes
13266 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13268 2002-03-21 Juergen Vigna <jug@sad.it>
13270 * tabular.C (SetMultiColumn): collapse also the contents of the
13271 cells and set the last border right. Added a Buffer const * param.
13273 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13275 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13278 2002-03-19 Juergen Vigna <jug@sad.it>
13280 * text2.C (clearSelection): reset also xsel_cache.
13282 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13283 where it needs to be called (John tells us to do so too :)
13284 (selectionLost): reset sel_cache.
13286 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13288 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13290 * text2.C (setCursorIntern): put debuging code in INSETS channel
13292 2002-03-19 André Pönitz <poenitz@gmx.net>
13294 * lyxfunc.C: tiny whitespace change
13296 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13298 * ToolbarDefaults.C (init):
13299 * LyXAction.C (init):
13301 * BufferView_pimpl.C (Dispatch):
13302 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13304 2002-03-19 Allan Rae <rae@lyx.org>
13306 * exporter.C (Export): removeAutoInsets before doing anything else.
13307 While I've just introduced a dependency on BufferView this really is
13308 the best place to clean the buffer otherwise you need to cleanup in
13309 a dozen places before calling export or cleanup in a dozen functions
13312 * converter.C (runLaTeX):
13313 (scanLog): Better handling of removeAutoInsets and screen updates.
13315 * lyxfunc.C (dispatch): small whitespace changes
13317 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13319 * WorkArea.C (C_WorkAreaEvent): return a value.
13320 (event_cb): return 1 if we handled the event, 0 otherwise.
13322 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13324 2002-03-18 Juergen Vigna <jug@sad.it>
13326 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13327 (GetAdditionalWidth): ditto.
13328 (RightLine): ditto.
13331 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13332 inset if we're there actually (probably not used right now but this
13333 is the direction to go for unifying code).
13334 (paste): disable code to clear the selection.
13336 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13337 inside an InsetText and move the check further up as it is in the
13340 * text2.C (pasteSelection): set a selection over the pasted text.
13342 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13344 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13345 and libgraphics to build on Cygwin.
13347 2002-03-15 Juergen Vigna <jug@sad.it>
13349 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13350 inserting an Inset into the paragraph. I know this is not the best
13351 fix but we already use current_view in CutAndPaste so we will remove
13352 all of it's using at the same time.
13354 * buffer.C (sgmlError): deactivated function till it is rewritten in
13355 the right mode, now it can create problems.
13357 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13358 before accessing it.
13360 2002-03-14 Juergen Vigna <jug@sad.it>
13362 * undo_funcs.C (textHandleUndo): do the right thing when updating
13363 the inset after the undo/redo.
13365 * text2.C (setCursor): just some testcode for #44 not ready yet.
13367 * undo_funcs.C (textHandleUndo): set the next() and previous()
13368 pointers of the paragraph to 0 before deleting otherwise we have
13369 problems with the Paragraph::[destructor].
13371 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13372 on a paragraph insertion.
13374 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13376 * buffer.C (asciiParagraph): use += operator for char append to
13379 * paragraph.C (getFontSettings): compare >= not just >
13380 (highestFontInRange): ditto
13383 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13385 * paragraph.C: change several algorithm to be more appripriate for
13386 the problem domain. This is lookip in FontList and in the InsetList.
13388 2002-03-13 André Pönitz <poenitz@gmx.net>
13391 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13393 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13398 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13400 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13402 * Painter.C (display): anon helper function, adjust code for this
13404 (pixmap): remove function.
13406 * Painter.h: remove private display variable.
13408 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13410 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13412 * WorkArea.[Ch]: remove figinset_canvas cruft.
13414 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13416 * lyxtextclass.C (operator): add one item cache optimization.
13418 * bufferlist.h: doxy changes
13420 * bufferlist.C: ws changes
13422 * DepTable.[Ch] (ext_exist): place const in the right spot.
13424 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13426 (workAreaExpose): call resizeInsets when the with BufferView changes.
13427 (Dispatch): adjust for protectedBlank removal
13428 (specialChar): call updateInset if the insert went ok.
13430 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13431 specialChar instead.
13433 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13435 * BufferView.h: doxy change
13437 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13439 * lyxtextclass.C (operator[]): remove non-const version
13440 (defaultLayout): remove non-const version
13442 2002-03-12 Juergen Vigna <jug@sad.it>
13444 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13445 did resize the LyXText too.
13447 * buffer.C (readLyXformat2): set layout information on newly allocated
13450 * tabular.C (OldFormatRead): set layout information on the paragraph.
13452 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13454 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13456 2002-03-11 Juergen Vigna <jug@sad.it>
13458 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13460 (resizeCurrentBuffer): force also the insets to resize themselfes.
13461 (moveCursorUpdate): fixed up for InsetText.
13463 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13466 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13467 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13468 value of Dialogs::tooltipsEnabled().
13469 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13471 2002-03-08 Juergen Vigna <jug@sad.it>
13473 * BufferView_pimpl.C (updateInset): update inset inside inset also
13474 if it isn't inside theLockingInset().
13476 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13478 * buffer.C (asciiParagraph): redo some of the word and line length
13480 (getLists): look for Caption instead of caption.
13482 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13484 * buffer.C (Buffer): initialize niceFile to true
13486 (makeLinuxDocFile):
13487 (makeDocBookFile): make sure niceFile is true on exit
13489 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13491 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13493 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13495 * LyXSendto.C: remove.
13496 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13497 * lyx_gui.C: remove now-redundant comment.
13498 * ColorHandler.h: remove forward declaration of class WorkArea.
13499 * lyxfunc.C: remove #include "WorkArea.h".
13501 2002-03-07 Juergen Vigna <jug@sad.it>
13503 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13504 got moved away with the DEPM and also set the inset_owner always
13505 right which before could have been omitted.
13507 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13509 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13510 wanted layout is not found.
13512 2002-03-07 Juergen Vigna <jug@sad.it>
13514 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13516 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13518 * paragraph.C (breakParagraph): use default layout not layout of
13520 (Paragraph): clear ParagraphParameters.
13522 2002-03-06 Juergen Vigna <jug@sad.it>
13524 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13525 otherwise it would not be a valid lenght. Fixed a special case in
13526 the minipage compatibility read where we end the document with a
13529 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13530 was set as it could be 0 for InsetTexts first entry.
13532 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13534 * paragraph.C (writeFile): if layout is empty write out
13535 defaultLayoutName().
13537 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13538 file without named layout we set layout to defaultLayoutName().
13540 2002-03-06 Juergen Vigna <jug@sad.it>
13542 * CutAndPaste.C (copySelection): set layout for new paragraph.
13544 * text.C (prepareToPrint): leave ERT inset left aligned
13545 (leftMargin): don't indent paragraphs inside ERT insets
13547 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13549 * paragraph.C (breakParagraph): dont call clear do the work manually
13551 * paragraph.[Ch] (clear): remove function
13553 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13555 * paragraph.C (Paragraph): dont call clear, the work has already
13558 * lyxtextclass.C (operator): assert if n is empty
13560 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13561 work manually instead.
13563 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13565 * BufferView_pimpl.C: protect selectionLost against text == 0
13567 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13569 * text.C (breakParagraph): fix a setting layout to '0' problem.
13571 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13573 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13574 final location of file, for the included files, and graphics.
13576 2002-03-05 Juergen Vigna <jug@sad.it>
13578 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13580 2002-03-04 Juergen Vigna <jug@sad.it>
13582 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13584 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13585 last column of multicolumn cells.
13586 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13588 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13590 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13591 file if it doesn't go to a temporary file.
13593 * buffer.C (sgmlOpenTag):
13594 (sgmlCloseTag): remove extra newline insertion.
13596 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13598 * text.C (getRowNearY): comment out debug msg
13600 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13602 * text2.C: first -> first_y
13604 * text.C (getRowNearY): add some attemts at a possible
13605 optimization, not working.
13607 * tabular.[Ch]: add BufferParams to several function so that newly
13608 created paragraph can be initialized to he default layotu for the
13611 * tabular-old.C (ReadOld): add buf->params to call of Init
13613 * screen.C: rename text->first to text->first_y
13615 * paragraph.C (breakParagraph): always set layout in the broken
13618 * lyxtextclass.C (Read): remove lowercase
13621 (delete_layout): ditto
13623 * lyxtext.h: rename first -> first_y
13625 * lyxlayout.C (Read): remove lowercase
13628 (obsoleted_by): ditto
13630 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13632 * buffer.C (insertErtContents): add params are to InsetERT
13633 (parseSingleLyXformat2Token): add code to check if a paragraphs
13634 layout really exist.
13635 (parseSingleLyXformat2Token): add params to several inset
13637 (asciiParagraph): remove lowercase, do the layout comparisons with
13640 * BufferView_pimpl.C (cursorNext): first -> first_y
13641 (resizeCurrentBuffer): first -> first_y
13642 (updateScrollbar): first -> first_y
13643 (scrollCB): first -> first_y
13644 (workAreaMotionNotify): first -> first_y
13645 (workAreaButtonPress): first -> first_y
13646 (checkInsetHit): first -> first_y
13647 (cursorPrevious): first -> first_y
13648 (cursorNext): first -> first_y
13649 (Dispatch): add buffer_->params to severl inset contructors
13651 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13653 * lyxlayout.C (Read): remove some debug info that I forgot.
13655 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13656 clean up the code slightly.
13657 (makeLinuxDocFile): ditto
13658 (makeDocBookFile): ditto
13660 * text2.C: layout as string
13662 * text.C: layout as string
13664 * paragraph_pimpl.C: layout as string
13666 * paragraph.[Ch]: layout as string
13668 * lyxtextclasslist.[Ch]: layout as string
13670 * lyxtextclass.[Ch]: layout as string
13672 * lyxtext.h: layout as string
13674 * lyxlayout.[Ch]: layout as string
13676 * lyx_cb.C: layout as string
13678 * bufferview_funcs.C: layout as string
13680 * bufferparams.C: layout as string
13682 * buffer.C: layout as string
13684 * LyXView.[Ch]: layout as string
13686 * LaTeXFeatures.[Ch]: layout as string
13688 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13690 * BufferView_pimpl.C: change current_layout to string, remove
13695 (workAreaButtonRelease): layout as string
13697 * BufferView2.C (unlockInset): adjust
13699 * vspace.C (asLatexCommand): use an explict temp variable.
13701 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13703 * Makefile.am: use FRONTEND_*
13705 2002-03-01 Juergen Vigna <jug@sad.it>
13707 * tabular.C (SetWidthOfMulticolCell): changed to something better
13708 I hope but still work in progress.
13709 (recalculateMulticolumnsOfColumn): renamed function from
13710 recalculateMulticolCells as it is more appropriate now.
13711 (SetWidthOfCell): calculate multicols better.
13713 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13715 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13717 * lyxfunc.C (processKeySym): print sequence also if it is
13718 `deleted' (complete)
13720 * kbsequence.C (print): print sequence even if it is deleted
13721 (complete would be a better word, actually).
13723 * lyxfunc.C (dispatch): print complete options after a prefix key
13725 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13727 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13729 * text2.C (setCharFont): eliminate setCharFont code duplication.
13731 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13733 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13734 LFUN_TABULAR_FEATURE (bug #177)
13736 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13738 * Makefile.am: remove figure.h
13740 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13742 * Bufferview_pimpl.C:
13754 * text2.C: remove #include "lyx_gui_misc.h".
13756 * LaTeX.C: added #include <cstdio>
13758 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13760 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13761 that the paragraph following this one can have.
13763 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13765 * vspace.C (asLatexCommand): fix bogus gcc warning
13767 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13769 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13771 * text2.C (setLayout): get rid of redundant code
13773 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13775 * text2.C (incDepth): make sure depth cannot be increased beyond
13778 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13780 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13781 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13783 * PainterBase.h (image):
13784 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13785 a LyXImage const *.
13787 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13791 * BufferView_pimpl.C:
13792 * BufferView_pimpl.h:
13812 * sp_spell.C: remove fig inset, and the crap house of
13813 cards that follows it
13815 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13820 * os2_errortable.h:
13821 * nt_defines.h: move .h into support/
13823 * vms_defines.h: remove
13825 * WorkArea.C: add space in debug output
13829 * buffer.C: add WITH_WARNINGS
13833 * bufferlist.C: s/retrive/retrieve/, add docs
13842 * chset.C: add docs
13844 * lyxgui.C: add ID to X error handler
13846 * lyxtestclass.c: fix typo
13848 2002-02-26 Juergen Vigna <jug@sad.it>
13850 * tabular_funcs.C (write_attribute): changed so that some default
13851 attributes are not written at all.
13852 (getTokenValue): set default values before trying to read the
13853 value so we have the return value always set as default if we don't
13854 find the token we search for.
13856 * tabular.C (Write): write bools as bools not as strings!
13858 2002-02-22 Juergen Vigna <jug@sad.it>
13860 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13861 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13863 * text.C (leftMargin): don't add an indent for paragraphs inside
13864 tabular cells (fix #208).
13866 2002-02-21 José Matos <jamatos@fep.up.pt>
13868 * tabular.C (docBook): fixed support for long tables.
13870 2002-02-20 Juergen Vigna <jug@sad.it>
13872 * text2.C (getFont): get the drawing font of the Inset if this
13873 paragraph is inside an inset (only important for InsetERT for now).
13875 * buffer.C (insertErtContents): use new lanugage params in ERT
13878 * CutAndPaste.C: commenting out seemingly uneeded code.
13880 2002-02-19 Allan Rae <rae@lyx.org>
13882 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13883 Iterators might be simple to use but they also get invalidated.
13884 (removeAutoInsets): renamed saved cursor tracking variables and added
13885 some comments to clarify what everything does.
13887 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13894 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13895 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13898 * vc-backend.h: remove #include "support/syscall.h"
13902 * converter.C: rearrange #includes in Lars' approved fashion.
13904 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13905 forward declare class Timeout in the header file.
13907 * XFormsView.C: changes due to the above.
13909 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13910 similar to LyXView.
13912 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13913 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13915 2002-02-18 José Matos <jamatos@fep.up.pt>
13917 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13920 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13922 * a lot of small ws changes
13923 * add a lot of using std::XXX
13924 * use std construcs some places where approp.
13925 * use some exisint stuff from lyxfunctional where approp.
13926 * Make file changes to use partial linking (lets test this now...)
13928 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13932 remove #include "support/syscontr.h" as it's redundant. Always has been.
13940 change Systemcalls::System to Systemcalls::Wait and
13941 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13942 No change of functionality, just reflects the stripped down Systemcalls
13945 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13947 * debug.[Ch]: add a GRAPHICS type to the enum.
13949 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13951 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13953 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13956 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13958 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13959 match the changes below.
13961 * text2.C (toggleInset): if there is not editable inset at cursor
13962 position, try to see if cursor is _inside_ a collapsable inset
13965 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13967 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13968 document menu has a nice checkbox
13970 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13972 * lyxlength.C (asLatexString): change PW to output as percent of
13975 * lengthcommon.C: change '%' to 't%'
13977 * lyxfunc.C (dispatch): a few comments from Martin
13979 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13983 * BufferView_pimpl.h:
13984 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13987 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13989 * vspace.C (inPixels): fix compiler warning
13991 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13993 * lyxfunc.C (getStatus): fix status message for disabled commands.
13995 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13997 * BufferView_pimpl.C: fix crash on close buffer
13998 during selection (#227)
14000 2002-01-27 Herbert Voss <voss@lyx.org>
14002 * buffer.C: link old Figure to new graphic inset
14004 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
14006 * FontLoader.C (getFontinfo): Change the latex font names in order
14007 to match the names of type1inst.
14009 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
14011 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14013 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14014 (extchanged): ditto
14016 (remove_files_with_extension): ditto
14017 (remove_file): ditto
14020 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14021 document is smaller than the work area height. Do not initialize
14022 static variables to 0.
14024 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14026 * lyx_gui.C (init): give the toolbar tooltips a normal font.
14028 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14029 LFUN_LAYOUT_PARAGRAPHS.
14031 * tabular.C (GetCellFromInset): new method. Finds an inset in a
14032 tabular. It is possible to provide a possible cell, which will
14033 typically be the actcell from the corresponding insettabular
14035 * lyxfunc.C (getStatus): small cleanup; disable
14036 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14039 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14041 * tabular.C (Validate): remove broken optimization (fixes bug #201)
14043 * paragraph.C (startTeXParParams):
14044 (endTeXParParams): new methods. The LaTeX code to
14045 start/end paragraph formatting
14046 (simpleTeXOnePar): call startTeXParParams also when paragraph is
14047 empty (fixes bug #200)
14049 * vspace.C (inPixels): adapt to the change below
14050 (inPixels): [later] more cleanups (remove unused variables)
14052 * lyxlength.C (inPixels): change to use a width and a height as
14055 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14057 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14058 Replaced with \paperwidth
14060 * DepTable.C (insert): add std:: qualifier
14062 2002-01-18 Allan Rae <rae@lyx.org>
14064 * text2.C (removeRow): add comment. Should other refresh_?? vars be
14067 * text.C (drawInset): Turned out I didn't know enough about how
14068 rebreaking worked. This fixes most of the redraw problems. I see
14069 an occasional cursor trail when a line is broken now and the cursor
14070 placement can seem out by a few pixels also after a rebreak.
14072 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14074 * buffer.C (parseSingleLyXformat2Token): update because minipage
14075 width is now a LyXLength
14077 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14079 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14082 2002-01-17 Juergen Vigna <jug@sad.it>
14084 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14086 * BufferView2.C (lockInset): call edit() so that theLockingInset()
14087 is set correctly and the inset is updated correctly.
14089 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14091 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14092 the beginning of the loop.
14094 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
14096 * lyxrc.C: improve help for use_scalable_fonts
14098 2002-01-17 Allan Rae <rae@lyx.org>
14100 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14102 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14104 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14105 make sure to set their inset_owner to the right value (bug #171)
14107 2001-12-12 Ben Stanley <bds02@uow.edu.au>
14110 * DepTable.C: Implement mtime checking to reduce time spent doing
14113 2002-01-16 Juergen Vigna <jug@sad.it>
14115 * tabular.C (GetAdditionalHeight): one of error fixed.
14117 * lyxrc.C (output): small fix in writing use_pspell.
14119 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
14121 * sp_base.h: #include LString.h
14123 2002-01-16 Allan Rae <rae@lyx.org>
14125 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
14126 Can someone check this please?
14128 * text.C (drawInset): It was possible that p.row would be removed by
14129 breakAgainOneRow upsetting a few other settings. There may be another
14130 small tweak possible by setting need_break_row = 0 when p.row has been
14131 removed but I don't know enough about the logic here.
14133 2002-01-15 Allan Rae <rae@lyx.org>
14135 * text.C (insertChar): removed conditional truism.
14137 * BufferView2.C (removeAutoInsets): More tweaks.
14138 cur_par_prev could be a stray pointer. Check for trailing empty line
14139 in case last line was cur_par and only had an error inset on it.
14141 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14143 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14146 * vc-backend.C (most methods):
14147 * exporter.C (Export):
14148 * converter.C (convert):
14150 * LyXSendto.C (SendtoApplyCB):
14151 * lyxfunc.C (dispatch):
14155 * lyx_cb.C (AutoSave):
14157 * BufferView_pimpl.C (MenuInsertLyXFile):
14158 * buffer.C (runChktex): use Buffer::filePath().
14160 * buffer.h: rename filename to filename_; rename filepath to
14161 filepath_ and make it private
14162 (filePath): new method
14164 * buffer.C (writeFile): use fileName()
14167 * lyx_main.C (init): fix starting of LyX when the binary is a
14168 link from so,ewhere else.
14170 * minibuffer.C: include <cctype> for isprint
14172 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14174 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14175 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14176 name clash with InsetCollapsable's width function.
14178 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14180 * lastfiles.C: include <iterator>
14182 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14184 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14187 * buffer.C (makeLaTeXFile): ditto.
14188 Also make loop operation more transparent.
14190 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14192 * ToolbarDefaults.C: remove trailing comma closing namespace.
14194 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14196 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14199 * trans.C (Load): comment out unused variable, allowed.
14201 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14203 * minibuffer.[Ch] (append_char): new method to recieve input from the
14204 drop-down completion browser. If a key was pressed, then recieve this
14205 char and append it to the existing string.
14206 (peek_event): modify the positioning data passed to the completion
14207 browser so that it can be placed above the minibuffer rather than below.
14208 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14210 * LyXAction.C (init): alloe error-next for readonly documents.
14212 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14215 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14217 * bufferlist.C (readFile): create the buffer _after_ checking that
14220 * lyxfunc.C (verboseDispatch): fix handling of arguments
14222 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14224 * lyxrc.C: use string::erase() instead of initializing to "".
14227 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14229 * BufferView_pimpl.h:
14230 * BufferView_pimpl.C:
14233 * text2.C: tell X when we have made a selection for copying
14235 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14237 * BufferView_pimpl.C (MenuInsertLyXFile):
14238 * lyxfunc.C (menuNew):
14240 (doImport): add shortcuts to directory buttons
14242 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14245 * lyxfunc.C (setStatusMessage):
14246 (getStatusMessage): new methods
14247 (getStatus):use setStatusMessage instead of setErrorMessage
14248 (dispatch): when function is disabled, set error message here
14249 [instead of in getStatus previously]
14251 * BufferView_pimpl.C (workAreaButtonRelease): update
14252 toolbar/menubar here too.
14254 2002-01-13 Allan Rae <rae@lyx.org>
14256 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14257 Now seems indestructible. Remaining task is to audit all other
14258 code affected by deleteEmptyParagraphMechanism. One small quirk
14259 left is that an empty document with an error in the preamble can
14260 be made to report an error but no error box appears. I don't know
14262 (removeAutoInsets): Improved comments.
14264 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14267 * Thesaurus.C: update for Aiksaurus 0.14
14269 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14271 * text2.C (firstParagraph): removed member function, all uses
14272 replaces with ownerParagraph
14273 (redoParagraphs): here
14274 (updateInset): here
14275 (toggleAppendix): here
14276 * BufferView2.C (insertErrors): here
14277 (setCursorFromRow): here
14279 2002-01-13 Allan Rae <rae@lyx.org>
14281 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14282 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14283 There is still a way to segfault this although you may have to do this
14284 multiple times: Have an InsetERT with an unknown command in it.
14285 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14286 <down-arrow>, <Enter> again, View->DVI, BANG!
14288 * text2.C (setCursor):
14289 (deleteEmptyParagraphMechanism):
14290 * lyxtext.h (setCursor):
14291 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14292 Making use of the return value may help fix other bugs.
14294 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14296 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14298 * LyXView.C (updateMenubar): call MenuBar::update here
14299 (updateToolbar): but not here
14300 (showState): do not update toolbar/menubar
14302 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14303 should need to care about that.
14305 * lyxfunc.C (verboseDispatch): simplify a bit
14306 (getStatus): have a version which takes a pseudoaction, and
14307 another which requires a (kb_action,string).
14309 * LyXAction.C (retrieveActionArg): make it work also when action
14310 is not a pseudo-action.
14311 (getActionName): simplify a bit
14314 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14316 * lyxfunc.C (verboseDispatch): new families of methods with
14317 several ways to specify a command and a bool to indicate whether
14318 the command name and shortcut should be displayed in minibuffer
14319 (eventually, we could extend that to a finer bitmask like
14320 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14321 (dispatch): the pristine dispatch command which just, well,
14322 dispatchs! Note it still sets its result to minibuffer; I'm not
14325 * lyxfunc.h: remove setHintMessage
14327 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14329 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14331 * BufferView_pimpl.C (specialChar): delete new inset if we have
14332 not been able to insert it.
14334 * kbmap.C: revert to using int instead of kb_action, since all we
14335 are dealing with is pseudo-actions.
14337 * LyXAction.C (searchActionArg): change to return int instead of
14338 kb_action, since the result is a pseudoaction.
14340 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14342 * buffer.C (insertErtContents): Fix (partially) the font bug.
14344 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14346 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14347 as the other one is broken on my machine!
14349 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14352 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14354 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14356 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14357 reflect their actual use. Provide compatibility code for older lyxrc
14360 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14362 change names of popup font variables in line with the changes to lyxrc.C
14364 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14366 * buffer.C (asciiParagraph): avoid outputing a word twice after
14369 * lyxrc.C (getDescription): document that document_path and
14370 template_path can be empty.
14372 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14374 * LaTeXFeatures.C (getMacros):
14375 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14377 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14379 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14381 (getPackages): rename feature "floats" to "float". Use an array to
14382 iterate over 'simple' features (i.e. just a \usepackage). Add
14383 handling of "amsmath" (renamed from "amsstyle").
14385 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14387 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14390 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14392 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14393 FuncStaus::FuncStatus & FuncStaus::some_method().
14395 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14397 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14398 of the func_satus stuff. Edited and massaged in various ways by
14401 * lyxfunc.C (getStatus): use FuncStatus
14403 2002-01-08 Juergen Vigna <jug@sad.it>
14405 * text.C (nextBreakPoint): use function Inset::isChar().
14407 * paragraph.C (TeXOnePar): use function
14408 Inset::forceDefaultParagraphs.
14410 * buffer.C (latexParagraphs): use function
14411 Inset::forceDefaultParagraphs.
14413 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14415 * lyx_gui.C (init): set the style of the menu popups to
14416 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14418 2002-01-07 Juergen Vigna <jug@sad.it>
14420 * text.C (setHeightOfRow): small fix
14421 (prepareToPrint): don't look at alignment if we don't have the place
14424 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14426 * box.C: New file. Move the Box methods and functions out of box.h,
14427 following Lars' suggestion.
14429 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14431 * box.h: #include "support/LOstream.h", needed for inlined function.
14434 * lyxtextclasslist.C: added some using std declarations.
14436 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14438 * box.h: make signed dimensions to allow insets wider than
14439 the screen (bug #162)
14441 * BufferView_pimpl.C: add some insetHit debug
14443 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14445 * vc-backend.C: add FIXME
14447 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14449 * lyxfunc.C (getStatus): enable code for showing math font status
14452 2002-01-07 Juergen Vigna <jug@sad.it>
14454 * text.C (nextBreakPoint): removed debug output not needed anymore.
14456 2002-01-06 Juergen Vigna <jug@sad.it>
14458 * text.C (nextBreakPoint): fixed up this function we had this bug
14459 since ever but now hopefully we break row better.
14460 (insertChar): we have to check if an inset is the next char as it
14461 could now happen that a large inset is causing a break.
14463 2002-01-05 Juergen Vigna <jug@sad.it>
14465 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14466 if it doesn't like to be drawed.
14468 2002-01-04 Juergen Vigna <jug@sad.it>
14470 * BufferView2.C (lockInset): forgot to set a cursor.
14472 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14474 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14476 * FormMathsPanel.C:
14479 * form_maths_panel.C:
14480 * form_maths_panel.h:
14481 * form_maths_panel.fd: implemented sub- and super- buttons in math
14484 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14485 (or ^ space) to be used as in TeX (req'd by Andr�.
14487 * lyxfunc.C: Allow ^ and _ again to be used both as
14488 super/subscript (mathed) and as themselves (in text).
14490 2002-01-03 Allan Rae <rae@lyx.org>
14492 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14493 "LyX" or the filename of the current buffer if it has one. This is a
14494 modified form of John Levon's patch.
14496 * XFormsView.C (setWindowTitle): also set icon title.
14498 * LyXView.h (setWindowTitle): signature changed.
14499 * XFormsView.h (setWindowTitle): ditto.
14501 2002-01-02 Juergen Vigna <jug@sad.it>
14503 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14505 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14507 * screen.C (topCursorVisible): introduce a temp var for
14508 text->cursor.row(), handle the case where this row is null. (kindo
14511 * text2.C (setCursor): add a couple of asserts.
14513 * paragraph.h (inset_iterator): add -> operator
14515 * paragraph.[Ch] (autoDeleteInsets): remove member function
14517 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14518 cursor pos correctly and handle inset deletion by itself.
14519 (insertErrors): move iterator declaration out of for expression
14521 * lyxtextclass.C: add <algorithm>
14523 * Makefile.am: added the new files to sources, removed layout.C
14525 * layout.C: removed file
14527 * layout.h: remove LYX_DUMMY_LAYOUT
14529 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14533 * lyxtextclass.[Ch]:
14534 * lyxtextclasslist.[Ch]: new files
14536 * include order changes to a lot of files, also changes because of
14539 2001-12-27 Juergen Vigna <jug@sad.it>
14541 * buffer.C (asciiParagraph): more fixes.
14543 * tabular.C (ascii): make ascii export support export of only the
14544 data separated by a column-delimiter.
14545 (ascii): better support for ascii export.
14547 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14549 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14551 * tabular_funcs.C: use a "using std::getline" instead of the
14552 previous fix from Angus (necessary for cxx + lyxstring)
14554 2001-12-24 Juergen Vigna <jug@sad.it>
14556 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14558 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14559 problems. First check a minipage also if we have some ert-contents
14560 (not only on par->size(), second set the right depth of the paragraph
14561 on the relink to the root-paragraph-list!
14563 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14564 which then did not anymore update the main paragraphs on undo/redo!
14566 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14568 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14569 code. Support all font-changing funcs (even those which are not in
14570 menu currently). Support for reporting font settings in
14571 mathed (disabled until Andre provides a function on mathed's side).
14573 * func_status.h (toggle): small helper function to set toggle
14576 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14578 * tabular_funcs.C: getline -> std::getline
14580 2001-12-21 Juergen Vigna <jug@sad.it>
14582 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14583 accessed and could be 0 (I couldn't generate this but it seems
14586 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14588 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14589 * tabular_funcs.h: here and include iosfwd
14591 2001-12-20 Juergen Vigna <jug@sad.it>
14593 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14594 inside inset but undo_par was.
14596 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14598 * Thesaurus.C: always include <config.h> in sources.
14602 * box.h: do not include <config.h> in header files
14604 * text.C (paintLastRow): remove unused variable
14606 * text.C (transformChar):
14608 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14610 * Painter.C (text):
14611 * font.C (width): rewrite to use uppercase() instead of
14614 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14616 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14618 * lyxfind.C: clean up of find failure position change
14620 2001-12-20 Juergen Vigna <jug@sad.it>
14622 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14624 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14625 (TeXRow): added to LaTeX a single tabular row.
14626 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14627 (Latex): simplified and finally good LT-h/f support.
14628 (various_functions): just small adaptions for LT-h/f support.
14630 * tabular_funcs.[hC]: added and moved here all not classfunctions
14633 2001-12-19 Juergen Vigna <jug@sad.it>
14635 * tabular.[Ch]: better support for longtabular options (not finished
14638 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14640 * text.C (paintLastRow): use the label font instead of the font of
14641 the last character to compute the size of *_BOX. This makes more
14642 sense and avoids a crash with empty paragraphs.
14643 Use Painter::rectangle to draw EMPTY_BOX.
14645 2001-12-19 Juergen Vigna <jug@sad.it>
14647 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14648 the paragraphs if the replaced paragraph is not the first one!
14649 Tried to delete not used paragraphs but does not work yet so for
14650 now it's inside #ifdef's and by default off!
14652 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14654 * MenuBackend.C: include "lyx_main.h" instead of declaring
14655 lastfiles (actually was declared as LastFiles* instead of a
14658 2001-12-17 Juergen Vigna <jug@sad.it>
14660 * tabular.C (AppendColumn): applied John's fix
14662 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14666 * BufferView_pimpl.h:
14667 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14670 * box.h: new start of class for above
14672 * lyxfunc.C: ignore space-only minibuffer dispatches.
14673 Show the command name when it doesn't exist
14675 * minibuffer.C: don't add empty lines to the history
14677 * minibuffer.C: add a space on dropdown completion
14679 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14681 * text.C: fix line above/below drawing in insets
14683 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14685 * lyxlength.C (LyXLength): Initialize private variables.
14687 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14689 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14690 when inserting error insets.
14692 2001-12-13 Juergen Vigna <jug@sad.it>
14694 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14695 actually sometimes the before-paragraph.
14696 (setUndo): don't clear the redostack if we're not actually undoing!
14698 2001-12-06 Juergen Vigna <jug@sad.it>
14700 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14701 and fixed redoing of main paragraph, so we can use it now ;)
14703 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14705 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14707 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14710 2001-12-13 André Pönitz <poenitz@gmx.net>
14713 * undo_func.C: minor cleanup
14715 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14717 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14718 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14719 font in urw-fonts package which is marked as -urw-fontspecific and
14720 does not work (incidentally, changing the encoding in the
14721 fonts.dir of this package to -adobe-fontspecific fixes the
14724 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14725 is a crash when undoing first paragraph (Juergen, please take a
14726 look). THis does not mean the undo fix is wrong, just that it
14729 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14730 the (Paragraph*) version when needed instead of duplicating the
14733 * text.C (workWidth): use Inset::parOwner to find out where the
14734 inset has been inserted. This is a huge performance gain for large
14735 documents with lots of insets. If Inset::parOwner is not set, fall
14736 back on the brute force method
14738 * paragraph_pimpl.C (insertInset):
14739 * paragraph.C (Paragraph):
14740 (cutIntoMinibuffer): set parOwner of insets when
14741 inserting/removing them
14743 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14745 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14751 * mathed/formulabase.C:
14752 * mathed/math_cursor.[Ch]:
14753 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14756 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14758 * lyxlength.[Ch] (operator!=): new function
14760 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14762 * text.C (workWidth): use Inset::parOwner to find out where the
14763 inset has been inserted. This is a huge performance gain for large
14764 documents with lots of insets. If Inset::parOwner is not set, fall
14765 back on the brute force method
14767 * paragraph_pimpl.C (insertInset):
14768 * paragraph.C (Paragraph):
14769 (cutIntoMinibuffer): set parOwner of insets when
14770 inserting/removing them
14772 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14774 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14776 * tabular-old.C (getTokenValue):
14777 * tabular.C (getTokenValue):
14778 (write_attribute): new versions for LyXLength
14779 (everywhere): adjust the use of widths
14781 * tabular.h: change the type of widths from string to LyXLength
14783 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14785 * paragraph.C: fixed missing line number count when exporting
14786 Environments to LaTeX file
14788 * buffer.C: added informational message for checking line numbers.
14790 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14792 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14793 paragraph, do the 'double space' part, but not the 'empty
14796 * text.C (workWidth): small optimization
14797 (getLengthMarkerHeight): use minimal size for negative lengths.
14799 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14801 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14803 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14805 2001-12-11 André Pönitz <poenitz@gmx.net>
14808 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14810 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14812 * text2.C: keep selection on a setFont()
14814 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14816 * lyx_cb.C: another bv->text misuse, from insert label
14818 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14821 * kbsequence.C: re-instate nmodifier mask
14823 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14825 * lyx_main.h: make lyxGUI private.
14827 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14829 * lyxfind.C: place the cursor correctly on failed search
14831 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14833 * text.C (getLengthMarkerHeight): for small heights, the arrows
14834 are not always on top/bottom of the text
14835 (drawLengthMarker): smaller arrows; take the left margin in
14836 account; draw also vfills.
14838 (paintLastRow): remove special code for vfill and standard spaces,
14839 since everything is handled in drawLengthMarker now.
14841 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14843 * buffer.C (insertErtContents): try to handle font and language
14844 interaction a bit better.g
14846 * ColorHandler.C (updateColor): change the hash to cover the whole
14847 LColor enum, ws cleanup
14848 (getGCLinepars): ditto
14849 (getGCLinepars): only lookup in the linecache once.
14851 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14853 * iterators.C (operator++): Make the iterator more robust
14855 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14857 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14859 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14862 * text.C: better added space drawing
14864 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14867 * BufferView2.C: fix layout combo update on inset unlock
14869 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14871 * Makefile.am: don't compile unused files
14873 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14877 * LyXAction.C: remove old LFUN_LAYOUTNO
14879 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14881 * paragraph_pimpl.h:
14882 * paragraph_pimpl.C: isTextAt() doesn't need font param
14884 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14887 * lyxlex.C: little cleanup
14889 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14891 * BufferView_pimpl.C: fix insertAscii for insets
14893 2001-12-05 Juergen Vigna <jug@sad.it>
14895 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14896 set the right font on the "multi" paragraph paste!
14898 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14904 * lyxlength.C: remove out-commented code.
14906 * BufferView_pimpl:
14920 * vc-backend.C: change "while(" to "while ("
14922 * lyxlength.[Ch]: add zero function to check if length is zero or
14924 * lyxgluelength.C: use it
14926 2001-12-05 Allan Rae <rae@lyx.org>
14928 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14929 Works for 2.95.3, from what I understand of Garst's reports this should
14930 work for other g++ versions. We're screwed if the abs(int) definition
14931 changed between bugfix releases of gcc.
14933 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14935 * text.C: fix chapter label offset !
14937 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14940 * text.C: fix hfill at end of line, clean up
14942 2001-12-04 Juergen Vigna <jug@sad.it>
14944 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14945 that we force an update of the inset and it's owners if neccessary.
14947 2001-12-03 Juergen Vigna <jug@sad.it>
14949 * text.C (rowLast): simplified code
14951 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14953 * lyxfunc.C: fix show options on timeout
14955 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14957 * screen.C (topCursorVisible): scroll half a page when the cursor
14958 reached top of bottom of screen
14960 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14962 * minibuffer.C: deactivate on loss of focus
14964 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14966 * vspace.[Ch] (operator!=): add operator.
14968 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14970 * BufferView_pimpl.C: refuse to open an inset when
14971 there's a selection.
14973 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14975 * BufferView_pimpl.C: allow to click on RHS of full row insets
14977 2001-11-30 Juergen Vigna <jug@sad.it>
14979 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14980 insets for undo reasons.
14982 2001-11-28 André Pönitz <poenitz@gmx.net>
14984 * vspace.[Ch]: cosmetical changes
14986 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14996 * kbsequence.C: part re-write of old kb code
14999 * WorkArea.C: remove Lgb_bug_find_hack
15001 2001-11-30 José Matos <jamatos@fep.up.pt>
15003 * buffer.C (makeDocBookFile): add a comment to point a hack.
15004 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15005 Fixed a double write of labels.
15007 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15010 * LaTeX.h Fixed bug in LaTeX class where it would not
15011 re-run latex if no depfiles were changed, but the .dvi was removed.
15013 2001-11-28 André Pönitz <poenitz@gmx.net>
15015 * all the files from the change on 2001/11/26:
15016 use lyx::layout_type instead of LyXTextClass::size_type
15017 use lyx::textclass_type instead of LyXTextClassList::size_type
15019 2001-11-29 Juergen Vigna <jug@sad.it>
15021 * text.C: added support for paragraph::isFreeSpacing()
15023 * buffer.C: same as above
15025 * paragraph.h: inserted isFreeSpacing() function to enable
15026 FreeSpacing inside InsetERT.
15028 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15029 of the paragraph's in the cut/copy buffer to 0!
15031 * text2.C (removeRow): remove the assert as it can!
15033 * lyxtext.h: added helper function firstRow returning firstrow and
15034 made firstrow private again.
15036 * BufferView2.C (lockInset): don't relock if we're already locked!
15038 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15039 the only paragraph.
15040 (removeRow): added Assert::(firstrow)
15042 * debug.C: forgot to add INSETTEXT here.
15044 2001-11-28 Juergen Vigna <jug@sad.it>
15046 * sp_spell.C (initialize): changed error text to more general
15047 spellchecker command use (not only ispell!)
15049 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15051 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15053 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15055 * vspace.C: initialise lyxgluelength on failure
15057 2001-11-28 Allan Rae <rae@lyx.org>
15059 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15060 declaration & definition that looks like a function declaration.
15062 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15064 * BufferView2.C (copy):
15065 (copyEnvironment): do not clear the selection when doing a copy.
15067 * text.C (paintFirstRow): compilation fix
15069 2001-11-27 Ben Stanley <bds02@uow.edu.au>
15071 * tabular.C (Latex): correct line count when writing latex.
15073 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
15075 * paragraph_pimpl.h:
15076 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15079 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15083 * LColor.C: change vfillline->added_space
15085 * text.C: add markers and text for added space
15087 * vspace.C: fix comment
15089 2001-11-28 André Pönitz <poenitz@gmx.net>
15091 * paragraph.C: whitespace changes
15092 * all the other files from the change on 2001/11/26:
15093 change *::pos_type into lyx::pos_type
15095 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
15097 * buffer.C (parseSingleLyXformat2Token): Set the language to the
15098 language of the document when inserting error insets.
15100 2001-11-26 André Pönitz <poenitz@gmx.net>
15102 * BufferView_pimpl.[Ch]:
15110 * paragraph_pimpl.[Ch]:
15113 * text2.C: reduce header dependencies, introduce type for positions
15115 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15117 * <various>: change to use Alert.h
15119 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
15121 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15122 when encountering an unknown token.
15123 (readLyXformat2): Show an error message if there were unknown tokens.
15125 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
15128 * BufferView_pimpl.C:
15132 * text2.C: use par->isInset()
15134 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15136 * paragraph_pimpl.h:
15137 * paragraph_pimpl.C: cleanup
15139 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15141 * text2.C (removeRow):
15142 * text.C (setHeightOfRow): remove useless (and costly) call to
15145 2001-11-20 Allan Rae <rae@lyx.org>
15147 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15148 Now need Inset*::checkInsertChar() to return true for appropriate
15149 cases so that the characters in the minibuffer will actually be
15152 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
15154 * text.C: change the order of the includes.
15155 (workWidth): initialize it at once.
15156 (workWidth): make maxw unsigned
15157 (setHeightOfRow): remove unused variable (inset)
15158 (selectSelectedWord): remove unused variable (inset)
15159 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15161 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15163 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15164 server is not running.
15166 (closeConnection): add debug info when server is disabled.
15168 * ColorHandler.C (getGCForeground): send debug message to GUI
15171 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15173 * kbmap.C (bind): modify because return conventions of
15174 kb_sequence::parse have changed.
15176 * kbsequence.C (parse): only ignore spaces and not any stupid
15177 control character. This avoids tests like s[i] <= ' ', which are
15178 guaranteed to fail with 8bit characters and signed chars.
15179 Change return code to string::npos when there have been no error
15180 (0 was a bad idea when error is at first character)
15182 2001-11-14 José Matos <jamatos@fep.up.pt>
15185 * buffer.C (simpleDocBookOnePar): removed unused argument.
15187 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15189 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15190 insets which are part of a word. Paragraph::isLetter takes care of
15191 that now. Use Paragraph::isInset to identify insets.
15192 (selectSelectedWord): do not test for hyphenation break.
15194 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15195 that protected spaces are considered as spaces.
15197 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15200 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15203 * lyxserver.C: fix it. and small cleanup.
15205 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15207 * BufferView_pimpl.C: use inline helpers
15210 * LaTeXFeatures.C: fix typos
15213 * Spacing.C: move spacing_string into class
15215 * ToolbarDefaults.C: move stuff into namespace anon
15217 * layout.h: update enum
15219 * lyxfunc.C: use better debug
15221 * minibuffer.h: fix typo
15225 * WorkArea.C: add and use Debug::WORKAREA
15229 * text2.C: code re-organisation, inline helpers
15231 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15233 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15234 std::vector.empty().
15236 2001-11-09 Allan Rae <rae@lyx.org>
15238 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15239 '\n's after tables. Tabular and ERT inset work now makes this no
15242 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15245 * minibuffer.C: fix crash, improve drop-down completion
15247 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15250 * lyxserver.C: invalidate fd's when doing endPipe()
15252 2001-11-08 José Matos <jamatos@fep.up.pt>
15254 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15255 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15258 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15260 2001-11-07 José Matos <jamatos@fep.up.pt>
15263 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15266 * buffer.C (sgmlOpenTag):
15267 * buffer.C (sgmlCloseTag): removed debug info.
15269 * buffer.h (sgmlOpenTag):
15270 * buffer.h (sgmlCloseTag): made public.
15272 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15274 * buffer.C (saveParamsAsDefaults):
15275 * lyx_cb.C (MenuLayoutSave): remove
15277 * LyXAction.C (init):
15279 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15281 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15283 * buffer.C (setPaperStuff): removed from here...
15285 * bufferparams.C (setPaperStuff): ... and moved there.
15287 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15291 * XFormsView.C: add support for drop-down completion
15293 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15295 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15298 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15300 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15303 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15305 * lyx_main.C: change ref to known bugs
15307 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15309 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15310 to work around older babel problems.
15312 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15314 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15316 2001-10-24 Juergen Vigna <jug@sad.it>
15318 * tabular-old.C (ReadOld): below variable changes reflected.
15320 * tabular.[Ch]: added ltType struct for longtable header/footer
15321 defines and changed all instances where they are used. Added
15322 future support for double top/bottom rows.
15324 2001-10-24 José Matos <jamatos@fep.up.pt>
15326 * buffer.h (docbookHandleCaption):
15327 * buffer.C (docbookHandleCaption): removed unused function.
15328 (makeDocBookFile): moved docbook supported version to v4.1.
15330 2001-10-24 José Matos <jamatos@fep.up.pt>
15333 * tabular.C (docbookRow): new function to export docbook code of a row.
15334 (DocBook): now honors the longtable flags.
15336 2001-10-23 José Matos <jamatos@fep.up.pt>
15339 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15340 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15342 * buffer.C (makeLinuxDocFile):
15343 (makeDocBookFile): reworked the preamble, more clean, and with
15344 support for lyx defined entities. Changed the document declaration
15345 to be more XML friendly.
15347 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15348 if we need to output XML that should be done with a filter.
15350 2001-10-22 Juergen Vigna <jug@sad.it>
15352 * sp_pspell.h (class PSpell): add alive function needed in the
15353 controller to see if the spellchecker could be started.
15355 2001-10-22 Juergen Vigna <jug@sad.it>
15357 * buffer.C (insertStringAsLines): modify the font for inserting
15358 chars in certain conditions by calling checkInsertChar(font).
15360 2001-10-19 Juergen Vigna <jug@sad.it>
15362 * text.C (workWidth): use getRow instead of wrong algorithm.
15363 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15365 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15370 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15372 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15374 * text.C (workWidth): do not search for the exact row when
15375 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15376 optimization for big documents.
15378 2001-10-18 Juergen Vigna <jug@sad.it>
15380 * text.C (workWidth): new function with added Inset * parameter.
15382 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15384 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15386 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15387 change return type of getColumnNearX.
15390 * text.C (changeRegionCase): use uppercase/lowercase instead of
15393 (rightMargin): simplify code by factoring out the uses of
15398 (appendParagraph): use Paragraph::size_type
15400 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15402 * vspace.C (asLatexString): add a missing break
15404 2001-10-15 Herbert Voss <voss@perce.de>
15406 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15408 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15410 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15413 2001-10-10 André Pönitz <poenitz@gmx.net>
15415 * lyxfunc.C: removed greek_kb_flag.
15417 2001-10-10 Herbert Voss <voss@perce.de>
15419 * lyx_main.C: delete global string help_lyxdir.
15421 2001-10-09 Herbert Voss <voss@perce.de>
15423 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15425 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15427 * lyx_main.C: added global string help_lyxdir.
15429 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15431 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15433 * lyxrc.C (set_font_norm_type): support iso8859-4
15435 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15437 * LaTeX.C (deplog): add another regex for MikTeX
15439 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15441 * lyxrc.C (set_font_norm_type): support iso8859-3
15443 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15445 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15447 * LaTeXFeatures.C: remove special case of french and index
15449 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15450 before \begin{document}). This solves several incompatibilities.
15452 2001-10-03 Garst Reese <reese@isn.net>
15454 * lyx_cb.C: change CheckTex error msg.
15456 2001-10-03 José Matos <jamatos@fep.up.pt>
15458 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15460 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15462 * .cvsignore: update
15464 * lyx_main.C (commandLineVersionInfo): use new style version info.
15466 * buffer.C (writeFile):
15468 (makeLinuxDocFile):
15469 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15471 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15473 * version.h: update to use stuff in version.C
15475 * version.C.in: new file. Contains version information determined
15476 at compile time. This is a merging of version.h and
15479 2001-10-03 Juergen Vigna <jug@sad.it>
15481 * BufferView_pimpl.C (update): don't change "dirty" status in
15484 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15486 * WorkArea.C (c-tor): re-position version string slightly.
15488 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15490 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15491 revert to previous code.
15493 WorkArea.[Ch]: (show, destroySplash): methods removed.
15495 WorkArea.C: rework code so that it's an amalgam of the codes before and
15496 after the splash screen was moved to WorkArea.
15498 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15501 * vspace.C (inPixels):
15504 * buffer.C (insertStringAsLines):
15505 (asciiParagraph): fix types to be large enough
15507 * lyxlex_pimpl.h: change member status from short to int
15509 * layout.h: fix type of endlabeltype
15512 * kbsequence.C (parse): change return type to string::size_type
15514 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15517 * Bullet.C (bulletSize):
15518 (bulletEntry): do not use short ints as parameters
15520 * BufferView2.C (insertLyXFile): change a char to an int.
15522 * WorkArea.C (WorkArea): remove unneeded floats in computation
15524 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15526 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15528 * paragraph.C (asString): Do not ignore newline/hfill chars when
15529 copying to the clipboard.
15531 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15533 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15534 after a multi-line inset.
15536 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15538 * paragraph.C (validate): Set NeedLyXFootnoteCode
15540 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15542 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15543 and decrease-error to decrease.
15545 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15547 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15548 it more readable (should be equivalent)
15550 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15552 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15554 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15556 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15557 of a cursor (row, etc.) after a character has been deleted
15558 (deleteEmptyParagraphMechanism): call the method above on _all_
15559 cursors held by the LyXText when a double space has been
15562 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15564 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15566 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15568 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15569 background. Use greyOut() and the new show() methods to toggle between
15570 the foreground and background. Add code to remove the splash after
15571 its initial showing.
15573 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15574 (create_forms): no longer call Dialogs::showSplash.
15576 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15578 * .cvsignore: add version_info.h
15580 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15582 * version_info.h.in: new file
15584 * Makefile.am: add version_info.h.in
15586 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15587 version_info.h instead of VERSION_INFO
15589 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15591 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15592 The ERT inset now returns string().
15594 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15596 * lyxtext.h, text.C (selectNextWord): renamed as
15597 selectNextWordToSpellcheck.
15599 * text.C (selectNextWordToSpellcheck): Modified to not select
15600 words inside an ERT inset.
15602 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15604 * lyx_cb.C (MenuLayoutSave): change a bit the question
15606 * sp_base.h: include <sys/types.h>
15608 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15610 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15612 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15614 * several files: fix typos in user-visible strings
15616 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15618 * text2.C (pasteSelection): do not set the selection, since it
15619 will be cleared later. Actually, the intent was to fix the way the
15620 selection was set, but I figured rmoving the code was just as good.
15622 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15624 * FontLoader.C (available): Check if font is available without
15627 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15629 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15631 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15633 * lyxrc.[Ch]: added display_graphics variable and associated code.
15635 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15637 * bufferparams.C (hasClassDefaults): new method. Returns true if
15638 the buffer parameters correspond to known class defaults
15640 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15642 * XFormsView.C (show): set minimum size to the main window.
15644 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15646 * text2.C (copySelection):
15648 * lyxfind.C (LyXReplace):
15649 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15650 LyXText::selectionAsString.
15652 * paragraph.C (asString): add "label" argument to the second form
15654 * text2.C (selectionAsString): add "label" argument and pass it to
15655 Paragraph::asString.
15657 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15659 * lyx_main.C (commandLineHelp): remove version information
15661 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15663 * lyx_main.C: add -version commandline option
15665 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15667 * paragraph.h: make the optional constructor arg required instead.
15668 some modifications to other files because of this.
15670 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15672 * lyxserver.C (C_LyXComm_callback): make it static
15674 * lyx_main.C (error_handler): make it static
15676 * lyx_gui.C (LyX_XErrHandler): make it static
15678 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15680 * WorkArea.C: make the extern "C" methods static.
15682 * Makefile.am (lyx_LDADD): simplify
15684 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15686 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15687 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15689 * LyXAction.C (init):
15690 * lyxfunc.C (dispatch): associated code removal.
15692 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15694 * lyxfont.h (isSymbolFont): shut off warning
15696 * text.C (setHeightOfRow):
15697 (getVisibleRow): fix crash with empty paragraphs which have a
15700 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15702 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15705 2001-09-04 José Matos <jamatos@fep.up.pt>
15708 * tabular.C (docbook): rename docBook method to docbook.
15710 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15712 * Makefile.am: add dependencies to main.o.
15714 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15716 * FontLoader.C (available): Return false if !lyxrc.use_gui
15718 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15720 * FontInfo.C (query):
15721 * converter.C (view):
15722 * importer.C (Import):
15723 * exporter.C (Export): Can not -> cannot.
15725 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15727 * BufferView_pimpl.C: allow to create index inset even if
15730 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15732 * buffer.C (getLists): replace boost::tie code with an explicit pair
15733 as boost::tie can break some compilers.
15735 * iterators.h: Added a std:: declaration to the return type of
15738 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15740 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15743 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15745 * iterators.[Ch]: New files. Provide paragraph iterators.
15747 * buffer.C (changeLanguage): Use paragraph iterators.
15748 (isMultiLingual): ditto
15750 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15752 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15754 * FontLoader.C: Support for cmr font.
15756 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15758 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15759 (available): New method.
15761 * FontInfo.C (getFontname): Use scalable fonts even when
15762 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15765 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15767 * converter.C (Formats::view): reverted! Incorrect fix.
15769 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15771 * converter.C (Formats::view): only output the -paper option
15772 if the dvi viewer is xdvi, thereby fixing bug #233429.
15774 2001-08-23 Herbert Voss <voss@perce>
15776 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15778 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15780 * Spacing.h (Spacing): Set space to Default on in the default
15783 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15785 * vc-backend.h (RCS::versionString): add RCS to version
15786 (CVS::versionString): add CVS to version
15788 * vc-backend.C (scanMaster): do not add CVS to version.
15789 (scanMaster): do not add RCS to version
15791 * lyxvc.C (versionString): new method
15793 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15795 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15797 * Spacing.C (set): initialize fval
15799 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15801 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15804 2001-08-16 Juergen Vigna <jug@sad.it>
15806 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15808 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15810 * BufferView_pimpl.C:
15813 * text2.C: setParagraph takes linespacing now
15815 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15817 * LyxAction.C: add internal LFUN_CITATION_INSERT
15819 * LyXView.C: actually apply fix
15821 * bufferlist.C: fix open non-existent file
15823 * lyxfind.C: fix indentation
15825 * lyxfunc.C: remove unneeded assert, fix typo
15827 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15829 * MenuBackend.C: use "Floatname List"
15831 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15833 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15834 when converting LaTeX layout to insetERT.
15835 Generate a non-collapsed float when reading old float
15837 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15839 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15842 2001-08-13 Juergen Vigna <jug@sad.it>
15844 * text.C (fill): return 0 instead of 20 as this seems to be the more
15847 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15849 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15852 2001-08-13 Juergen Vigna <jug@sad.it>
15854 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15856 (SearchBackward): comment out the unlocking of the inset_owner this
15857 should not be needed!
15859 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15861 * Many files: Remove inherit_language, and add latex_language
15863 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15864 collapsible insets.
15866 2001-08-10 Juergen Vigna <jug@sad.it>
15868 * text.C (prepareToPrint): fixed hfill-width in draw!
15870 * BufferView2.C (selectLastWord): save the selection cursor as this
15871 now is cleared in the function LyXText::clearSelection!
15873 2001-08-08 Juergen Vigna <jug@sad.it>
15875 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15876 BACKSPACE type functions.
15878 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15879 is only cutted from the document but not put in the cut-buffer, where
15880 still the old stuff should be.
15882 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15884 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15886 * tabular.C (SetWidthOfCell): fixed special case where the width
15888 (LeftLine): handle '|' in align_special.
15890 (LeftAlreadyDrawed): ditto
15891 (SetWidthOfCell): ditto
15893 2001-08-07 Juergen Vigna <jug@sad.it>
15895 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15897 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15899 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15900 * lyxlex.[hC]: ditto
15902 2001-08-06 Juergen Vigna <jug@sad.it>
15904 * text.C (getVisibleRow): fix up row clearing a bit.
15906 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15908 * minibuffer.C: make sure the X server sees the changes in the input.
15910 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15912 * paragraph.C (getFont): split into...
15913 (getLabelFont): this
15914 (getLayoutFont): and this
15915 * paragraph_pimpl.C (realizeFont): calling this
15917 * text2.C (getFont): split into...
15918 (getLayoutFont): this
15919 (getLabelFont): and this
15920 (realizeFont): all three calling this
15922 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15925 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15927 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15929 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15931 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15932 layouts from the Quote inset insertion.
15934 2001-08-03 Juergen Vigna <jug@sad.it>
15936 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15938 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15939 only if status not is already CHANGED_IN_DRAW (second level).
15941 * text.C (draw): don't set the need_break_row when inside an
15944 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15946 * buffer.C (parseSingleLyXformat2Token): handle more latex
15949 * bufferview_funcs.[hC]: change function names to
15950 begin with small char, adjust other files.
15952 2001-08-02 André Pönitz <poenitz@gmx.net>
15955 BufferView_pimpl.C: remove broken special code for math-greek
15957 2001-08-02 Juergen Vigna <jug@sad.it>
15959 * BufferView_pimpl.C (update): redone this function so that we
15960 update the text again if there was a CHANGE_IN_DRAW.
15962 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15963 (drawFromTo): added a new internal bool which is used by draw() and
15965 (general): some cursor drawing problems fixed.
15967 2001-08-01 Juergen Vigna <jug@sad.it>
15969 * lyxfind.C (LyXFind): fixed
15970 (SearchForward): ditto
15971 (SearchBackward): ditto
15973 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15974 spurius drawing of the cursor in the main area.
15976 * text2.C (status): small fix which could lead to a segfault!
15977 (clearSelection): remove unneeded BufferView param.
15979 2001-08-01 André Pönitz <poenitz@gmx.net>
15981 * lyxfunc.C: small change due to changed mathed interface
15983 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15985 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15987 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15989 * lyxfunc.c: fail gracefully if file doesn't exist
15994 * BufferView_pimpl.C: IsDirWriteable() proto changed
15996 * LyXView.C: fix updateWindowTitle() to store the last title
15998 2001-07-31 Juergen Vigna <jug@sad.it>
16000 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16001 the font (wrong since using of Paragraph::highestFontInRange).
16003 * paragraph.C (highestFontInRange): added a default_size parameter.
16005 * text.C (getVisibleRow): minor clear row changes (still not perfect).
16006 (setHeightOfRow): reformat
16008 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16010 * converter.[hC] + affected files: move to (inital-char)lowercase
16013 * ParagraphParameters.C (ParagraphParameters): remove commented code
16015 * PainterBase.[Ch]: remove commented code
16017 * LaTeXFeatures.h: add "bool floats" for float.sty
16019 * LaTeXFeatures.C (LaTeXFeatures): init floats
16020 (require): handle float
16021 (getPackages): do it with floats
16023 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16025 * BufferView_pimpl.C (Dispatch): improve handling of
16026 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16028 * commandtags.h: #include lyxfont.h here temporarily to avoid
16031 * bufferlist.h: include LString.h here.
16033 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16035 * text2.C (getStringToIndex): new method.
16037 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
16039 * *: Reduced header file dependencies all over.
16041 2001-07-30 Baruch Even <baruch@lyx.org>
16043 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16045 2001-07-29 Baruch Even <baruch@lyx.org>
16047 * buffer.C (readInset): Changed GRAPHICS to Graphics.
16049 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16051 * ParameterStruct.h (endif): add a default constructor to make
16052 sure that all variables is initialized.
16054 * ParagraphParameters.C (ParagraphParameters): adjust
16056 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16058 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16059 index; also, check that there is something to index, and that it
16060 does not span over several paragraphs.
16061 (doubleClick): use WHOLE_WORD_STRICT for double click.
16063 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16065 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16068 2001-07-26 Baruch Even <baruch@lyx.org>
16070 * buffer.C (readInset): Changed to call up InsetGraphics when reading
16071 an InsetFig figure, backwards compatible reading of old figure code.
16073 2001-07-27 Juergen Vigna <jug@sad.it>
16075 * text2.C: font.realize function adaption.
16077 * text.C (draw): add a warnings lyxerr text if needed.
16079 * layout.C: font.realize function adaption.
16081 * language.C: add inherit_language and implement it's handlings
16083 * bufferview_funcs.C (StyleReset): remove language parameter from
16084 font creation (should be language_inherit now).
16086 * bufferparams.C (writeFile): handle ignore_language.
16088 * paragraph.C (getFontSettings): the language has to be resolved
16089 otherwise we have problems in LyXFont!
16091 * lyxfont.C (lyxWriteChanges): added document_language parameter
16092 (update): removed unneeded language parameter
16094 * paragraph.C (validate): fixed wrong output of color-package when
16095 using interface colors for certain fonts in certain environments,
16096 which should not seen as that on the final output.
16098 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
16100 * BufferView_pimpl.C:
16105 * LyXAction.C: add thesaurus support
16108 * lyxfind.C: add "once" parameter, for thesaurus, to not
16109 move to the next match
16111 2001-07-26 Juergen Vigna <jug@sad.it>
16113 * lyxfont.C (realize): honor ignore_language too!
16116 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16118 * text.C (draw): one place more for ignore_language to not draw
16121 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
16123 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16125 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16127 * buffer.C (parseSingleLyXformat2Token): a more general fix for
16128 the minipage conversion problem.
16130 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16132 * buffer.C (parseSingleLyXformat2Token): check minipage if we
16135 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16137 * BufferView.h: don't forward declare WorkArea
16139 * BufferView.C: don't include WorkArea.h
16141 2001-07-25 André Pönitz <poenitz@gmx.net>
16145 * lyxfunc.C: new LFUN 'math-space'
16147 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16149 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16151 * text2.C (toggleInset): call open/close
16153 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16155 * lyxfunc.C (dispatch): add debug for the disabled case
16157 * font.C (buttonText): make similar to rectText
16159 * buffer.C (readInset): comment out parsing of insetlist and
16162 * PainterBase.C (rectText): small correction
16164 * BufferView_pimpl.C: comment out insettheorem and insetlist
16165 * LyXAction.C: ditto
16166 * commandtags.h: ditto
16168 2001-07-24 Juergen Vigna <jug@sad.it>
16170 * text.C (draw): honor the ignore_language.
16172 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16174 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16176 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16179 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16181 * lyxtext.h: remove unused (and unimplemented) methods
16183 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16185 * text.C (getVisibleRow): honor background color
16188 * Painter.h: remove default color argument for fillRectangle
16190 * text.C (backgroundColor): new method
16192 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16194 * text.C (getVisibleRow): adjust
16196 * font.[Ch] (rectText): new method, metrics
16197 (buttonText): new method, metrics
16199 * PainterBase.[hC]: make rectText and buttonText always draw and take
16202 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16204 * ToolbarDefaults.C (read):
16205 * MenuBackend.C (read): allow escaping in all strings
16207 * BufferView_pimpl.C (insertAndEditInset): new method.
16208 (Dispatch): use insertAndEditInset whenever appropriate.
16210 * BufferView_pimpl.C (insertNote): removed
16212 * BufferView_pimpl.C (smartQuote): new method, moved from
16213 BufferView; if an insetquote cannot be inserted, insert a '"'
16216 * BufferView2.C: remove insertCorrectQuote();
16218 * lyxfunc.C (getStatus): Add support for all remaingin
16219 inset-insert lfuns.
16221 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16223 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16224 command (necessary to pass " as parameter of self-insert.
16226 * text.C (selectWordWhenUnderCursor):
16227 (selectWord): add word_location parameter
16228 (selectWordWhenUnderCursor): same + remove special code for word
16230 (selectNextWord): use kind() to guess type of insetspecialchar,
16233 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16234 (insertErtContents): create ert insets as collapsed.
16235 (readInset): better compatibility code for Info inset.
16237 2001-07-20 Juergen Vigna <jug@sad.it>
16239 * lyxfunc.C (dispatch): use always LyXFind now!
16241 * text2.C (init): add a reinit flag so that the LyXText can be
16242 reinited instead of deleted and reallocated (used in InsetText).
16244 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16250 2001-07-18 Juergen Vigna <jug@sad.it>
16252 * text.C (selectNextWord): handle insets inside inset by calling
16253 always the bv->text functions so that we can go up the_locking_inset!
16255 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16256 in strange locations when inside an inset!
16258 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16259 handling to include insets.
16261 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16263 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16265 * LyXAction.C (init):
16267 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16268 LIGATURE_BREAK, since the name is so stupid.
16270 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16272 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16275 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16277 * sp_form.[Ch]: remove.
16279 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16281 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16284 * src/buffer.C (readInset): ditto.
16286 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16288 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16289 menuSeparator(), endOfSentenceDot(), ldots() and
16290 hyphenationPoint(), which are therefore removed.
16291 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16293 * LyXAction.C (init):
16294 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16296 * paragraph.C (getWord): removed.
16298 * BufferView_pimpl.C (Dispatch): use last word or selection for
16299 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16301 * lyx_main.C (queryUserLyXDir): do not ask before creating
16302 user_dir, except if it has been named explicitely.
16304 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16306 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16307 a document of zero size.
16309 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16311 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16312 approriately in the c-tor and in require().
16313 (getPackages): output the appropriate LaTeX for natbib support.
16315 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16316 variables "use_natbib" and "use_numerical_citations" when reading the
16318 (readInset): read the various natbib cite commands.
16319 (validate): white-space change.
16321 * bufferparams.[Ch]: new variables "bool use_natbib" and
16322 "bool use_numerical_citations".
16323 (writeFile): output them in the LyX file.
16325 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16327 * lyxfunc.C (getStatus): add support for all the inset insertion
16330 * text2.C (insertInset):
16331 * paragraph.C (insetAllowed):
16332 * BufferView_pimpl.C (insertInset): update to take in account the
16333 renaming of insertInsetAllowed
16335 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16337 * text2.C (getInset): new method. returns inset at cursor position.
16339 * BufferView_pimpl.C (Dispatch): changes because of this.
16341 * LyXAction.C (init): rename open-stuff to inset-toggle.
16343 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16345 * text2.C (toggleInset): renamed from openStuff; use
16348 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16350 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16352 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16354 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16356 * buffer.C (readLyXformat2): Add filename to the error dialog
16358 2001-07-18 Juergen Vigna <jug@sad.it>
16360 * tabular.C (GetCellNumber): put an assert here instead of the check!
16362 2001-07-17 Juergen Vigna <jug@sad.it>
16364 * BufferView_pimpl.C (toggleSelection): adapted too.
16366 * text.C (selectNextWord): adapted for use with insets.
16367 (selectSelectedWord): ditto
16369 2001-07-17 Juergen Vigna <jug@sad.it>
16371 * sp_spell.C (PSpell): fix initialitation order.
16373 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16375 * paragraph.C: spacing
16377 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16379 * sp_spell.C: repair language selection for pspell
16381 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16383 * lyxfunc.h: change more methods to begin with lower char.
16385 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16387 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16388 for unknown layouts.
16390 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16392 * buffer.C (readLyXformat2): Generate an error dialog if there are
16395 2001-07-16 Juergen Vigna <jug@sad.it>
16397 * sp_spell.C: always compile ISpell part.
16399 * lyxrc.C: added use_pspell entry and it's handling.
16401 2001-07-13 Juergen Vigna <jug@sad.it>
16403 * sp_spell.C: removed double includes.
16405 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16407 Consistent use of Lsstream.h:
16408 * Lsstream.h: added using std::stringstream for consistencies sake.
16410 * buffer.C: removed using std::stringstream
16412 * lyxfont.C (stateText):
16413 * paragraph.C (asString):
16414 * text.C (selectNextWord, selectSelectedWord):
16415 * text2.C (setCounter):
16416 * vspace.C (asString, asLatexString):
16417 std::ostringstream -> ostringstream.
16419 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16421 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16422 * commandtags.h: add LFUN_HELP_ABOUTLYX
16423 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16425 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16427 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16429 * lyx_gui_misc.C: remove spellchecker
16430 * lyxfunc.C: showSpellchecker
16432 * sp_ispell.h: added
16433 * sp_pspell.h: added
16434 * sp_spell.C: added
16435 * sp_form.[Ch]: removed
16436 * spellchecker.[Ch]: removed
16438 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16440 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16442 (simpleTeXSpecialChars): Simply print the input character without
16443 any special translation if pass_thru is set.
16445 * layout.h: Added bool pass_thru to layout class for being able to
16446 implement pass through of a paragraph for Literate Programming.
16448 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16449 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16450 * layout.C (Read): add "passthru" to list of layout tags and add
16451 code to set the pass_thru boolean when it is read.
16453 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16455 * trans_decl.h: remove allowed from KmodInfo
16457 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16458 remove allowed code
16461 * paragraph_pimpl.C (erase): use boost::prior
16463 * Painter.C (text): use data() instead of c_str() when length is
16465 * WorkArea.C (putClipboard): ditto
16466 * font.h (width): ditto
16468 * BufferView2.C: use it-> instead of (*it). for iterators
16470 * paragraph_pimpl.C: ditto
16471 * paragraph.C: ditto
16472 * minibuffer.C: ditto
16473 * language.C: ditto
16475 * encoding.C: ditto
16476 * counters.C: ditto
16477 * converter.C: ditto
16479 * Variables.C: ditto
16480 * TextCache.C: ditto
16481 * MenuBackend.C: ditto
16482 * LyXAction.C: ditto
16484 * FloatList.C: ditto
16485 * DepTable.C: ditto
16486 * ColorHandler.C (LyXColorHandler): ditto
16488 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16490 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16492 * text2.C (openStuff): reintroduce this method (which had been
16493 nuked in NEW_INSETS frenzy).
16495 * lyxfunc.C (Dispatch): when an action has not been handled, use
16496 its name in the error message, not its number.
16498 * paragraph.C (inInset): change method name to begin with lowercase.
16501 * text2.C: updates because of this.
16503 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16505 * ToolbarDefaults.C (add): add spaces in error message
16507 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16509 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16510 (readLyXformat2): rename return_par to first_par, use lyxlex's
16511 pushToken and remove the manual push handling.
16512 (parseSingleLyXformat2Token): add another ert comp. variable:
16513 in_tabular, rename return_par to first_par. handle newlines better
16515 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16517 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16519 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16521 * text2.C (getParFromID): removed
16523 * buffer.C (getParFromID): new method moved form lyxtext.
16524 * BufferView2.C (insertErrors): adjust
16525 (setCursorFromRow): adjust
16526 * BufferView_pimpl.C (restorePosition): adjust
16527 * lyxfunc.C (Dispatch): adjust
16528 * undo_funcs.C (textUndo): adjust
16530 (textHandleUndo): adjust
16531 (textHandleUndo): adjust
16533 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16535 * buffer.C: up' the LYX_FORMAT
16537 * lyxfont.h: turn NO_LATEX on as default
16539 * buffer.C (insertErtContents): new methods of tex style compability.
16540 (parseSingleLyXformat2Token): use it several places.
16541 * tabular.C (OldFormatRead): and here
16543 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16545 * text2.C: remove some commented code.
16548 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16549 * trans.C: changes because of the above.
16551 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16553 * text2.C (setCounter): Fix counters bug with bibliography layout.
16555 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16557 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16558 own member functions
16559 (simpleTeXSpecialChars): ditto
16561 2001-07-06 Juergen Vigna <jug@sad.it>
16563 * a lot of files: changed the access to LyXText::status and the
16564 call of undo-functions.
16566 * undo.[Ch]: added a inset_id to the undo informations.
16568 * undo_funcs.[Ch]: added and moved here all undo functions.
16570 * lyxtext.h: give the status enum a weight, made status_ a private
16571 variable and made accessor functions for it, removed the whole bunch
16572 of undo-functions as they are now in their own file, make some
16573 functions publically available. Added function ownerParagraph with
16576 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16577 made InInset() a const function, added getParFromID() function.
16579 * buffer.[Ch]: added const version for inset_iterator functions,
16580 added getInsetFromID() function.
16582 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16583 changed undo functions for new version.
16585 2001-07-05 Juergen Vigna <jug@sad.it>
16587 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16588 unknow mechanism does not call the proper constructor but only this
16589 one also if I request the other!?
16591 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16593 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16595 * text2.C (LyXText): use initialization lists.
16597 * lyxtext.h (Selection): initialize set_ and mark_
16598 (init): remove method
16600 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16602 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16604 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16606 * screen.[Ch]: change method names to begin with lowercase
16608 * BufferView_pimpl.C (updateScrollbar): simplify further and
16609 hopefully make it a bit faster.
16611 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16613 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16614 calling directly xforms functions.
16616 * Painter.C (Painter):
16617 * lyx_cb.C (MenuWrite):
16618 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16621 * lyx_gui.C: remove bogus guiruntime extern declaration.
16623 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16625 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16627 (redoDrawingOfParagraph): ditto
16628 (redoParagraphs): ditto
16629 (cutSelection): don't create a object for CutAndPaste use the
16630 static method directly
16631 (pasteSelection): ditto
16633 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16636 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16638 * modifications to some other files because of this.
16640 * Makefile.am (lyx_SOURCES): add XFormsView
16642 * XFormsView.[Ch]: new files
16644 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16645 the main window. Move the gui dependent stuff to XFormsView
16647 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16649 * tabular.C (GetCellInset): update cur_cell also in the row/col
16650 version of this function.
16652 * lyxfunc.C: no need to include figure_form.h here.
16658 * lyxvc.C: no need to include forms.h here.
16660 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16662 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16664 * lyxfunc.C (Dispatch):
16666 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16667 constructor argument.
16669 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16671 * paragraph.C (Paragraph): dont't clear, and just set layout.
16672 (makeSameLayout): use params's copy contructor.
16674 * ParagraphParameters.[Ch] (makeSame): delete method
16676 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16678 * Variables.[Ch]: fix indentation, rename set to isSet
16680 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16682 * lyxfunc.C (Dispatch): fix typo
16684 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16686 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16689 * bufferlist.C: include assert.h for emergencyWrite().
16691 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16693 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16694 give up at last (bug #425202) !
16696 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16702 * spellchecker.C: strip spellchecker options and bring up
16703 preferences tab instead
16705 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16707 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16708 the istringstream constructor
16710 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16712 * paragraph.C (getLayout): fix return value
16714 * paragraph.h: do not declare getLayout as inline.
16716 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16718 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16720 * lyxcursor.h (operator<): new func
16721 (operator>): new func
16722 (operator>=): new func
16723 (operator<=): new func
16725 * text.C (changeCase): use selection.start and selection.end
16726 (changeRegionCase): require from to be <= to. Require par to be a
16729 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16731 2001-06-27 Juergen Vigna <jug@sad.it>
16733 * text.C (cursorLeftOneWord): changed to return the cursor and added
16734 overlay with BufferView * parameter which calls this one.
16736 (selectWord): use new getWord function.
16737 (changeCase): renamed from changeWordCase as and extended to work
16738 also on selections.
16740 * lyxtext.h: added enum word_location
16742 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16743 changeCase as this operates now also on selections.
16745 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16747 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16749 * many files: send debug output to Debug::INFO instead of
16752 * converter.C (View):
16754 (Move): send debug output to Debug::FILES instead of console.
16756 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16758 * lyxfunc.C (getStatus): use func_status
16760 * func_status.h: new header, describing the results of
16761 LyXFunc::getStatus;
16763 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16766 2001-06-25 The LyX Project <jug@sad.it>
16768 * buffer.C (sgmlOpenTag):
16770 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16772 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16774 * text2.C: remove some dead code
16776 * tabular.C (GetCellInset): store the last cell checked (gotten)
16778 * tabular.h: add the helper for the speedup
16780 * lyxtext.h: remove some dead code
16782 2001-06-26 The LyX Project <Asger>
16784 * paragraph.C: Change export to LaTeX of alignment to
16785 \begin{center} and family for better roundtrip work with reLyX.
16787 * Tune the math drawing a bit.
16789 2001-06-25 The LyX Project <Asger>
16791 * LColor.C (LColor): New color for math background. New color
16794 2001-06-25 The LyX Project <jug@sad.it>
16796 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16798 * lyxfunc.C (Open):
16799 * bufferlist.C (newFile): do not restrict to files ending with
16802 * BufferView_pimpl.C (MenuInsertLyXFile):
16804 2001-06-24 The LyX Project <jug@sad.it>
16806 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16809 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16811 * lyxtext.h: rename most methods to begin with a small char.
16812 Lots of changes because of this.
16814 * paragraph.C (Paragraph): do not call fitToSize
16815 (erase): call Pimpl::erase
16816 (insertChar): call Pimpl::insertChar
16817 (insertInset): call Pipl::insertInset
16818 (breakParagraph): do not call fitToSize
16819 (breakParagraphConservative): do not call fitToSize
16820 (fitToSize): remove method
16822 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16824 2001-06-24 The LyX Project <Asger>
16826 * Fix Qt compilation^2
16828 2001-06-24 The LyX Project <jug@sad.it>
16830 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16831 depthHook(getDepth()-1).
16834 * ParagraphParameters.h:
16835 * ParameterStruct.h: change type of depth to unsigned int ==
16836 depth_type. Many adaptations to other files before of that.
16838 2001-06-24 The LyX Project <Asger>
16840 * Fix Qt compilation.
16842 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16844 * paragraph.h: renamed several methods to begin with small letter.
16845 several changes to many parts of the code because of this.
16847 2001-06-23 The LyX Project <jug@sad.it>
16849 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16850 rewritten to discard all double spaces when KeepEmpty is off
16851 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16852 to only handle newlines but not fiddle with spaces and friends.
16854 * lyxfunc.C (MenuNew): when doing 'new from template', use
16855 template_path as default directory
16857 2001-06-23 The LyX Project <Asger>
16859 * Clean-up of header file includes all over
16860 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16862 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16864 * paragraph.h: renamed from lyxparagraph.h
16866 2001-06-23 Asger <lyx@violet.home.sad.it>
16868 * Buffer.h: Removed Buffer::resize
16869 * BufferList.h: Removed BufferList::resize
16870 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16871 the document lazily when we change the width, or the font settings.
16873 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16875 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16877 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16879 * buffer.h: remove out of date comment
16881 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16884 * screen.C: fix "theoretical" GC leak
16886 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16888 * LaTeX.C (scanAuxFile):
16889 (deplog): remove trailing \r when reading stream (useful under
16892 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16894 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16895 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16896 and BufferView::theLockingInset(Inset*), so should use them and not
16897 access bv_->text->the_locking_inset directly.
16899 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16901 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16904 * tex-defs.h: remove old unused file
16906 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16908 * BufferView_pimpl.C: fix typo, remove minibuffer message
16909 when buffer has loaded
16911 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16913 * lyxfunc.C (Dispatch): use stringstream
16914 (MenuNew): use stringstream
16915 (Open): use stringstream
16917 * importer.C (Import): use stringstream
16919 * bufferview_funcs.C (CurrentState): use stringstream
16921 * LaTeX.C (run): use stringstream
16923 * BufferView_pimpl.C (savePosition): use stringstream
16924 (restorePosition): use stringstream
16925 (MenuInsertLyXFile): use stringstream
16927 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16940 * vspace.C: removed // -*- C++ -*- as first line.
16943 * version.h: added // -*- C++ -*- as first line.
16945 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16947 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16949 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16952 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16954 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16957 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16959 * gettext.C: include LString.h even when --disable-nls is on.
16961 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16963 * converter.h (Get): changed argument type from int to
16964 FormatList::size_type to avoid unnecessary conversion.
16966 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16969 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16971 * gettext.h: include LString.h even when --disable-nls is on.
16973 2001-06-07 Juergen Vigna <jug@sad.it>
16975 * text.C (BreakAgain): subst spaces with tabs.
16977 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16978 (resizeInsetsLyXText): set force on resizeLyXText.
16980 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16982 * gettext.h (gettext_init):
16983 (locale_init): use a real definition instead of a macro
16985 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16987 * Bufferview_pimpl.C:
16989 * LColor.C: further lcolor tidies
16991 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16993 * BufferView_pimpl.C (updateScrollbar): simplify.
16995 * BufferView2.C: don't include insets/insetinfo.h, change
16996 prototype for insertInset and call the Pimpl version. let
16997 updateInset call Pimpl version.
16999 * BufferView.h: move inset_slept to BufferView::Pimpl, move
17000 gotoInset to BufferView::Pimpl
17002 2001-06-01 Juergen Vigna <jug@sad.it>
17004 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17005 inside a LockingInset (is the update needed at all?).
17007 2001-05-31 Juergen Vigna <jug@sad.it>
17009 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17010 here not the old one otherwise how should we compare it afterwards
17013 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17018 * FontInfo.C: bring C functions into global namespace when
17021 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17023 * LString.h: make sure config.h has been loaded before LString.h.
17025 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17026 (one for each char read by EatLine!).
17028 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17031 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
17033 * paragraph.C (BreakParagraph): set the inset_owner in the new par
17034 to the same as the par we break from
17036 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
17038 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17040 * MenuBackend.C (expand): also create menu entries for wide
17041 versions of the floats.
17043 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17045 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17047 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17048 frontends/Makefile.am
17054 * tabular.C (getTokenValue): add std::
17056 * tabular-old.C (getTokenValue): add std::
17057 (getTokenValue): ditto
17058 (getTokenValue): ditto
17060 * screen.C (ToggleSelection): adjust
17062 * lyxtext.h: put selection cursors inside a Selection struct.
17064 * lyxfunc.C (moveCursorUpdate): adjust
17066 * lyxfont.C (latexWriteStartChanges): add std::
17068 * lyxfind.C: adjust
17070 * font.h: delete with(char const *, LyXFont const &)
17072 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17074 * FontInfo.C (getFontname): add std::
17076 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17077 (workAreaButtonPress): adjust
17078 (tripleClick): adjust
17080 (moveCursorUpdate): adjust
17083 * BufferView2.C (gotoInset): adjust
17085 2001-05-30 Juergen Vigna <jug@sad.it>
17087 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17088 to check pspell I add this as default as I now have new pspell
17089 libraries and they seem to use this.
17091 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
17093 * text2.C (CutSelection): make the cursor valid before the call to
17096 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17098 * kbsequence.C (parse): de-uglify a bit the parsing code, which
17099 relied on 0 terminated strings and other horrors. Bug found due to
17100 the new assert in lyxstring!
17102 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17105 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
17107 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17110 * lyxfunc.C (processKeySym): change method of getting to the
17113 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17114 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17115 * BufferView_pimpl.[Ch]: here as private methods.
17117 2001-05-28 Juergen Vigna <jug@sad.it>
17119 * text.C (SetHeightOfRow): added the update() call again as it is
17120 needed to initialize inset dimensions!
17122 2001-05-16 Juergen Vigna <jug@sad.it>
17124 * text2.C (SetCharFont): Add new function with BufferView * and
17125 bool toggleall parameters for setting insets internal fonts.
17126 (SetFont): Freeze the undo as we may change fonts in Insets and
17127 all this change should be inside only one Undo!
17129 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17130 setting font's in insets as for them we have the SetFont function!
17132 2001-05-15 Juergen Vigna <jug@sad.it>
17134 * text2.C (ClearSelection): to be sure we REALLY don't have any
17137 * tabular.C (TeXCellPreamble): fixed the left border problem for
17140 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
17142 * LaTeX.C (deplog): Make sure that the main .tex file is in the
17145 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17147 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17148 LFUN_BREAKPARAGRAPH.
17150 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17151 help test to "internal only", similar for LFUN_INSERT_URL
17153 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17154 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17155 auto_region_delete and deadkeys.
17157 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17160 * LColor.C: remove some dead entries, tidy a little
17162 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17164 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17166 (Dispatch): implement LFUN_ESCAPE
17168 * commandtags.h: add LFUN_ESCAPE
17170 * LyXAction.C (init): add entry for LFUN_ESCAPE
17172 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17173 Remove commented code.
17174 (insertNote): moved here
17175 (open_new_inset): moved here
17177 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17180 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17182 * kbmap.C (findbinding): clean it up and make it work correctly.
17184 * lyx_main.C (init): do not pass argc and argv as parameters
17186 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17188 * buffer.C: fix path for OS/2 & Win32
17192 * lyx_main.C: Added os:: class.
17194 * os2_defines.h: update
17196 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17198 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17199 better by trying again with reduced state.
17201 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17203 * lyxrc.C (read): print error about invalid key sequence only when
17204 debugging (because not all latinX keysyms are known to some X
17207 * kbsequence.C (getiso): add a few std:: qualifiers
17208 (getiso): comment out extra return statement.
17210 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17212 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17214 (Dispatch): enhance the accent inset a bit. (not perfect)
17216 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17218 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17220 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17222 * bufferlist.C (emergencyWrite): fix assert() call
17224 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17226 * text.C (InsertChar): Added trivial patch to only send the "you
17227 can not do multiple spaces this way" message once during a
17230 2001-05-08 Baruch Even <baruch@lyx.org>
17232 * Makefile.am: Changed order of libraries to get LyX to link properly
17233 with the gnome frontend.
17235 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17237 * LaTeXFeatures.h: add a std:: qualifier
17239 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17241 * paragraph.C (String): use stringstream
17243 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17245 * paragraph.C (writeFile): remove footflag arg
17247 * buffer.C (makeLaTeXFile): use stringstream
17248 (latexParagraphs): remove footnot gurba
17250 * LaTeXFeatures.C (getPackages): use stringstream
17251 (getMacros): likewise
17252 (getTClassPreamble): likewise
17253 (getFloatDefinitions): new method
17255 * paragraph.C (writeFile): reindent
17258 * WorkArea.h: revert the xpos + etc changes.
17260 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17262 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17264 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17265 (pasteSelection): likewise
17266 * text2.C (CreateUndo): likewise
17268 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17270 * minibuffer.C (peek_event): temporarily reduce the functionality
17271 of the minibuffer (to allow args on lfuns)
17273 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17274 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17276 * buffer.C (readInset): add compability reading of old float
17277 lists, add reading of new style float list.
17278 (readInset): avoid reevaluation of inscmd.getCmdName()
17279 (getLists): reindent
17281 * MenuBackend.C (MenuItem): implement parsing of
17282 md_floatlistinsert and md_floatinsert.
17283 (expand::LastFiles): move initalizaton of iterators out of loop,
17284 avoid reevaluation.
17285 (expand::Documents): introduce typdedef vector<string> Strings,
17287 (expand::ExportFormats): introduce typedef vector<Format const *>
17288 Formats, and use it.
17289 (expand): implement FloatListInsert and FloatInsert.
17291 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17292 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17293 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17295 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17297 (Dispatch::LFUN_FLOAT_LIST): implement
17299 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17301 * LaTeX.C (run): Fix problem with --export code.
17303 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17305 * BufferView.[Ch] (workarea): removed.
17306 (getClipboard) new method; wrapper for workarea()->getClipboard()
17308 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17311 * WorkArea.h (width, height, xpos, ypos): These methods all
17312 returned the dimensions of the work_area sub-area of WorkArea,
17313 resulting in a position error if the WorkArea were resized. Now
17314 return the dimensions of the entire WorkArea.
17316 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17318 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17320 * LaTeX.C (deplog): correct the syntax of regex reg1
17322 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17324 * undo.C: remove !NEW_INSETS cruft
17326 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17328 * text2.C: remove !NEW_INSETS cruft
17330 * text.C: remove !NEW_INSETS cruft
17332 * tabular.C: remove !NEW_INSETS cruft
17334 * spellchecker.C: remove !NEW_INSETS cruft
17336 * lyxtext.h: remove !NEW_INSETS cruft
17338 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17340 * lyxfunc.C: remove !NEW_INSETS cruft
17342 * lyxfind.C: remove !NEW_INSETS cruft
17344 * lyx_cb.C: remove !NEW_INSETS cruft
17346 * figureForm.C: remove !NEW_INSETS cruft
17348 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17350 * buffer.[Ch]: remove !NEW_INSETS cruft
17352 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17354 * CutAndPaste.C: remove !NEW_INSETS cruft
17356 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17358 * BufferView2.C: remove !NEW_INSETS cruft
17360 * BufferView.h: remove !NEW_INSETS cruft
17362 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17364 * Lsstream.h: include LString.h before the sstream headers to
17365 fix problem with gcc 2.95.3 and lyxstring
17367 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17369 * lyx_main.C: add using directives when needed for C functions
17370 declared in std:: namespace.
17372 2001-04-27 Juergen Vigna <jug@sad.it>
17374 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17375 (SetHeightOfRow): comment out the update call should not be needed!
17377 2001-04-13 Juergen Vigna <jug@sad.it>
17379 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17380 (LyXTabular): tried to minimize operator= operations (and realized
17381 hopfully Lars wish).
17383 2001-04-27 Juergen Vigna <jug@sad.it>
17385 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17387 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17389 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17391 * buffer.C (readInset): hack to make listof algorithm work
17393 * BufferView_pimpl.C: hack to make listof algorithm work
17395 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17397 * LyXAction.C: removed all !NEW_INSETS cruft
17398 (init): moved lfun_item in method
17400 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17402 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17404 * BufferView2.C (theLockingInset): white space.
17406 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17408 * minibuffer.C: include <iostream>
17410 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17412 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17414 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17416 * text.[Ch] (TransposeChars): new method
17418 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17420 * call message directly through LyXView instead of through LyXFunc
17421 * BufferView2.C: adjust
17422 * BufferView_pimpl.C: adjust
17423 * FontLoader.C: adjust
17425 * bufferview_funcs.C: adjust
17426 * converter.C: adjust
17427 * figureForm.C: adjust
17428 * importer.C: adjust
17430 * lyx_gui_misc.C: adjust
17431 * lyxfunc.C: adjust
17434 + more files in subdirs
17436 * lyxparagraph.h (size): move up int file
17439 * adjust all uses of Assert to lyx::Assert.
17441 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17442 lyxfunctional in namespace lyx
17443 * layout.C (hasLayout): ditto
17446 (delete_layout): ditto
17447 (NumberOfClass): ditto
17448 * converter.C (GetFormat): ditto
17453 * bufferlist.C (getFileNames): ditto
17454 (emergencyWriteAll): ditto
17457 * MenuBackend.C (hasSubmenu): ditto
17460 * BufferView_pimpl.C (getInsetByCode): ditto
17462 2001-04-18 Juergen Vigna <jug@sad.it>
17464 * vspace.C (asLatexString): fixed the 100% problem.
17466 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17468 * lyxfunc.C (Dispatch):
17470 * minibuffer.h: add a few std:: qualifiers
17472 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17474 * minibuffer.[Ch]: reimplement so that commands is initiated and
17475 run from lyxfunc, simplified som handling, and made the completion
17476 and history code for complete. wip.
17478 * lyxfunc.C (processKeySym): call message
17479 (miniDispatch): new temporary method
17480 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17481 (LFUN_MESSAGE): implement
17482 (LFUN_MESSAGE_PUSH): implement
17483 (LFUN_MESSAGE_POP): implement
17484 (initMiniBuffer): the initial/defualt minibuffer message.
17486 * lyxfont.[Ch]: inline some more getters
17488 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17490 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17492 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17493 (AutoSave): use LFUN_MESSAGE
17494 (Reconfigure): ditto
17496 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17498 * figureForm.C: use LFUN_MESSAGE
17500 * converter.C (runLaTeX): use LFUN_MESSAGE
17502 * bufferview_funcs.C: use LFUN_MESSAGE
17504 (changeDepth): ditto
17506 * bufferparams.h: use boost::
17508 * bufferlist.h: inherit privately from noncopyable
17510 * bufferlist.C (loadLyXFile): remove some commented code.
17512 * buffer.C (runChktex): use LFUN_MESSAGE
17514 * ShareContainer.h: inherit privately from noncopyable
17516 * ParagraphParameters.[hC] (depth): inline it.
17518 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17520 (message): new method
17521 (messagePush): ditto
17522 (messagePop): ditto
17523 (show): init minibuffer
17524 (showState): direct call
17526 * LaTeX.[Ch]: inherit privately from noncopyable
17527 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17528 instead of WriteStatus.
17530 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17532 * BufferView_pimpl.C (buffer): don't init minibuffer
17533 (workAreaButtonPress): use LFUN_MESSAGE
17534 (workAreaButtonRelease): ditto
17535 (savePosition): ditto
17536 (restorePosition): ditto
17537 (MenuInsertLyXFile): ditto
17538 (workAreaExpose): don't init minibuffer
17539 (update): remove commented code, simplify
17541 * BufferView2.C (openStuff): use LFUN_MESSAGE
17542 (toggleFloat): ditto
17545 (copyEnvironment): ditto
17546 (pasteEnvironment): ditto
17551 (updateInset): remove some commented code
17553 * lastfiles.h: inherit privately from noncopyable
17556 * lyx_main.h: ditto
17558 * lyxlex_pimpl.h: ditto
17560 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17561 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17562 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17564 * LyXAction.h: inherit privately from noncopyable, add methods
17565 func_begin, func_end, returning iterators to the func map.
17567 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17568 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17569 (func_begin): new method
17570 (func_end): new method
17572 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17574 (copySelection): ditto
17575 (pasteSelection): ditto
17577 * BufferView.C: whitespace change
17578 * BufferView.h: inherit privately from noncopyable
17580 2001-04-16 Allan Rae <rae@lyx.org>
17582 * tabular-old.C (l_getline):
17583 * spellchecker.C (sc_check_word):
17584 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17585 an unrecognised preprocessor directive. So ensure they're wrapped.
17587 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17589 * src/exporter.C (Export): Give an error message when path to file
17592 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17594 * LaTeX.C (deplog): Always check that foundfile exists.
17596 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17599 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17601 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17603 * tabular.[Ch] (getLabelList): implement new method
17605 * minibuffer.h: comment ouf setTiimer
17607 * minibuffer.C (ExecutingCB): constify res
17608 (peek_event): constify s
17609 (Set): constify ntext
17610 (Init): constify nicename
17612 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17614 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17615 (savePosition): use two params to Minibuffer::Set
17616 (restorePosition): ditto
17618 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17620 * lyx_main.C: include language.h
17622 * Makefile.am (lyx_main.o): add language.h
17624 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17630 * CutAndPaste.C: include gettext.h
17632 * lyxfont.h: remove old hack with ON and OFF.
17635 * lyxfont.h: do not include language.h...
17640 * bufferview_funcs.C:
17646 * paragraph.C: ... but do it here instead
17648 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17650 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17652 * tabular.C: small reformat
17654 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17657 (BreakParagraph): ditto
17658 (SetOnlyLayout): ditto
17661 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17664 * lastfiles.C: removed most using decl, add std:: where needed
17666 * buffer.C: ws changes
17668 * MenuBackend.C (class compare_format): put into anon namespace
17669 (expand): constify label, names, action, action2
17672 * text.C (SingleWidth): constify font
17673 (IsBoundary): constify rtl2
17674 (GetVisibleRow): constify ww
17676 * LaTeX.C (deplog): constify logfile
17678 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17680 (workAreaExpose): constify widthChange, heightChange
17682 * lyxrow.C (par): moved
17685 * lyxrow.h: as inlines here
17687 * lyxfont.h (shape): moved from lyxfont.C
17688 (emph): moved from lyxfont.C
17690 * lyxfont.C (LyXFont): use initialization list for all
17692 (shape): move to lyxfont.h as inline
17693 (emph): move to lyxfont.h as inline
17696 2001-04-04 Juergen Vigna <jug@sad.it>
17698 * vspace.C: had to include stdio.h for use of sscanf
17700 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17703 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17704 independent of xforms.
17706 2001-04-02 Juergen Vigna <jug@sad.it>
17708 * spellchecker.C: fixed namespace placing!
17710 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17712 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17713 the LyXParagraph * is 0.
17715 2001-03-29 Juergen Vigna <jug@sad.it>
17717 * vspace.C: added support for %, c%, p%, l%.
17718 (stringFromUnit): added helper function.
17719 (asLatexString): changed to give right results for the %-values.
17721 * buffer.C: convert the widthp in a width%.
17723 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17725 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17728 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17729 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17731 * lyx_cb.[Ch]: see above.
17733 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17737 * lyx.[Ch]: replaced by figure_form.[Ch].
17741 * lyxfunc.C: changed headers associated with above changes.
17743 2001-03-27 Juergen Vigna <jug@sad.it>
17745 * BufferView_pimpl.C: set the temporary cursor right!
17747 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17749 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17751 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17753 * LString.h: removed "using std::getline"!
17755 * BufferView_pimpl.C (Dispatch): changes due to changes in
17756 InsetInclude::Params.
17758 * buffer.C (tag_name): removed redundant break statements as they were
17759 producing lots of warnings with my compiler.
17761 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17763 * LString.h: add "using std::getline" when using the real <string>.
17765 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17767 * buffer.C: removed bitset usage.
17768 PAR_TAG moved to an anonymous name space.
17769 (tag_name): new funtion, also in the anonymous namespace.
17770 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17771 (makeDocBookFile): clean code. Completed transition from string arrays
17773 (SimpleDocBookOnePar): code clean.
17775 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17777 * tabular.C: add some comments.
17779 2001-03-22 Juergen Vigna <jug@sad.it>
17781 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17782 compatibility read a bit and fixed bug with minipage in different
17785 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17787 * buffer.C (pop_tag): removed.
17788 (push_tag): removed.
17789 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17790 array replaced with vector. Added support for CDATA sections.
17791 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17793 (makeDocBookFile): XML conformant declaration of CDATA section,
17794 fixed bug related to <emphasis> in the first paragraph char.
17795 (sgmlOpenTag): exclude empty tags.
17796 (sgmlCloseTag): ditto.
17798 * buffer.h (pop_tag): removed.
17799 (push_tag): removed.
17801 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17803 * language.h (Languages): added size_type and size().
17805 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17807 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17808 response on compability reading of minipages. One probliem is that
17809 the old usage of minipages was flertydig
17811 * several files here and in subdirs: don't use static at file
17812 scope use anon namespaces instead.
17814 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17816 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17817 LaTeX output. This is necessary for Literate document
17820 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17822 * buffer.C: insert hfill when needed.
17824 * tabular.C (l_getline): use string::erase, small whitespace change.
17826 * BufferView_pimpl.C: try the anon namespace.
17827 * WorkArea.C: ditto
17829 2001-03-16 Juergen Vigna <jug@sad.it>
17831 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17832 otherwise it won't open options-dialogs.
17834 * buffer.C: honor pextraWidth(p) on converting minipages.
17836 * tabular.C (l_getline): changed the functions to strip trailing \r.
17838 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17840 * BufferView_pimpl.C:
17841 * minibuffer..C: added "using SigC::slot" declaration.
17843 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17845 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17851 * paragraph.C: ditto
17853 * lyxtext.h: NO_PEXTRA
17855 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17857 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17858 * ParameterStruct.h: ditto
17859 * ParagraphParameters.h: ditto
17860 * lyxparagraph.h: ditto
17862 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17864 * buffer.C: add compability for minipage alignment.
17865 (latexParagraphs): remove unwanted pextra check.
17867 * several files: remove CXX_WORKING_NAMESPACES
17869 * buffer.C (pop_tag): tie is in namespace boost
17871 * BufferView.h: noncopyable is in namespace boost
17873 * lyx_main.h: ditto
17876 * lastfiles.h: ditto
17877 * bufferlist.h: ditto
17878 * ShareContainer.h: ditto
17880 * LyXAction.h: ditto
17883 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17885 * Merging changes from BRANCH_MVC back into HEAD.
17887 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17889 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17891 * BufferView_pimpl.C: change from intl.C
17895 * Makefile.am: move combox.*
17901 * intl.C: remove dialog (covered by prefs)
17903 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17905 * lyxfunc.C (Dispatch): removed redundant break statement.
17907 2001-03-14 Juergen Vigna <jug@sad.it>
17909 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17911 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17913 * buffer.C: add hack to fix compability reading of minipages.
17915 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17917 * buffer.C (getLists): Cleanup.
17919 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17921 * lyxfont.C (update): don't honor toggleall on font size.
17923 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17927 * Makefile.am: moved to frontends/xforms/
17931 * BufferView_pimpl.C: changes for moved mathpanel
17933 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17935 * gettext.h: fix gettext_init() in --disable-nls
17937 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17939 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17941 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17944 * lyx.h: strip external form
17946 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17948 * BufferView_pimpl.C: add comment, destroySplash()
17950 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17952 * BufferView_pimpl.C:
17956 * lyxfunc.C: use re-worked insetinclude
17958 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17960 * buffer.C: add using std::stringstream.
17962 * lyx_cb.C: readd using std::ios.
17964 * buffer.C: add using std::map.
17966 * BufferView_pimpl.C: add using std::vector.
17968 * ShareContainer.h: add std:: to swap.
17970 * buffer.h: add some typedefs
17971 * buffer.C (getLists): use them
17972 (getLists): renamed from getTocList.
17973 add a counter for the different float types and use it in the
17975 (getLists): use the same counter for the NEW_INSETS and the "non"
17978 * lyx_cb.h: remove unused items, includes, using etc.
17980 * ShareContainer.h: remove some commented code, add more comments
17981 and "documentation".
17983 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17985 * buffer.C (getTocList): make the list also when NEW_INSETS is
17988 * buffer.h: remove TocType
17990 * buffer.C (getTocList): change to return a map<string,
17991 vector<TocItem> >, implement for dynamic number of list.
17993 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17994 * text2.C (PasteSelection): adjust
17995 * CutAndPaste.C (pasteSelection): adjust
17997 * FloatList.C (FloatList): update from the new_insets branch.
17998 * Floating.[Ch]: ditto
17999 * LaTeXFeatures.C: ditto
18001 * lyxlex_pimpl.C: ditto
18003 * paragraph.C (Last): remove when NEW_INSETS is defined.
18005 * other file: changes because of the above.
18007 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18009 * lyxparagraph.h: rename next to next_, previous to previous_,
18010 make them private for NEW_INSETS. Rename Next() to next(),
18011 Previous() to previous().
18013 * other files: changes because of the above.
18015 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
18018 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18021 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18023 * main.C (main): pass lyx_localedir to gettext_init().
18025 * gettext.h: remove locale_init and gettext_init macros
18027 * gettext.C (locale_init): new function
18028 (gettext_init): new function
18030 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18033 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
18035 * Moved credits to frontends:
18036 * credits.[Ch]: removed
18037 * credits_form.[Ch]: removed
18038 * lyx_gui_misc.C: remove credits stuff
18041 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18043 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18045 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18046 unneeded destructor.
18048 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18049 a standalone pointer again.
18051 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18053 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
18059 * ToolbarDefaults.C:
18068 * BufferView_pimpl.C: use new file dialog in GUII
18071 * lyx_cb.C: remove LayoutsCB to Toolbar
18073 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18075 * ShareContainer.h (get): add std:: qualifier
18077 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18079 * ShareContainer.h: define a proper ShareContainer::value_type
18080 type (and use typename to please compaq cxx)
18082 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18084 * lyxparagraph.h: move serveral local vars to
18085 ParameterStruct/ParagraphParameters., use ShareContainer in
18086 FontTable., make vars in FontTable private and add getter and
18089 * paragraph.C: changes because of the above.
18091 * lyxfont.h: remove copy constructor and copy assignment. (the
18092 default ones is ok), move number inside FontBits. move inlines to
18095 * lyxfont.C: add number to initializaton of statics, move several
18096 inlines here. constify several local vars. some whitespace
18097 cleanup. Dont hide outerscope variables.
18099 * Spacing.h: add two new constructors to match the set methods.
18101 * ShareContainer.h: new file, will perhaps be moved to support
18103 * ParameterStruct.h: new file
18105 * ParagraphParameters.h: new file
18107 * ParagraphParameters.C: new file
18109 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18110 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18112 * BufferView_pimpl.C: ParagraphParameter changes.
18113 * buffer.C: Likewise.
18114 * bufferview_funcs.C: Likewise.
18115 * text.C: Likewise.
18116 * text2.C: Likewise.
18118 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18120 * lyxfind.C (LyXReplace): do not redefine default argument in
18122 (IsStringInText): ditto
18123 (SearchForward): ditto
18124 (SearchBackward): ditto
18126 2001-03-06 Juergen Vigna <jug@sad.it>
18128 * lyxfind.C (IsStringInText): put parentes around expressions.
18130 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
18132 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18134 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
18136 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18138 * stl_string_fwd.h: add comment
18140 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18143 * tabular.C: remove unused DocBook methods
18149 killed DO_USE_DEFAULT_LANGUAGE
18151 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18153 * lyx_gui.C: do not include language.h.
18155 * bufferview_funcs.C (ToggleAndShow): do not provide optional
18156 arguments in function implementation.
18158 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18160 * BufferView_pimpl.C: add <ctime>
18162 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18164 * BufferView_pimpl.C: add using std::find_if
18166 2001-02-27 José Matos <jamatos@fep.up.pt>
18168 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18171 2001-02-11 José Matos <jamatos@fep.up.pt>
18173 * buffer.C (makeDocBookFile): command styles now have a parameter as
18174 "title" by default.
18176 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18178 * layout_forms.[Ch]: removed
18179 * lyx_cb.[Ch]: out character
18180 * lyx_gui.C: out character
18181 * lyx_gui_misc.C: out character
18182 * bufferview_funcs.C: : out character,
18183 added toggleall as parameter in ToggleAndShow
18185 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18187 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18189 * text2.C (SetCurrentFont): Disable number property at boundary.
18191 2001-02-26 Juergen Vigna <jug@sad.it>
18193 * lyxfunc.C (getStatus): added a string argument override function so
18194 that this is correctly called from LyXFunc::Dispatch if it contains a
18195 do_not_use_argument which is used!
18196 (Dispatch): added check for "custom" export and call appropriate func.
18198 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18200 * lyxrc.C: Add language_command_local, language_use_babel and
18201 language_global_options.
18203 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18205 * buffer.C (makeLaTeXFile): Use language_use_babel and
18206 language_global_options.
18208 2001-02-23 Juergen Vigna <jug@sad.it>
18210 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18211 which works with LyXText and putted it inside BufferView. Here now we
18212 only call for that part the BufferView::Dispatch() function.
18214 * BufferView.C (Dispatch): added.
18216 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18217 functions which needs to use a LyXText over from LyXFunc.
18218 (MenuInsertLyXFile): added
18219 (getInsetByCode): added
18220 (moveCursorUpdate): added
18221 (static TEXT): added
18223 2001-02-22 Juergen Vigna <jug@sad.it>
18225 * BufferView_pimpl.C (update): call a status update to see if LyXText
18228 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18230 * vc-backend.C (revert): implement for CVS
18231 (getLog): implement for CVS
18233 2001-02-20 Juergen Vigna <jug@sad.it>
18235 * text2.C (ClearSelection): added BufferView param for inset_owner call
18237 * lyxfunc.C (TEXT): added this function and use it instead of
18238 directly owner->view()-text of getLyXText().
18240 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18242 * src/layout_forms.C: out preamble
18243 * src/layout_forms.h: out preamble
18244 * src/lyx_cb.C: out preamble
18245 * src/lyx_cb.h: out preamble
18246 * src/lyx_gui.C: out preamble
18247 * src/lyx_gui_misc.C: out preamble
18248 * src/lyxfunc.C: connect with guii preamble
18250 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18252 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18254 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18256 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18257 whether to run bibtex.
18259 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18261 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18263 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18265 * Makefile.am (lyx_SOURCES): removed bibforms.h
18267 * vspace.h: doxygen
18269 * text.C (GetVisibleRow): make several local vars const
18271 * tabular.C: small cleanup.
18273 * lyxserver.C (callback): use compare instead of strncmp
18275 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18276 inlines to after class or to paragraph.C
18278 * lyxfont.h: remove friend operator!=
18280 * converter.h: move friend bool operator< to non friend and after
18283 * combox.h: small cleanup
18285 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18286 to inlines after class def.
18288 * buffer.C (pop_tag): use string operations instead of strcmp
18290 * bmtable.c: doxygen, small cleanup
18292 * LaTeX.h: remove friend operator==
18294 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18306 * BufferView_pimpl.C:
18307 * BufferView.[Ch]: remove cruft
18309 2001-02-14 Juergen Vigna <jug@sad.it>
18311 * lyxfunc.C: removed #if 0 unused code
18313 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18315 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18317 * text2.C (SetSelection): added a BufferView * parameter
18319 2001-02-13 Juergen Vigna <jug@sad.it>
18321 * lyxfunc.C (Dispatch): fixed protected blank problem.
18322 * BufferView2.C (protectedBlank): added LyxText * parameter.
18324 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18325 (AppendColumn): same as above for column_info.
18327 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18328 (moveCursorUpdate): use a LyXText param for support of InsetText.
18330 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18331 (tripleClick): ditto
18333 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18335 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18337 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18339 * text2.C (SetSelection): set correct update status if inset_owner
18340 (ToggleFree): ditto
18342 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18344 * tabular.C: remove some commented code.
18346 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18348 * BufferView_pimpl.C: call hideSplash()
18350 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18353 * bibforms.h: remove
18356 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18357 add LFUN_CHILD_CREATE
18359 * counters.h: fix tiny typo
18364 * lyx.C: move splash to frontends/xforms/
18366 * lyx_gui_misc.C: move Include and Bibform to frontends
18368 * lyxvc.h: clarify comment
18370 * vspace.C: tiny housekeeping
18372 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18374 * text.C (PrepareToPrint): RTL Fix.
18376 * paragraph.C (GetUChar): New method.
18377 (String): Use GetUChar.
18379 * buffer.C (asciiParagraph): Use GetUChar.
18381 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18383 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18385 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18388 * buffer.C: rename to getLogName(), handle
18389 build log / latex log nicely
18391 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18394 * MenuBackend.h: remove support for reference menuitem type.
18396 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18398 * BufferView_pimpl.C: housekeeping
18399 * BufferView_pimpl.h:
18404 * minibuffer.h: move Timeout GUI-I
18406 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18408 * lyxrc.C (read): Update converters data-structures.
18410 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18412 * LaTeX.h (operator!=): add operator != for Aux_Info
18414 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18416 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18418 * LaTeXLog.C: deleted, useful code moved to Buffer
18421 * buffer.C: new function getLatexLogName()
18427 * lyxfunc.C: use frontends for LaTeX and VC logs
18429 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18431 * LaTeX.h: yet another std:: that Allan forgot.
18433 * Variables.C (set): renamed from isset(), because this clashes
18434 with some HP-UX macros (grr).
18436 2001-02-06 Allan Rae <rae@lyx.org>
18438 * LaTeX.h: Another bug fix. Missing std:: this time.
18440 2001-02-04 Allan Rae <rae@lyx.org>
18442 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18443 floats problem. I've left it commented out because it's not quite
18444 correct. It should also test that the current object is a table or
18445 figure inset. But I haven't gotten around to figuring out how to do
18446 that. I *think* it'll be something like: "table" == inset.type()
18448 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18451 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18453 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18454 all the citation/databases/styles in the auxilary file.
18455 (run): Rerun latex if there was a babel language error.
18457 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18459 * text.C (Backspace): Preserve the font when changing newline char
18461 (BreakParagraph): If the cursor is before a space, delete the space.
18463 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18465 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18467 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18468 new argument (code).
18469 (ChangeCitationsIfUnique): New method.
18471 * paragraph.C (GetPositionOfInset): Handle bibkey.
18473 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18475 * BufferView_pimpl.h: change type of Position::par_pos to
18476 LyXParagraph::size_type.
18478 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18480 * BufferView_pimpl.C (savePosition, restorePosition): Write
18481 messages to minibuffer.
18483 2001-01-28 José Matos <jamatos@fep.up.pt>
18485 * buffer.C (makeDocBookFile): adds support for document language.
18486 A silly restriction on the name of LatexCommand types where removed.
18487 Added support for CDATA sections, allows to chars unescaped, used
18488 among others in code, to avoid escape < and >.
18490 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18492 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18493 saved positions instrad of a stack. Furthermore, a position is
18494 stored using paragraph id/paragraph position.
18496 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18497 Remove LFUN_REF_BACK.
18499 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18501 * converter.C (dvipdfm_options): New method.
18503 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18505 * vspace.C (isValidLength): Fix for empty input string.
18507 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18509 * LyXAction.C (init): change description of LFUN_FIGURE to
18512 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18514 * LaTeX.C: add using directive
18516 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18518 * MenuBackend.C (expand): Fix the sorting of the formats.
18520 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18522 * lyx_main.C: tiny error message fix
18524 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18526 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18527 calling fl_initialize(). This fixes the problem with ',' as
18528 decimal separator in text files.
18530 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18532 * trans.C (process): Fix the keymap bug.
18534 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18536 * LaTeX.C (scanAuxFiles): New method. Provides support for
18537 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18538 (scanLogFile) Scan for "run BibTeX" messages.
18540 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18541 OT1 font encoding. Also, load the aecompl package if the ae
18544 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18546 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18548 * texrow.C (increasePos): turn two error messages into debug
18551 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18553 * LaTeX.C (scanAux): Handle the \@input macro.
18554 (runBibTeX): Use scanAux().
18556 * language.C (latex_options_): New field.
18558 * LaTeXFeatures.C (getMacros): Add language macros.
18560 * buffer.C (makeLaTeXFile): Small fix.
18562 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18564 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18566 * text2.C: add a using directive.
18568 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18573 * lyxfunc.C: kill LyXBell.
18575 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18577 * text.C (IsBoundary): Remove the error message
18579 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18581 * lyxrc.C (setDefaults): Correct initialization value for
18584 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18586 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18589 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18590 and GotoNextNote().
18592 * src/LyXAction.C: Added reference-next.
18594 * text.C (InsertChar): Use contains instead of strchr.
18596 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18598 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18600 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18601 alignment commands (when needed).
18603 * text.C (InsertChar): Add ':' to number separator chars.