1 2006-03-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * MenuBackend.C (expand): make sure the menu is empty before
6 * MenuBackend.h (clear): new method.
8 2006-03-13 Martin Vermeer <martin.vermeer@hut.fi>
10 * rowpainter.C (paintChangeBar): fix painting of change bar with
11 only paragraph break changed
13 2006-03-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
15 * lyx_cb.C (Reconfigure): run lib/configure.py, not lib/configure
16 * lyx_main.C (reconfigureUserLyXDir): run ditto
18 2006-03-12 Martin Vermeer <martin.vermeer@hut.fi>
20 * lyxtext.h: doxygen documentation fix
22 2006-03-11 Martin Vermeer <martin.vermeer@hut.fi>
24 * paragraph.[Ch] (write, lookupChange, lookupChangeFull;
26 * paragraph_pimpl.[Ch] (trackChanges, cleanChanges, acceptChange,
27 rejectChange, erase; added setChangeFull):
28 * CutAndPaste.C (eraseSelectionHelper):
30 * text.C (readParToken, readParagraph, breakParagraph,
31 acceptChange, rejectChange, backspace, currentState;
33 * paragraph_funcs.C (breakParagraphConservative, mergeParagraph):
34 * lyxfind.C (findChange, findNextChange): fix bug 880: Change
35 tracked paragraphs should still allow a paragraph split (and related
36 things, i.e., multi-paragraph change tracking)
38 2006-03-10 Martin Vermeer <martin.vermeer@hut.fi>
40 * BufferView_pimpl.C: fix bug 2212: First change is skipped is
41 "Merge changes..." dialog
43 2006-03-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
45 * bufferparams.C (writeLaTeX): define \labelitemi with \def. Fixes LaTeX
46 error if the class has not defined them yet (bug 2053).
48 2006-03-10 Martin Vermeer <martin.vermeer@hut.fi>
51 * BufferView_pimpl.[Ch]:
55 * text3.C: Inside-inset speedup, esp. for the Mac (bug 2195)
57 2006-03-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
59 * pch.h: fix nullstream.hpp location for boost 1.33.0
61 2006-03-05 Lars Gullik Bjønnes <larsbj@lyx.org>
65 * support/debugstream.h: Use the correct nullstream.
67 2006-02-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
69 * text3.C (mathDispatch): fix math inset creation from string (bug 2315)
71 2006-02-28 Martin Vermeer <martin.vermeer@hut.fi>
73 * cursor.C (niceInsert): fix (properly) insertion of
74 fonts/decorations around selection
76 2006-02-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
78 * lyxfont.C (lyxWriteChanges): Don't write \lang latex
80 2006-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
82 * text3.C (mathDispatch): fix crash when selection is not empty
83 but selectionAsString is empty (bug 2321).
85 2006-02-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
87 * text.C (changeCase): avoid crash in empty paragraph or on last
88 word of the paragraph. (buf 2323)
89 (cursorRightOneWord): fix the logic to stop at a beginning of a word.
91 2006-02-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
93 * buffer.C (readHeader): also erase params.preamble in advance
94 so that an empty preamble is actually recognized (bug 2317).
96 * rowpainter.C (paintFromPos): ditch applyOuterFont (bug 2308).
98 2006-02-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
100 * text2.C (deleteEmptyParagraphMechanism): 64bit compile fix
102 2006-02-05 Martin Vermeer <martin.vermeer@hut.fi>
112 * text3.C: Fix bug 2115: blue language lines (for default font)
113 popping up when the documnent font is different. This includes work
116 2006-02-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
118 * exporter.C (Backends): Add "lyx" backend
119 * exporter.C (Export): Handle "lyx" backend
120 * graph.C (getReachable): Don't exclude "lyx"
121 * MenuBackend.C (expandFormats): exclude "lyx" from export menu
123 2006-02-03 Martin Vermeer <martin.vermeer@hut.fi>
125 * cursor.C (bruteFind2): convert relative to absolute co-ordinates
126 for correct in-mathed positioning
128 2006-02-03 Martin Vermeer <martin.vermeer@hut.fi>
130 * rowpainter.C (paintForeignMark): fix foreign blue line under
133 2006-01-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
135 * * text2.C (deleteEmptyParagraphMechanism): fix off-by-one error of the start
136 pit of the uno range (bug 2022).
138 2006-01-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
140 * messages.C (get): Only warn once if setlocale fails (bug 2177)
142 2006-01-28 Martin Vermeer <martin.vermeer@hut.fi>
144 * text2.C (setCharFont): take inset's own font settings into account
145 when defining the font to reduce to, fixes 2019
147 2006-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
149 * bufferview_funcs.C (coordOffset): remove the check for
150 collapsed collapsables (fix for bug 2094). This is now done
151 on a more general level (cursor.C).
153 * dociterator.[Ch] (forwardPos): add an optional argument
154 bool "ignorecollapsed" (default false), which lets forwardPos
155 skip collapsed insets.
157 * cursor.C (bruteFind): use forwardPos(ignorecollapsed = true)
158 (fixes bug 2241 and 2094).
160 2006-01-26 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
162 * buffer.C: change tracking (dvipost) doesn't require
165 * LaTeXFeatures.C (getPackages): no need for the color
166 option "usenames" (bug 2169).
168 2006-01-23 Helge Hafting <helge.hafting@aitel.hist.no>
169 * buffer_funcs.C: Trivial fix - added {} around
170 the statements to be affected by a if-test. Now
171 label in a minipage in a float looks ok on screen again.
173 2006-01-23 Martin Vermeer <martin.vermeer@hut.fi>
175 * text2.C: fix bug 2015: on screen fonts in nested environments
178 2006-01-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
180 * converter.C (convert): handle unknown formats
182 2006-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
184 * cursor.C (goUpDown): comment out some debug messages.
186 * counters.C (newCounter): make error messages more explicit
187 (these appear with some textclasses like beamer)
189 2006-01-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
192 * lyxfunc.C (processKeySym): make sure new FuncRequest objects
193 have origin set to KEYBOARD. (bug 2221)
195 2006-01-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
197 * rowpainter.C (isCursorOnRow): do not exclude endpos().
199 2006-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
201 * cursor.C (macroModeClose): returns true if an inset actually got
202 inserted; revert faulty fix to bug 2034.
204 2006-01-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
206 * tabular.C (getLabelList): remove (not used anymore).
208 2006-01-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
210 * outputparams.[Ch]: add new flag inComment
212 2006-01-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
214 * text2.C (deleteEmptyParagraphMechanism): since we delete a
215 paragraph, recordUndo should span two paragraphs (bug 2155).
217 2006-01-01 Martin Vermeer <martin.vermeer@hut.fi>
219 * rowpainter.C (paintPar): always repaint the row with the
222 2006-01-01 Lars Gullik Bjønnes <larsbj@gullik.net>
228 * vspace.h: fix syntax error
230 2005-12-31 Martin Vermeer <martin.vermeer@hut.fi>
232 * text3.C (dispatch): Force refresh if typing into inset changes its
235 2005-12-30 Martin Vermeer <martin.vermeer@hut.fi>
240 * rowpainter.C: Speed up rendering by only re-painting rows that
241 have changed. When selection or whole-screen update active, all rows
242 are repainted, as are all rows within insets.
244 2005-12-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
246 * version.C.in: Use PACKAGE_VERSION instead of VERSION
248 2005-12-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
250 * tabular.C (toggleFixedWidth): Use default layout of text class
251 instead of hardcoded "Standard"
253 2005-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
255 * lyxfunc.C (dispatch): do not call getStatus again to determine
256 whether a lfun is disabled (bug 2172).
258 2005-12-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
260 * cursor.C (macroModeClose): set the cursor inside the new math
261 atom if relevant (think \frac{}{}) (bug 2034)
263 2005-12-19 Martin Vermeer <martin.vermeer@hut.fi>
267 * text3.C (Delete, backspace): force update when merging paragraphs
269 2005-12-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
271 * BufferView.C (mouseSetCursor): clear the selection properly (bug
274 2005-12-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
276 * text.C (redoParagraph): honor inset->noFontChange()
277 * rowpainter.C (paintInset): ditto
279 2005-12-15 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
281 * lyx_main.C (priv_exec): don't initialize Math on startup
282 (initMath() has been moved to math_hullinset).
284 2005-12-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
286 * lyxrc.C: set default_papersize to PAPER_DEFAULT;
287 handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
288 * paper.h: dispose dead PAPER_PACKAGES enum.
290 2005-12-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
292 * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
295 2005-12-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
297 * exporter.C (Export): Don't try to copy a file if it does not exist
300 2005-12-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
302 * text2.C (makeFontEntriesLayoutSpecific): remove.
305 * text.C (insertChar): remove bogus caching of fonts (did not do
308 * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
309 ALL_SANE). (bug 2146)
311 2005-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
313 * rowpainter.C (paintFirst): fix centering of
314 LABEL_CENTERED_TOP_ENVIRONMENT.
316 2005-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
318 * BufferView.C (mouseSetCursor): new method. Calls
319 deleteEmptyParagraphMechanism if necessary.
321 * lyxtext.h: make deleteEmptyParagraphMechanism public.
323 * text3.C (dispatch/LFUN_MOUSE_PRESS): use
324 BufferView::mouseSetCursor (bug 2109).
325 (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
327 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
329 * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
330 do not remove it (this inset behaves differently from the others).
332 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
336 * BufferView_pimpl.C (getStatus): it is only possible to insert a
337 file in a text inset.
339 * buffer.C (readDocument): remove pit argument and code releated
340 to it; set the inset owner correctly (unrelated, but useful).
341 (readFile): get rid of pit argument.
343 * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
344 textclass instead of a selection index.
345 (pasteParagraphList): new function.
346 (pasteSelection): make it a wrapper around pasteParagraphList.
348 * BufferView_pimpl.C (MenuInsertLyXFile): use
349 cap::pasteParagraphList to insert a file.
351 2005-11-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
353 * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
355 2005-11-17 Michael Gerz <michael.gerz@teststep.org>
357 * exporter.C: fix typo in text message
359 2005-11-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
361 * text2.C (setLayout): move recUndo call to other setLayout method
362 * tabular.C (toggleFixedWidth): new, handle cell width changes
363 * tabular.C (setColumnPWidth): move some code from insettabular.C here
364 and use toggleFixedWidth
365 * tabular.C (setMColumnPWidth): ditto
367 2005-11-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
369 * paragraph.C (asString): use new inset->textString method (fix
372 2005-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
374 * CutAndPaste.C (numberOfSelections): new helper function.
376 * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
378 * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
379 LyXFunc::getStatus; implement LFUN_PASTE.
381 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
383 * dociterator.[Ch]: new member realInset() that returns the cell
384 for tabulars and the inset for the rest (bug 1952).
385 * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
388 2005-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
390 * text.C (leftMargin): honor the NextNoIndent tag in layouts.
392 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
396 * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
399 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
401 * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
402 line after typing ctrl-enter
404 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
406 * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
407 math insets do not return a proper editable() state yet (bug 2124).
409 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
411 * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for
412 docs containing very large paragraphs.
414 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
416 * cursor.C (selectionBegin, selectionEnd):
417 * text.C (drawSelection): Fix bug 2115: assertion when anchor and
418 cursor at different depths.
420 2005-11-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
422 * bufferview_funcs.C (coordOffset): do not call cursorPos
423 for collapsed collapsables (fix bug 2094).
425 2005-11-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
427 * paragraph.C (fontSpan): make sure that the FontSpan does not
428 span across beginOfBody (bug 1947).
430 2005-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
432 * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
434 2005-11-03 Michael Gerz <michael.gerz@teststep.org>
436 * messages.C: fix crash and localization on MinGW/Windows platform
438 2005-11-02 Angus Leeming <leeming@lyx.org>
441 * lyxtextclass.C: trivial fixes to some MSVS warnings.
443 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
445 * text3.C (getStatus): re-enable disabled code. (bug 2081)
447 * BranchList.h (empty): constify.
449 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
451 * text3.C (getStatus):
452 * MenuBackend.C (expandBranches): take the branch list from the
453 master document (bug 2092).
455 * MenuBackend.C (expandBranches):
456 * bufferparams.C (writeFile): use BranchList type.
458 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
460 * text3.C (dispatch, getStatus):
461 * LyXAction.C (init):
462 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
464 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
466 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
468 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
470 * text.C (insertChar): do not reset boundary (bug 2061)
472 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
474 * dociterator.C (updateInsets): new method. Updates the inset_
475 cache of all the slices of the iterator.
477 * text2.C (deleteEmptyParagraphMechanism): compare also containing
478 insets when comparing pit/pos; pass the right cursor to
479 recordUndo; when a paragraph has been deleted, compare `old.top()' to
480 the right cursor slice of `cur'; use updateInsets on cur to make
481 sure that the inset caches are correct; general cleanup.
483 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
485 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
486 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
487 containg inset. If this does not work, the same command will be
488 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
490 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
493 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
495 * lyxtextclass.C (Read): convert layout file if the format is wrong
496 * lyxtextclass.C (layout2layout): new, needed for the above
498 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
500 * messages.C: do not forget to include <cerrno>.
502 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
504 * dociterator.h (StableDocIterator): add access to pos().
505 * undo.C (samePar): new method to check if two
506 iterators are in the same paragraph
507 * undo.C (recordUndo): check for samePar instead of cell identity
508 (which includes pos() and is too strict) (fixes bug 2097)
510 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
512 * text.C (setCursorFromCoordinates): return a bool telling whether
515 * text3.C (cursorPrevious): update if needed after
516 setCursorFromCoordinates (when dEPM triggered).
518 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
519 (otherwise the anchor may be completely wrong and make dEPM assert).
521 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
523 * buffer.C: version upgrade to 245.
524 * bufferparams.C: remove \quotes_times (bug 2090).
525 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
526 quotation marks as default.
528 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
530 * CutAndPaste.C (nrOfParagraphs): remove (unused)
531 * CutAndPaste.C (cutSelection): Remove debug message
532 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
533 undo information and only copy if this is a real cut
534 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
536 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
538 * CutAndPaste.C (eraseSelection): prevent cursor corruption
539 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
540 superflous cur.selection() setting
541 * CutAndPaste.[Ch] (grabSelection): take a const cursor
542 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
544 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
546 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
549 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
551 * BufferView_pimpl.C: comment layout change
553 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
557 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
558 by bibliography managers (bug 2071).
560 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
562 * BufferView_pimpl.C (update): choose arguments to update call so
563 that single-par update works most times
564 * text3.C (dispatch): carefully tune updating separately for
565 whole-screen and current-paragraph
566 * rowpainter.C (paintText): 1) replace painting by caching for
567 the two extra paragraphs, because we can;
568 2) suppress greying out of areas below/above drawn area in case of
570 * lyxfunc.C (dispatch): remove superfluous update
571 * LyXAction.[Ch]: introduce SingleParUpdate
573 2005-10-05 Angus Leeming <leeming@lyx.org>
575 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
576 always initialised before use.
578 * text.C (setHeightOfRow): squash warning about comparison
579 of signed and unsigned types.
581 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
583 * text.C (cursorX): two fixes involving RtL text drawing
585 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
587 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
588 items, not only large ones (part of bug 2057)
590 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
592 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
593 argument, use "newcommand".
595 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
597 * cursor.C (setSelection): do not open collapsable insets;
598 the insets do by themselves now (autoopen).
600 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
602 * buffer.C: format is up to 244.
604 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
606 * text.C (redoParagraph): fix calcultation of inset width wrt
607 leftMargin (bug 1957).
609 * text3.C (dispatch): leave inset to the right when hitting ESC
612 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
617 * messages.C: include <boost/current_function.hpp>
619 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
621 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
622 when command is internal. (bug 1941)
624 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
626 * text2.C (cursorRight): do not honor boundary when at the end of
627 a paragraph. (bug 2010 again)
629 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
631 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
633 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
635 * rowpainter.C (paintText): fix RtL space width display bug (2029)
637 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
639 * text2.C (setCursor): remove the unused 'boundary' parameter for
640 the CursorSlice version; adapt the LCursor version.
643 * paragraph_pimpl.C (markErased):
644 * cursor.C (bruteFind2, bruteFond3): fix warnings.
646 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
648 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
649 as is already done for "chapter".
651 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
653 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
654 textclass; do not record undo if nothing is changed.
656 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
658 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
660 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
662 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
664 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
666 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
667 combox, it is necessary to search for the topmost paragraph in the
668 cursor stack (bug 1926)
670 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
672 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
673 end of paragraph. (bug 2010)
675 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
677 * text.C (leftMargin): check for inInset == 0
679 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
681 * text.C (leftMargin): test for insetbase's new neverIndent()
682 bool instead of listing each and every inset that does not
683 wish par indendation.
685 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
687 * buffer_funcs.C (setCounter): put the code to compute enum label
688 here (where it belongs).
690 * counters.C (enumLabel): move code to buffer_funcs.C.
692 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
694 * outputparams.[Ch]: store local_font instead of local_language
695 * paragraph.C (simpleTeXOnePar): adapt to the change above
697 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
700 * counters.[Ch]: clean up special code for Hebrew.
702 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
704 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
707 2005-09-08 Angus Leeming <leeming@lyx.org>
710 * lyxrc.C: correct grammar describing invocation of the
713 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
715 * text.C (read): remove unused variable.
716 (readParToken): remove static Change variable (never good in
717 recursive settings...); add it as a parameter instead.
719 * paragraph_pimpl.C (acceptChange): make debug info conditional.
721 * metricsinfo.C (PainterInfo): add new member erased_.
723 * rowpainter.C (RowPainter): add erased_ member, initialized from
725 (paintInset): pass erased_ to Inset::draw.
727 * lyxfunc.C (lookupChange): new function. Tells whether change
728 tracking is disabled at a given postion.
729 (getStatus): disable some actions when in deleted text with change
732 2005-08-03 John Levon <levon@movementarian.org>
734 * tabular.C (appendColumn, setMultiColumn): adapt to change to
737 * paragraph_pimpl.C (markErased): add bool argument and handle it.
738 Also make sure to mark insets recursively.
739 (rejectChange, erase): be recursive
741 * paragraph.C (markErased): add bool argument.
742 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
744 * lyxfind.C (findNextChange): tiny cleanup.
746 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
747 change tracking with the cursor in an inset; make sure the first
748 change is not skipped.
750 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
752 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
753 tabularStackDirty to work around bug 1919 (tabular needs
754 to know whether its own cell paste buffer or the one of
756 * CutAndPaste.C: mark tabular_stack_ clean after copy.
758 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
760 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
762 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
764 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
765 use old deleteion algorithm when changetracking is on.
767 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
769 * messages.C (get): add debug output.
771 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
773 * text.C (cursorX): fix bug 1965: cursor movement at
774 line end broken in RtL.
775 (drawSelection): fix bug 1970: drawing of single-line
776 selection broken for RtL.
778 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
782 * dociterator.h (clear, push_back, pop_back): change from
785 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
786 and changed to just return the value of the item depth; take a
787 ParIterator as argument; take the itemdepth at outer nesting level
788 in account if necessary; cleanup and comment the code.
789 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
790 and changed to just return true if reset is needed; take a
791 ParIterator as argument; cleanup and comment the code.
792 (setCounter): adapt to above changes.
794 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
796 * text3.C (dispatch): make debug message optional
798 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
800 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
803 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
805 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
807 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
809 * text.C (insertChar):
810 * text2.C (deleteEmptyParagraphMechanism): take care whether
811 a blank has been deleted (in change tracking mode) (bug 1254).
813 2005-07-20 John Levon <levon@movementarian.org>
815 * text2.C (insertStringAsLines): remove old dubious code,
818 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
820 * MenuBackend.C (expandToc): use Floating::listName() as title of
823 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
825 * toc.[Ch]: Do not use translatable strings (bug 1870).
827 2005-07-20 John Levon <levon@movementarian.org>
829 * tabular.C: fix 1748 - setting multicolumn adds
830 left line to the first cell
832 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
835 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
838 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
840 * messages.C: supress some lyxerr messages
842 2005-07-18 Juergen Vigna <jug@lyx.org>
844 * text.C (drawSelection): honor boundary when asking for cursorX.
846 2005-07-17 José Matos <jamatos@fc.up.pt>
848 * tabular.C (recalculateMulticolumns): fix handling of one column
851 2005-07-17 Juergen Vigna <jug@lyx.org>
853 * text.C (Delete, backspace): fixed so that paragraph with the
854 same layout can be merged by Delete/Backspace.
856 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
858 * text.C (readParToken): fix spelling.
860 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
862 * text2.C: fix counter update for DEPM problem reported by
865 2005-07-17 Juergen Vigna <jug@lyx.org>
867 * BufferView_pimpl.C (setBuffer): save/restore the
868 cursor/selection when switching buffers
871 * buffer.C (saveCursor): add saveDocumentIterators to save the
872 cursor when switching buffer.
874 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
877 * buffer.C: clarify message
879 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
881 * dociterator.C (DocIterator): fix initialization order
883 2005-07-17 Juergen Vigna <jug@lyx.org>
885 * text2.C (cursorHome):
886 * text.C (drawSelection, cursorX):
887 * dociterator.C (textRow): add boundary to getRow() call
889 * paragraph.C (getRow): implementation of below
891 * paragraph.h: add parameter boundary for getRow() function
893 2005-07-17 José Matos <jamatos@fc.up.pt>
897 * tex-strings.[Ch]: new file format, remove support for a4.sty,
898 a4wide.sty and a4widemargins.
900 2005-07-17 Juergen Vigna <jug@lyx.org>
902 * text2.C (cursorLeft): fix one of error
904 2005-07-17 Juergen Vigna <jug@lyx.org>
906 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
908 more fixes for boundary handling
910 * text3.C (dispatch): don't reset cursor if boundary has changed
913 2005-07-16 Juergen Vigna <jug@lyx.org>
915 * text2.C (getColumnNearX): hopefully got it right now,
916 check if we are on column 0 for special case.
918 2005-07-16 Juergen Vigna <jug@lyx.org>
920 * text2.C (getColumnNearX): handle special case Newline Inset
922 * text.C (singleWidth): Just remove bogus check
924 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
926 * funcrequest.C (split): avoid reading uninitialized char c
928 2005-07-16 José Matos <jamatos@fc.up.pt>
934 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
935 single papersize variable.
937 2005-07-16 Juergen Vigna <jug@lyx.org>
939 * text3.C (dispatch): honor boundary when checking if a cursor
940 movement has been done
942 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
943 (setCursor, setCursorIntern): fix cursor movement with boundary
945 2005-07-16 Juergen Vigna <jug@lyx.org>
947 * text.C (currentState): output the actual Boundary
949 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
951 * factory.C (createInset): fix bad logic for tabular creation
953 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
955 * lyx_main.C (init): change some reLyX reference to tex2lyx
957 2005-07-16 Juergen Vigna <jug@lyx.org>
959 * dociterator.C (DocIterator): initialize boundary
961 2005-07-16 Juergen Vigna <jug@lyx.org>
963 * text2.C (getColumnNearX): Consider rows without trailing blank.
965 2005-07-16 André Pönitz <poenitz@gmx.net>
967 * lyxfont.h: Change order of declarations to give the compiler
968 a better chance to inline things
970 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
971 questions on unsaved docs for better scritability
973 2005-07-16 André Pönitz <poenitz@gmx.net>
975 * paragraph.h (getChar): remove asserts as the same kind of security
976 can be achieved by using a suitable standard library implementation
977 and the function was in the critical path (25.9% in profiler)
979 2005-07-16 Juergen Vigna <jug@lyx.org>
981 * cursor.C (bruteFind2):
982 * bufferview_funcs.C (coordOffset):
983 * text.C (cursorX,cursorY): Handle cursor position after last char
984 in row before a inset which uses a whole row.
986 2005-07-15 José Matos <jamatos@lyx.org>
988 * output_plaintext.[Ch] (writeFileAscii): control reference title
990 (asciiParagraph): noparbreak was already deal and was incorrectly
993 2005-07-15 Juergen Vigna <jug@lyx.org>
995 * lyxfunc.C (dispatch): save and restore the cursor after a
998 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
1000 * text.C (backspace): bug 806 for empty keepempty paragraphs we
1001 change the layout to default before letting DEPM do its thing.
1003 * paragraph_funcs.C (breakParagraph): dont reset the layout on
1004 keepEmpty paragraphs
1006 * text.C (setCursorFromCoordinates): add a debug statement
1008 * text2.C (getColumnNearX): bug 1825 make sure that we don't
1009 return a pos that is not on the row
1011 * output_latex.C (TeXDeeper): get rid of potential dereferencing
1012 of past the end iterator
1014 2005-07-14 André Pönitz <poenitz@gmx.net>
1016 * undo.C (recordUndoFullBuffer): implement undo for
1019 2005-07-14 André Pönitz <poenitz@gmx.net>
1021 * cursor.C (setSelection): open insets when selection is set there
1022 to avoid crashs with cold coord cache
1024 2005-07-14 André Pönitz <poenitz@gmx.net>
1026 * trans_mgr.C (insert): move cursor to the right after inserting
1029 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1031 * BufferView_pimpl.C (update): dampen some of the debug blabbering
1032 * factory.C (readInset): ditto
1033 * text.C, text2.C: ditto
1035 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1037 * buffer.C: format incremented to 242. There is no file format per
1038 se, but the "frenchb" language has been removed from lib/language
1039 and has to be translated to "french" by lyx2lyx.
1041 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1043 * cursor_slice.h, dociterator.h: add some documentation
1044 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
1046 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1048 * text.C (leftMargin): do not add identation to display() style
1049 insets, because they are always centered (bug 1293).
1051 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1053 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
1054 formatted_time methods in support/lyxtime.
1056 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1058 * toc.[Ch]: new method getGuiName, which is used by the frontends
1059 to set the toc combo (fixes bug 1870). Make TOC string translatable.
1061 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1063 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
1064 StableDocIterator const &)
1065 * undo.C (recordUndo): use the above instead of cell.size() comparison
1066 (fixes bug 1808; instructed by Andr�.
1068 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
1071 * dociterator.h: Fix the assert when copying rows/cols in math
1073 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1075 * BufferView_pimpl.C:
1077 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
1079 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
1080 (findInset): new functions, refactored from goto Inset that return
1081 the position of a certain inset without setting the buffer's cursor
1083 (gotoInset): rewrite to call findInset and then set the cursor
1086 2005-06-16 Angus Leeming <leeming@lyx.org>
1088 * lyxrc.C (output, read): wrap all input and output of paths with
1089 calls to os::internal_path and os::external_path, respectively.
1090 (output): wrap bind_file inside quotes.
1092 * format.C (view): enable the viewer to use the '$$s' placeholder.
1094 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1096 * LColor.[Ch] (getFromLaTeXName): new
1098 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
1100 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
1102 2005-06-14 Angus Leeming <leeming@lyx.org>
1104 * lyx_main.C (init): ensure that the LyX binary dir is the first
1105 element in the PATH on non-POSIX builds.
1107 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1109 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
1111 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1113 * rowpainter.C (paintInset, paintHebrewComposeChar)
1114 (paintArabicComposeChar, paintChars): add a LyXFont argument.
1115 (paintChars): use getFontSpan to reduce calls to getFont to a
1116 minimum; use Paragraph::lookupChange instead of isXXXText.
1117 (paintForeignMark): rename LyXFont argument.
1118 (paintFromPos): pass a LyXFont object to the various paintXXX
1121 * FontIterator.C (FontIterator, operator++): use
1122 Paragraph::getFontSpan
1124 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
1125 version that returns the font span as a pair.
1127 2005-06-09 Angus Leeming <leeming@lyx.org>
1129 * converter.C (convert): Don't forget "outfile = real_outfile" as
1130 the final step in a conversion where the input and output file names
1131 are the same. Otherwise, future conversion steps won't work...
1133 2005-06-09 Angus Leeming <leeming@lyx.org>
1135 * lyxsocket.C: remove stub code as it isn't needed by
1136 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
1138 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1140 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
1141 effectively disabled -x
1143 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1145 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
1146 when it actually makes sense.
1148 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
1150 * BufferView_pimpl.C: revert to showCursor in connection with
1151 Lars's front-end stack
1153 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1155 * text.C (redoParagraph): move cursor right after a bibitem
1158 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
1160 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1162 * buffer_funcs.C (bufferErrors): fix computation of the end of an
1165 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
1167 * BufferView.[Ch] (update):
1168 * BufferView_pimpl.[Ch] (update, metrics):
1169 * dimension.h (operator==):
1170 * lyxfunc.C (dispatch):
1171 * metricsinfo.h (ViewMetricsInfo):
1172 * rowpainter.C (paintText):
1174 * text.C (redoParagraph):
1175 * text3.C (dispatch): Make LyX only repaint current paragraph in
1176 case of character insert --> speedup. Also fix cursor draw
1179 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1181 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1182 avoid a crash (bug 1891)
1184 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1188 * text2.C (getStringToIndex): constify cur argument.
1190 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1191 argument has been given
1192 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1193 try to invoke LFUN_INSET_APPLY).
1195 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1196 if no inset was created by doInsertInset
1197 (doInsertInset): return true if an inset has been inserted.
1199 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1201 * vspace.C (asGUIName): new method. A version of the space
1202 suitable for showing on screen.
1204 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
1207 * lyxrc.C: rename "ASCII" to "Plain Text"
1209 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1211 * buffer_funcs.C (expandLabel): take a Buffer as argument;
1212 translate the labelstring.
1213 (setCounter): translate labelstring as needed.
1215 * output_docbook.C (makeCommand): fix expandLabel invokation
1217 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
1219 * BufferView.C: fix dialog title
1221 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1223 * lyx_main.C (priv_exec): fix logic error with help from Angus
1224 * lyx_main.C (parse_execute): set is_gui = false and remove now
1225 obsolete comment about a segfault
1227 2005-05-18 Angus Leeming <leeming@lyx.org>
1229 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1231 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
1233 * tabular.[hC]: added setCellInset to fix tabular paste.
1235 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1237 * buffer.C (save): check if destination is writable before trying
1240 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
1242 * BufferView_pimpl.C (update): fix processEvents -caused update
1245 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1247 * buffer_funcs.C (setCounter): fix test for numbering of
1250 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1251 depth correctly; use optional argument when it exists
1253 * lyxtextclass.C: remove unused MaxCounterTags enum
1254 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1255 (max_toclevel, min_toclevel): new methods.
1257 * MenuBackend.C (expandToc2): fix case where depth is smaller than
1258 the smallest depth in toc.
1260 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1261 layouts that should not appear in a table of contents.
1263 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1265 * cursor.h (undispatched, noUpdate): add comments from Andr�
1266 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
1270 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1272 2005-05-07 André Pönitz <poenitz@gmx.net>
1274 * cursor.[Ch] (leaveInset): new function
1276 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1278 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1280 2005-05-04 Angus Leeming <leeming@lyx.org>
1282 * lyxfunc.C (getStatus): disable the spell checker dialog if
1283 none of USE_[AIP]SPELL are defined.
1285 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1287 * tabular.C (setWidthOfCell): remove obsolete comment
1289 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1291 * paragraph.C (bibitem):
1292 * buffer_funcs.C (setCounter):
1293 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1295 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1297 * text3.C (getStatus): immediately return after setOnOff
1299 * rowpainter.C: fix drawing of appendix start
1301 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1303 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1304 SwitchBetweenClasses and remove the unused return value.
1305 Handle character styles, too
1307 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
1309 * factory.C (createInset): handle undefined character styles
1311 2005-05-02 Angus Leeming <leeming@lyx.org>
1313 * buffer.C: protect the #include of utime.h with a preprocessor
1316 2005-05-02 Angus Leeming <leeming@lyx.org>
1318 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1319 function so that auto-saving works, albeit in a blocking manner.
1321 * Makefile.am: make compilation of the client sub directory, of
1322 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1323 on conditionals set at configure time.
1325 * SpellBase.[Ch]: no longer an abstract base class. Instead,
1326 it can be compiled in its own right but has no-op functionality.
1328 * aspell.C, pspell.C: remove preprocessor guards. The files should
1329 be compiled only if the necessary functionality exists.
1331 * lyxserver.C, lyxsocket.C: disable on Windows.
1333 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
1335 * text.C (leftMargin): Fix the parindent use bug (1764)
1338 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
1340 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1343 2005-04-25 Angus Leeming <leeming@lyx.org>
1351 include <config.h> in .C files, not .h ones.
1353 protect headers inside preprocessor guards.
1355 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1357 * FuncStatus.h (StatusCodes): document
1359 2005-04-21 André Pönitz <poenitz@gmx.net>
1361 * FuncStatus.h (enabled, onoff): document
1363 2005-04-19 Angus Leeming <leeming@lyx.org>
1365 * BufferView_pimpl.C (cursorToggle): no longer test whether
1366 any child processes have been reaped before calling
1367 handleCompletedProcesses().
1369 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
1371 * text3.C (dispatch): fix, finally fix, the language problem in
1372 new lyxtexts, without disabling on-the-fly font changes (Helge's
1375 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1377 * text3.C (dispatch): set cursor on double/triple click events
1380 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1382 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1383 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1385 * rowpainter.C (paintFirst): simplify the code a little bit. In
1386 particular, remove the test for secnumdepth.
1387 * text.C (setHeightOfRow): only allocate space for chapter number
1388 when updateCounters provided an actual label, instead of looking
1389 at secnumdepth directly.
1391 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1393 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1394 paragraphs when secnumdepth is large enough or, for environments,
1395 when they are not the first in a sequence.
1397 2005-04-17 Angus Leeming <leeming@lyx.org>
1399 * buffer.C (makeLaTeXFile): replace code to manipulate a path
1400 containing space and '~' characters with a call to latex_path().
1402 2005-04-17 Angus Leeming <leeming@lyx.org>
1404 * converter.C (convert): protect all args of convertDefault.sh
1407 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1409 * text3.C (dispatch): change the layout to "Caption" after inserting
1412 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1414 * text3.C (dispatch): fix language problem in newly created
1415 textinsets (and main text) in non-english docs
1417 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1419 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1420 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1421 * text3.C (getStatus): disable LFUN_INSET_MODIFY
1423 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1427 * text2.C (getFont):
1428 * rowpainter.C (getFont): Fix metrics bug introduced by inset
1431 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1433 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1434 output of \item arguments without trailing text.
1436 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1438 * FontIterator.C (operator*): avoid a copy of the font.
1440 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1442 * rowpainter.C (getFont): fix language bug from previous fix
1444 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1446 * rowpainter.C (RowPainter, getFont): fix font inside inset
1449 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1451 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1452 preventing inserted font, deco, delim insets jumping to start of
1455 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1457 * lyxfunc.C (dispatch): translate message before sending it to the
1460 2005-03-29 Angus Leeming <leeming@lyx.org>
1462 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1463 to LyX on the command line.
1465 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1467 * vc-backend.C: use QuoteName to protect file names wherever
1470 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1473 * BranchList.h: fix bugs 1844,1845: document settings don't
1476 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1478 * lyxrc.C (setDefaults, read, output, getDescription): add support
1479 for tex_allows_spaces.
1481 * exporter.C (Export): allows files in directory containing spaces
1482 if tex_allows_spaces is true.
1484 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1485 output it in double quotes.
1487 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1489 * rowpainter.C: use default text height for drawing change tracker
1492 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1494 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1496 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1498 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1499 directory is missing.
1501 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1503 * text2.C: fixed the fix, extended to other case.
1505 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1507 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1509 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1511 * text2.C (cursorUp): get rid of a crash
1512 * text.C (x2pos): add an assert
1514 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1516 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1520 * dociterator.C: include <boost/current_function.hpp>, which is
1521 needed when assertions are disabled.
1523 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1525 * text2.C: fix for stuck cursor when traversing two
1526 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1528 2005-02-25 Andreas Vox <avox@arcor.de>
1530 * output_docbook.C (makeParagraph): suppress trailing newline
1531 after a run of paragraphs
1533 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1535 * paragraph.C: fix for confused change tracker when pasting
1536 text that begins with a lineseparator. [bug 1827]
1537 (setChange(0, Change::INSERTED);)
1539 * paragraph_funcs.C: fix for lost changes on triple-paste
1540 in change tracking mode [bug 1827] (par.setChange()).
1542 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1544 * text2.C (updateCounters, setCounter, expandLabel): move to
1547 * buffer_funcs.C (updateCounters): turn into a free standing
1548 function and add a buffer parameter. Remove dead code for tracking
1550 (setCounter): change into a free-standing function which gets a
1551 dociterator as argument. Use this iterator to fix captions in a
1552 simple way. When no float is found above the caption, use the
1553 labelstring of the caption layout as default.
1555 * text.C (breakParagraph, backspace):
1556 * text2.C (init, setLayout, changeDepth):
1557 * text3.C (dispatch):
1558 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1561 * dociterator.C (forwardPar): make it much faster by calling
1562 forwardPos() only when really necessary.
1564 * output_docbook.C (makeCommand): adapt to expandLabel move.
1566 * cursor.C: remove unused variable
1568 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1570 * paragraph_funcs.C: fix crash when pasting insets in change
1571 tracking mode [bug 1277] (honour change type in moveItem).
1573 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1575 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1577 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1579 * BufferView.C (setCursor): change to use a DocIterator.
1580 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1581 (putSelectionAt): adapt to BufferView::setCursor change.
1583 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1584 moved here from LyXText and rewritten to use proper cursor
1585 methods. Fixes bug 1787, 616 and 835.
1587 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1588 when inside an inset (part of bug 781).
1589 (dispatch): adapt to change of BufferView::setCursor.
1590 (getStatus, dispatch): handle LFUN_GOTOERROR,
1591 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1593 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1594 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1595 * text3.C (gotoNextInset, gotoInset): removed.
1597 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1599 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1601 2005-02-15 Angus Leeming <leeming@lyx.org>
1603 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1604 can be used meaningfully in a comparison.
1606 2005-02-13 André Pönitz <poenitz@gmx.net>
1608 * bufferview_funcs.C (coordOffset): improve cursor drawing
1610 2005-02-13 André Pönitz <poenitz@gmx.net>
1612 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1613 * Cursor.C (dispatch): use fixIfBroken
1614 * lyxfunc.C (getStatus): use fixIfBroken
1616 2005-02-15 Angus Leeming <leeming@lyx.org>
1618 * lyx_main.C (error_handler):
1620 * lyxrc.C (setDefaults):
1622 #include "environment.h".
1624 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1626 2005-02-15 Angus Leeming <leeming@lyx.org>
1628 * lyxserver.C (startPipe): squash MSVC warning "local variable
1629 'fd' used without having been initialized".
1631 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1633 * BufferView_pimpl.C: revert accidental commit.
1635 2005-02-14 André Pönitz <poenitz@gmx.net>
1637 * dociterator.[Ch]: new member forwardPosNoDescent(),
1638 which doesn't enter nested insets.
1639 * text2.C (setFont): use forwardPosNoDescent() instead
1640 of ForwardPos() (fixes crash on font change).
1642 2005-02-13 Angus Leeming <leeming@lyx.org>
1644 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1645 only if lyxrc.path_prefix is not empty.
1647 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1649 * bufferparams.C (readGraphicsDriver): prevent crash
1651 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1653 * text2.C (setCounter): check for inInset() == 0
1655 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1657 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1658 but use update() to get correct screen display; use convert
1659 instead of istringstream.
1660 (getStatus): handle LFUN_GOTO_PARAGRAPH
1662 * lyxfunc.C (dispatch, getStatus): do not handle
1663 LFUN_GOTO_PARAGRAPH here.
1665 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1667 * text3.C (dispatch): size() -> depth()
1669 * text2.C: remove some debug output
1671 * paragraph.C: ws changes only
1673 * lyxfunc.C (getStatus): size() -> depth()
1675 * dociterator.h (clear, push_back, pop_back, internalData,
1676 operator[], resize, empty): new functions
1677 Make StableDocIterator and operator== be friends. Don't inherit
1678 from std::vector use a privat class variable slices_ instead.
1681 * dociterator.C: update because of not inheriting from std::vector
1682 anymore. Call explictly to slices_ instead. Use depth() instead of
1683 size() and top() instead of back()
1685 * cursor.C: chagne size() -> depth and back() -> top(). Also
1686 remove some direct operator[](i) calls in favour of foo[i]
1687 (getFont): remove some dead code
1689 * bufferview_funcs.C (coordOffset): size() -> depth()
1691 * buffer.C: ws changes only
1693 * CutAndPaste.C (eraseSelection): back() -> top()
1695 * BufferView_pimpl.C (selectionRequested): back() -> top()
1697 * BufferView.C (setCursor): size() -> depth()
1699 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1701 * text3.C (cursorPrevious): return true if depm changed something
1703 (dispatch): rename sl to oldTopSlice, remove moving use the new
1704 NoUpdate func attrib instead. Make sure that needsUpdate is set
1705 for function that have NoUpdate, but where depm might have changed
1708 * text2.C (cursorLeft): make us return true if depm changed
1710 (cursorRight): ditto
1711 (cursorUpParagraph): ditto
1712 (curosrDownParagraph): ditto
1713 (cursorUp, cursorDown): ditto, make sure to read comments in code
1714 (deleteEmptyParagraphMechanism): remove an assert, also return
1715 true if just a single char was deleted.
1717 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1718 cursor that we modify, to avoid modifying an active cursor before
1719 we call setCursor. This allows depm to run. Also return true if
1720 depm deleted something.
1722 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1723 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1724 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1725 something was changed in the buffer because of them (ie. depm run)
1727 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1728 debug messages. Make update by default be false. Make sure that
1729 the result of update is retained throught several calls down to
1732 * LyXAction.h: add a new func_attrib: NoUpdate
1734 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1735 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1736 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1738 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1740 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1742 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1743 bv_->owner(), bv_->buffer() by direct references to the private
1745 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1746 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1747 (fitCursor): center() is in BufferView::Pimpl.
1748 (getStatus, trackChanges, dispatch): no need for a temporary buf
1750 (fitCursor, workAreaDispatch): use workarea().workheight()
1752 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1754 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1756 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1758 * buffer.C: format up to 241.
1759 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1760 break if pasting into ERT
1761 * lyxfunc.C (getStatus): suppress mathpanel and
1762 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1764 2005-02-01 Angus Leeming <leeming@lyx.org>
1766 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1768 2005-02-01 Angus Leeming <leeming@lyx.org>
1770 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1771 calling fs::is_directory().
1773 2005-01-31 Angus Leeming <leeming@lyx.org>
1775 * lyx_main.C (priv_exec): specify explicitly the relative location
1776 of the top level build directory when run in-place.
1778 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1780 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1781 LyXText containing the cursor, not the top-level one.
1783 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1785 (insertStringAsLines): rename par to pit; use temporary variable
1786 par to hold a Paragraph; do not store par.layout() in a variable,
1787 since the pointer may die when breaking paragraphs; pass pars to
1788 breakParagraph() instead of Buffer::paragraphs().
1790 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1792 * lyxlex_pimpl.h: #include <fstream>.
1794 * BufferView.[Ch] (getLyXText): add a const version.
1796 * BufferView_pimpl.C: add debug aids.
1801 * paragraph_funcs.h: add commentary explaining what the class does.
1804 * coordcache.[Ch]: add lots of commentary.
1805 (startUpdating, doneUpdating): debug aids.
1806 (arrays, insets, parPos, getParPos): accessors to private data.
1808 * cursor_slice.[Ch] (text): add a const version.
1809 * dociterator.[Ch] (text, innerText): add const versions.
1811 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1814 * paragraph.C (getRow, pos2ros): add asserts.
1816 * paragraph.h: add commentary. Lots of.
1818 * paragraph.[Ch] (metrucs, draw): removed.
1821 * rowpainter.[Ch]: const-correct changes.
1823 * text.C: various obvious clean-ups. Removal of ancient cruft.
1826 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1828 * vc-backend.C (find_file): rewrite to use boost.filesystem
1831 * main.C (main): set default name check for boost.filesystem to
1834 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1837 (actOnUpdatedPrefs): ditto
1839 * lyx_main.C (init): rewrite to use boost.filesystem
1840 (queryUserLyXDir): ditto
1842 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1843 (getContentsOfAsciiFile): ditto
1845 * lastfiles.C (readFile): rewrite to use boost.filesystem
1847 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1849 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1850 (loadLyXFile): ditto
1852 * buffer.C (Buffer): adjust for destroydir
1853 (getLogName): rewrite to use boost.filesystem
1854 (setFileName): ditto
1855 (save): use fs::copy_file (from fs_extras)
1857 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1859 * LaTeX.C (run): rewrite to use boost.filesystem
1860 (scanAuxFiles): ditto
1861 (handleFoundFile): ditto
1863 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1865 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1867 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1869 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1871 * lyxlayout.[Ch]: change some vars from float to double
1873 * buffer.C (readFile): make a local var const
1875 * Several files: use convert<> instead of atoi,strToXXX and friends
1877 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1879 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1880 holds the contents of packages.lst. New functions getAvailable
1881 and isAvailable to parse and check that list, resp.
1885 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1887 * bufferparams.[Ch]: new param output_changes.
1889 * Buffer.C: increase file format to 240.
1890 Use output_changes and isVailable.
1894 * paragraph_pimpl.C: Use output_changes and isVailable.
1896 2005-01-23 Angus Leeming <leeming@lyx.org>
1898 * output_latex.C: #include "insetbibitem.h", rather than
1899 forward declare function bibitemWidest.
1901 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1903 * lyx_main.C (init): make it compile on the Mac.
1905 2005-01-20 Angus Leeming <leeming@lyx.org>
1907 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1908 (setLyXMisc): (char string literal) != (char string literal) is
1909 performing a comparison on the addresses. Convert one operand
1910 explicitly to string to guarantee expected behaviour.
1913 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1916 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1918 * output_plaintext.C: remove unneeded #include gzstream.h.
1920 2005-01-20 Angus Leeming <leeming@lyx.org>
1922 * SpellBase.h: rename some of the elements of the Result enum.
1929 * pspell.C (check): ditto
1931 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1933 * buffer.C: add #include <fstream>.
1935 * lyx_main.C (init): Compile fix.
1937 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1939 2005-01-20 Angus Leeming <leeming@lyx.org>
1941 * mover.h: change commentary to reflect the changed meaning of
1942 the $$s placeholder.
1944 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1946 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1948 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1950 2005-01-20 Angus Leeming <leeming@lyx.org>
1952 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1953 printing diagnostic data by not dereferecing an iterator past the
1956 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1958 * buffer.C (readHeader): use "&&" rather than "and".
1960 * lyxserver.h (inPipeName, outPipeName): make these const.
1962 2005-01-19 Angus Leeming <leeming@lyx.org>
1964 * lyx_main.C (error_handler, init): protect SIGHUP with
1965 #ifdef SIGHUP guards.
1967 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1969 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1971 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1973 * text.C (setHeightOfRow): add a margin at the top and bottom of
1974 the document (bug 1761)
1976 2005-01-17 Angus Leeming <leeming@lyx.org>
1978 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1979 with "python ". Workaround for a brain-dead Windows.
1981 2005-01-16 Angus Leeming <leeming@lyx.org>
1983 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1984 for MacOSX and Windows to use prependEnvPath.
1985 Strip out the hard-coded block to add elements to the PATH for
1986 MacOSX and replace it with a call to prependEnvPath using the
1987 contents of LyXRC::path_prefix.
1988 (queryUserLyXDir): strip out the code to run reconfigure, instead
1989 returning a boolean indicating the necessity to do so.
1990 (reconfigureUserLyXDir): contains the code to reconfigure the
1991 user support directory. Is now called after the various LyXRC data
1992 files have been read.
1994 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1996 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1998 * converter.[Ch] (convert): take a new parameter try_default. Use
1999 a default converter (imagemagick) if try_default is true.
2001 2005-01-13 Angus Leeming <leeming@lyx.org>
2003 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
2004 os::cygwin_path_fix.
2005 (write): output LyXRC::cygwin_path_fix as necessary.
2007 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
2010 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
2012 2005-01-12 Angus Leeming <leeming@lyx.org>
2014 * lyx_main.C (init): set the PATH variable to include the
2015 directory containing the LyX binary when running on Mac or Windows.
2017 2005-01-12 Angus Leeming <leeming@lyx.org>
2019 * lyx_main.C (init): remove cruft that purports to set the locale
2020 dir. It doesn't and is not needed anyway.
2022 2005-01-10 Angus Leeming <leeming@lyx.org>
2024 * Makefile.am: remove the lyx_main.C special casing.
2026 * BufferView_pimpl.C:
2032 * messages.C: use support/package.h to provide the paths to the
2033 various directories used by LyX.
2035 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2037 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
2038 layout if pasting into an empty paragraph)
2040 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2042 * tex-accent.C: add <string>
2044 2005-01-06 José Matos <jamatos@lyx.org>
2046 * ParagraphParameters.C (write): put every parameter in its own line.
2047 * paragraph.C (write): reduce number of consecutive empty lines exported.
2048 * buffer.C (LYX_FORMAT): increase file format to 239.
2050 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2052 * everywhere: change support/tostr.h -> support/convert.h
2054 * tabular.C: make all write_attributes templates, tostr -> convert
2056 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
2057 (emptyTag): and -> &&, and fix type for ret from getChar
2058 (getFirstWord): fix type for ret from getChar
2059 (onlyText): and -> &&
2060 (simpleDocBookOnePar): and not -> && !, fix type for ret from
2063 * toc.C (goTo, action):
2064 * text3.C (dispatch):
2065 * text.C (currentState):
2066 * tex-accent.C (DoAccent):
2069 * lyxfunc.C (menuNew):
2070 * lyxfinc.C (replace):
2071 * counters.C (laberItem):
2072 * bufferview_funcs.C (font2string):
2073 * bufferparams.C (writeFile):
2074 * buffer.C (readFile):
2076 * MenuBackend.C: tostr -> convert
2078 * LaTeX.C (runMessage): fix format
2079 (scanAuxFiles): tostr -> convert
2081 * BufferView_pimpl.C (savePosition): fix format
2082 (restorePosition): ditto
2085 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2087 * Spacing.[Ch]: New method getValueAsString().
2091 * ParagraphParameters.C:
2094 * text3.C: store/read spacing value as string.
2096 * rowpainter.C: change float value (spacing_val) to double.
2098 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
2099 broken custom document spacing).
2101 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2103 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
2104 namespace, also more use of temp references and const
2106 * cursor.[Ch] (getStatus): move to lyxfunc.C
2108 * bufferparams.C: reformat slightly
2110 * bufferview_funcs.C (font2string): constify arg
2116 * buffer_funcs.C: (many funcs): constify arg on function
2117 definitions, also make more local vars const, also add ASSERTS on
2120 * buffer.C (LYX_FORMAT): put const in correct place
2121 (many funcs): constify arg on function definitions, also make
2122 more local vars const
2124 * aspell_local.h: remove "struct" from typdef setup
2126 * aspell.C (check): make word_ok const
2127 (nextMiss): simplify slightly
2130 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2132 * lyxrc.[Ch]: store all float values as strings.
2133 use int (not float) for lyxrc.dpi.
2135 2005-01-04 Angus Leeming <leeming@lyx.org>
2137 * lyx_cb.C (Reconfigure):
2138 * lyx_main.C (queryUserLyXDir):
2139 to run the <system_lyxdir>/configure correctly on Windows, prefix
2140 the path to the script with "sh " when generating the string that
2141 is passed to system().
2143 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2145 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
2147 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2149 * lyxlength.C (asLatexString): get rid of setprecision
2151 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2153 * text2.C (setLayout): remove unused variable endpit.
2154 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
2156 * paragraph.C (onlyText): remove unused variable style.
2158 * cursor.C (bruteFind): remove unused variables beg and end.
2160 * Makefile.am (dist_noinset_DATA): not needed anymore
2162 * cheaders/*: remove.
2164 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2166 * text3.C: fix LFUN_MATH_MODE.
2168 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2170 * buffer_funcs.C (countWords): new function. Counts words between
2173 * BufferView_pimpl.C (getStatus, dispatch): handle
2176 * LyXAction.C (init):
2177 * lfuns.h: add LFUN_WORDS_COUNT.
2179 2004-12-19 Angus Leeming <leeming@lyx.org>
2181 * buffer.C (save): s/slashify_path/internal_path/.
2183 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2185 * lyxfind.C (findChange): do not search for end of pars, because
2186 the change tracker cannot handle this (fixes bug 1719).
2188 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
2190 * paragraph.[Ch] (autoBreakRows): remove
2192 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2194 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2195 avoid using the paragraph one
2197 * text2.C (LyXText, insertStringAsLines): adjust
2199 2004-12-16 Angus Leeming <leeming@lyx.org>
2203 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2205 2004-12-14 Angus Leeming <leeming@lyx.org>
2207 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2209 * bufferlist.C (emergencyWrite):
2210 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2213 2004-12-14 Angus Leeming <leeming@lyx.org>
2215 * main.C: (main): no longer pass pointers to os::init.
2217 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2219 * undo.C (textUndoOrRedo): simplify logic, fix a crash
2220 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2222 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2225 * text3.C: remove selection_possible global flag
2227 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2229 * text2.C (getSelectionSpan): remove
2230 (changeDepth, changeDepthAllowed): adjust
2232 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
2234 * Makefile.am (BOOST_LIBS): use boost variables
2236 2004-12-03 José Matos <jamatos@lyx.org>
2238 * buffer.C: format up to 238.
2240 2004-12-03 José Matos <jamatos@lyx.org>
2242 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2244 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2246 * cursor.C (goUpDown): remove call to idxUpDown2
2248 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2250 * tabular.[Ch]: use size_t-like types for cell, row and column
2253 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2255 * lyxfunc.C (getStatus): do not lose previous information when
2256 calling BufferView::getStatus; do not set a default "Command
2257 disabled" message at the beginning, but just before returning.
2259 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2261 * cursor.h (getStatus): add better comment from src/cursor.C
2263 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2265 * text3.C (getStatus): return false when the lfun is not handled
2267 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2269 * broken_headers.h: remove
2271 * Makefile.am (lyx_SOURCES): remove broken_headers.h
2273 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2275 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2276 offset_ref accessors
2278 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2279 top_y_, merge fitcursor with update
2280 (updateScrollbar, scrollDocView, fitCursor, center, update): new
2282 (metrics): introduce
2283 (workAreaDispatch): adapt to new coord scheme
2284 (redoCurrentBuffer): remove
2286 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2288 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2291 * coordcache.[Ch]: add paragraph cache and helpers
2293 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2296 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2297 (targetX, setTargetX): introduce
2299 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2300 baseline -> ascent, as the rest of lyx
2302 * lyxtext.h: remove redoParagraphs, updateParPositions,
2303 fullRebreak, redoParagraphInternal. move dist to anon namespace in
2304 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2305 have ascent/descent (ascent is ascent of first par)
2307 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2310 * paragraph.[Ch]: unify dimension handling with the rest of lyx
2312 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2314 * pariterator.C: fix infinite loop introduced in par->pit renaming
2316 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2317 in insets and LyXText, draw two off-screen paragraphs using
2318 NullPainter, and adapt to new coord scheme
2322 * text3.C: adapt lfun handlers to the new coord scheme, which
2323 means: there's only guaranteed coord information for onscreen pars
2324 plus one above and one below. This implies that one can do search
2325 from y coordinates in the range [-1,workHeight]
2327 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2329 * rename a lot of InsetOld to InsetBase
2331 2004-11-25 Angus Leeming <leeming@lyx.org>
2333 * BufferView_pimpl.C:
2335 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2337 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2339 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2340 call BufferView::getStatus if LCursor::getStatus did nothing
2341 (setStatusMessage, getStatusMessage): removed.
2343 * FuncStatus.C (message): new methods. Used to provide an error
2344 message indicating why a command is disabled.
2345 (clear, |=, FuncStatus): update for message.
2347 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2349 * lyxfunc.C (dispatch): always call sendDispatchMessage
2351 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2354 * BufferView_pimpl.C:
2359 * cursor_slice.[Ch]:
2362 * paragraph_funcs.C:
2368 * undo.C: par->pit renaming
2370 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2372 * tabular.C (cellstruct): use initialization, store a shared_ptr
2373 to insettext instead of the insettext directly, adjust to fit.
2374 (operator=): new function
2375 (swap): new function
2376 (rowstruct): use initialization
2377 (columnstruct): use initialization
2378 (ltType): use initialization
2381 * lyxlength.h (swap): new function
2383 * LColor.[Ch] (operator=): use the common semantics
2385 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2387 * lyxfind.C (findNextChange): update the bufferview after setting
2390 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2392 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2393 number of InsetOptArgs has already been inserted.
2395 * output_latex.C (latexOptArgInsets): new method. This outputs all
2396 the optarg insets, up to the limit defined in the layout file.
2397 (optArgInset): removed
2398 (TeXOnePar): call latexOptArgInsets; correctly update texrow
2400 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2402 * paragraph.C (isLetter): remove special spellchecker-related
2403 code; return true also for digits
2404 (isWord, isKomma): remove
2406 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2407 * lyxfind.C (MatchString()): use isLetter instead of isWord
2409 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2411 * pariterator.h (operatir=): comment out un-implemented member
2414 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2417 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2419 * lyxfont.h: include LColor.h to satisfy concept checks.
2421 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2423 * pariterator.h: add typdefs for value_type, difference_type,
2424 pointer and reference to satisfy concept checks. Also add default
2425 constructor for same reason.
2427 * pariterator.C (operator++): add post-increment operator to
2428 satisfy concept checks.
2430 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2433 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2435 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2436 checks. Also rename base_type to BaseType to follow naming
2439 * FloatList.h: include Floating.h to satisfy concept checks.
2441 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2443 * lyxfunc.C (getStatus): when the origin of the request is menu or
2444 toolbar, and the LyXView does not have focus, do as if there was
2445 no buffer (bug 1720)
2447 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2448 FuncRequest to individual entries of LFUN_SEQUENCE
2450 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2452 * output_latex.C (TeXOnePar): override runparams.moving_arg
2453 according to the needprotect value of the current paragraph (bug
2456 * paragraph.C (simpleTeXOnePar): no need to override
2457 runparams.moving_args here
2459 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2461 * vspace.C: fix off-by-one-error, related to fix #1682
2463 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2465 * lengthcommon.C: a more general fix for bug 1682
2467 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2469 * text.C (backspace): fix crash
2471 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2473 * format.[Ch] (getFormatFromFile): new method
2474 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2476 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2478 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2480 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2482 * lyxfunc.C (dispatch): remove the verbose argument
2483 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2486 * kbmap.C (defkey): set the origin of func to KEYBOARD
2488 * MenuBackend.C (MenuItem):
2489 * ToolbarBackend.C (add): set the origin of func to UI
2491 * funcrequest.[Ch]: add origin member, which indicates which part
2492 of LyX requests an action
2494 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2496 * converter.C (move): don't lie in the error message
2497 * converter.h (isReachable, move): document
2499 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2501 * buffer.C: remove unused using lyx::support::atoi
2502 * paragraph_funcs.C: ditto
2504 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2506 * bufferlist.C (exists): use bind and equal_to instead of
2509 * lyxtextclasslist.C (NumberOfClass): ditto
2511 * cursor.C (insert): use for_each instead of explicit for loop
2513 * bufferlist.C (getFileNames): use std::transform and
2514 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2516 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2519 * buffer.C (changeLanguage): use for_each instead of explicit for
2521 (hasParWithID): implement using getParFromID
2523 * LaTeXFeatures.C: ws change only
2525 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2528 * BufferView_pimpl.C (trackChanges): use for_each instead of
2531 2004-11-04 André Pönitz <poenitz@gmx.net>
2534 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2536 * dociterator.C (asDocIterator): use hard assert again.
2538 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2540 * lyxlength.C (asLatexString): rewrite so that it does not use
2543 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2545 * text3.C (specialChar, dispatch): make sure cursor moves to the
2546 right after inserting an inset
2548 2004-11-02 José Matos <jamatos@lyx.org>
2550 * output_docbook.C (docbook):
2551 * paragraph.C (getID):
2552 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2553 garantee that the output is always legal.
2555 * tabular.C (docbook):
2556 * outputprams.[Ch]: remove mixed contents.
2558 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2560 * text2.C (setCounter): prevent endless loop
2562 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2564 * exporter.C (copyFile): use the mover instead of support::copy()
2565 * exporter.C (Export): pass format and latex name to copyFile()
2566 * exporter.h (addExternalFile): document
2567 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2569 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2571 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2573 2004-10-30 José Matos <jamatos@lyx.org>
2575 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2576 text and no inset or font change. This allows to use CDATA
2577 sections just for the whole paragraph.
2579 2004-10-30 José Matos <jamatos@lyx.org>
2581 * paragraph.C (getFirstWord): remove unused variable.
2583 2004-10-30 José Matos <jamatos@lyx.org>
2585 * paragraph.C (getFirstWord): the content should always be escaped
2587 (simpleDocBookOnePar):
2588 * output_docbook.C (makeEnvironment): replace reference to CDATA
2591 2004-10-30 José Matos <jamatos@lyx.org>
2593 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2595 2004-10-30 José Matos <jamatos@lyx.org>
2597 * output_docbook.C (makeParagraphs):
2598 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2599 standard paragraph has only a given type of content drop the wrapper.
2601 2004-10-29 José Matos <jamatos@lyx.org>
2603 * output_docbook.C (makeEnvironment):
2605 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2607 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2609 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2610 (cleanID): sanitize any id.
2612 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2614 * buffer.C, lyxlex_pimpl.C:
2615 * lyxlex_pimpl.C (setFile):
2616 s/getExtFromContents/getFormatFromContents/
2618 2004-10-28 José Matos <jamatos@lyx.org>
2620 * output_docbook.C (makeEnvironment): move id to broadest possible
2623 * sgml.C (openTag): apply substitution of <> for all attributes.
2625 2004-10-28 José Matos <jamatos@lyx.org>
2627 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2628 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2629 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2631 * sgml.[Ch]: new version for open and closeTag for paragraph and
2632 for strings. Now they handle the ids of paragraphs.
2634 2004-10-26 Angus Leeming <leeming@lyx.org>
2636 * Makefile.am: add mover.[Ch].
2638 * converter.C (convert, move): use the new Movers to move external
2639 files to the temp directory.
2641 * lyx_main.C (init): ensure that the global system_movers data
2644 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2647 * mover.[Ch]: new files, defining a Mover as a utility to move an
2648 external file between directories and, if necessary, manipulate this
2649 file using a helper script.
2651 2004-10-25 José Matos <jamatos@lyx.org>
2653 * output_docbook.C (makeCommand): merge two if's that tested the
2656 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2658 * sgml.C (escapeString): fix warning in a better way
2660 2004-10-25 José Matos <jamatos@lyx.org>
2662 * sgml.C (escapeString): import the require boosts header file for
2663 tie, and avoid a signed unsigned comparison.
2665 2004-10-25 José Matos <jamatos@lyx.org>
2667 * sgml.h: add #include <string>
2669 2004-10-25 José Matos <jamatos@lyx.org>
2671 * sgml.[Ch] (escapeString): new function to escape all the string.
2673 2004-10-24 José Matos <jamatos@lyx.org>
2675 * paragraph.[Ch] (getFirstWord): new function to get the first
2676 word. Useful for description.
2677 (simpleDocBookOnePar): remove depth argument, add another that
2678 says where to start the paragraph.
2680 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2681 use the new functions to fix cleanly the support for descriptions.
2683 2004-10-24 José Matos <jamatos@lyx.org>
2685 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2686 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2687 * output_linuxdoc.C (linuxdocParagraphs):
2688 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2689 add buffer as argument.
2691 2004-10-24 José Matos <jamatos@lyx.org>
2693 * output_docbook.C (makeEnvironment, searchEnvironment): place
2694 CDATA inside paragraphs and fix scope for listitems.
2696 2004-10-24 José Matos <jamatos@lyx.org>
2698 * output_docbook.C: remove using statement for stack.
2700 2004-10-23 José Matos <jamatos@lyx.org>
2702 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2703 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2704 docbook. The new scheme is recursive and makes use of iterators, the
2705 same as latex export works.
2706 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2707 directly with the paragraph contents. This code was moved up to
2708 output_docbook.C (docbookParagraphs).
2709 * sgml.C (openTag, closeTag): removed unneeded newlines.
2710 (closeEnvTags) removed.
2712 2004-10-23 André Pönitz <poenitz@gmx.net>
2714 * undo.C (textUndoOrRedo):
2715 * dociterator.C (asDocIterator): work around crash
2717 * cursor.C (getStatus): replace ASSERT by more verbose error message
2718 and manual correction of the problem. Should increase stability
2719 while providing more sensible information.
2721 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2723 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2725 * bufferlist.C (previous, next): new methods
2728 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2730 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2732 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2733 entities to preamble.
2735 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2737 * messages.C (Pimpl): strip off translation context information
2739 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2741 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2742 the cursor is correct (bug 1694)
2744 2004-10-13 José Matos <jamatos@lyx.org>
2746 * output_docbook.C (docbookParagraphs): fix closing tags in the
2747 end of the document.
2749 2004-10-09 José Matos <jamatos@lyx.org>
2751 * buffer.C: format up to 237.
2752 * bufferparams.C (write): use tostr to convert booleans to strings.
2754 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2756 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2758 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2760 * LaTeX.C: implement use of babel language in xindy.
2762 2004-10-05 José Matos <jamatos@lyx.org>
2764 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2765 Add new translators to help reading and writing the lyx file.
2767 2004-10-05 José Matos <jamatos@lyx.org>
2769 * ParagraphParameters.C (read):
2770 * text.C (readParToken): replace nexToken by more appropriate lex
2773 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2775 * LaTeX.C (runMakeIndex):
2776 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2777 (usually 'makeindex') configurable.
2779 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2780 with a variable rather than with a number.
2782 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2784 * output_latex.C (TeXOnePar): make sure font setting is the first
2785 thing that gets output (and the last at the end). Should fix bug
2788 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2790 * pch.h: use proper signal include
2792 * LaTeX.h: Use preferred calling of Boost.Signal
2795 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2797 * pch.h: dont include <boost/function/function0.hpp>
2799 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2801 * paragraph_pimpl.h: remove usage of ShareContainer
2803 * paragraph_pimpl.C: remove initialization of ShareContainer.
2805 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2809 * BufferView.C (putSelectionAt): change the semantics when
2810 backwards == true: now, this just swaps cursor and anchor wrt the
2813 * BufferView.h (putSelectionAt): add some documentation
2815 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2816 make sure backwardChar is done at least once (to avoid getting
2818 (findNextChange): use putSelectionAt in the forward direction
2819 (operator()): use Paragraph::isWord
2821 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2823 * Spacing.C (set): c_str fix
2825 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2827 * lyx_cb.C (Reconfigure): quote the name of configure script in
2828 case it contains spaces
2830 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2834 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2835 (BOOST_LIBS): use top_buildir when looking for the file
2837 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2839 * pch.h: do not use include boost/format.hpp, multiple symbols
2840 will result (gcc bug)
2843 2004-08-23 José Matos <jamatos@lyx.org>
2845 * bufferparams.C (readToken): fix reading of the author field.
2847 2004-08-20 José Matos <jamatos@lyx.org>
2849 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2851 2004-08-20 José Matos <jamatos@lyx.org>
2853 * lyxlex.[Ch] (findToken): remove function.
2855 * ParagraphParameters.C (findToken):
2856 * bufferparams.C (findToken): replace call for previous function
2857 with local copy. This local function has one more argument, the
2858 read string argument.
2860 2004-08-16 José Matos <jamatos@lyx.org>
2862 * ParagraphParameters.C (write):
2863 * Spacing.C (writeFile):
2864 * bufferparams.C (writeLaTeX):
2865 * lyx_cb.C (Reconfigure):
2866 * paragraph.C (write):
2867 * tabular.C (write): remove unnecessary space at end of line.
2870 2004-08-16 José Matos <jamatos@lyx.org>
2872 * text.C (readParagraph): remove debug message.
2874 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2876 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2879 * output_plaintext.C (asciiParagraph): set depth correctly
2881 * outputparams.h: add member depth
2883 * paragraph_funcs.C (ownerPar): remove.
2885 * text2.C (setCounter): remove first_pit; comment out some
2886 non-working code that uses ownerPar
2888 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2891 2004-08-16 José Matos <jamatos@lyx.org>
2893 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2894 For the same level of importance use the same chanel to report problems.
2895 (read): add code to deal with \begin_body and \end_body.
2898 2004-08-15 José Matos <jamatos@lyx.org>
2900 * lyxlex.C (getString): fix comment, buffer::readBody is now
2901 buffer:readDocument.
2903 * tex-strings.C (string_papersize): Default -> default,
2904 Custom -> custom, for consistency with other options.
2906 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2910 * Makefile.am: support pch
2912 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2914 * text.C (readParToken): remove the static LyXFont variable and
2915 pass it as a parameter instead. This fixes a nasty bug where an
2916 inset will be inserted with a bad font in some situations
2917 (readParagraph): adapt
2919 * text2.C (setCounter): reduce number of calls to pars_[pit]
2921 * text.C (singleWidth): add an assert, fix a test
2923 * rowpainter.C (paintText): reduce number of calls to singleWidth
2925 * paragraph.C (isHfill):
2926 (isNewline): ws only
2928 2004-08-14 André Pönitz <poenitz@gmx.net>
2933 * lyxtext.h (several functions): use a Paragraph & argument
2936 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2938 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2940 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2942 * text.C (singleWidth): remove useless test
2944 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2946 * tabular.h: remove bogus comments
2948 * tabular.C (getDescentOfRow):
2949 (isPartOfMultiColumn): add assertions
2951 * lyxlength.C (inPixels): remove #warning
2953 2004-08-14 André Pönitz <poenitz@gmx.net>
2955 * paragraph.h: inline getChar()
2957 * BufferView.h: remove unused declarations
2959 2004-08-14 José Matos <jamatos@lyx.org>
2961 * Buffer.[Ch] (readDocument): new name for old readBody.
2962 * Buffer.C: new file format, new keywords: \begin_document,
2963 \begin_header, \begin_body, \end_body.
2965 * bufferparams.C (readToken): replace all calls to lex.nextToken
2966 by lex.next(). Do the same to eatLine except where really needed.
2968 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2969 line when writing to the lyx file.
2971 * output_plaintext.C (asciiParagraph): fix Bibliography style
2974 * text.C (read): fix end of file handling.
2976 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2978 * MenuBackend.C (Menu::operator[]): new method to access
2979 individual menu items
2980 (Menu::hasFunc): new method. search for an item that corresponds
2982 (MenuBackend::specialMenu): new method
2983 (MenuBackend::expand): if a special menu has been set, skip
2984 entries whose func() appears in this menu
2986 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2988 * text3.C: use Debug::DEBUG a bit more
2990 * text.C (leftMargin): try to simplify a tiny bit change var x to
2991 l_margin. Dont output the wide margins always.
2992 (rightMargin): no margin in inner texts
2994 * rowpainter.h (nestMargin): new func
2995 (changebarMargin): new func
2996 (rightMargin): new func
2998 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
3002 * factory.C (createInset): modify setDrawFrame
3004 * cursor.C: use Debug::DEBUG a bit more
3006 2004-08-14 André Pönitz <poenitz@gmx.net>
3009 * Makefile.am: new files to accomodate an 'external' (x,y)-position
3010 cache for all insets in (at least partially) visible (top-level)
3013 * BufferView_pimpl.C: reset external coord cache before every update.
3014 This means the coord cache only contains valid entries.
3016 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
3019 * BufferView_pimpl.C (getInsetByCode): move function out of class
3020 and change in to a template in anon namespace. Also fix to do what
3023 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
3026 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
3028 (breakParagraph): rename par to par_offset and use a local
3029 reference. Add code to keep the language over a rebreak.
3030 (breakParagraphConservative): rename par to par_offset, use a
3032 (mergeParagraph): ditto
3034 (isFirstInSequence): ditto
3035 (outerFont): rename pit to par_offset
3037 * paragraph.C: ws change
3038 * paragraph.h: ditto
3042 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3044 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
3047 * paragraph.C (simpleTeXOnePar): when we have a \item with
3048 optional argument, enclose the argument with curly brackets (in
3049 case it contains a closing square bracket)
3053 * text3.C (checkInsetHit): constify
3055 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3057 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
3058 documents (bug 1629)
3060 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3062 Fix toggling of collapsable insets with the mouse (bug 1558)
3064 * lyxfunc.C (dispatch): adapt to LCursor changes
3066 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
3067 make sure that dispatch is not invoked twice
3069 * cursor.C (needsUpdate): new method
3070 (dispatch): return void
3071 (result): new method, to access the DispatchResult of the cursor.
3073 2004-08-13 José Matos <jamatos@lyx.org>
3075 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
3077 2004-08-13 André Pönitz <poenitz@gmx.net>
3079 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
3081 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
3084 2004-08-12 André Pönitz <poenitz@gmx.net>
3086 * text3.C: take out the 'cursor right' form insertInset and only
3087 do it in those places when it is really needed. Fixes crash on
3090 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3092 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
3094 * BufferView_pimpl.C (setBuffer): initialize the current font of
3095 the underlying LyXText
3097 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3099 * kbsequence.C (print): use UI native formatting for menu
3102 * text.C (insertChar): call Paragraph::insertChar with a font
3105 * paragraph.C (insertInset, insertChar): the version that takes a
3106 LyXFont argument is now a wrapper around the other one (the
3107 opposite used to be true).
3109 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
3110 argument. Font setting is done in Paragraph now.
3112 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3114 * outputparams.h: add new members intitle and lang.
3116 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
3117 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
3119 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3121 * text3.C (dispatch): remove special handling of button 4 and 5,
3122 it is now taken care of in the frontend code.
3124 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3126 * Spacing.h: add <string> (STLPort compile fix)
3128 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3130 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
3132 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3134 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
3137 * converter.C (showMessage): inherit from unary_function, make
3140 * buffer.C (writeFile): initialize retval
3142 * InsetList.h: rename private variable list to list_
3143 * InsetList.[Ch]: adjust accordingly.
3145 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3147 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
3148 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
3149 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
3150 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
3151 * ParagraphParameters.C, LaTeXFeatures.C: replace
3152 "support/std_sstream.h" with <sstream>
3154 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3156 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
3157 * lyxsocket.C (LyXServerSocket): ditto
3158 (serverCallback): ditto
3160 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3162 * LaTeXFeatures.C: check release date when loading jurabib.
3164 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3166 * lyxserver.C (startPipe): call register_socket_callback
3167 (endPipe): call unregister_socket_callback
3169 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3171 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3172 (LyXServerSocket): register the callback
3173 (LyXServerSocket): unregister the callback
3174 (fd): delete function
3175 (serverCallback): improve error checking and setup the callbacks.
3176 (dataCallback): change arg to fd.
3177 (writeln): new func (copied fro the client socket) used for server
3179 (LyXDataSocket): simplify
3180 (~LyXDataSocket): close ann unregiser callback
3181 (server): delete function
3182 (fd): delete function
3183 (readln): small changes, improve some std::string usage
3184 (writeln): constify a bit
3186 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3188 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3191 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3193 * BufferView_pimpl.C (setBuffer): set the layout combox value only
3194 after it has been populated
3196 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3198 * text2.C (insertInset): move cursor when inserting inset.
3200 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3202 * kbmap.C (findbindings): a couple of new methods. returns a
3203 container of kb_sequence objects. The real work is done by the
3204 private recursive version
3205 (printbindings): uses findbindings to print out a bracketed list
3206 of bindings (renamed from findbinding).
3208 * MenuBackend.C (binding): use kb_keymap::findbindings
3210 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3212 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3214 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3216 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3218 * paragraph.C (isWord): return true on insets that report
3221 * text.C (getWord): use Paragraph::isWord to decide what is in a
3222 word and what is not; fix bug 1609.
3224 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3226 * tex-strings.C: add "none" to string_paperpackages[], fixes
3227 off-by-one-error in the paperpackage selection.
3230 * tex-strings.[Ch]: char const * string[n]
3231 -> char const * const string[]
3233 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3235 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3236 command, return early.
3238 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3240 * debug.h: add DEBUG to enum and fix size of ANY.
3242 * debug.C: add support for Debug::DEBUG
3243 (showTags): cast errorTags.level to unsigned int
3245 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3246 (redoCurrentBuffer): ditto
3247 (updateScrollbar): ditto
3248 * cursor.C (dispatch): ditto
3249 * text2.C (setLayout): ditto
3251 (updateCounters): ditto
3253 (deleteEmptyParagraphMechanism): ditto
3255 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3257 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3258 annotations to cleanup the Makefile slightly.
3260 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3262 * lyxrc.C: do not set user_email to a default value but use empty
3263 instead. The entry used to be translated, which does not work
3264 since at the point where lyxrc is constructed there is no
3265 translation service available
3267 * messages.C (getLocaleDir): remove and use directly
3268 lyx_localedir() instead
3270 2004-06-02 Angus Leeming <leeming@lyx.org>
3272 Fix crash caused by dereferencing null pointer 'exportdata' in
3273 OutputParams by creating a new ExportData variable on the heap,
3274 storing it in a boost::shared_ptr.
3275 The crash was triggered when generating an Instant Preview
3276 of an external inset.
3278 * Makefile.am: add outputparams.C
3280 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3281 (c-tor): allocate memory to it.
3283 * exporter.C (c-tor): associated changes.
3285 2004-06-01 Angus Leeming <leeming@lyx.org>
3287 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3288 contains data before calling isInset(0). (Bug 1513.)
3290 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3292 * exporter.C (checkOverwrite): new method
3293 * exporter.C (copyFile): new method
3294 * exporter.C (Export): copy referenced files to the document dir
3295 * exporter.[Ch]: new class ExportedFile
3296 * exporter.[Ch]: new class ExportData. Contains currently the
3297 names of referenced external files
3298 * outputparams.h: add exportdata member.
3300 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3302 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3305 2004-05-19 Angus Leeming <leeming@lyx.org>
3310 * lyxfunc.C: small changes due to the introduction of namespace
3311 lyx::frontend and the moving of namespace biblio to lyx::biblio.
3313 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
3315 * text3.C (dispatch): supress update when only moving the cursor
3316 * cursor.C (selHandle): remove commented code
3318 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3320 * paragraph.C (startTeXParParams): correct column count
3321 * CutAndPaste.C (pasteSelection): remove const_cast
3322 * output_docbook.C (docbookParagraphs): remove const_cast
3323 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3324 const_cast and return ParagraphList::const_iterator
3325 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3326 * output_plaintext.C (writeFileAscii): remove const_cast
3327 * paragraph.[Ch] (simpleTeXOnePar): make const
3328 * paragraph_funcs.C (outerPar): use const iterators
3329 * paragraph_pimpl.C (validate): use const iterators
3330 * text.C (setHeightOfRow): use const iterators
3332 2004-05-17 Angus Leeming <leeming@lyx.org>
3335 * LyXAction.C (init): new LFUN_INSET_REFRESH.
3337 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3338 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3339 if the citation engine has changed.
3341 2004-05-14 José Matos <jamatos@lyx.org>
3343 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3344 if the textclass does not provide it. Have it different for sgml and
3346 support the language of document.
3347 * output_docbook.C (docbookParagraphs):
3348 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3349 first anchor as the id of the paragraph, remove special case code.
3350 * sgml.C (escapeChar): escape only < & >.
3352 2004-05-14 Angus Leeming <leeming@lyx.org>
3354 * bufferparams.h: move biblio::CiteEngine enum here to minimize
3355 dependencies on src/frontends/controllers/biblio.h. Define a
3356 CiteEngine_enum wrapper class to enable the enum to be forward
3359 2004-05-12 Angus Leeming <leeming@lyx.org>
3361 * buffer.C: up LYX_FORMAT to 234.
3362 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3363 use_numerical_citations with a single biblio::CiteEngine cite_engine
3365 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3367 2004-05-13 José Matos <jamatos@lyx.org>
3370 * converter.C (Converter, readFlags): add xml member.
3371 * outputparams.h: add XML flavor.
3372 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3374 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3376 * lyxfunc.C (dispatch):
3377 (getStatus): fix handling of LFUN_SEQUENCE
3379 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3381 * debug.C (showLevel): do not forget the end-of-line marker
3383 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3385 * kbmap.C (read): do not stop parsing a bind file when an error
3388 2004-04-29 Angus Leeming <leeming@lyx.org>
3393 * text2.C: wrap a bunch of #warning statements
3394 inside #ifdef WITH_WARNINGS blocks.
3396 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3398 * buffer.C: increment format to 233.
3400 2004-04-28 Angus Leeming <leeming@lyx.org>
3402 * BufferView_pimpl.C:
3405 s/updateToolbar()/updateToolbars()/
3406 s/Toolbar.h/Toolbars.h/
3408 2004-04-28 Angus Leeming <leeming@lyx.org>
3410 * BufferView.[Ch] (c-tor):
3411 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3412 No longer passes these data to the WorkArea generator.
3414 2004-04-28 Angus Leeming <leeming@lyx.org>
3416 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3418 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3420 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3422 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3424 * output_latex.C (TeXEnvironment): make sure that there is a line
3425 break before \end{foo} for the last paragraph of a document
3426 (TeXOnePar): if the paragraph is at the end of the document (or
3427 inset) and the language has to be reset, then make sure that the
3428 line break is _before_ the language command, not after (fixes bug
3429 1225); also make sure that the language reset command is the first
3430 thing after the paragraph (to ensure proper nesting of
3431 environments and thus fix bug 1404)
3433 2004-04-21 John Levon <levon@movementarian.org>
3436 * ToolbarBackend.C: make "name" be a programmatic name
3437 and a gui_name field.
3439 * lyxfunc.C: display the minibuffer on M-x
3441 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3443 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3446 2004-04-19 Angus Leeming <leeming@lyx.org>
3448 * BufferView_pimpl.C (setBuffer): changed preview interface.
3450 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3453 2004-04-19 John Levon <levon@movementarian.org>
3455 * BufferView_pimpl.C:
3456 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3458 2004-04-05 Angus Leeming <leeming@lyx.org>
3460 * text.C (redoParagraphs): add call to updateCounters(), thereby
3461 fixing the missing "Figure #:" label from the caption of a
3464 2004-04-13 Angus Leeming <leeming@lyx.org>
3466 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3467 cursor is clicked out of an inset.
3469 2004-04-13 Angus Leeming <leeming@lyx.org>
3471 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3472 than an InsetOld one.
3474 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3476 * format.[Ch]: add editor to Format
3477 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3478 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3480 2004-04-08 André Pönitz <poenitz@gmx.net>
3482 * metricsinfo.h: remove PainterInfo::width member
3484 2004-04-08 Angus Leeming <leeming@lyx.org>
3486 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3487 "\providecommand" rather than "\newcommand", thereby preventing
3488 clashes with packages that define "\boldsymbol" themselves.
3491 2004-04-08 Angus Leeming <leeming@lyx.org>
3493 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3494 thereby squashing an unnecessary warning.
3496 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3498 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3501 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3503 * BufferView.C (setCursor): call redoParagraph (some insets could
3505 (putSelectionAt): remove the 'double update' trick
3507 * BufferView_pimpl.C (fitCursor): call refreshPar
3508 (workAreaDispatch): remove an uneeded update call
3509 (dispatch): remove some manual update calls
3511 * cursor.[Ch]: remove cached_y_, updatePos
3512 (selHandle): set noUpdate when appropriate
3514 * lyxfunc.C (dispatch): track if we need an update
3516 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3518 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3519 (paintSelection): cheap optimization, do not call cursorX when not
3521 (paintPars): change signature
3524 (paintTextInset): adjust
3528 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3530 * lengthcommon.C: compilation fix: remove explicit array size from
3531 unit_name[] and friends
3533 2004-04-05 Angus Leeming <leeming@lyx.org>
3535 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3537 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3538 present only for the preferences dialog.
3539 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3541 2004-04-05 Angus Leeming <leeming@lyx.org>
3543 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3544 to enable the frontends to export changes to lyxrc correctly.
3546 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3548 2004-04-07 André Pönitz <poenitz@gmx.net>
3550 * cursor.[Ch] (selClear, adjust): remove math
3552 * cursor_slice.C: more agressive assert
3555 * BufferView_pimpl.C: rework mouse event dispatch
3562 2004-04-05 André Pönitz <poenitz@gmx.net>
3564 * cursor.[Ch] (valign, halign...): remove unneeded functions
3566 2004-04-05 Angus Leeming <leeming@lyx.org>
3568 * lyxlength.[Ch] (unit_name et al.): const-correct.
3570 2004-04-05 Angus Leeming <leeming@lyx.org>
3572 * BufferView_pimpl.C:
3581 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3583 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3585 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3587 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3589 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3590 * BufferView_pimpl.[Ch] (getStatus)
3591 * BufferView.[Ch] (getStatus): add
3592 * lyxfunc.C (getStatus): move lfuns handled in
3593 BufferView::dispatch to te function above
3594 * Cursor.C (setSelection): set selection() = true
3596 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3598 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3600 2004-03-31 Angus Leeming <leeming@lyx.org>
3602 * lyxfunc.C (dispatch): Fall through to the generic
3603 Dialogs::show("preamble").
3605 2004-03-31 Angus Leeming <leeming@lyx.org>
3607 * lyxfunc.C (dispatch): Fall through to the generic
3608 Dialogs::show("spellchecker").
3610 2004-03-31 Angus Leeming <leeming@lyx.org>
3612 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3615 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3620 * insetiterator.[Ch]:
3625 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3627 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3629 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3630 insets where we are putting the cursor.
3632 2004-03-31 Angus Leeming <leeming@lyx.org>
3635 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3637 * lyxrc.[Ch] (read, write): overloaded member functions taking
3638 a std::[io]stream arguments.
3640 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3642 2004-03-31 Angus Leeming <leeming@lyx.org>
3644 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3645 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3647 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3648 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3650 2004-03-31 Angus Leeming <leeming@lyx.org>
3652 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3653 the LFUN_ALL_INSETS_TOGGLE code.
3655 2004-03-30 Angus Leeming <leeming@lyx.org>
3657 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3658 has died. Fall through to the generic Dialogs::show("document").
3660 2004-03-30 Angus Leeming <leeming@lyx.org>
3663 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3664 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3666 * lyxfunc.C (getStatus, dispatch): define the actions for these
3667 lfuns. Little more than a cut and pste job from ControlDocument.C
3669 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3671 2004-03-30 Angus Leeming <leeming@lyx.org>
3674 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3675 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3677 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3678 open/closed state of ollapsable insets. Usage:
3680 all-inset-toggle <state> <name>, where
3681 <state> == "open" || "closed" || "toggle" and
3682 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3684 * lyxtext.h, text2.C (toggleInset): removed.
3686 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3687 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3688 now passes LFUN_INSET_TOGGLE to the found inset.
3690 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3691 is now invoked as "all-insets-toggle toggle branch".
3693 2004-03-30 Angus Leeming <leeming@lyx.org>
3697 * pariterator.[Ch]: added/corrected header blurb.
3699 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3701 * dociterator.[Ch]: add an inset_ member
3702 (backwardPos): implemented
3703 (backwardPos, forwardPos): use inset_ when the stack is empty.
3704 (doc_iterator_begin, doc_iterator_end): implemented
3705 * pariterator.[Ch]: adjust, add begin, end
3706 * insetiterator.[Ch]: adjust, add begin, end
3710 * BufferView_pimpl.C:
3711 * CutAndPaste.C: adjust
3713 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3715 * buffer.C: increment file format to 232.
3716 * LaTeXFeatures.C: add bibtopic package.
3717 * bufferparams.[Ch]: param \use_bibtopic.
3719 * lyxrc.[Ch]: add lyxrc bibtex_command
3720 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3722 * buffer.C: increment file format to 231.
3724 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3726 * dociterator.C: implement forwardPar
3727 * iterators.[Ch]: remove, replaced by
3728 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3730 * BufferView_pimpl.C:
3733 * bufferview_funcs.C:
3739 * Makefile.am: adjust
3741 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3743 * CutAndPaste.C (pasteSelection): fix 2 crashes
3744 (eraseSelection): fix a crash
3745 * paragraph_funcs.C: remove a warning
3747 2004-03-28 Angus Leeming <leeming@lyx.org>
3750 * LyXAction.C (init): new LFUN_PRINT.
3752 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3754 2004-03-27 Angus Leeming <leeming@lyx.org>
3757 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3759 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3761 2004-03-27 Angus Leeming <leeming@lyx.org>
3763 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3764 insetlist always contains non-null pointers to insets.
3766 2004-03-26 Angus Leeming <leeming@lyx.org>
3768 * src/BufferView_pimpl.C:
3769 * src/CutAndPaste.C:
3772 * src/output_plaintext.C:
3773 * src/outputparams.h:
3774 * src/paragraph_funcs.C:
3778 * src/frontends/controllers/ControlErrorList.C:
3779 * src/frontends/gtk/FileDialogPrivate.C:
3780 * src/frontends/gtk/GPainter.C:
3781 * src/frontends/gtk/GToolbar.C:
3782 * src/frontends/qt2/QRef.C:
3783 * src/mathed/math_scriptinset.C: squash compiler warnings.
3785 2004-03-26 Angus Leeming <leeming@lyx.org>
3787 * ispell.C (LaunchIspell::start):
3788 * lyx_cb.C (AutoSaveBuffer::start):
3789 invoke run(DontWait) rather than runNonBlocking().
3791 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3793 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3795 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3797 * kbsequence.C (print): adjust
3799 * kbmap.C (printKeySym): rename and change signature
3800 (printKey): use LyXKeySym::print()
3802 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3804 * undo.C: add using std::advance to compile for stlport
3806 2004-03-24 Angus Leeming <leeming@lyx.org>
3808 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3809 it leads to a crash when no buffer is present.
3811 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3812 Martin Vermeer <martin.vermeer@hut.fi>
3814 * lyxfunc.C (dispatch):
3815 * bufferparams.C (readToken): use the new LColor::setColor
3817 * LColor.[Ch] (setColor): new version that takes two strings as
3818 argument and creates a new color entry if necessary
3820 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3822 * buffer.C (makeLaTeXFile): if the main latex file that is
3823 processed is usually a subdocument of some master, then pretend
3824 for a while that it is actually the master
3826 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3828 * buffer.C (getLabelList):
3829 (getBibkeyList): use getMasterBuffer()
3830 (getMasterBuffer): new method. Returns the main document in the
3831 case where one is using included documents.
3833 2004-03-25 André Pönitz <poenitz@gmx.net>
3837 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3839 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3841 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3842 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3844 * ParameterStruct.h: merge with ParagraphParameters
3846 * lyxtext.h: remove LyXText::parOffset() and getPar()
3848 * text3.C: Remove all 'manual' update calls. We do now one per user
3849 interaction which is completely sufficient.
3853 * BufferView_pimpl.C:
3854 * FontIterator.[Ch]:
3856 * ParagraphParameters.[Ch]:
3861 * cursor_slice.[Ch]:
3868 * output_docbook.[Ch]:
3869 * output_latex.[Ch]:
3870 * output_linuxdoc.[Ch]:
3871 * output_plaintext.[Ch]:
3873 * paragraph_funcs.[Ch]:
3874 * paragraph_pimpl.[Ch]:
3882 * frontends/controllers/ControlDocument.C:
3883 * frontends/controllers/ControlErrorList.C:
3884 * frontends/controllers/ControlSpellchecker.C:
3887 * insets/insetbase.h:
3888 * insets/insetbibitem.C:
3889 * insets/insetbox.C:
3890 * insets/insetbranch.C:
3891 * insets/insetcaption.C:
3892 * insets/insetcharstyle.C:
3893 * insets/insetcharstyle.h:
3894 * insets/insetcollapsable.C:
3895 * insets/insetcollapsable.h:
3896 * insets/insetert.C:
3897 * insets/insetfloat.C:
3898 * insets/insetfoot.C:
3899 * insets/insetmarginal.C:
3900 * insets/insetnote.C:
3901 * insets/insetoptarg.C:
3902 * insets/insettabular.C:
3903 * insets/insettext.C:
3904 * insets/insettext.h:
3905 * insets/insetwrap.C:
3906 * mathed/math_mboxinset.C:
3907 * mathed/math_nestinset.C:
3908 * mathed/math_scriptinset.C:
3909 * mathed/math_scriptinset.h:
3912 2004-03-24 Angus Leeming <leeming@lyx.org>
3914 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3915 deal with any child processes that have finished but are waiting to
3916 communicate this fact to the rest of LyX.
3918 2004-03-24 Angus Leeming <leeming@lyx.org>
3920 64-bit compile fixes.
3922 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3923 (c-tor): pass lyx::pos_types rather than ints.
3925 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3928 * text.C (Delete): compile fix.
3929 (getPar): ensure that function declaration is the same as that in
3932 2004-03-23 Angus Leeming <leeming@lyx.org>
3934 * ispell.C (LaunchIspell):
3935 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3936 a boost::shred_ptr rather than a std::auto_ptr.
3938 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3940 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3941 handle LFUN_FILE_INSERT_*
3943 * lyxrc.C (setDefaults, getDescription, output, read):
3944 * lyxrc.h: remove ps_command
3946 2004-03-22 Angus Leeming <leeming@lyx.org>
3948 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3949 Ensure that error_handler is processed once only and that all data
3950 is saved before attempting to output any warning messages.
3952 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3954 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3956 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3958 2004-03-19 André Pönitz <poenitz@gmx.net>
3960 * cursor.[Ch] (reset): take main text inset as argument
3962 * BufferView: adjust
3963 * BufferView_pimpl.C: adjust
3965 * paragraph.[Ch]: fix completely broken operator=()
3967 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3969 * LColor.C (getFromLyXName): make sure that the color name is used
3972 2004-03-17 Angus Leeming <leeming@lyx.org>
3975 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3977 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3978 dialog and to kill a forked process.
3980 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3982 * text2.C (setCursorFromCoordinates): fix font problem
3984 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3986 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3987 bogus "rebuild cursor" code
3989 2004-03-11 André Pönitz <poenitz@gmx.net>
3991 * buffer.[Ch]: use InsetText instead of LyXText as container for
3994 * dociterator.[Ch]: drop the BufferView * member which is not needed
3995 anymore after the change to buffer.C
3997 * paragraph_funcs.C:
4001 * BufferView_pimpl.[Ch]:
4003 * cursor_slice.[Ch]: adjust
4005 * text3.C: fix bug in mathDispatch
4007 2004-03-08 André Pönitz <poenitz@gmx.net>
4009 * undo.[Ch]: use 'StableDocumentIterator' as base for
4012 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4015 * bufferparams.[Ch]: add jurabib support and param.
4017 * LaTeX.C: add FIXME/comment.
4019 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4021 * buffer.C: increment file format to 230.
4023 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
4025 * cursor.C (dispatch): avoid infinite loops
4027 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4029 * rowpainter.C (paintSelection): fix x coordinates
4031 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4033 * text.C (rowBreakPoint): fix breaking before displayed insets
4035 2004-03-01 André Pönitz <poenitz@gmx.net>
4037 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
4039 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
4043 * BufferView_pimpl.C:
4051 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4057 * BufferView_pimpl.C: rename textwidth -> maxwidth,
4058 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
4060 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4062 * Bidi.[Ch] (computeTables): const correctness
4063 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
4064 fill_hfill, fill_label_hfill and x from Row
4065 * lyxtext.h: prepareToPrint returns a RowMetrics
4066 * rowPainter.C: adjust
4067 * text.C (prepareToPrint): use width, not textWidth. adjust
4068 (redoParagraphInternal, cursorX): adjust
4069 * text2.C (getColumnNearX): adjust
4070 (init): put a default value to the top LyXText::width
4072 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4074 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
4076 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4078 * lyxtext.h: add FontIterator class
4080 * text.C (FontIterator, operator*, operator->, operator++): add
4081 (rowBreakPoint, setRowWidth): adjust (fixing a
4084 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4086 * BufferView_pimpl.C (workAreaDispatch): allow also
4087 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
4089 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
4091 * text.C (rowBreakPoint): fix a bug showing with very large insets
4093 2004-02-25 André Pönitz <poenitz@gmx.net>
4096 * cursor.[Ch]: move some mathed specific code to mathed
4098 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4100 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
4101 use_tempdir in preferences
4102 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
4104 * lyx_main.C: ensure that tempdir is valid
4105 * lyxlex.h: correct typo
4106 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
4107 * paragraph.[Ch] (isMultiLingual): make const
4108 * cursor.[Ch] (openable): make const
4110 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4112 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
4114 2004-02-20 André Pönitz <poenitz@gmx.net>
4116 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
4118 * cursor.[Ch]: prepare for localized getStatus()
4124 * text3.C: streamlines the LyXText cursor movement handlers a bit.
4126 2004-02-20 André Pönitz <poenitz@gmx.net>
4128 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
4130 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
4132 * text2.C (setCursorFromCoordinates): switch to absolute coords
4134 (cursorDown): adjust
4135 * text3.C (dispatch): adjust
4137 2004-02-16 André Pönitz <poenitz@gmx.net>
4139 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
4142 * cursor_slice.[Ch]: remove unneeded acessor function
4144 * lyxtext.h: rename rtl() to isRTL()
4152 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
4154 * rowpainter.C (paintSelection): coord fix
4156 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4158 * Spacing.C: compile fix
4160 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
4162 * cursor.C (dispatch): restore current_ before returning
4164 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
4166 * text2.C (cursorUp, cursorDown): fix coords
4169 2004-02-12 André Pönitz <poenitz@gmx.net>
4174 * text3.C: add LCursor & parameter to most cursor movement functions
4175 remove usage of LyXText::cursorRow() and cursorPar()
4177 * cursor.[Ch]: add textRow() needed members
4180 * BufferView_pimpl.C:
4183 * BufferView_pimpl.C: adjust
4185 2004-02-11 André Pönitz <poenitz@gmx.net>
4189 * BufferView_pimpl.C: shift undo/redo handling
4191 * cursor.[Ch]: fix mathed crash
4194 * lyxtext.h: move selectionAsText to LCursor
4202 * rowpainter.C: fix excessive drawing
4204 2004-02-06 André Pönitz <poenitz@gmx.net>
4207 * BufferView_pimpl.[Ch]:
4208 * text3.C: move some text specific LFUN handling
4210 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
4212 * text3.C (checkInsetHit): adjust coords
4213 * text2.C (getColumnNearX): adjust coords
4214 (edit): adjust coords
4215 * text.C (getRowNearY): add two asserts
4217 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
4220 * format.C: add using std::distance to compile on gcc 2.95/stlport
4222 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
4224 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4226 2004-02-04 André Pönitz <poenitz@gmx.net>
4228 * BufferView.[Ch] (insertInset):
4229 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4234 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4236 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4237 on the default clause of the switch
4238 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4239 wasn't catched by LCursor::dispatch
4241 2004-02-03 André Pönitz <poenitz@gmx.net>
4244 * cursor.[Ch]: some additional asserts
4246 * undo.[Ch]: remove LyXText dependency in interface
4250 * lyxtext.h (firstPar, lastPar): remove dead functions
4255 * paragraph.[Ch]: adjust
4257 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4259 * lyxfind.C (find): fix argument order in call to ::find
4261 2004-02-02 André Pönitz <poenitz@gmx.net>
4263 * cursor.[Ch]: remove direct access to anchor
4265 * text.C: remove findText() hack
4267 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4269 * iterators.[Ch] (lockPath): remove in favour of...
4270 * BufferView.[Ch] (setCursor): this addition
4271 * BufferView.C (putSelectionAt): adjust
4272 * undo.C (performUndoOrRedo): adjust
4273 * lyxfunc.C (dispatch): adjust
4275 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4277 * iterators.C (lockPath): add a missing slice
4278 * undo.C (performUndoOrRedo): remove redundant positioning code
4280 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4282 * vc-backend.C (scanMaster): ";" -> ';'
4284 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4286 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4287 std::binary_function
4289 * lyxtextclass.C (compare_name): rename to...
4290 (LayoutNamesEqual): ...this
4292 * lyxlex_pimpl.C (compare_tags): inherit from
4293 std::binary_function, put back into anon namespace
4295 * lyxfind.C (MatchString): inherig from std::binary_function
4296 (findChange): use empty() istead of !size()
4298 * format.C (FormatNamesEqual): new functor
4305 * converter.C (compare_Converter): rename to...
4306 (ConverterEqual): ...this, and fixup a bit.
4307 (getConverter): use it, and make function const
4308 (getNumber): use it, and make function const
4312 * bufferlist.C: add using boost::bind
4314 * MenuBackend.C (MenuNamesEqual): new functor
4315 (hasMenu): use it, and make function const
4316 (hasSubmenu): use nested bind to get rid of compare_memfun.
4318 2004-01-30 André Pönitz <poenitz@gmx.net>
4320 * BufferView_pimpl.C:
4323 * cursor_slice.[Ch]:
4326 * paragraph_funcs.C:
4327 * paragraph_funcs.h:
4331 * text3.C: move some of the edit(x,y) handling to the insets
4332 some coordinate changes.
4334 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4336 * text.C: add using statements for std::advance and std::distance
4338 * paragraph.C: add using statement for std::distance
4340 * lyxfind.C: add using statement for std::advance
4342 * cursor.C (region): remove std:: from swap
4343 (openable): use nucleus in stead of operator->
4345 * BufferView.C: add using statements for std::distance and std::swap
4347 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4349 * iterators.C: Remove the pimple, move the needed structures to
4350 the header file. Create accessor for the positions stack.
4351 (asPosIterator): remove function
4353 * PosIterator.C (PosIterator): move constructors to top of file
4354 (PosIterator): reimplement the constructor taking a ParIterator in
4356 (setFrom): new function
4357 (operator!=): inline it
4359 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4361 * lyxfind.C (replaceAll): use std::advance
4363 * iterators.h: inherit from std::iterator.
4365 * PosIterator.C (advance, distance): remove
4366 * PosIterator.h: interit from std::iterator.
4368 2004-01-26 André Pönitz <poenitz@gmx.net>
4371 * BufferView_pimpl.[Ch]:
4375 * bufferview_funcs.C:
4385 * output_linuxdoc.C:
4386 * output_plaintext.C:
4388 * paragraph_funcs.[Ch]:
4389 * paragraph_pimpl.[Ch]:
4395 * text3.C: more IU: dumps most of the rest of the mathcursor
4396 implementation into cursor.[Ch]; "globalize" a bit of it.
4398 2004-01-25 Angus Leeming <leeming@lyx.org>
4400 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4402 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4404 * LaTeXFeatures.h: add nice_ and nice() const
4405 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4407 2004-01-20 André Pönitz <poenitz@gmx.net>
4410 * BufferView_pimpl.C:
4412 * bufferview_funcs.C:
4414 * cursor_slice.[Ch]:
4425 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4426 LCursor and mathcursor parts to LCursor and InsetBase.
4428 2004-01-15 André Pönitz <poenitz@gmx.net>
4430 * cursor_slice.[Ch]: add a few covienience functions
4432 * funcrequest.[Ch]: remove BufferView * member
4434 * BufferView_pimpl.C:
4441 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4443 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4445 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4446 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4448 2004-01-13 André Pönitz <poenitz@gmx.net>
4451 * lyxtext.h: hide cursor and selection anchor behind accessor function
4454 * BufferView_pimpl.[Ch]:
4456 * bufferview_funcs.C:
4466 * cursor_slice.[Ch]: some integer type changes for inset unification
4468 * lyxcursor.[hC]: remove, it's CursorSlice now.
4471 * BufferView_pimpl.[Ch]:
4472 * bufferview_funcs.C:
4478 * textcursor.[Ch]: adjust
4480 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4482 * text2.C (undoSpan): add and use
4483 * text.C (breakParagraph): use undoSpan (fix bug 578)
4486 2004-01-08 Angus Leeming <leeming@lyx.org>
4488 * BufferView_pimpl.C (MenuInsertLyXFile):
4489 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4490 * lyxfunc.C (menuNew, open, doImport):
4491 FileFilterList change to the FileDialog open and save functions.
4493 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4495 * ShareContainer.h: make isEqual and isUnique adaptable
4497 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4499 2004-01-07 Angus Leeming <leeming@lyx.org>
4502 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4504 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4506 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4507 functions replacing find, replace and replaceAll.
4509 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4510 LFUN_WORDFIND(FORWARD|BACKWARD).
4512 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4514 * text.C (breakParagraph): remove an outdated #warning
4516 2004-01-07 André Pönitz <poenitz@gmx.net>
4518 * lyxfind.C: somewhat clearer logic
4520 * text.C: prevent crash in cursorX on unitialized row cache
4522 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4524 * lyxcursor.[Ch] (operator>): add
4525 * textcursor.C (selStart, selEnd): use std::min and std::max
4527 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4529 * Chktex.C: include boost/format.hpp
4531 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4533 * InsetList.C: replace functor MathcIt with adaptable functor
4535 (insetIterator): modify accordingly
4537 * BranchList.h: move the BranchNamesEqual functor here from...
4538 * BranchList.C: ... to here
4540 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4542 (add): replace a finding loop with std::find_if.
4544 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4546 * output_docbook.C: moving LatexParam functionality into
4549 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4551 * buffer.C: increment format to 229.
4553 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4556 * lyx_sty.[Ch]: remove minipageindent_def
4562 * text3.C: remove LFUN_INSET_MINIPAGE
4564 2003-12-28 Angus Leeming <leeming@lyx.org>
4566 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4568 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4570 * text2.C (setParagraph): fix off-by-one crash
4572 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4574 * output_docbook.C: header stuff for AGU
4576 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4578 * text2.C (redoCursor): remove
4581 * BufferView_pimpl.C: remove calls to redoCursor and
4582 setCursor(cursor.par(), cursor.pos()) all around
4584 2003-12-15 Angus Leeming <leeming@lyx.org>
4586 * buffer.C: up the format to 228.
4588 2003-12-15 André Pönitz <poenitz@gmx.net>
4590 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4595 * BufferView_pimpl.C:
4604 2003-12-15 Angus Leeming <leeming@lyx.org>
4606 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4607 than getFromGUIName to manipulate the color.
4609 2003-12-14 Angus Leeming <leeming@lyx.org>
4611 * BranchList.[Ch]: minimize the API.
4612 (Branch::getBranch, getColor): now return a 'const &'.
4613 (Branch::setSelected) now returns a bool set to true if the
4614 selection status changes.
4615 (BranchList::clear, size, getColor, setColor, setSelected,
4616 allBranches, allSelected, separator): removed.
4617 (BranchList::find): new functions, returning the Branch with
4619 (BranchList::add, remove): return a bool indicating that
4620 the operation was successful.
4622 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4623 new InsetBranch::isBranchSlected member function.
4625 * LColor.[Ch]: mimimize the API.
4626 (fill): renamed as addColor and made private.
4627 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4628 versions of these functions taking a string arg have been removed.
4630 * bufferparams.C (readToken):
4631 * lyxfunc.C (dispatch):
4632 * lyxrc.C (read): changes due to the altered BranchList and
4635 * factory.C (createInset, readInset): changes due to altered
4638 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4641 * lyxfunc.C: remove insetminipage. "minipage-insert"
4642 now produces a frameless minipage box inset.
4644 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4646 * textcursor.[Ch] (selStart,selEnd): add new methods
4647 remove selection::start, end, use LyXCursor::operator<
4648 * lyxcursor.[Ch] (operator<): add
4649 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4650 * BufferView.[Ch] (unsetXSel): add
4651 * text2.C (clearSelection): use unsetXSel,adjust
4654 * rowpainter.C: adjust
4655 * bufferview_funcs.C (put_selection_at): adjust
4657 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4659 * BufferView_pimpl.C: small coord. correction
4661 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4663 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4664 dragging over the splash screen.
4666 2003-12-11 Angus Leeming <leeming@lyx.org>
4668 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4669 as it is now handled in LyXText::dispatch.
4671 * text3.C (doInsertInset): remove a level of nesting.
4673 2003-12-11 Angus Leeming <leeming@lyx.org>
4675 * factory.C (createInset): changes due to the changed interface to
4676 InsetCommandMailer::string2params.
4678 2003-12-10 Angus Leeming <leeming@lyx.org>
4680 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4681 'dialog-show-new-inset <inset name>'
4683 2003-12-10 Angus Leeming <leeming@lyx.org>
4685 * buffer.C: up the format to 227.
4687 * factory.C: the box inset is now identified simply by 'Box'.
4689 2003-12-10 Angus Leeming <leeming@lyx.org>
4691 * buffer.C: up the format to 226.
4693 * factory.C: the note inset is now identified simply by 'Note'.
4695 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4697 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4698 when a pit is enough. Standarize a couple of loops.
4700 2003-12-05 Angus Leeming <leeming@lyx.org>
4702 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4703 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4704 data to the re-worked "log" dialog.
4706 2003-12-03 André Pönitz <poenitz@gmx.net>
4712 * paragraph_funcs.C:
4714 * text2.C: use Inset::getText instead of Inset::getParagraph
4716 2003-12-03 André Pönitz <poenitz@gmx.net>
4720 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4721 InsetText::read() as LyXText::read()
4723 2003-12-02 Angus Leeming <leeming@lyx.org>
4725 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4726 type. Add a comment in the implementation that the function uses
4727 the stream's bad() function rather than fail() as the std::streams
4730 2003-12-02 André Pönitz <poenitz@gmx.net>
4732 * lyxlex.[Ch]: make interface more similar to std::stream
4734 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4736 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4738 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4740 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4742 * vspace.[Ch]: remove VSpace::NONE
4744 2003-12-01 André Pönitz <poenitz@gmx.net>
4747 * lyxtext.h: move ParagraphList member to LyXText
4748 rename LyXText::ownerParagraphs to LyXText::paragraph
4751 * bufferview_funcs.C:
4761 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4763 * undo.C: fix cursor positioning
4765 2003-12-01 John Levon <levon@movementarian.org>
4767 * BufferView_pimpl.C: fix a crash on exit with
4770 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4772 * BranchList.C: fix setSelected() method.
4774 2003-11-28 André Pönitz <poenitz@gmx.net>
4776 * ParagraphParameters.[Ch]:
4777 * ParameterStruct.h: remove space above/below from Paragraph to
4780 * BufferView_pimpl.C:
4786 * paragraph_funcs.C:
4792 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4794 * factory.C: Syntax change for CharStyles
4796 2003-11-28 André Pönitz <poenitz@gmx.net>
4801 * buffer.[Ch]: move LyXText member
4803 2003-11-28 André Pönitz <poenitz@gmx.net>
4805 * BufferView.[Ch]: make LyXText * text a private member
4807 * BufferView_pimpl.C:
4818 * output_plaintext.C: cleanup
4820 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4823 * lyxtextclass.[Ch]: parametrize SGML document header
4825 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4828 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4831 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4833 * text2.C (setFont): rework using PosIterator (no more recursive)
4834 (setCharFont): no more needed
4835 (setLayout): no more selection cursors fiddling (done by redoCursor)
4836 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4837 destroy remaining ones)
4839 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4841 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4843 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4846 * text3.C: adjust + re-allow multi par depth changes
4847 * textcursor.C: simplify a bit
4849 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4855 * src/output_docbook.C:
4856 * src/output_latex.C:
4861 * src/text2.C: Introducing a number of tags parametrizing various
4862 XML formats that we may want to support
4864 2003-11-25 André Pönitz <poenitz@gmx.net>
4866 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4868 * lyxtext.h (leftMargin/rightMargin): simplify interface
4875 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4877 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4878 master file to any child files. Fixes bug 546.
4880 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4882 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4884 2003-11-24 André Pönitz <poenitz@gmx.net>
4886 * rowpainter.C: simplification
4888 * text2.C (updateCounters): remove call to redoParagraph on
4889 changed labels as this is far too expensive.
4891 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4893 * converter.C (convert): fix a crash: this function gets
4894 called with buffer == 0 from importer code.
4896 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4898 * text3.C (cursorPrevious): make sure that we do not compare
4899 iterators form different containers.
4902 * rowpainter.C (paintSelection): make sure that we do not compare
4903 iterators from different containers.
4905 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4906 iterators from different ParagraphList containers.
4909 * text2.C (LyXText): change order of initialization slightly
4910 (operator=): new function. copy all variables except cache_par_
4911 (moveUp): make sure that we do not compare iterators from
4912 different ParagraphList constainers.
4915 * text.C (firstPar): new function
4916 (lastPar): new function
4917 (endPar): new function
4919 * lyxtext.h: move things around and group public functions, public
4920 variables, private functions, private variables
4922 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4924 * factory.C: change call to InsetERT constructor to avoid
4925 additional invocation of method status
4926 * text2.C (toggleInset): remove redundant update() call
4927 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4928 instead of a Bufferview pointer
4930 2003-11-21 André Pönitz <poenitz@gmx.net>
4932 * rowpainter.C: simplification
4934 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4936 * text3.C (dispatch): make possible to extend a word/row selection
4939 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4941 * lyxtext.h: x0_,y0_ -> xo_,yo_
4942 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4943 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4944 * rowpainter.C (paintRows): paint full paragraphs
4946 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4948 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4951 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4953 * lyxtext.h: add x0_, y0_
4954 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4955 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4957 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4959 * text2.C (setCursorIntern): move the x_target update here *
4960 * text3.C: change some bv() to true/false in calls to
4961 cursorUp/Down/Right/Left
4962 * cursor.C: use helper function.
4964 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4966 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4967 * paragraph_funcs.[Ch]: correct comment
4968 * rowpainter.C: do not paint selections away from bv->cursor()
4969 Fix a long standing selection painting bug.
4970 * text3.C: generalize mouse-selection code to LyXTexts other that
4972 * textcursor.C: do not use y coords if we can use par offsets
4974 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4976 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4977 cursor position after e.g. inset insert)
4979 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4981 * lyxfind.C (replace): adjust to locking removal + some
4984 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4986 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4989 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4992 * output_docbook.C: XML sanitation: new layout
4993 parameters InnerTag and CommandDepth
4995 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4997 * BufferView_pimpl.C:
4999 * text3.C: Fix the insertion and modification of button-style
5002 2003-11-13 André Pönitz <poenitz@gmx.net>
5004 * InsetList.[Ch]: remove deleteLyXText
5006 * paragraph.[Ch]: cache beginOfBody position
5011 * text3.C: remove superfluous update() calls
5015 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
5017 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
5018 * BufferView.C (fitLockedInsetCursor): remove
5019 * cursor.[Ch] (getDim): add
5020 * text.C (getRowNearY): add faster version
5021 * text3.C: remove some update calls
5023 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
5035 * text3.C: The Character Style /XML short element patch.
5037 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
5040 * factory.C: Small step to solving 'unable to insert some insets'
5043 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
5045 * cursor.[Ch] (updatePos): new function for updating the y
5046 position of the tip inset
5047 * bufferview_funcs.C (put_selection_at):
5048 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
5050 2003-11-11 André Pönitz <poenitz@gmx.net>
5052 * text.C: remove big comment on invalid Paragraph pointers as it is
5055 2003-11-11 André Pönitz <poenitz@gmx.net>
5057 * text_funcs.[Ch]: merge with ...
5065 * Makefile.am: remove text_funcs.[Ch]
5067 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
5069 * cursor.C (getPos): return absolute cached y coord
5071 * BufferView_pimpl.C (fitCursor): new simplistic code
5072 (workAreaDispatch): add a fitCursor call
5074 2003-11-10 André Pönitz <poenitz@gmx.net>
5077 * BufferView_pimpl.[Ch]: merge update() and updateInset()
5079 2003-11-10 André Pönitz <poenitz@gmx.net>
5081 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
5082 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
5083 indicate that the cursor needs to leave an inset
5085 * lyxtext.h: remove inset locking
5087 * cursor.[Ch]: re-implement functionality provided by inset locking
5090 * BufferView_pimpl.[Ch]:
5092 * bufferview_funcs.[Ch]:
5104 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
5106 * PosIterator.[Ch]: replace the stack with a vector, add inset
5108 * iterators.[C]: adjust
5110 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
5112 * lyxfind.C (replaceAll): mark the buffer dirty if something was
5114 * paragraph_funcs.C (readParToken): put the correct id in the
5115 error item, not the id of the top paragraph
5117 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
5119 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
5120 * bufferview_funcs.C (put_selection_at): use the above
5122 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5124 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
5126 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5128 * output_linuxdoc.h:
5129 * output_plaintext.h:
5131 * output_docbook.h: add #include statements
5133 2003-11-05 José Matos <jamatos@lyx.org>
5135 * output_docbook.[Ch]:
5136 * output_latex.[Ch]:
5137 * output_linuxdoc.[Ch]:
5138 * output_plaintext.[Ch]: New files for output formats.
5139 * output.[Ch]: New file for helper functions.
5142 * paragraph_funcs.[Ch]: output functions moved to new files.
5144 * outputparams.h: rename of latexrunparams.h
5152 * paragraph_funcs.[Ch]:
5153 * paragraph_pimpl.[Ch]:
5154 * tabular.[Ch]: rename ascii to plaintext
5155 and LatexRunParams to OutputParams.
5157 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5159 * iterators.[Ch] (text): require bv argument
5160 * undo.C (recordUndo):
5161 * lyxfunc.C (dispatch):
5162 * bufferview_funcs.C (put_selection_at): adjust
5164 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
5166 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
5168 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5170 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
5173 2003-11-04 André Pönitz <poenitz@gmx.net>
5175 * cursor.[Ch]: restructure
5178 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5180 * iterators.[Ch] (asCursor): remove
5182 * lfuns.h: remove LFUN_INSET_EDIT
5188 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5190 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5192 * lyxfind.[Ch]: complete overhaul
5193 * BufferView_pimpl.C:
5195 * paragraph.[Ch] (insert): add
5197 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5201 * text.C: remove dead spellcheck code
5203 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5205 * dispatchresult.h: add a val setter
5207 * cursor.C (dispatch): use a tempvar for data_[i]
5209 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5211 * PosIterator.[Ch]: compile fix
5213 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5215 * text.C (cursorPar): deactivate the cursor cache
5217 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5219 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5221 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5223 * text3.C (dispatch): adjust for new DisptchResult semantics.
5225 * lyxfunc.C (dispatch): handle update when return from
5226 Cursor::dispatch, adjust for new DispatchResult semantics.
5228 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5229 DispatchResult(true) mean to not update. Add class functions for
5230 setting dispatched and update, as well as reading.
5232 * cursor.C (dispatch): don't handle update here
5234 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5236 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5237 * trans_mgr.C: adjust
5239 * paragraph_funcs.C (readParToken): exception safety
5241 * lyxvc.h: store the vcs pointer in a scoped_ptr
5244 * lyxsocket.C (serverCallback): exception safety
5246 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5248 * ispell.C (clone): make it return a auto_ptr
5250 * factory.C (createInset): exception safety
5251 (readInset): exception safety
5253 * bufferlist.C (newBuffer): exception safety
5255 * Thesaurus.C (Thesaurus): use initialization for aik_
5257 * MenuBackend.C (expandToc): exception safety.
5259 2003-11-03 André Pönitz <poenitz@gmx.net>
5263 * bufferview_funcs.C: remove getInsetFromId()
5266 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5272 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5274 * PosIterator.C (distance, advance): new
5275 * bufferview_funcs.[Ch] (put_selection_at): new
5276 * iterators.[Ch] (lockPath): new
5278 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
5280 * iterators.[Ch] (asPosIterator): added
5281 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5282 * PosIterator.[Ch]: added
5284 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5288 * cursor.C (dispatch):
5289 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5291 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5292 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5293 contructor, add a class function dispatched. Remove operator>=
5295 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5297 * debug.C: only use the default constructor for debugstream
5300 * main.C (main): include debug.h and setup the lyxerr streambuf
5303 2003-10-31 José Matos <jamatos@lyx.org>
5305 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5307 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5308 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5309 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5310 * paragraph_pimpl.C (simpleTeXSpecialC):
5311 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5312 add LatexRunParams argument.
5314 * exporter.C (Export): change call accordingly.
5316 * latexrunparams.h: add new member to take care of the other backends.
5317 2003-10-30 José Matos <jamatos@lyx.org>
5319 * buffer.C (makeLinuxDocFile, makeDocBookFile):
5320 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5321 factorise code for paragraph output.
5323 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5326 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5328 * text3.C (dispatch):
5329 * lyxfunc.C (dispatch):
5330 * cursor.C (dispatch):
5331 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5333 * dispatchresult.h: make the dispatch_result_t ctor explicit
5335 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
5338 * buffer.C: small refactoring of docbook stuff
5340 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5342 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5345 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5347 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5348 operator dispatch_result_t, and operators for == != and >=
5350 * cursor.C (dispatch): adjust for operator dispatch_result_t
5351 removal. comment out call to update
5353 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5355 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5363 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5366 * dispatchresult.h: new file, DispatchResult broken out of
5369 * Makefile.am (lyx_SOURCES): add dispatchresult.h
5371 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5373 * text.C (rowBreakPoint): put a hack inside #if 0
5375 2003-10-28 André Pönitz <poenitz@gmx.net>
5379 * paragraph_funcs.C:
5382 * text2.C: general cleanup (lots of small stuff)
5384 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5386 * text2.C (cursorEnd): simple fix to the "end key goes to one
5387 before the end on last row" bug
5389 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5391 * text.C (backspace): fix the "zombie characters"
5393 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5395 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5397 2003-10-27 André Pönitz <poenitz@gmx.net>
5399 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5401 * factory.C: handle new InsetPagebreak, InsetLine
5403 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5404 and move handling into new InsetPagebreak, InsetLine
5406 * BufferView_pimpl.C:
5408 * ParagraphParameters.C:
5409 * ParameterStruct.h:
5414 * paragraph_funcs.C:
5415 * paragraph_pimpl.C:
5421 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5424 * lyxrow_funcs.[Ch]:
5430 * text3.C: remove lastPos uses in favour of Row::endpos
5432 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5434 * undo.C (performUndoOrRedo): fix two crashes by setting a
5435 cursor by hand and reordering some calls. Use bv->lockInset instead
5436 of inset->edit because the latter loses cursor information
5438 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5440 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5442 (rowBreakPoint): fix width. change point to point + 1.
5443 Add a missing check.
5445 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5448 * lyxfunc.C: fix (at least partly) the problems
5449 with the Nav menu and headers inside branch insets
5452 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5454 * paragraph.C (getChar): add strong asserts
5456 * lyxrow_funcs.C (lastPos): remove hideous hack
5458 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5459 (fill): adjust to that (avoid an infinite loop)
5461 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5463 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5465 2003-10-23 André Pönitz <poenitz@gmx.net>
5467 * RowList_fwd.h: change list<> to vector<> to gain speed
5468 after suggestion from Alfredo
5470 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5472 * lyxtext.h: move the bidi stuff from here...
5475 * Bidi.[Ch]: ... to here
5477 2003-10-23 André Pönitz <poenitz@gmx.net>
5480 * text.C (isLastRow, isFirstRow): new functions
5482 * paragraph.h: new width cache member
5484 * rowpainter.C: replace RowList::iterator with Row & where possible
5486 * lyxfunc.C: replace several view()->text with a single call
5488 * toc.C: fix 'unused' warning
5490 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5492 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5493 when woring with stream::pos_type
5494 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5496 2003-10-22 André Pönitz <poenitz@gmx.net>
5499 * text.C: use Row & instead of RowList::iterator
5501 * lyxrow.h: rename end() to endpos()
5507 2003-10-22 Angus Leeming <leeming@lyx.org>
5509 * buffer.[Ch] (fully_loaded): new member function, returning true
5510 only when the file has been loaded fully.
5511 Used to prevent the premature generation of previews and by the
5512 citation inset to prevent computation of the natbib-style label.
5514 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5515 templates are all set up.
5517 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5519 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5521 * text.C: fixed an "oops" in the "is a bit silly"
5524 2003-10-21 André Pönitz <poenitz@gmx.net>
5526 * FuncStatus.[Ch]: small stuff, whitespace
5528 * lyxfont.[Ch]: operator<<() for debug reasons
5532 * lyxtext.h: whitespace, spelling
5534 * paragraph.C: naming of variables
5537 * text2.C: small stuff
5540 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5542 * text.C: (1) finish off the inset display() work;
5543 (2) fix the "is a bit silly" bug (accessing char
5546 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5548 * text.C: re-introduce display() for insets, fixing the
5549 various bugs (stretch of line above, math inset
5552 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5554 * text.C (rightMargin): remove spurious semicolon
5556 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5559 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5561 * text3.C: fix one crash due to wrong cursor def
5563 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5565 * vc-backend.C (scanMaster): make the regex static
5567 * LaTeX.C (scanAuxFile): make the regexs static
5569 * text3.C (doInsertInset, dispatch, dispatch):
5570 * text2.C (cursorUp, cursorDown):
5571 * text.C (selectNextWordToSpellcheck):
5572 * BufferView_pimpl.C (dispatch):
5573 * lyxfunc.C (dispatch): localDispatch -> dispatch
5575 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5577 * lyxsocket.C: include <cerrno>
5579 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5581 * lyxfunc.C (dispatch): remove textcache stuff
5583 * bufferlist.C (release): remove textcache stuff
5586 * TextCache.C: delete file
5587 * TextCache.h: delete file
5589 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5591 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5592 delete of the bv_->text.
5593 (resizeCurrentBuffer): remove texcache stuff
5594 (workAreaResize): ditto
5596 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5598 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5601 2003-10-16 André Pönitz <poenitz@gmx.net>
5608 * text3.C: speed up by storing y positions per paragraph plus per-row
5609 offset instead of having a 'full' y position in the row.
5611 2003-10-15 André Pönitz <poenitz@gmx.net>
5615 * undo.[Ch]: make undo aware of inner insets
5617 2003-10-14 Angus Leeming <leeming@lyx.org>
5619 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5620 static member functions LyX::ref() and LyX::cref.
5621 (lastfiles): new accessor functions for the new lastfiles_ member var.
5622 (addLyXView, views_): add a new LyXView to the list of views_.
5623 (updateInset): loop over all LyXViews to call their own updateInset
5624 member function, returning a pointer to the Buffer owning the inset.
5626 * BufferView_pimpl.C (loadLyXFile):
5627 * MenuBackend.C (expandLastfiles):
5628 * bufferlist.C (MenuWrite, QuitLyX):
5629 lastfiles is no longer a global variable.
5630 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5632 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5633 static function. Access through LyX::cref().emergencyCleanup().
5635 2003-10-14 André Pönitz <poenitz@gmx.net>
5637 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5639 * undo.[Ch]: restoring part of 'undo in insets'
5642 * undo_funcs.[Ch]: merge with undo.[Ch]
5644 * tabular.C: small cleansing stuff
5646 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5648 * paragraph_funcs.C (readParToken): report unknown insets as error
5649 boxes. Use the outer paragraph as location (also for unknown
5652 * factory.C (readInset): do not abort on reading an unknown inset.
5653 Eat it and return 0.
5655 2003-10-13 Angus Leeming <leeming@lyx.org>
5657 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5659 * lyxrc.C: displayTranslator is now a function,
5660 declared in GraphicsTypes.h.
5662 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5664 * format.C: new placeholder $$a to pass the socket address.
5666 * bufferlist.[Ch]: new function getBufferFromTmp.
5668 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5669 files in the temporary dir.
5671 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5673 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5675 * Makefile.am: add lyxsocket.[Ch].
5677 * lyx_main.C (error_handler): handle SIGPIPE.
5679 2003-10-13 André Pönitz <poenitz@gmx.net>
5681 * BufferView_pimpl.C:
5686 * undo_funcs.[Ch]: use paroffset_type instead of
5687 ParagraphList::iterators to prevent multiple conversion
5688 (and get a more robust interface)
5690 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5692 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5694 * text3.C (dispatch): ditto
5696 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5698 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5699 move the onlyfile, use onlyfile instead of foundfile in a couple
5702 * DepTable.C (update): flush the error stream a bit more
5704 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5706 * lyxserver.C (callback): adjust
5708 * lyxfunc.C (getStatus): add a missing brace in commented code
5709 (ensureBufferClean): reindent
5710 (dispatch): delete version taking a string
5712 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5714 * LaTeX.C (deplog): move found file handlig from here...
5715 (handleFoundFile): .. to new function here.
5716 (deplog): make sure to discover several files mentioned on the
5719 2003-10-10 André Pönitz <poenitz@gmx.net>
5726 * text3.C: fix some of the tabular crashes
5728 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5730 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5732 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5734 2003-10-09 André Pönitz <poenitz@gmx.net>
5736 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5739 * BufferView_pimpl.C:
5740 * bufferview_funcs.C:
5751 * undo_funcs.C: adjust
5753 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5755 * text2.C (incrementItemDepth): new function, use a backtracking
5756 algorithm to discover the correct item depth.
5757 (resetEnumCounterIfNeeded): new function, use a backtracking
5758 algorithm to discover if counter reset is needed.
5759 (setCounter): use them. Simplify a bit. Add different labels for
5760 different item depths for itemize.
5762 * paragraph.C (Paragraph): remove initialization of enumdepth
5765 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5766 enumerate and itemize. Change the type of itemdepth to signed char.
5768 2003-10-08 André Pönitz <poenitz@gmx.net>
5770 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5775 * tabular.[Ch]: fix crash after 'row-insert'
5777 2003-10-08 Angus Leeming <leeming@lyx.org>
5779 Fix doxygen warnings.
5781 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5782 Remove CutAndPaste:: prefix from header file declaration.
5784 * LColor.h (fill): remove LColor:: prefix from declaration.
5786 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5787 use lyx::depth_type rather than Paragraph::depth_type so that
5788 header file and .C file match.
5790 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5792 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5793 * aspell.C: \file aspell_local.C -> \file aspell.C
5794 * gettext.C: \file gettext.C -> \file src/gettext.C
5795 * gettext.h: \file gettext.h -> \file src/gettext.h
5796 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5797 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5798 * text.C: \file text.C -> \file src/text.C
5800 * toc.C: move comment so that doxygen is not confused.
5802 2003-10-07 Angus Leeming <leeming@lyx.org>
5804 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5806 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5809 * aspell_local.h: add forgotten std::string's.
5811 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5818 * text3.C: The Box patch. Fancybox support, minipage, parbox
5820 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5826 * ParagraphParameters.h:
5836 * lyxtextclasslist.h:
5839 * paragraph_pimpl.C:
5840 * textcursor.h: add <string> and other small fixes to make Lars'
5841 std::string patch compile with STLport.
5843 2003-10-06 Angus Leeming <leeming@lyx.org>
5845 * LColor.h: Add missing #include <string>.
5847 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5849 * All most all file in all subdirs: Make <string> be the prefered
5850 way of getting to std::string, add using declarations.
5852 2003-10-06 André Pönitz <poenitz@gmx.net>
5854 * metricsinfo.C: initialize LyXFont before changing attribute.
5855 (fixes the 'math in \emph is upright' bug)
5857 2003-10-06 André Pönitz <poenitz@gmx.net>
5859 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5861 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5864 * paragraph_pimpl.C: Small fixes to build using STLport
5866 2003-10-02 André Pönitz <poenitz@gmx.net>
5869 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5871 2003-10-01 André Pönitz <poenitz@gmx.net>
5873 * factory.C: assert early
5875 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5877 * lyx_main.C: remove the global debug object
5879 * debug.h: adjust for new debugstream
5881 * debug.C: adjust for new debugstream and keep the global debug
5884 2003-09-22 Angus Leeming <leeming@lyx.org>
5886 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5887 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5888 an incomplete class LyXFont.
5890 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5892 * factory.C: bug fix in branches
5894 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5896 * lyxfunc.C (processKeySym): adjust
5898 (dispatch): change arg name from ev to func, adjust
5899 (sendDispatchMessage): ditto
5901 * lyx_main.C (defaultKeyBindings): adjust keybindings
5902 (deadKeyBindings): ditto
5904 * kbsequence.C (addkey): return a FuncRequest
5906 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5908 * kbmap.C (bind): take a FuncRequest as arg, adjust
5911 (defkey): change to take a FuncRequest as arg, adjust
5912 (findbinding): take a FuncRequest as arg, adjust.
5914 * funcrequest.h (operator=): added
5916 * funcrequest.C (FuncRequest): default kb_action changed from
5917 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5919 * buffer.C (dispatch): simplify
5920 (dispatch): adjust to take a FuncRequest as arg, adjust
5922 * boost.C (assertion_failed): change assertion message slightly
5924 * ToolbarBackend.C (read): simplify
5926 * MenuBackend.C (binding): adjust call to findbinding, add a
5927 message if no binding is found.
5929 (expandToc): correct by adding a empty FuncRequest
5931 * LyXAction.C: include <boost/assert.hpp>
5932 (isPseudoAction): delete function
5933 (LookupFunc): change name to...
5934 (lookupFunc): this. change return type to FuncRequest.
5935 (getActionName): take kb_action as arg, simplify
5936 (funcHasFlag): add an assert, simplify.
5938 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5940 * toc.C (action): return a FuncRequest, simplify
5942 * lyxfunc.C (processKeySym): adjust
5943 (getStatus): delete version that takes an int.
5945 (dispatch): delete version that takes action as int
5947 (sendDispatchMessage): simplify and adjust
5949 * funcrequest.C (getArg): take unsigned int as arg
5951 * ToolbarBackend.C (read): adjust
5952 (add): delete version that takes func as a string.
5953 (getIton): take a FuncRequest as arg
5955 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5958 * MenuBackend.C (MenuItem): add a new construct that only takes a
5959 Kind, simplify the constructor use for submenus.
5961 (expandLastfiles): adjust
5962 (expandDocuments): adjust
5963 (expandFormats): adjust
5964 (expandFloatListInsert): adjust
5965 (expandFloatInsert): adjust
5966 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5968 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5969 Remove class variables lyx_pseudo_map and lyx_arg_map
5971 * LyXAction.C (searchActionArg): delete function
5972 (getPseudoAction): delete function
5973 (retrieveActionArg): delete function
5974 (LookupFunc): make it return kb_action, simplify.
5975 (getActionName): simplify
5977 * factory.C (createInset): fix new bug
5979 2003-09-19 Angus Leeming <leeming@lyx.org>
5981 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5982 masterFilename_ parameter in the include inset.
5984 * factory.C (createInset): changes due to the changes to InsetInclude.
5986 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5988 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5990 2003-09-18 Angus Leeming <leeming@lyx.org>
5993 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5994 Inset::fillWithBibKeys.
5995 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5997 2003-09-18 Angus Leeming <leeming@lyx.org>
5999 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
6001 (ctor): pass and store a 'Buffer const &'
6002 (buffer): new member function.
6004 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
6005 '*this' to the LaTeXFeatures ctor.
6007 2003-09-18 Angus Leeming <leeming@lyx.org>
6013 * text.C: rename EnumLColor as LColor_color.
6015 2003-09-18 Angus Leeming <leeming@lyx.org>
6017 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
6018 remove #include "insets/insetbase.h" from cursor.h.
6020 2003-09-18 Angus Leeming <leeming@lyx.org>
6022 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
6023 InsetOld_code to remove #include "inset.h".
6025 * iterators.C: add #include "insets/inset.h"
6027 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
6029 * BufferView.C: remove more locking stuff that apparently doesn't
6030 do anything sensible.
6032 2003-09-16 André Pönitz <poenitz@gmx.net>
6035 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
6038 2003-09-16 Angus Leeming <leeming@lyx.org>
6040 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
6042 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
6045 * paragraph.h: remove #include "lyxfont.h". Forward declare
6048 2003-09-16 Angus Leeming <leeming@lyx.org>
6050 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
6051 of support/textutils.h.
6052 (isWord): move the contents of support/textutils.h's IsWordChar here.
6058 * text2.C: add #include "paragraph.h".
6061 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
6063 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6069 * LaTeX.C: use namespace alias for lyx::support::os
6071 2003-09-16 Angus Leeming <leeming@lyx.org>
6074 * bufferview_funcs.C:
6077 * paragraph_pimpl.C:
6079 * text.C: add #include "LColor.h".
6081 2003-09-16 Angus Leeming <leeming@lyx.org>
6083 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
6084 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
6086 Store the FontBits::color variable as an int rather than as an
6087 LColor::colorso that we can move LColor.h out of the lyxfont.h header
6090 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
6091 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
6092 string calls together.
6094 * lyxrc.C: add #include "LColor.h".
6096 2003-09-15 Angus Leeming <leeming@lyx.org>
6098 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
6101 2003-09-15 Angus Leeming <leeming@lyx.org>
6103 * LColor.h: add an EnumLColor wrapper for LColor::color.
6105 * lyxfont.[Ch] (color, setColor, realColor):
6106 * lyxtext.h, text.C (backgroundColor):
6107 pass EnumLColor args to/from the functions, rather than LColor::color
6111 * lyxtext.h: forward declare EnumLColor.
6113 * lyx_main.C: add #include "LColor.h".
6115 2003-09-15 Angus Leeming <leeming@lyx.org>
6117 * .cvsignore: add lyx-gtk.
6119 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6124 * ParagraphParameters.C
6128 * bufferview_funcs.C
6138 * vc-backend.C: remove usage of STRCONV
6140 2003-09-15 Angus Leeming <leeming@lyx.org>
6142 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
6143 explicitly define the color passed to the painter.
6145 2003-09-15 Angus Leeming <leeming@lyx.org>
6147 * bufferparams.C (BufferParams): reorder member initializers to avoid
6150 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
6152 * CutAndPaste.C (pasteSelection): remove an outdated #warning
6153 * text.C (updateRowPositions): remove an unusual nop
6155 2003-09-12 André Pönitz <poenitz@gmx.net>
6157 * BufferView_pimpl.C:
6166 * Counters.[Ch]: finish the 'automatic counters' job
6168 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6170 * aspell.C: include <boost/assert.cpp> (compile fix)
6172 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
6174 * boost.C (assertion_failed): use lyx::support::abort instead of
6177 2003-09-10 Angus Leeming <leeming@lyx.org>
6179 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6180 with their _fwd progeny.
6182 2003-09-09 Angus Leeming <leeming@lyx.org>
6184 134 files throughtout the source tree: replace 'using namespace abc;'
6185 directives with the appropriate 'using abc::xyz;' declarations.
6187 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
6189 * boost.C (emergencyCleanup): moved here from LAssert.c
6190 (assertion_failed): new function, called by BOOST_ASSERT
6192 * several files: change Assert to BOOST_ASSERT
6194 2003-09-09 Angus Leeming <leeming@lyx.org>
6196 * buffer.[Ch]: Add an Impl class and move Buffer's member
6197 variables into it. As a result move several header files out of
6200 Add header files to lots of .C files all over the tree as a result.
6202 2003-09-09 Angus Leeming <leeming@lyx.org>
6204 * buffer.[Ch]: make Buffer's member variables private. Add
6207 Lots of changes all over the tree as a result.
6209 2003-09-08 Angus Leeming <leeming@lyx.org>
6211 * graph.C: #include <config.h>.
6213 2003-09-08 Angus Leeming <leeming@lyx.org>
6217 * BufferView_pimpl.C:
6246 * toc.C: remove redundant using directives.
6248 2003-09-07 Angus Leeming <leeming@lyx.org>
6250 * LaTeXFeatures.h: remove #include "support/types.h".
6251 * ToolbarBackend.h: remove #include <algorithm>.
6252 * changes.h: remove #include <ctime>.
6253 * debug.h: remove #include <iosfwd>.
6254 * graph.h: remove #include "support/std_string.h".
6255 * lyx_main.h: remove #include <csignal>.
6256 * lyxlex_pimpl.h: remove #include <fstream>.
6257 * sgml.h: remove #include <algorithm>, <utility>.
6258 * toc.h: remove #include "support/std_ostream.h".
6259 Add #include <iosfwd>.
6261 2003-09-07 Angus Leeming <leeming@lyx.org>
6263 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6265 * converter.h: forward declare LatexRunParams.
6266 * encoding.h: remove #include "lyxrc.h".
6267 * lyxtext.h: remove #include "LColor.h".
6268 * lyxtextclass.h: remove #include "support/types.h".
6269 * trans.h: remove #include "tex-accent.h".
6270 * trans_mgr.h: remove #include "tex-accent.h".
6271 * insets/inset.h: remove #include "support/types.h", <vector>.
6272 * insets/insetcollapsable.h: remove #include "LColor.h".
6273 * insets/insetinclude.h: remove #include "dimension.h".
6274 * insets/insetlatexaccent.h: remove #include "dimension.h".
6275 * insets/insetoptarg.h:: remove #include "insettext.h".
6276 * insets/insettext.h: remove #include "dimension.h",
6277 <boost/shared_ptr.hpp>
6279 * insets/renderers.h: add #include "dimension.h".
6280 * insets/updatableinset.h: add #include "support/types.h".
6282 * many .C files: Associated changes.
6284 2003-09-06 Angus Leeming <leeming@lyx.org>
6286 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6287 one, inside testInvariant.
6289 * PrinterParams.C: new file.
6290 * PrinterParams.[Ch]: move the function bodies out of line.
6292 2003-09-06 Angus Leeming <leeming@lyx.org>
6294 * ParagraphParameters.h: forward declare ParameterStruct rather than
6295 including its header file.
6296 (depth): moved out-of-line.
6298 2003-09-06 Angus Leeming <leeming@lyx.org>
6300 * BufferView_pimpl.h:
6303 * lyxfunc.h: forward declare LyXKeySym rather than
6304 #include "frontends/LyXKeySym.h".
6306 * BufferView_pimpl.C:
6309 * lyxfunc.C: associated changes.
6311 2003-09-06 Angus Leeming <leeming@lyx.org>
6313 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6314 As a result, can remove the #include "insets/inset.h" from BufferView.h
6316 2003-09-06 Angus Leeming <leeming@lyx.org>
6318 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6319 As a result, can remove the #include "insets/inset.h" from BufferView.h
6321 2003-09-06 Angus Leeming <leeming@lyx.org>
6327 * bufferview_funcs.C:
6328 * BufferView_pimpl.C:
6333 * ParagraphParameters.C:
6338 * frontends/controllers/ControlDocument.C:
6339 * insets/insetcaption.C: rearrange the #includes into some sort of
6342 * buffer.h: remove #includes ErrorList.h, undo.h
6344 2003-09-06 Angus Leeming <leeming@lyx.org>
6346 * support/types.h: add a 'depth_type' typedef, used to store the
6347 nesting depth of a paragraph.
6350 * ParameterStruct.h: use this lyx::depth_type typedef rather than
6351 defining explicitly.
6354 * paragraph_funcs.h:
6355 * ParagraphParameters.h:
6356 * sgml.h: use lyx::depth_type rather than Paragraph or
6357 ParameterStruct's depth_type.
6360 * paragraph_funcs.h: no need to #include paragraph.h anymore.
6363 * BufferView_pimpl.C:
6365 * ParagraphParameters.C:
6368 * bufferview_funcs.C:
6375 * frontends/LyXView.C:
6376 * frontends/controllers/ControlDocument.C:
6377 * frontends/controllers/ControlErrorList.C:
6378 * insets/insetbibitem.C:
6379 * insets/insetbranch.C:
6380 * insets/insetcaption.C:
6381 * insets/insetcollapsable.C:
6382 * insets/insetenv.C:
6383 * insets/insetert.C:
6384 * insets/insetfloat.C:
6385 * insets/insetfoot.C:
6386 * insets/insetfootlike.C:
6387 * insets/insetnewline.C:
6388 * insets/insetquotes.C:
6389 * insets/insettabular.C:
6390 * insets/insettext.C:
6391 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6393 * frontends/controllers/ControlChanges.C: #include "changes.h".
6395 2003-09-06 Angus Leeming <leeming@lyx.org>
6397 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6398 than #including paragraph.h.
6401 * RowList.h: deleted. Superfluous.
6411 * insets/insettext.h: use ParagraphList_fwd.h rather than
6414 * paragraph.h: don't forward declare ParagraphList.
6417 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6418 rather than ParagraphList.h. paragraph.h is still needed for the
6419 Paragraph::depth_type parameters.
6421 * textcursor.h: enable it to compile stand-alone in light of the
6424 * bufferview_funcs.C:
6436 * frontends/controllers/ControlParagraph.C:
6437 * frontends/controllers/ControlTabular.C:
6438 * insets/insetmarginal.C:
6439 * insets/insetminipage.C:
6440 * insets/insetnote.C:
6441 * insets/insetoptarg.C: add header files needed to compile again.
6443 2003-09-06 Angus Leeming <leeming@lyx.org>
6445 * RowList_fwd.h: new file, forward-declaring Row rather than
6446 #including lyxrow.h.
6451 * insets/insettext.h: use it instead of RowList.h
6453 * bufferview_funcs.C:
6460 * text3.C: #include "RowList.h".
6462 2003-09-05 Angus Leeming <leeming@lyx.org>
6464 * factory.C (createInset):
6465 * vspace.C (c-tor): replace sscanf call with an istringstream.
6466 * ispell.C: re-add missing HP/UX headers.
6467 * lyxserver.C: re-add missing os2 headers.
6469 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6478 * text3.C: re-add missing system headers, needed for 2.95.2.
6480 2003-09-05 Angus Leeming <leeming@lyx.org>
6482 Changes most place everywhere due to the removal of using directives
6483 from support/std_sstream.h.
6485 2003-09-05 Angus Leeming <leeming@lyx.org>
6487 Replace LString.h with support/std_string.h,
6488 Lsstream.h with support/std_sstream.h,
6489 support/LIstream.h with support/std_istream.h,
6490 support/LOstream.h with support/std_ostream.h.
6492 Changes resulting throughout the tree.
6494 2003-09-05 Angus Leeming <leeming@lyx.org>
6496 * sgml.h: ensure that the header file can be compiled stand-alone.
6497 * *.C: strip out redundant #includes. (320 in total.)
6499 2003-09-04 Angus Leeming <leeming@lyx.org>
6501 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6502 here (from getPackages).
6504 * debug.[Ch]: add a new EXTERNAL tag.
6506 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6508 * text2.C (cursorEnd): simplify
6510 (getColumnNearX): adjust
6512 * text.C (computeBidiTables): adjust
6515 * rowpainter.C (paintChars): adjust
6516 (paintSelection): adjust
6517 (paintChangeBar): adjust
6520 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6522 (numberOfSeparators): adjust
6524 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6530 * text3.C: Restricts the mouse click functionality
6531 of insets like bibtex, include, toc and floatlist to the visible
6532 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6533 up the dialogs. Cursor has to be in front of the inset (i.e.
6534 start of row) for this to function.
6536 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6538 * bufferview_funcs.C (currentState): output row information
6540 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6542 * bufferview_funcs.C (currentState): output paragraph position
6544 2003-09-04 Angus Leeming <leeming@lyx.org>
6546 * FloatList.h: move out #include "Floating.h".
6547 * LaTeX.h: move out #include "DepTable.h".
6548 * LyXAction.h: move out #include "funcrequest.h".
6549 * buffer.h: move out #include "author.h", "iterators.h".
6550 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6551 * lyx_main.h: move out #include "errorlist.h".
6552 * lyxfunc.h: move out #include "FuncStatus.h".
6553 * lyxtext: move out #include "lyxcursor.h".
6554 * paragraph_pimpl.h: move out #include "counters.h".
6556 2003-09-03 Angus Leeming <leeming@lyx.org>
6558 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6559 preamble_snippets list, enabling us to add snippets to the preamble
6560 only if the snippet was not there already.
6562 2003-09-04 Angus Leeming <leeming@lyx.org>
6564 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6566 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6568 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6571 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6573 * BranchList.C: point fix, earlier forgotten
6575 2003-09-02 Angus Leeming <leeming@lyx.org>
6577 * box.C (contains): renamed from 'contained' after a fantastic
6580 2003-09-02 John Levon <levon@movementarian.org>
6586 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6588 2003-09-02 John Levon <levon@movementarian.org>
6590 * text2.C: simplification of cursorEnd(), including partial
6593 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6595 * buffer.C (readFile): add a space
6597 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6599 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6601 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6603 * buffer.C (readFile): new function, take a filename and a
6604 ParagraphList::iterator
6606 (readFile): adjust, make it private. don't use setStream, make
6607 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6608 always contain the filename.
6610 * BufferView.C (insertLyXFile): simplify and make it work for
6613 2003-08-30 John Levon <levon@movementarian.org>
6615 * Makefile.am: fix dist (from Kayvan)
6617 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6619 * most files: change to use const Buffer refs
6621 2003-08-27 André Pönitz <poenitz@gmx.net>
6623 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6624 on top of ownerPar().
6626 2003-08-27 John Levon <levon@movementarian.org>
6628 * funcrequest.C: properly initialise POD members
6630 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6632 * lyxtext.h (top_y): move top_y from here
6637 * BufferView_pimpl.[Ch]: to here
6638 * frontends/screen.C:
6639 * insets/insettabular.C:
6640 * insets/insettext.C: adjust
6641 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6643 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6646 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6648 2003-08-26 André Pönitz <poenitz@gmx.net>
6650 * paragraph_func.[Ch] (outerPar): new function
6653 * paragraph_funcs.C:
6654 * paragraph_funcs.h:
6655 * paragraph_pimpl.C:
6656 * text2.C: remove Inset::par_owner
6658 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6663 * text2.C: eliminates the needFullRow/display() stuff
6664 altogether, putting the logic in metrics/draw in the insets.
6666 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6668 * text2.C (redoParagraphInternal, redoParagraphs):
6669 * text.C (redoParagraph): add a call to updateRowPositions at the
6670 end of each 'metrics-like' call. Remove all others.
6671 (getRow): remove the 'y-computing' version.
6672 (getRowNearY): do not compute nor return the real y. Solve the
6673 'y < 0' problem and simplify.
6675 2003-08-22 Angus Leeming <leeming@lyx.org>
6677 * *.[Ch]: clean-up of licence and author blurbs.
6678 Also move config.h out of a few .h files and into a few .C files.
6680 2003-08-22 André Pönitz <poenitz@gmx.net>
6682 * lyxrow.[Ch]: add x_ and *fill_ members
6687 * text2.C: adjust/remove prepareToPrint() calls
6689 2003-08-22 André Pönitz <poenitz@gmx.net>
6691 * lyxrow.[Ch]: add end_ member
6693 * lyxrow_funcs.C: use LyXRow::end_
6695 * lyxtext.h (singleWidth): add LyXFont parameter
6698 * text2.C: adjust LyXText::singleWidth() calls
6700 * text.C (redoParagraph): simplify row breaking logic
6703 2003-08-19 André Pönitz <poenitz@gmx.net>
6705 * funcrequest.C: initialize button_ member
6708 * rowpainter.[Ch]: interface consolidation
6710 2003-08-18 André Pönitz <poenitz@gmx.net>
6713 * BufferView_pimpl.C:
6715 * paragraph_funcs.C:
6717 * text3.C: remove LyXScreen::draw() and fitCursor calls
6719 * BranchList.h: remove spurious semicolons
6721 * MenuBackend.C: fix branchlist related crash
6723 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6731 * bufferparams.[Ch]:
6735 * text3.C: implements the 'branch inset'
6736 idea. This allows the output of various versions of a document
6737 from a single source version, selectively outputing or suppressing
6738 output of parts of the text.
6739 This implementation contains a 'branch list editor' in a separate
6740 tab of the document settings dialog. Branches are user definable
6741 and have a "display colour" to distinguish them on-screen.
6743 ColorHandler was somewhat cleaned up.
6744 (1) make possible a dynamically growing LColor list by allowing
6745 the graphic context cache to grow along (vector);
6746 (2) eliminate an IMHO unnecessary step in colour allocation.
6748 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6750 * BufferView_pimpl.C: compile fix
6752 2003-08-15 André Pönitz <poenitz@gmx.net>
6754 * rowpainter.C: remove extra metrics calls
6756 * lyxtext.h: merge the two constructors into a single one,
6757 pass reference to owner's par list
6759 * BufferView_pimpl.C:
6763 2003-08-15 André Pönitz <poenitz@gmx.net>
6765 * lyxrow_funcs.[Ch]:
6768 * paragraph_funcs.C:
6773 * text_funcs.C: split LyXText::rowlist_ into individual
6774 Paragraph::rows_ chunks
6777 * BufferView_pimpl.[Ch]:
6780 * text3.C: remove toggleSelection()
6782 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6784 * bufferlist.C: beautify two alerts (shorter text of buttons)
6785 * buffer.C: Remove redundant ' ' from message
6787 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6788 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6789 rename VALIGN_CENTER to VALIGN_MIDDLE
6791 2003-08-11 André Pönitz <poenitz@gmx.net>
6793 * lyxtext.h (getPar):
6794 * text.C: new function
6796 2003-08-11 André Pönitz <poenitz@gmx.net>
6799 * tracer.[Ch]: remove unneeded files
6801 * InsetList.[Ch]: remove resizeInsetsLyXText()
6806 * text3.C: merge insertParagraphs() and appendParagraph()
6807 remove breakAgain(), update()
6809 * BufferView_pimpl.[Ch]:
6810 * bufferview_funcs.[Ch]:
6814 * tabular.C: adjust after text & InsetList changes.
6816 2003-08-08 André Pönitz <poenitz@gmx.net>
6818 * text.C (insertChar, backspace): replace rowlist fiddling
6819 with rebreak of full par
6822 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6823 checkParagraph, updateInset): removed
6825 2003-08-07 André Pönitz <poenitz@gmx.net>
6828 * text3.C: merge some LFUN handlers, remove dead code
6830 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6832 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6834 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6836 * text2.C (DEPM): fix part of bug 1255 and 1256
6838 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6840 * BufferView_pimpl.C (workAreaDispatch): change to use
6841 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6842 that are no mouse related.
6844 2003-08-05 André Pönitz <poenitz@gmx.net>
6847 * BufferView_pimpl.[Ch]:
6848 * bufferview_funcs.C:
6850 * text3.C: rip out "deep update"
6852 * textcursor.[Ch] (last_sel_cursor): remove unused member
6854 2003-08-04 André Pönitz <poenitz@gmx.net>
6857 * BufferView_pimpl.[Ch]:
6858 * ParagraphParameters.C:
6859 * bufferview_funcs.C:
6865 * text3.C: replace "complicated" BufferView::update(...) calls with
6868 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6870 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6872 * Makefile.am (lyx_SOURCES): add paper.h
6874 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6876 * Makefile.am: move things around so that both lyx-qt and
6877 lyx-xforms can be built (according to --with-frontend). Then lyx
6878 is a symbolic link to lyx-[firstfrontend]
6880 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6882 * Always use std::endl with lyxerr
6884 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6886 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6888 2003-08-01 André Pönitz <poenitz@gmx.net>
6891 * BufferView_pimpl.[Ch]:
6893 * text3.C: merge BufferView::repaint() and BufferView::update()
6895 2003-08-01 José Matos <jamatos@lyx.org>
6897 * buffer.[Ch]: file_format is no longer a buffer data element.
6899 2003-08-01 André Pönitz <poenitz@gmx.net>
6904 * text2.C: make redoParagraph more independent of current cursor
6906 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6908 * text2.C: remove unneeded members
6910 2003-07-30 André Pönitz <poenitz@gmx.net>
6912 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6914 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6915 create a single function...
6917 * paragraph_funcs.C (moveItem): ... here.
6920 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6922 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6924 * LColor.[Ch]: Add comment and greyedout logical colors.
6926 2003-07-30 André Pönitz <poenitz@gmx.net>
6928 * tabular.C: don't use Assert too heavily. This crashes where it
6931 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6933 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6934 is disabled (bug 1232)
6936 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6938 * factory.C: limited 'arg' scope
6940 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6942 * factory.C: fixed Note submenu issues
6944 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6946 * factory.C: submenu for Note/Comment/Greyedout
6948 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6951 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6953 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6956 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6957 greyedout. Patch provided by Jürgen Spitzmüller.
6959 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6961 * kbmap.C (read): fix error message when reading bind files
6963 2003-07-29 Angus Leeming <leeming@lyx.org>
6965 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6966 certainly does not do what it purports to do. I am doing it, and
6967 us, a favour by killing it.
6969 2003-07-28 José Matos <jamatos@lyx.org>
6971 * buffer.C (readBody, do_writeFile):
6972 * paragraph.C(readParagraph): \end_document replaces \the_end.
6974 2003-07-29 André Pönitz <poenitz@gmx.net>
6977 * BufferView_pimpl.[Ch]:
6981 * textcursor.[Ch]: remove toggleToggle & Co
6983 2003-07-28 José Matos <jamatos@fep.up.pt>
6985 * buffer.C (readParagraph):
6986 * params_func (readParToken, readParagraph):
6987 * paragraph.C (write): \layout -> \begin_layout.
6989 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6991 * lyxlex_pimpl.C (setFile): clean up slightly.
6993 * bufferparams.h: add compressed var
6995 * buffer_funcs.C (readFile): adjust for LyXLex change
6996 (newFile): ditto + simplify
6998 * buffer.C (writeFile): handle writing of compressed files
7000 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
7001 Check if the file is compressed and set a bufferparm if so.
7003 * Makefile.am (lyx_LDADD): remove explicit -lz
7005 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7007 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
7008 makeDocBookFile): put the real LyX version in the first line of
7012 * version.C.in: remove lyx_docversion
7014 * tabular.C (write_attribute): add a template-based version to
7015 write enums properly
7017 2003-07-28 André Pönitz <poenitz@gmx.net>
7022 * text3.C: use doubles again for x-coordinates. They are needed.
7024 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7026 * messages.C (getLocaleDir): use lyx_localedir()
7028 * lyxlex_pimpl.C (setFile): compress stuff
7030 * buffer.C (writeFile): add some compression stuff
7031 (do_writeFile): new func, dont call expliti close... will this
7034 * Makefile.am (lyx_LDADD): add -lz
7036 2003-07-28 José Matos <jamatos@fep.up.pt>
7038 * buffer.C: increment file format.
7039 * paragraph_funcs (readParagraph, readParToken):
7040 * paragraph.C (readParagraph): add \end_layout.
7042 2003-07-27 Angus Leeming <leeming@lyx.org>
7044 * Makefile.am: remove special casing for configure-time setting of
7045 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
7047 * lyx_main.C (init): remove all Jean-Marc's magic setting of
7048 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
7050 2003-07-26 André Pönitz <poenitz@gmx.net>
7052 * paragraph_func.[Ch]:
7053 * paragraph.C (realizeFont): inline it whereever it is used
7058 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
7061 2003-07-26 André Pönitz <poenitz@gmx.net>
7065 * text2.C: get rid of LyXText::need_break_row
7067 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7069 * toc.[Ch]: put namespace toc inside namespace lyx
7071 * MenuBackend.C (expandToc2): adjust for lyx::toc
7074 * lyxfunc.C (dispatch): adjust for lyx::find
7076 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
7077 lyx::find instead. Reorganize a bit.
7078 (LyXReplace): rename to replace
7079 (LyXFind): rename to find
7081 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
7084 2003-07-26 André Pönitz <poenitz@gmx.net>
7086 * text.C (setHeightOfRow): restrict scope of temporary variable
7088 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
7089 code (never has been used?)
7091 2003-07-27 Asger Alstrup <alstrup@local>
7093 * text.C (fill): Optimise algorithm to exploit that we can reuse
7094 the LyXFont for many characters.
7095 (setHeightOfRow): Same thing.
7096 (rowBreakPoint): Same thing.
7098 2003-07-26 Asger Alstrup <alstrup@local>
7100 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
7102 * text.C (singleWidth): Spurious font copying in hot-spot
7103 singleWidth avoided. Reorder tests for arabic for efficiency.
7105 * text.C (fill): handle empty paragraphs better.
7107 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7110 * encoding.h: add includes
7112 * lyxrc.C: remove reading of bind files
7114 * lyx_main.C (init): setup bindings and menus only if we have a
7117 * kbmap.C (read): new method. Do the actual reading of bind
7120 * converter.C (dvipdfm_options):
7123 (output): adapt PAPER_* enums.
7125 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
7127 * bufferparams.h: remove paper-related enums from there
7129 * paper.h: New file. A trivial header file to hold paper-related
7130 enums. It should later expand to contain many paper-related
7133 * lyxrc.C: declare extern displayTranslator
7135 2003-07-27 José Matos <jamatos@fep.up.pt>
7137 * tabular.[Ch] (linuxdoc): add support for tables and figures
7140 2003-07-27 José Matos <jamatos@fep.up.pt>
7142 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
7143 consistency in both functions.
7144 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
7146 2003-07-26 Asger Alstrup <alstrup@local>
7148 * rowpainter.C (paintRows): Change algorithm to work directly on
7149 the insets rather than asking every character in the document
7150 whether its an inset.
7152 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
7154 * buffer.C (openFileWrite): factorize some code
7156 2003-07-26 Angus Leeming <leeming@lyx.org>
7159 * lyx_main.[Ch]: replace occurances of system_tempdir with
7162 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7164 * rename Inset to InsetOld
7166 2003-07-25 Asger Alstrup <alstrup@diku.dk>
7168 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
7169 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
7170 which I think is a bit clearer. EDIT is gone, since it was
7171 premature optimisation, and broken for mathed anyway.
7172 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7173 with cursor positioning in insets as well (math insets still do not
7174 work, but that's a different story anyway.) It mysteriously
7175 crashes sometimes with undo in the first paragraph, but I'm fairly
7176 confident that this is a compiler bug.
7178 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7180 * paragraph.C (Paragraph): adjust for new clone return type
7182 (copyIntoMinibuffer): ditto
7184 2003-07-25 Asger Alstrup <alstrup@lyx.org>
7186 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7187 by not having a special case, and always doing a full rebreak of
7188 the document after undo.
7190 2003-07-23 Angus Leeming <leeming@lyx.org>
7192 * factory.C (createInset): InsetExternal::setParams now takes a
7195 2003-07-23 Angus Leeming <leeming@lyx.org>
7197 * factory.C (createInset): changed interface to the external and
7198 graphics mailers' string2params functions.
7200 2003-07-23 Angus Leeming <leeming@lyx.org>
7202 * factory.C (createInset): pass a
7203 Buffer const * parameter to InsetExternalMailer's string2params.
7205 2003-07-22 John Levon <levon@movementarian.org>
7207 * Thesaurus.h: include the right aiksaurus header
7209 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7211 * MenuBackend.C (expand): check menu shortcuts unconditionally
7213 2003-07-21 Angus Leeming <leeming@lyx.org>
7215 * factory.C (createInset): pass a
7216 buffer_path parameter to InsetGraphicsMailer's string2params.
7218 2003-07-21 Angus Leeming <leeming@lyx.org>
7220 * BufferView_pimpl.C (buffer):
7223 * lyxfunc.C (dispatch):
7224 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7225 rather than the grfx shortcut.
7227 2003-07-21 André Pönitz <poenitz@gmx.net>
7229 * rowpainter.C: remove unused variables
7232 * tabular_funcs.h: move to tabular.C
7233 * Makefile.am: adjust
7235 * tabular.[Ch]: basic optical cleaning
7237 * author.h: pass references, not values
7239 2003-07-18 André Pönitz <poenitz@gmx.net>
7247 * text3.C: two-phase drawing for InsetText and InsetTabular
7248 some float -> int changes.
7250 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7252 * lyx_main.C: fix the fix
7254 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7256 * lyx_main.C: fix a crash in batch mode if no files specified
7259 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
7261 * format.[Ch] (papersize): moved to BufferParams
7262 * converter.[Ch] (dvips_options): moved to BufferParams
7263 (dvipdfm_options): moved to anon namespace
7264 * bufferparams.[Ch]: added above functions.
7266 2003-07-17 André Pönitz <poenitz@gmx.net>
7270 * text2.C: don't call inset->update() anymore
7272 * metricsinfo.[Ch]: add convenience constructor
7274 2003-07-16 André Pönitz <poenitz@gmx.net>
7279 * text2.C: replace the LyXCursor::irow_ member with
7280 on-demand computation of the value
7282 2003-07-16 John Levon <levon@movementarian.org>
7284 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7286 2003-07-15 André Pönitz <poenitz@gmx.net>
7289 * text2.C: remove no more needed refresh_row
7291 2003-07-15 André Pönitz <poenitz@gmx.net>
7296 * text3.C: refresh_status tristate -> need_update bool
7298 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
7300 * lyxtext.h (init): remove reinit argument (act as if always true)
7301 * text2.C: adjust to that
7303 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7305 * bufferview_funcs.[Ch]: introduce function replaceSelection()
7306 * text3.C: use it to delete selections in some cases
7307 (bugs 441, 673, 702, 954).
7309 2003-07-14 André Pönitz <poenitz@gmx.net>
7311 * rowpainter.[Ch]: reduce interface
7313 2003-07-14 André Pönitz <poenitz@gmx.net>
7315 * BufferView_pimpl.C:
7316 * text2.C: adjust after removing unused BufferView * argument
7318 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
7320 * text2.C (init): fix a crash fired on resize
7322 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
7324 * buffer.[Ch]: added new closing signal
7325 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7326 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7327 BufferView::Pimpl via the closing the signal
7329 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
7331 * buffer.[Ch]: take out all bv-related from buffer
7333 * BufferView_pimpl.[Ch]: connect to new signals
7334 * CutAndPaste.C: removed useless asserts
7335 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7338 * lyxfunc.C: moved view-related funciontality from vc here
7339 * paragraph.C: removed outdated comments
7342 2003-07-10 André Pönitz <poenitz@gmx.net>
7344 * BufferView_pimpl.C:
7348 * text2.C: remove InsetText::InnerCache, clean up consequences
7350 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7352 * ispell.C: fix two typos in error messages
7354 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
7356 * Extend Note inset to other forms of annotation like Comment
7357 and Greyedout. Right button click gives dialog.
7359 Files modified or added (+):
7363 * ControlNote.[Ch] +
7365 * Makefile.am in frontends/xforms, frontends/xforms/forms,
7366 frontends/controllers
7370 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7372 * aspell.C: add missing namespace lyx::support
7374 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
7376 * BufferView.[Ch] (newFile): Add
7377 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7378 * LaTeX.[Ch] (message): added this signal and use it
7379 * buffer.[Ch] (busy, message): added these signals and use them
7380 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7384 * importer.C: use buffer signals instead of direct bv calling
7385 * lyx_cb.[Ch] (ShowMessage): removed
7388 * paragraph_funcs.C:
7389 * text2.C: use buffer signals
7391 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7393 * introduce namespace lyx::graphics
7395 2003-07-02 André Pönitz <poenitz@gmx.net>
7397 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7399 2003-07-01 André Pönitz <poenitz@gmx.net>
7406 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7407 text*.C to text_func.C
7409 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7411 * introduce namespace lyx::support
7413 2003-06-30 André Pönitz <poenitz@gmx.net>
7418 * text.C: re-enable --with-included-string
7420 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7422 * textcursor.C: add <config.h>
7424 * text.C (getWord): remove const from word_location arg
7426 * lyxvc.C (getLogFile): fix const type order
7428 * lyxtext.h: remove const from word_location arg, add arg name
7430 * lyxlayout.h: currect type on labeltype.
7432 * importer.C: correct \file
7434 * converter.C (intToFormat): use std:: on ret val, ws changes
7436 * bufferlist.h: correct \file
7438 * buffer.C (makeLinuxDocFile): fix const type order
7439 (makeDocBookFile): ditto
7440 (fillWithBibKeys): use std:: on stdlib args.
7442 * CutAndPaste.C: fix authors.
7443 (availableSelections): use std:: on return vector
7445 2003-06-27 André Pönitz <poenitz@gmx.net>
7447 * BufferView_pimpl.C:
7448 * bufferview_funcs.C:
7456 * text3.C: remove LyXCursor::row_ member
7459 * text.C: rename fullRebreak() to partialRebreak() and implement
7460 a fullRebreak() that really bereks fully
7462 * textcursor.h: new struct for cursor-related data
7464 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7466 * lyx_main.C (LyX): get full path of document loaded on the
7469 2003-06-26 André Pönitz <poenitz@gmx.net>
7471 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7472 remove unused/broken operator>,<,>=.
7474 * text.C: remove only use of broken operator<= in an Assert().
7476 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7478 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7479 moved errorlist_.clear to showErrorList
7481 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7483 * converter.C (scanLog, runLaTeX):
7484 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7485 move the bv->showErrorList call to the callers
7486 * lyxfunc.C: i.e. here...
7488 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7489 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7490 namespace, the second to...
7491 * buffer_funcs (BufferFormat, parseErrors): added
7492 * errorlist.C (ErrorList(TeXErrors const &)): removed
7494 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7496 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7498 2003-06-24 "Garst R. Reese" <reese@isn.net>
7502 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7504 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7506 * version.C.in: change docversion to 1.4
7508 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7510 * buffer.C: fix a bug just introduced
7512 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7514 * buffer.[Ch]: added the parseError signal and use it, removed
7516 * BufferView.[Ch] (addError): moved to ...
7517 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7518 to the Buffer::parseError signal to catch (guess what) parse errors
7519 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7521 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7523 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7524 ability to create a buffer and to return an existing one from
7525 the list. Moved these functions to...
7526 * buffer_funcs.[Ch]: added
7527 * BufferView.[Ch] (loadLyXFile): added
7528 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7529 job removed from bufferlist::loadLyXFile.
7530 * buffer.C (setReadOnly): make it work without view
7531 (i.e added an if (users))
7533 2003-06-19 Angus Leeming <leeming@lyx.org>
7536 * LyXAction.C (init):
7537 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7538 with LFUN_DIALOG_SHOW <name> <data>.
7540 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7542 * CutAndPaste.C (availableSelections): small compilation fix for
7543 ancient (gcc 2.9x) compilers
7545 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7547 * text3.C (cursorNext): add tmp var
7549 * text2.C (updateCounters): for function calling out of for clause
7550 (replaceSelectionWithString): ditto
7551 (insertStringAsParagraphs): ditto
7552 (getColumnNearX): add tmp var
7553 (setCursorFromCoordinates): add tmp var
7554 (cursorDownParagraph): add tmp var
7555 (deleteEmptyParagraphMechanism): add tmp var
7557 * text.C (insertChar): add tmp var
7559 * rowpainter.C (paintDepthBar): add tmp var
7561 * CutAndPaste.C (availableSelections): potentially check all
7562 paragraphs in a cut to fill the shown strings.
7564 2003-06-18 André Pönitz <poenitz@gmx.net>
7566 * kbmap.[Ch]: use vector<> instead of list<>
7568 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7570 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7571 pasteSelection with index
7573 * text2.C (pasteSelection): modify, call pasteSelection with index
7575 * paragraph.C (asString): reimplement version with no interval to
7576 call the one with interval.
7578 * lyxtext.h: add index arg to pasteSelection
7580 * MenuBackend.C (MenuItem): handle PasteRecent
7581 (Menu::read::Menutags): add md_pasterecent
7583 (expandPasteRecent): new function
7586 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7588 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7590 (availableSelections): new function
7592 2003-06-17 Angus Leeming <leeming@lyx.org>
7594 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7596 2003-06-17 Angus Leeming <leeming@lyx.org>
7599 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7601 * lyxfunc.C (dispatch): invoke it.
7603 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7605 * iterators.C (operator++, ParPosition): reintroduce some
7606 const_cast for the benefit of older compilers.
7608 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7610 * text3.C (dispatch): do not modify clipboard when doing
7611 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7612 LFUN_DELETE_SKIP on a selection selection
7614 2003-06-16 André Pönitz <poenitz@gmx.net>
7620 * tabular.[Ch]: IU of clone() and getLabelList();
7622 2003-06-13 André Pönitz <poenitz@gmx.net>
7624 * tabular.h: compactification
7626 2003-06-12 André Pönitz <poenitz@gmx.net>
7630 * tabular_funcs.h: some renaming plus whitespace
7632 2003-06-12 André Pönitz <poenitz@gmx.net>
7635 * BufferView_pimpl.C:
7641 * toc.C: Return a Paragraph & for ParIterator::operator*()
7643 2003-06-11 John Levon <levon@movementarian.org>
7647 * ToolbarBackend.C: add "Toolbars" section and
7650 2003-06-10 Angus Leeming <leeming@lyx.org>
7653 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7655 * lyxfunc.C (dispatch): invoke it.
7657 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7659 * main.C: protect <ios> with HAVE_IOS
7660 (main): protect sync_with_stdio with HAVE_IOS
7662 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7664 * text2.C (cutSelection): adjust
7665 (pasteSelection): adjust
7667 * messages.C: handle get of empty string
7669 * main.C (main): use sync_with_stdio(false)
7671 * lyxfunc.C (dispatch): adjust
7673 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7674 (WriteAs): remove unneeded BufferView arg.
7676 * bufferparams.h: use correct types on papersize, papersize2 and
7679 * bufferparams.C (readToken): adjust for type
7680 (writeLaTeX): add missing cases to switch.
7682 * bufferlist.C (quitWriteBuffer): adjust
7685 * buffer.C (asciiParagraph): remove some commented code.
7687 * CutAndPaste.C: remove current_view extern variable.
7688 (cutSelection): add BufferParams arg.
7689 (eraseSelection): add BufferParams arg.
7690 (pasteSelection): add Buffer const & arg
7692 2003-06-07 John Levon <levon@movementarian.org>
7695 * paragraph_funcs.C:
7696 * paragraph_pimpl.C:
7700 * paragraph.C: allow InsetERT to freely space lines,
7701 and some consolidation of code
7703 2003-06-06 José Matos <jamatos@fep.up.pt>
7705 * buffer.C (makeDocBookFile): fix bug #821
7707 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7709 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7711 2003-06-04 Angus Leeming <leeming@lyx.org>
7713 * buffer.C: bump format to 224.
7715 2003-06-05 André Pönitz <poenitz@gmx.net>
7717 * text2.C (redoParagraphs): remove two const_cast<>
7719 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7721 * ParagraphList.h: remove last remnants of NO_STD_LIST
7723 2003-06-03 Angus Leeming <leeming@lyx.org>
7725 * factory.C (createInset): small change to the way InsetExternal's params
7728 2003-06-04 André Pönitz <poenitz@gmx.net>
7730 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7732 * paragraph_pimpl.h:
7733 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7735 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7737 * undo_funcs.C: make some simple cases of undo work again
7739 2003-06-03 John Levon <levon@movementarian.org>
7741 * ispell.C: HPUX doesn't have sys/select.h
7744 2003-06-03 John Levon <levon@movementarian.org>
7746 * CutAndPaste.C: update tabular and include inset
7751 * paragraph.C: remove owningBuffer(), don't pass Buffer
7754 * factory.C: insetGraphicsParams changed
7756 2003-06-02 John Levon <levon@movementarian.org>
7762 * text3.C: remove insetparent
7764 2003-06-02 John Levon <levon@movementarian.org>
7767 * buffer.C: fix inset_iterator.end(), move out of line
7770 2003-06-01 John Levon <levon@movementarian.org>
7772 * text3.C: use a proper cut/paste when doing inset
7773 insert (from Jürgen Spitzmüller)
7775 2003-06-01 John Levon <levon@movementarian.org>
7777 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7779 2003-05-30 André Pönitz <poenitz@gmx.net>
7781 * rowpainter.C: unify second drawing phase
7783 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7785 * trans_mgr.C: remove one case of current_view
7787 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7789 * paragraph_funcs.h: remove paragraph.h include
7791 * paragraph.h: delete NO_STD_LIST stuff
7793 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7795 * buffer.h: remove paragraph.h include
7797 * ParagraphList.C: delete file
7799 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7801 * toc.C (getTocList): adjust
7803 * paragraph_pimpl.C (validate): adjust
7805 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7807 * paragraph.C (Paragraph): adjust
7808 (getPositionOfInset): use const_iterator, adjust
7809 (bibitem): use const_iterator, adjust
7810 (setInsetOwner): adjust
7812 * iterators.C (operator++): adjust
7814 * InsetList.[Ch]: Replace selfmade iterator with standard
7815 vector::iterator also introduce const_iterator. Remove getPos,
7816 getInset and setInset from InsetTable. Adjust accordingly.
7818 * BufferView.C (lockInset): adjust
7819 (ChangeInsets): adjust
7821 * tabular.[Ch]: delete commented same_id functions
7823 2003-05-28 John Levon <levon@movementarian.org>
7825 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7827 2003-05-28 André Pönitz <poenitz@gmx.net>
7829 * metricsinfo.[Ch]: remove 'fullredraw' member
7831 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7833 * lyxtextclass.C (operator): remove caching.
7835 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7839 * text2.C (cursorBottom): adjust
7840 (setCounter): use ParagraphList::find, adjust
7842 * text.C (workWidth): use ParagraphList::find, adjust
7844 * lyxcursor.C (LyXCursor): adjust
7846 * buffer.C (inset_iterator): adjust
7848 * ParagraphList.h: make iterator(value_type) private, make
7849 ParagraphList a friend of iterator.
7851 * ParagraphList.C (find): new function
7853 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7855 2003-05-27 André Pönitz <poenitz@gmx.net>
7857 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7859 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7861 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7863 2003-05-26 John Levon <levon@movementarian.org>
7865 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7867 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7869 * remove same_id from function signatures, adjust.
7871 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7873 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7875 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7877 * paragraph.C (Paragraph): get rid of same_ids parameter
7879 * ParagraphList.C (insert): adjust
7882 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7884 * paragraph_funcs.C (breakParagraph): adjust
7885 (breakParagraphConservative): adjust
7887 * buffer.C (readParagraph): adjust
7889 * ParagraphList.C (insert): take a reference instead of a pointer
7892 * paragraph.[Ch] (id): new function
7894 * bufferlist.C (newFile): adjust
7896 * ParagraphList.C (ParagraphList): adjust
7898 (push_back): take a reference instead of a pointer.
7900 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7902 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7905 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7906 set else use old code.
7908 * ParagraphList.C: remove all NO_NEXT code and only compile this
7909 code of NO_STD_LIST is set.
7911 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7913 * BufferView_pimpl.C:
7923 * graphics/GraphicsConverter.C:
7924 * graphics/PreviewLoader.C: header adjustment
7926 2003-05-23 Angus Leeming <leeming@lyx.org>
7928 * LaTeXFeatures.[Ch] (useBabel): new method.
7929 * bufferparams.C (writeLaTeX): use it.
7931 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7933 * ParagraphList.h (set): remove unused function.
7935 2003-05-23 André Pönitz <poenitz@gmx.net>
7938 * BufferView_pimpl.C:
7942 * undo_funcs.C: setUndo reworked
7944 * iterators.[Ch]: add access to topmost ParagraphList
7946 * lyxtext.[Ch] (workWidth): add a const
7948 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7950 * texrow.[Ch] (increasePos): remove function
7951 * exporter.C (export): removed unused var and outdated comment
7953 2003-05-23 Angus Leeming <leeming@lyx.org>
7955 * latexrunparams.h: rename fragile as moving_arg.
7956 * paragraph.C (simpleTeXOnePar): ditto.
7957 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7959 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7961 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7963 (textUndoOrRedo): comment out a currently unused var.
7965 * paragraph.h (NO_NEXT): enable NO_NEXT
7967 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7969 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7971 * exporter.C (Export): adjust for removeAutoInsets removal.
7973 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7975 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7977 * BufferView.[Ch] (removeAutoInsets): delete function
7979 2003-05-22 Angus Leeming <leeming@lyx.org>
7981 * latexrunparams.h: add a free_spacing variable.
7983 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7984 to pass moving_arg, as the data is stored in runparams.fragile.
7986 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7987 to Inset::latexOptional or to simpleTeXOnePar.
7989 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7990 free_spacing arg to Inset::latexOptional.
7992 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7995 2003-05-22 Angus Leeming <leeming@lyx.org>
7997 * latexrunparams.h: add fragile and use_babel variables.
7999 * bufferparams.[Ch] (writeLaTeX): return use_babel.
8000 * buffer.C (makeLaTeXFile): store this returned value in
8001 runparams.use_babel, thus passing it to the inset::latex methods.
8003 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
8004 simpleTeXSpecialChars as it is now stored in runparams.fragile.
8006 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
8007 longer has a fragile arg, as it is stored in runparams.fragile.
8009 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
8010 moving_arg parameter as the data is stored in runparams.fragile.
8012 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
8013 a fragile parameter as the data is stored in runparams.fragile.
8015 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8017 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
8019 2003-05-22 Angus Leeming <leeming@lyx.org>
8021 * latexrunparams.h: add a 'bool nice' which defaults to false.
8023 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
8024 now encapsulated within runparams.
8026 * bufferlist.C (updateIncludedTeXfiles):
8027 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
8029 2003-05-22 Angus Leeming <leeming@lyx.org>
8031 * latexrunparams.h: new file containing struct LatexRunParams.
8032 * Makefile.am: add new file.
8034 * LaTeX.[Ch] (c-tor, run):
8035 * buffer.[Ch] (makeLaTeXFile):
8036 * bufferlist.[Ch] (updateIncludedTeXfiles):
8037 * converter.C (convert, scanLog):
8038 * converter.[Ch] (runLaTeX):
8039 * exporter.C (Export):
8040 * paragraph.[Ch] (simpleTeXOnePar):
8041 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
8042 * paragraph_funcs.[Ch] (latexParagraphs):
8043 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
8044 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
8045 pass around a LatexRunParams parameter.
8047 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8049 * paragraph.[Ch]: remove unused constructor
8051 * ParagraphList.C (erase): new function, taking two iterators
8053 2003-05-22 André Pönitz <poenitz@gmx.net>
8055 * undo_funcs.C: remove duplicated code
8057 * iterator.[Ch]: operator=
8059 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8061 * tabular.C (SetMultiColumn): ws changes
8063 * rowpainter.C (paintFirst): get rid of a ->previous
8065 * lyx_cb.C (getPossibleLabel): parlist simplification
8067 * BufferView.C (ChangeInsets): simplify slightly.
8069 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8071 * LyXAction.C: new lfun space-insert, kill protected-space-insert
8072 * lfuns.h: new LFUN_SPACE
8073 * lyxfunc.C: protected space has a new lfun
8074 * paragraph_funcs.C: read new space insets
8076 * factory.C: handle new space insets
8078 2003-05-22 André Pönitz <poenitz@gmx.net>
8081 * BufferView_pimpl.C:
8084 * undo_funcs.C: return a ParIterator from getParFromID.
8086 * iterators.[Ch]: add two const's
8088 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8090 * toc.C (getTocList): adjust
8092 * iterators.[Ch]: rework for parlist
8094 * buffer.C (par_iterator_begin): adjust
8095 (par_iterator_end): adjust
8097 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
8099 * BufferView.C (removeAutoInsets): adjust
8100 (ChangeInsets): adjust
8102 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
8104 * text.C (top_y): fix bug 1110
8106 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
8108 * errorlist.[Ch]: added
8111 * BufferView_pimpl.C:
8112 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
8115 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8117 * Makefile.am: ensure that lyx is relinked upon changes to the
8118 various "convenience" libs.
8120 2003-05-20 Angus Leeming <leeming@lyx.org>
8122 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
8123 files are compiled in alphabetical order again.
8125 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
8127 2003-05-19 Angus Leeming <leeming@lyx.org>
8129 * gettext.[Ch]: remove "char const * _(char const *)".
8131 2003-05-19 André Pönitz <poenitz@gmx.net>
8133 * dimension.[Ch]: promote from mathed/dimension.[Ch]
8142 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
8144 2003-05-19 André Pönitz <poenitz@gmx.net>
8148 * lyxtextclass.[Ch]:
8150 * paragraph_funcs.[Ch]:
8152 * text3.C: more insetenv work
8154 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
8156 * ParagraphParameters.C (params2string): small bug fixed
8158 2003-05-16 André Pönitz <poenitz@gmx.net>
8161 * bufferview_funcs.C: patch from Kornel Benko to prevent
8162 crash when _(...) is called twice in a statement
8164 2003-05-16 André Pönitz <poenitz@gmx.net>
8171 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8173 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
8175 * lyx_main.C (init): remove spurious static_cast
8177 2003-05-14 André Pönitz <poenitz@gmx.net>
8179 * BufferView.C: fix format string
8181 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
8183 * BufferView.[Ch] (insertErrors): removed
8184 * BufferView.[Ch] (showErrorList): added
8185 * buffer.C (runChkTeX):
8186 * converter.C (scanLog): call showErrorList instead of inserterrors
8188 2003-05-13 André Pönitz <poenitz@gmx.net>
8190 * BufferView_pimpl.C:
8192 * bufferview_func.C:
8199 * tabular_funcs.h: tostr() from its own header
8201 * ParagraphParameters.C:
8206 * text3.C: STRCONV()
8208 2003-05-12 André Pönitz <poenitz@gmx.net>
8211 * BufferView_pimpl.C:
8215 * ParagraphParameters.C:
8219 * bufferview_funcs.C:
8232 * paragraph_funcs.C:
8236 * text3.C: boost::format -> bformat all over the place
8239 2003-05-09 André Pönitz <poenitz@gmx.net>
8241 * LColor.[Ch]: Pimpl the #include <map> away
8243 2003-05-09 John Levon <levon@movementarian.org>
8245 * bufferlist.C: never remove emergency saves
8247 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8249 * Makefile.am: better lib building
8251 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
8253 * texrow.[Ch]: remove dependency on Paragraph and just store a id
8255 * paragraph_pimpl.C (simpleTeXBlanks): adjust
8256 (simpleTeXSpecialChars): adjust
8257 (simpleTeXSpecialChars): adjust
8258 * paragraph.C (simpleTeXOnePar): adjust
8259 * buffer.C (makeLaTeXFile): adjust
8261 * Makefile.am (BOOST_LIBS): allow boost as system lib.
8263 * text2.C (changeDepth): parlist cleanup
8264 (getColumnNearX): ditto
8266 * rowpainter.C (getLabelFont): parlist cleanup
8268 * bufferlist.C (newFile): parlist cleanup
8270 * CutAndPaste.C (eraseSelection): parlist cleanup
8272 * BufferView_pimpl.C (trackChanges): parlist cleanup
8275 * BufferView.C (lockInset): parlist cleanup.
8276 (ChangeInsets): ditto
8278 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8280 * CutAndPaste.h: Update file header.
8282 * CutAndPaste.C: Update file header.
8283 Store the parts cut out of the Document in a limited_stack.
8284 (copySelection): adjust
8285 (pasteSelection): new function, takes the index in the limited stack.
8286 (nrOfParagraphs): adjust
8287 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8288 simplify error inset insertion.
8289 (checkPastePossible): adjust
8291 2003-05-06 John Levon <levon@movementarian.org>
8293 * text2.C: don't cast wrap inset to float
8295 2003-05-05 André Pönitz <poenitz@gmx.net>
8298 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8300 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8301 few naked Paragraph *.
8303 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
8305 * bufferparams.C: Output warning if a document with missing
8306 TeX document class is loaded
8307 * exporter.C: Disable TeX exports if the document class is missing
8310 * lyxtextclasslist.C: Handle new textclass.lst format; new method
8311 isTeXClassAvailable()
8313 2003-05-03 John Levon <levon@movementarian.org>
8316 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8317 explicit cursor show/hide
8319 * BufferView_pimpl.h:
8320 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8321 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8323 * lyxfunc.C: hide cursor before dispatching.
8328 * text3.C: remove explicit cursor hides
8330 2003-05-02 André Pönitz <poenitz@gmx.net>
8332 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8335 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8338 * text2.C: tiny whitespace
8340 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8342 * undo_funcs.C: almost only ws changes.
8344 * ParagraphList.C (splice): just return if pl is empty.
8346 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8348 * ParagraphList.C (splice): new function.
8350 * CutAndPaste.C (pasteSelection): use it
8352 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8354 * CutAndPaste.C (pasteSelection): remove the last next and
8355 previous from this file.
8357 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8359 * CutAndPaste.C (pasteSelection): more clean up, user proper
8360 ParagraphList functions for pasteing.
8362 * ParagraphList.C (insert): new function, three arg insert
8364 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8366 * ParagraphList.C (insert): new function, three arg insert
8368 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8371 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8373 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8375 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8377 * CutAndPaste.C (pasteSelection): remove some unneeded code.
8379 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8381 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8382 (copySelection): clean up a bit.
8383 (pasteSelection): use make_pair
8385 * ParagraphList.C (ParagraphList): implement copy constructor
8386 (operator=): implement, base on copy constructor.
8389 * paragraph.C (erase): return a bool
8391 * paragraph_pimpl.C (erasePos): remove function, move contents...
8392 (erase): ... here. Return a bool.
8393 (erase): call erase instead of erasePos.
8395 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
8397 * ParagraphList.h: define PitPosPair
8398 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8399 ParagraphList, fix a bug on pasting multiple pars
8400 * text2.C: change interface to C&P
8402 2003-04-30 André Pönitz <poenitz@gmx.net>
8404 * undo_func.C: revert part of yesterday's patch 2
8406 2003-04-30 John Levon <levon@movementarian.org>
8408 * LColor.C: s/tabular/table/
8410 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8412 * text3.C (dispatch): do not convert iterator -> pointer
8413 * undo_funcs.C (setCursorParUndo): ditto
8414 * text_funcs.C (transposeChars): ditto
8416 * text2.C (setLayout): ws changes only
8418 * text.C (breakParagraph): do not convert iterator -> pointer
8420 (acceptChange): ditto
8421 (rejectChange): ditto
8426 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8429 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8431 * text3.C (gotoInset): YABG (yet another bad getChar)
8433 2003-04-29 André Pönitz <poenitz@gmx.net>
8435 * paragraph.h: make operator= private unimplemented as long as
8438 * ParagraphList.C: whitespace
8441 * paragraph_pimpl.[Ch]:
8442 * paragraph_funcs.C:
8444 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8447 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8449 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8451 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8452 * paragraph.[Ch] (erase):
8453 * paragraph_pimpl.[Ch] (erase): change return type and value
8454 * text2.C (cutSelection): some rework
8456 2003-04-28 John Levon <levon@movementarian.org>
8458 * bufferlist.C: changes for unsaved changes dialog
8460 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8462 * bufferlist.C (newFile): set language (messages_) for new
8465 * buffer.C (readFile): ws changes only.
8467 2003-04-28 André Pönitz <poenitz@gmx.net>
8472 * BufferView_pimpl.C:
8473 * BufferView.C: getParFromID related ParagraphList::iterator changes
8475 2003-04-28 André Pönitz <poenitz@gmx.net>
8477 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8480 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8482 * messages.C: remove one more localedir class variable.
8484 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8486 * messages.C (getLocaleDir): singleton generation function
8488 (Messages): add a default constructor.
8490 * main.C (main): do not setup localedir here, do not call
8493 * gettext.C (_): use it.
8494 (gettext_init): delete funciton
8496 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8498 * gettext.C (getLyXMessages): new singleton generating function.
8500 * buffer.C (updateDocLang): adjust
8502 * Makefile.am (messages.o): add target
8503 (main.o): remove target
8505 2003-04-27 John Levon <levon@movementarian.org>
8510 * lyxvc.C: specify cancel button in Alert::prompt
8512 2003-04-26 John Levon <levon@movementarian.org>
8517 * LyXAction.C: add LFUN_INSET_SETTINGS
8519 * lyxfunc.C: don't enable tabular-feature when there's
8520 just any locking inset
8522 2003-04-26 John Levon <levon@movementarian.org>
8524 * bufferlist.C: re-add Cancel to buffer close question
8526 * lyxfunc.C: fix import UI a bit
8528 2003-04-25 John Levon <levon@movementarian.org>
8530 * gettext.C: remove the broken asserts for now
8532 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8534 * messages.C: make case where setlocale cannot comply work better.
8536 * buffer.C (updateDocLang): new function
8537 (changeLanguage): use it
8540 * text2.C (setCounter): use B_ a bit.
8542 * lyxlayout.C (Read): be sure to trim the label strings.
8544 * messages.C (Messages): fix typo in comment
8546 * buffer.C (readFile): set message_ after file is loaded.
8547 (makeDocBookFile): remove double return
8548 (changeLanguage): reset message_ upon language change.
8549 (B_): new func, use this to get translated buffer strings.
8551 * main.C: add myself and Jean Marc as authors.
8553 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8555 * messages.[hC]: pimplify Messages, and three different pimpls to be
8556 used in different circumstances.
8558 * gettext.[Ch]: change for use with new message code.
8560 2003-04-24 André Pönitz <poenitz@gmx.net>
8562 * factory.C: support for eqref
8564 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8566 * messages.[Ch]: add missing char
8568 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8570 * messages.[Ch]: New files
8572 2003-04-18 John Levon <levon@movementarian.org>
8576 * BufferView_pimpl.C:
8580 * text2.C: remove layout-copy/paste (bug 778)
8582 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8584 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8586 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8588 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8589 if they succeed. Act accordingly.
8591 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8593 * text2.C (setCharFont): adjust
8594 (setCounter): adjust
8595 (insertStringAsLines): adjust
8597 * text.C (leftMargin): adjust
8598 (setHeightOfRow): adjust
8600 * rowpainter.C (paintFirst): adjust
8603 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8605 (isFirstInSequence): ditto
8606 (getEndLabel): ditto
8609 * paragraph.C (getParLanguage): comment out some hard stuff.
8611 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8613 (simpleDocBookOnePar): ditto
8614 (makeDocBookFile): use ParagraphList::iterator
8616 * CutAndPaste.C (pasteSelection): adjust
8618 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8620 * text2.C (getFont): adjust
8621 (getLayoutFont): adjust
8622 (getLabelFont): adjust
8624 * paragraph_funcs.C (TeXOnePar): adjust
8626 * buffer.C (simpleLinuxDocOnePar): adjust
8627 (simpleDocBookOnePar): adjust
8629 * CutAndPaste.C (pasteSelection): adjust
8631 * BufferView.C (getEncoding): adjust
8633 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8635 2003-04-16 John Levon <levon@movementarian.org>
8637 * lyxfind.C: use parlist stuff for search/changes
8639 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8641 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8643 * text2.C (deleteEmptyParagraphMechanism): adjust
8645 * text2.[Ch] (ownerParagraph): delete func (both of them
8647 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8649 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8651 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8653 * ParagraphList.C: prepare for NO_NEXT
8655 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8657 * text2.C (getFont): adjust
8658 (getLayoutFont): adjust
8659 (getLabelFont): adjust
8661 * paragraph.C (getFont): adjust
8662 (getLabelFont): adjust
8663 (getLayoutFont): adjust
8665 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8667 2003-04-15 John Levon <levon@movementarian.org>
8671 * lyx_main.C: handle Include in .ui files
8673 2003-04-15 John Levon <levon@movementarian.org>
8675 * MenuBackend.C: make the doc files length shorter
8678 * ToolbarBackend.C: handle toolbar placement flags,
8681 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8683 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8686 * paragraph_funcs.C (TeXOnePar): adjust
8688 * paragraph.C (getLabelFont): add outerfont arg, adjust
8689 (getLayoutFont): ditto
8690 (simpleTeXOnePar): adjust
8692 * paragraph_pimpl.C (realizeFont): delete func
8694 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8696 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8697 row argument, constify cur argument.
8699 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8701 * text2.C (getFont): adjust
8702 (getLayoutFont): adjust
8703 (getLabelFont): adjust
8705 * paragraph_funcs.C (TeXOnePar): adjust
8706 (outerFont): new func...
8707 (realizeFont): ...moved out from here, changed this to facilitate
8710 * paragraph.C (getFont): take outerfont as arg, adjust
8711 (simpleTeXOnePar): add outerfont arg, adjust
8713 * buffer.C (simpleLinuxDocOnePar): adjust
8714 (simpleDocBookOnePar): adjust
8716 * CutAndPaste.C (pasteSelection): adjust
8718 * BufferView.C (getEncoding): adjust
8720 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8722 * text2.C (setCharFont): adjust
8723 (setCounter): adjust
8725 * text.C (leftMargin): adjust
8726 (setHeightOfRow): adjust
8728 * rowpainter.C (paintFirst): adjust
8731 * paragraph_pimpl.C (realizeFont): adjust
8733 * paragraph.C (isFirstInSequence): move from here...
8734 * paragraph_funcs.C (isFirstInSequence): ...to here
8736 * paragraph.C (outerHook): move from here...
8737 * paragraph_funcs.C (outerHook): ...to here
8739 * paragraph.C (depthHook): move from here...
8740 * paragraph_funcs.C (depthHook): ...to here
8742 * paragraph.C (getEndLabel): move from here...
8743 * paragraph_funcs.C (getEndLabel): ...to here
8745 * text2.C (realizeFont): move from here...
8746 * paragraph_funcs.C (realizeFont): ...to here
8748 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8750 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8752 2003-04-14 Angus Leeming <leeming@lyx.org>
8754 * LColor.[Ch]: scrap LColor mathcursor.
8756 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8758 * lyxlex.[Ch] (text): delete function
8759 * trans.C (Load): adjust
8760 * paragraph_funcs.C (readParToken): adjust
8762 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8764 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8765 vector<char> instead of a char[].
8767 * lyxlex_pimpl.C (getString): adjust
8769 (lex): use getString
8773 * lyxlex.C (text): use pimpl_->getString()
8777 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8779 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8780 (makeFontEntriesLayoutSpecific): temp var for par.size()
8781 (setLayout): temp var for ownerParagraphs().end()
8782 (fullRebreak): temp var for rows().end()
8783 (selectionAsString): temp var for boost::next(startpit), realize
8784 that the while really is a regular for loop.
8785 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8786 setCursor in one place.
8787 (setParagraph): temp vr for ownerParagraphs().end()
8788 (updateCounters): make the while loop a for loop
8789 (cutSelection): temp var for ownerParagraphs().end()
8790 (updateInset): make the do {} while() a regular for loop
8791 (getCursorX): use temp vars
8792 (setCurrentFont): use temp vars
8793 (getColumnNearX): use temp vars
8795 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8797 * text.C (transformChar): use temp var for getChar
8798 (computeBidiTables): use temp var for row->par()
8799 (fill): move temp vars for row->par() and pit->layout() earlier in
8801 (labelFill): use temp var for row->par()
8802 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8803 asc and desc, realize that pit never changes and that firstpit is
8804 just a duplicate and not needed. Exchange rit->par() with pit in a
8806 (breakAgain): use a temp var for boost::next(rit)
8807 (breakAgainOneRow): ditto
8808 (breakParagraph): use a temp var for rows().begin()
8809 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8810 (cursorRightOneWord): use temp var for cursor.par() and
8811 cursor.pos(), remove usage of tmpcursor.
8812 (cursorLeftOneWord): use temp var for cursor.par() and
8813 cursor.pos() only set cur at end of function.
8815 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8817 * text.C, text2.C: exchange all usage of Paragraph::next with
8818 boost::next(ParagraphList::iterator)
8820 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8822 * text2.C (cursorTop): simplify implementation
8823 (cursorBottom): ditto
8824 (setParagraph): use ParagraphList::iterator
8825 (setCurrentFont): adjust
8826 (getColumnNearX): adjust
8827 (cursorRight): adjust
8828 (cursorLeft): remove usage of Paragraph::previous
8829 (cursorUpParagraph): ditto
8830 (deleteEmptyParagraphMechanism): slight cleanup
8832 * text.C (isBoundary): take a Paragraph const & instead of a
8834 (addressBreakPoint): ditto
8835 (leftMargin): remove usage of Paragraph::previous.
8836 (setHeightOfRow): ditto
8837 (cursorLeftOneWord): ditto
8838 (selectNextWordToSpellcheck): ditto
8841 (breakParagraph): remove one usage of Paragraph::next
8842 (redoParagraph): ditto
8843 (acceptChange): ditto
8844 (insertChar): adjust
8845 (rowBreakPoint): adjust
8847 * bufferview_funcs.C (toggleAndShow): adjust
8849 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8851 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8852 methods to access it.
8854 * text.C: Added updateRowPositions to compute all row positions.
8855 Make top_y and getRowNearY() to use the cached y position
8857 2003-04-11 John Levon <levon@movementarian.org>
8859 * text.C (rowBreakPoint): reintroduce the labelEnd
8860 checks, code copied from the row fill stuff. Deep voodoo.
8862 * text.C (fill): add a comment and debugging for the
8865 2003-04-11 John Levon <levon@movementarian.org>
8867 * text.C: make sure fullrow insets get wrapped to the next line,
8868 even when they're in a manual label
8870 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8872 * text2.C (insertParagraph): make it take ParagraphList::iterator
8874 (setLayout): make it return ParagraphList::iterator
8875 (redoParagraphs): ditto
8877 (checkParagraph): ditto
8879 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8881 * text2.C: adjust several funcs.
8882 (realizeFont): take a ParagraphList::iterator as arg.
8883 (getLayoutFont): ditto
8884 (getLabelFont): ditto
8885 (setCharFont): ditto
8887 * text.C: adjust several funcs.
8889 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8891 * text.C (selectNextWordToSpellcheck): don't accidentally
8894 2003-04-10 John Levon <levon@movementarian.org>
8896 * ToolbarBackend.C (getIcon): special handling for
8899 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8901 * text2.C (cursorRight): a getChar assert fixed
8903 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8905 * text2.C (getFont): change to take a ParagraphList::iterator
8906 instead of Paragraph*
8907 Adjust several functions.
8909 * text.C (transformChar): change to take a ParagraphList::iterator
8910 instead of Paragraph*
8911 (singleWidth): ditto
8912 Adjust several functions.
8914 * rowpainter.C: adjust several functions
8915 * rowpainter.h:store a ParagraphList::iterator and not a
8919 2003-04-09 John Levon <levon@movementarian.org>
8924 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8925 and the "help" bits as well
8927 2003-04-09 John Levon <levon@movementarian.org>
8930 * ToolbarBackend.C: allow multiple toolbars
8932 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8934 * undo_funcs.C (setCursorParUndo): adjust
8936 * text_funcs.C (transposeChars): adjust
8938 * text3.C (gotoNextInset): adjust
8941 * text2.C (setLayout): adjust
8942 (changeDepth): adjust
8944 (redoParagraphs): adjust
8945 (selectionAsString): adjust
8946 (setParagraph): adjust
8947 (insertInset): adjust
8948 (cutSelection): adjust
8949 (copySelection): adjust
8950 (pasteSelection): adjust
8951 (insertStringAsLines): adjust
8952 (updateInset): adjust
8953 (setCursor): change to take a ParagraphList::iterator parameter
8954 (setCursorIntern): change to take a ParagraphList::iterator parameter
8955 (setCurrentFont): adjust
8956 (cursorLeft): adjust
8957 (cursorRight): adjust
8958 (deleteEmptyParagraphMechanism): adjust
8960 * text.C (breakParagraph): adjust
8961 (insertChar): adjust
8962 (acceptChange): adjust
8963 (rejectChange): adjust
8964 (selectNextWordToSpellcheck): adjust
8965 (changeCase): adjust
8969 * lyxfind.C (SearchForward): adjust
8970 (SearchBackward): adjust
8971 (nextChange): adjust
8973 * lyxcursor.C (par): adjust
8975 * lyxcursor.h: store a ParagraphList::iterator instead of a
8978 * lyx_cb.C (getPossibleLabel): adjust
8980 * bufferview_funcs.C (toggleAndShow): adjust
8982 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8985 * BufferView.C (removeAutoInsets): adjust
8986 (lockedInsetStoreUndo): adjust
8988 2003-04-09 John Levon <levon@movementarian.org>
8990 * ToolbarBackend.C: try icon without argument
8991 if with argument fails
8993 2003-04-08 John Levon <levon@movementarian.org>
8996 * ToolbarBackend.C: add getIcon(), handle tooltip,
8997 and change from "Icon" to "Item".
8999 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
9001 * BufferView.C (lockInset): another bad getchar crunched
9003 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
9005 * text2.C (changeDepth): do not setUndo on test_only (make undo work
9008 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
9010 * lyxfind.C (searchForward, searchBackwards): bug 782
9012 2003-04-07 John Levon <levon@movementarian.org>
9014 * paragraph.C: remove dead comment
9016 * text.C: remove troublesome depth-fiddling code
9017 in leftMargin() and rightMargin() (bug 1017)
9019 * text.C: fix breaking of rows in nested lists
9022 * text2.C (updateCounters): fix up depth values
9025 2003-04-07 John Levon <levon@movementarian.org>
9027 * BufferView_pimpl.C: clear message when doc finishes resizing,
9028 and after a mouse event
9030 * lyxfunc.C: clear message after exiting inset
9032 2003-04-07 John Levon <levon@movementarian.org>
9034 * bufferview_funcs.C: show math status not outside
9035 status in the statusbar
9037 2003-04-07 John Levon <levon@movementarian.org>
9039 * lyxfunc.C: note status changed after a depth change
9041 2003-04-04 Angus Leeming <leeming@lyx.org>
9043 * LaTeX.h: move AuxInfo operator==, != out of line.
9044 Remove LaTeX virtual destructor; nothing derives from it.
9045 Move operator()() out of public area and rename it startscript().
9046 Change protected for private.
9048 2003-04-04 Angus Leeming <leeming@lyx.org>
9051 * text2.C: remove unneeded #includes.
9053 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
9055 * text2.C (dEPM): fix the heigth of the next row
9057 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
9059 * text.C: squashed an invalid getChar requester + some ws changes
9061 2003-04-03 John Levon <levon@movementarian.org>
9063 * bufferview_funcs.h:
9064 * bufferview_funcs.C:
9067 * text2.C: make getStatus work for the env depth lfuns
9069 2003-04-03 John Levon <levon@movementarian.org>
9071 * bufferview_funcs.h:
9072 * bufferview_funcs.C:
9075 * text2.C: parlistize decDepth(), by merging it with incDepth()
9077 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9079 * lyxrow.h: store a ParagraphList::iterator instead of a
9080 Paragraph* and adjust other class functions to suit.
9082 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
9085 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
9087 * text2.C (setCursor): do not anchor to cursor row for the time being
9089 2003-04-02 John Levon <levon@movementarian.org>
9096 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
9098 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9100 * paragraph.h: make ParagraphList and ParagraphList::iterator
9101 friends of Paragraph.
9103 * buffer.C (makeLinuxDocFile): move towards ParagraphList
9105 * ParagraphList.C: Use the private next_ and previous_ from
9108 2003-04-01 John Levon <levon@movementarian.org>
9112 * Makefile.am: rename, remove defaults gunk
9115 * MenuBackend.C: remove defaults gunk
9118 * Languages.C: remove defaults gunk
9121 * lyx_main.C: error out if files couldn't be found.
9123 2003-04-02 John Levon <levon@movementarian.org>
9125 * text2.C: make incDepth() use parlist
9127 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9129 * undo_funcs.C (firstUndoParagraph): adjust
9131 * text3.C (gotoInset): adjust
9132 (dispatch): adjust, and rewrite loop.
9134 * text2.C (init): adjust, and rewrite loop.
9135 (redoParagraphs): adjust
9136 (updateInset): adjust, and rewrite loop.
9137 (deleteEmptyParagraphMechanism): adjust
9139 * tabular.C (LyXTabular): adjust
9140 (SetMultiColumn): adjust
9143 * lyxtext.[Ch] (ownerParagraph): delete function
9144 (ownerParagraphs): new function returns a ParagraphList.
9146 * BufferView.C (removeAutoInsets): adjust
9147 (insertErrors): adjust
9148 (setCursorFromRow): adjust
9150 2003-04-01 Angus Leeming <leeming@lyx.org>
9152 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
9155 2003-04-02 John Levon <levon@movementarian.org>
9161 * text_funcs.C: make transposeChars a free function
9163 * lyxrow_funcs.C: remove wrong comment
9165 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9168 * rowpainter.C: adjust
9173 * lyxrow_funcs. [Ch]: new files
9175 * lyxrow.[Ch]: remove next and previous pointers
9176 (next,previous): remove accessor functions
9177 (isParEnd): move to lyxrow_funcs
9178 (lastPos): move to lyxrow_funcs
9179 (nextRowIsAllInset): move to lyxrow_funcs
9180 (lastPrintablePos): move to lyxrow_funcs
9181 (numberOfSeparators): move to lyxrow_funcs
9182 (numberOfHfills): move to lyxrow_funcs
9183 (numberOfLabelHfills): move to lyxrow_funcs
9184 (hfillExpansion): move to lyxrow_funcs
9188 * bufferview_funcs.C (toggleAndShow): adjust
9190 * RowList.h: Remove class RowList from file leave just a
9193 * RowList.C: delete file
9195 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9198 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9200 * text3.C (cursorPrevious): adjust
9201 (cursorNext): adjust
9204 * text2.C (redoHeightOfParagraph): adjust
9205 (redoDrawingOfParagraph): adjust
9208 * text.C (breakParagraph): adjust
9209 (insertChar): adjust
9212 * rowpainter.C (RowPainter): adjust
9213 (leftMargin): simplify and adjust
9214 (most rowpainter functions): adjust.
9216 * rowpainter.h: store the row as RowList::iterator not as Row*
9218 * lyxcursor.C (row): taka RowList::iterator as arg
9221 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9224 2003-04-01 Angus Leeming <leeming@lyx.org>
9226 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9227 stuff like bool Bool.
9229 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
9231 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9234 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9236 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9239 * lyxtext.h (rows): drop one version and leve a const variant that
9240 returns a RowList::iterator.
9242 2003-03-31 Angus Leeming <leeming@lyx.org>
9244 * text.C (fill): ensure that the signature is the same as that in the
9247 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
9249 * text2.C (redoParagraphs): adjust
9250 (updateCounters): adjust
9251 (checkParagraph): adjust
9252 (getColumnNearX): adjust and reformat a bit.
9254 * text.C (top_y): adjust
9256 (leftMargin): adjust
9257 (prepareToPrint): adjust
9259 (getRowNearY): adjust
9261 * lyxtext.h: make rowlist_ mutable.
9263 * RowList.h: add const_iterator
9264 * RowList.C: adjust for RowList::const_iterator.
9266 * text2.C (getCursorX): make it take a RowList::iterator as arg,
9269 2003-03-31 John Levon <levon@movementarian.org>
9272 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9274 * lyx_main.C: set default fonts from using lyx_gui funcs
9276 * exporter.C: pdf_mode moved from lyxrc
9279 * lyxfunc.C: changes from above
9281 2003-03-31 John Levon <levon@movementarian.org>
9283 * lyx_main.C: fix to the last fix
9285 2003-03-31 John Levon <levon@movementarian.org>
9287 * bufferlist.C: "Load original" -> "Load Original"
9293 * format.C: more Alert cleanups
9295 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9297 * text2.C (removeParagraph): make it take a RowList::iterator as
9299 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9300 (postRowPaint): make it take a RowList::iterator as arg, adjust.
9302 * text.C (anchor_row): make it take a RowList::iterator as arg,
9304 (computeBidiTables): make it take a const reference to Row instead
9305 of Row pointer, adjust.
9306 (leftMargin): make it take a RowList::iterator as arg, adjust.
9307 (rowBreakPoint): adjust
9308 (breakAgainOneRow): make it take a RowList::iterator as arg,
9310 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9312 * bufferview_funcs.C (toggleAndShow): adjust
9314 2003-03-30 John Levon <levon@movementarian.org>
9318 * boost-inst.C: moved to support
9320 * several files: changes as a result
9322 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9324 * text2.C (LyXText): adjust.
9326 (removeRow): make it take a RowList::iterator as arg, adjust.
9327 (fullRebreak): adjust
9328 (deleteEmptyParagraphMechanism): adjust
9329 (clearPaint): adjust
9332 * text.C (top_y): adjust
9333 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9334 (breakAgain): make it take a RowList::iterator as arg, adjust.
9335 (breakParagraph): adjust
9336 (insertChar): adjust
9339 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9340 need_break_row, and refresh_row.
9342 * text3.C (dispatch): adjust
9344 * text2.C (checkParagraph): adjust
9346 (setCursorFromCoordinates): adjust
9348 * text.C (top_y): adjust
9350 (getRow): make it return a RowList::iterator, adjust
9351 (getRowNearY): make it return a RowList::iterator, adjust
9353 * text2.C (init): adjust
9354 (insertRow): remove function
9355 (insertParagraph): adjust
9356 (redoParagraphs): adjust
9357 (fullRebreak): adjust
9358 (updateCounters): adjust
9360 * text.C (top_y): rewrite to use RowList iterators.
9362 (setHeightOfRow): rewrite to sue RowList iterators.
9363 (appendParagraph): adjust
9364 (breakAgain): adjust
9365 (breakAgainOneRow): adjust
9366 (breakParagraph): adjust
9368 (getRowNearY): adjust, and remove commented code.
9370 * lyxtext.h (firstRow): delete function
9371 (lastRow): delete function
9372 (rows): new function (const and non-const versions.)
9373 (insertRow): delete function
9375 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9377 2003-03-29 John Levon <levon@movementarian.org>
9379 * BufferView_pimpl.C: always update scrollbar top
9380 because pasting text when we're anchored could mean we
9381 miss an update altogether
9383 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9385 * text2.C (init): use rowlist_.end() and not 0.
9386 (insertRow): change to take a RowList::iterator as arg, adjust
9388 (insertParagraph): change to take a RowList::iterator as arg,
9390 (redoParagraphs): remove some debug msgs.
9392 * text.C (appendParagraph): change to take a RowList::iterator
9393 arg, adjust for this.
9394 (breakAgain): add an assert
9395 (breakAgainOneRow): ditto
9397 2003-03-29 John Levon <levon@movementarian.org>
9399 * text2.C: do not clear selection after inc/decDepth
9402 2003-03-29 John Levon <levon@movementarian.org>
9405 * buffer.C: fix broken strerrors according to Lars
9407 2003-03-29 John Levon <levon@movementarian.org>
9409 * converters.C: more Alert cleanups
9411 2003-03-29 John Levon <levon@movementarian.org>
9413 * bufferview_funcs.C: remove pointless Alert
9415 * buffer.C: fix confusing error message when
9416 a template is chmoded 000
9418 2003-03-29 John Levon <levon@movementarian.org>
9422 * BufferView_pimpl.C: Alert fixes
9426 * tabular-old.C: remove unused table compat reading
9428 2003-03-29 John Levon <levon@movementarian.org>
9433 * lyx_cb.C: more Alert cleanups
9435 * lyxfunc.C: don't allow chktex if not latex document
9437 2003-03-29 John Levon <levon@movementarian.org>
9441 * buffer.C: warnings pushed down from support/,
9444 2003-03-29 John Levon <levon@movementarian.org>
9446 * lyxfunc.C: safety check for C-r (revert)
9448 2003-03-29 John Levon <levon@movementarian.org>
9451 * bufferlist.C: several UI fixes using Alert::prompt.
9452 Fix the pointless looping quit code. Fix stupid revert
9457 * lyx_cb.C: use Alert::prompt
9459 * lyx_main.C: remove a silly question
9461 * lyxfunc.C: remove a couple of silly questions,
9464 2003-03-28 John Levon <levon@movementarian.org>
9466 * text2.C: fix bug 974 (End on empty par)
9468 2003-03-28 John Levon <levon@movementarian.org>
9470 * BufferView_pimpl.C:
9472 * lfuns.h: remove do-nothing math greek lfuns
9474 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9476 * lyxgluelength.h (isValidGlueLength): add default arg on
9477 parameter 2. Remove default arg from friend in class.
9479 * lyxlength.h (isValidLength): add default arg on parameter 2.
9480 Remove default arg from friend in class.
9482 * text2.C (LyXText): adjust, initialize refresh_row.
9486 (insertParagraph): adjst
9487 (redoParagraphs): adjust
9488 (fullRebreak): adjust
9489 (updateCounters): adjust
9490 (deleteEmptyParagraphMechanism): first attempt at fixing a
9493 * text.C (top_y): adjust
9494 (setHeightOfRow): adjust
9496 (getRowNearY): adjust
9498 * lyxtext.h: include RowList.h
9499 (~LyXText): not needed anymore, deleted.
9500 (firstRow): modify for RowList
9501 (lastRow): new function
9502 Delete firstrow and lastrow class variables, add a Rowlist
9503 rowlist_ class variable.
9505 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9508 * RowList.C (insert): fix case where it == begin().
9510 2003-03-26 Angus Leeming <leeming@lyx.org>
9512 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9513 the thesaurus dialog.
9515 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9517 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9519 * RowList.[Ch]: new files
9521 * ParagraphList.C (erase): handle the case where it == begin
9524 2003-03-25 John Levon <levon@movementarian.org>
9528 * aspell.C: add new aspell support
9531 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9534 2003-03-25 Angus Leeming <leeming@lyx.org>
9537 * LyXAction.C (init): new LFUN_INSET_INSERT.
9539 * BufferView_pimpl.C (dispatch): split out part of the
9540 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9542 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9545 2003-03-25 Angus Leeming <leeming@lyx.org>
9547 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9549 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9552 * text3.C: remove useless row->height(0)
9554 2003-03-25 John Levon <levon@movementarian.org>
9558 * text3.C: rename the refreshing stuff to better names
9560 2003-03-24 John Levon <levon@movementarian.org>
9562 * BufferView_pimpl.h:
9563 * BufferView_pimpl.C: update layout choice on a mouse
9566 2003-03-23 John Levon <levon@movementarian.org>
9568 * Makefile.am: fix commandtags.h reference
9570 2003-03-22 John Levon <levon@movementarian.org>
9572 * BufferView_pimpl.C:
9577 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9579 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9582 * text.C: take the rtl methods out of line
9584 2003-03-21 André Pönitz <poenitz@gmx.net>
9586 * metricsinfo.[Ch]: new files containing structures to be passed around
9587 during the two-phase-drawing...
9589 2003-03-21 André Pönitz <poenitz@gmx.net>
9591 * lyxtextclass.C: read 'environment' tag.
9593 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9595 * text2.C (removeRow): fix bug 964
9597 2003-03-20 John Levon <levon@movementarian.org>
9601 * text2.C: paint cleanups. Inset::update() dropped font
9604 2003-03-19 John Levon <levon@movementarian.org>
9606 * lyxfunc.C: only fitcursor/markDirty if available()
9608 2003-03-19 John Levon <levon@movementarian.org>
9610 * commandtags.h: rename to ...
9612 * lfuns.h: ... this, and renumber / cleanup
9614 2003-03-19 John Levon <levon@movementarian.org>
9616 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9617 fit the cursor after an lfun
9621 * BufferView_pimpl.h:
9622 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9624 * LyXAction.C: layout-character should have ReadOnly
9626 * ParagraphParameters.C:
9628 * bufferview_funcs.C:
9635 * undo_funcs.C: changes from above
9637 2003-03-18 John Levon <levon@movementarian.org>
9639 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9640 remove it from update()
9642 * lyxfunc.C: update layout choice after an lfun
9644 * text3.C: remove extra updateLayoutChoice()s
9646 2003-03-18 John Levon <levon@movementarian.org>
9648 * text.C: top_y change means full repaint, fix
9649 a drawing bug with cursor movement
9651 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9655 * text2.C: anchor row on setCursor
9657 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9659 * lyxtext.h: remove almost all mutable keywords
9662 * text3.C: remove const keywords accordingly
9664 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9666 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9668 (TeXEnvironment): ditto
9671 2003-03-17 John Levon <levon@movementarian.org>
9673 * text.C (rowBreakPoint): remove attempt to fix displayed
9674 math insets inside a manual label
9676 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9678 * lyxtext.h: remove BufferView* as first arg from almost all class
9680 * other files: adjust.
9682 2003-03-17 John Levon <levon@movementarian.org>
9686 * text2.C: more paint cleanups
9688 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9691 * rowpainter.C: remove "smart" background painting code
9693 2003-03-16 John Levon <levon@movementarian.org>
9698 * text3.C: add helper functions for setting refresh_row/y
9700 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9702 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9703 newline inset which *can* get inserted in the pass_thru layouts.
9704 This is primarily for literate documents.
9706 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9708 * buffer.C: increment LYX_FORMAT to 223
9710 2003-03-14 André Pönitz <poenitz@gmx.net>
9712 * textclass.h: prepare for environment handling, ws changes
9713 * lyxlayout.C: read latexheader and latexfooter tags
9715 2003-03-14 John Levon <levon@movementarian.org>
9717 * text2.C: rewrite ::status() a bit
9719 2003-03-13 John Levon <levon@movementarian.org>
9721 * lyxtext.h: add some docs
9723 2003-03-13 John Levon <levon@movementarian.org>
9728 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9730 2003-03-13 John Levon <levon@movementarian.org>
9732 * text3.C: fix appendix redrawing
9734 2003-03-13 John Levon <levon@movementarian.org>
9736 * text.C (setHeightOfRow):
9738 * rowpainter.C: make appendix mark have the text
9739 "Appendix" so the user knows what it is
9742 * LColor.C: s/appendixline/appendix/ from above
9744 2003-03-13 John Levon <levon@movementarian.org>
9746 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9748 * text.C: fix a getChar(pos) bug properly
9750 2003-03-13 Angus Leeming <leeming@lyx.org>
9753 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9754 Probably only temporary. Let's see how things pan out.
9756 * BufferView.C (unlockInset):
9757 * BufferView_pimpl.C (fitCursor):
9758 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9760 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9761 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9763 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9764 new functions that convert ParagraphParameters to and from a string.
9766 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9767 BufferView::Pimpl's dispatch.
9768 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9770 2003-03-13 André Pönitz <poenitz@gmx.net>
9774 * factory.C: make it aware of InsetEnv
9776 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9778 * text2.C (setCursor): never ask for one past last
9779 (setCursor): add some debugging messages.
9781 * text.C (singleWidth): never ask for one past last
9782 (singleWidth): ditto
9784 (rightMargin): ditto
9785 (rowBreakPoint): ditto
9786 (setHeightOfRow): ditto
9787 (prepareToPrint): ditto
9789 * rowpainter.C (paintBackground): never ask for one past last
9790 (paintText): never ask for one past last
9792 * paragraph_pimpl.C (getChar): make the assert stricter, never
9793 allow the one past last pos to be taken
9795 * paragraph.C (getChar): ws changes only
9797 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9798 (numberOfSeparators): ditto
9799 (numberOfHfills): ditto
9801 2003-03-12 John Levon <levon@movementarian.org>
9807 * paragraph_funcs.C: fix per-buffer authorlists
9809 2003-03-12 John Levon <levon@movementarian.org>
9811 * text.C: fix newline in right address
9813 2003-03-12 Angus Leeming <leeming@lyx.org>
9815 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9816 duplicate those in LyXFunc::dispatch.
9820 * ToolbarDefaults.C:
9821 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9822 Add LFUN_FONTFREE_UPDATE.
9824 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9825 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9827 * bufferview_func.[Ch]: several new functions to facilliate
9828 transfer of data to and from the character dialog.
9830 2003-03-12 John Levon <levon@movementarian.org>
9835 * paragraph_funcs.C:
9836 * paragraph_pimpl.C:
9840 * text3.C: remove META_NEWLINE in favour of an inset
9843 * rowpainter.C: remove paintNewline (done by inset)
9845 2003-03-12 John Levon <levon@movementarian.org>
9847 * paragraph_pimpl.C: complain about bad getChar()s
9848 for a while at least
9850 2003-03-12 John Levon <levon@movementarian.org>
9853 * buffer.C: move paragraph read into a separate function,
9854 a little renaming to reflect that.
9857 * bufferparams.C: remove the author_ids map, not necessary now
9860 * factory.C: moved Buffer::readInset to here
9862 * paragraph_funcs.h:
9863 * paragraph_funcs.C: readParagraph free function moved from
9866 * tabular.C: name change
9868 2003-03-12 John Levon <levon@movementarian.org>
9871 * ParagraphParameters.C: move par params input to
9874 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9875 behave like a normal read from the stream wrt reading
9876 a line vs. a \\token
9878 2003-03-12 John Levon <levon@movementarian.org>
9881 * ParagraphParameters.h:
9882 * ParagraphParameters.C: move output code to a
9885 2003-03-12 John Levon <levon@movementarian.org>
9887 * BufferView.C (insertLyXFile):
9890 * tabular.C: use a parlist iterator for creating the
9893 2003-03-12 John Levon <levon@movementarian.org>
9895 * buffer.C: make current_change static local not
9898 2003-03-12 John Levon <levon@movementarian.org>
9900 * buffer.C: fix insertStringAsLines for change tracking
9902 2003-03-12 John Levon <levon@movementarian.org>
9909 * bufferparams.C: move author list into params. Rename some
9910 functions. Move the header reading into a separate token
9911 loop. Move the header token reading into BufferParams.
9913 2003-03-12 John Levon <levon@movementarian.org>
9915 * changes.C: put debug inside lyxerr.debugging() checks
9917 2003-03-11 André Pönitz <poenitz@gmx.net>
9919 * factory.C: make it aware of InsetHFill
9921 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9923 * buffer.C (latexParagraphs): move function from here...
9924 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9927 2003-03-10 Angus Leeming <leeming@lyx.org>
9929 * LyXAction.C (init): fix bug in poplating array with multiple entries
9930 with the same LFUN (spotted by JMarc).
9932 2003-03-10 John Levon <levon@movementarian.org>
9935 * text2.C: move getColumnNearX() near its
9938 2003-03-10 John Levon <levon@movementarian.org>
9940 * text.C: fix break before a minipage
9942 2003-03-10 John Levon <levon@movementarian.org>
9944 * text.C: fix the last commit
9946 2003-03-09 John Levon <levon@movementarian.org>
9950 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9951 bug 365 (don't break before insets unless needed). Don't
9952 return a value > last under any circumstances.
9954 2003-03-09 Angus Leeming <leeming@lyx.org>
9956 * BufferView_pimpl.C (trackChanges, dispatch): call
9957 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9959 2003-03-09 Angus Leeming <leeming@lyx.org>
9961 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9962 than Dialogs::showAboutlyx().
9964 2003-03-09 Angus Leeming <leeming@lyx.org>
9966 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9967 than Dialogs::showTabularCreate().
9969 2003-03-09 John Levon <levon@movementarian.org>
9973 * text2.C: 3rd arg to nextBreakPoint was always the same.
9976 2003-03-08 John Levon <levon@movementarian.org>
9983 * text2.C: Remove the "main" bit from the "main body"
9986 2003-03-08 John Levon <levon@movementarian.org>
9988 * text.C (leftMargin): The left margin of an empty
9989 manual label paragraph should not include the label width
9992 * text.C (prepareToPrint): don't attempt to measure hfills
9993 for empty manual label paragraphs - the answer should be 0
9995 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9997 * CutAndPaste.C: remove commented code and reindent.
9999 2003-03-08 John Levon <levon@movementarian.org>
10002 * lyxfunc.C: move reloadBuffer()
10005 * BufferView.C: to here
10007 * lyxvc.C: add comment
10010 * vc-backend.C: call bv->reload() to avoid
10011 getStatus() check on MENURELOAD
10013 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
10015 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
10016 to an old format .dep file.
10018 2003-03-07 Angus Leeming <leeming@lyx.org>
10020 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
10021 when the LFUN_MOUSE_RELEASE should have been handled by
10022 inset->localDispatch.
10024 2003-03-07 Angus Leeming <leeming@lyx.org>
10026 * BufferView_pimpl.C (dispatch):
10027 * LyXAction.C (init):
10028 * ToolbarDefaults.C (init):
10030 * lyxfunc.C (getStatus):
10031 remove LFUN_INSET_GRAPHICS.
10033 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
10035 2003-03-07 Angus Leeming <leeming@lyx.org>
10038 * LyXAction.C (init):
10039 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
10041 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
10044 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
10046 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
10047 localDispatch method LFUN_INSET_DIALOG_UPDATE.
10049 2003-03-07 Angus Leeming <leeming@lyx.org>
10051 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
10054 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10056 * ParagraphList.C (front): new function
10059 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
10061 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
10062 and top_row_offset_. removed var first_y.
10064 * text2.C (LyXText, removeRow):
10066 * BufferView_pimpl.C:
10067 use these methods instead of using first_y
10069 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10071 * text2.C (pasteSelection): adjust for checkPastePossible
10073 * CutAndPaste.C: remove Paragraph * buf and replace with
10074 ParagraphList paragraphs.
10075 (DeleteBuffer): delete
10076 (cutSelection): change the tc type to textclass_type
10077 (copySelection): change the tc type to textclass_type
10078 (copySelection): adjust for ParagraphList
10079 (pasteSelection): change the tc type to textclass_type
10080 (pasteSelection): adjust for Paragraphlist
10081 (nrOfParagraphs): simplify for ParagraphList
10082 (checkPastePossible): simplify for ParagraphList
10083 (checkPastePossible): remove unused arg
10085 * ParagraphList.C (insert): handle the case where there are no
10088 * CutAndPaste.h: make CutAndPaste a namespace.
10090 * text3.C (dispatch): adjust
10092 * text.C (breakParagraph): add a ParagraphList as arg
10094 * paragraph_funcs.C (breakParagraph): change to take a
10095 BufferParams and a ParagraphList as args.
10096 (breakParagraphConservative): ditto
10097 (mergeParagraph): ditto
10098 (TeXDeeper): add a ParagraphList arg
10099 (TeXEnvironment): ditto
10102 * buffer.C (readLyXformat2): adjust
10103 (insertStringAsLines): adjust
10104 (latexParagraphs): adjust
10106 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
10107 (cutSelection): adjust
10108 (pasteSelection): adjust
10110 * BufferView_pimpl.C (insertInset): adjust
10112 2003-03-05 Angus Leeming <leeming@lyx.org>
10115 * LyXAction.C (init):
10116 * BufferView_pimpl.C (dispatch):
10117 * lyxfunc.C (getStatus):
10118 remove LFUN_CHILD_INSERT.
10120 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
10122 2003-03-05 Angus Leeming <leeming@lyx.org>
10125 * LyXAction.C (init):
10126 * src/factory.C (createInset):
10127 * lyxfunc.C (getStatus):
10128 * text3.C (dispatch):
10129 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
10131 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
10133 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10135 * ParagraphList.C (insert): handle insert right before end()
10136 (erase): fix cases where it can be first or last paragraph.
10138 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10140 * paragraph_funcs.C (TeXEnvironment): remove all usage of
10141 Paragraph::next and Paragraph::previous
10144 * text.C (breakParagraph): adjust
10146 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
10147 BufferParams& as arg.
10148 (breakParagraph): use ParagraphList::insert
10149 (breakParagraphConservative): take a Buffer* instead of a
10150 BufferParams& as arg.
10151 (breakParagraphConservative): use ParagraphList::insert.
10153 * buffer.C (insertStringAsLines): un-const it
10154 (insertStringAsLines): adjust
10156 * ParagraphList.C (insert): new function
10158 * CutAndPaste.C (pasteSelection): adjust
10160 * text.C (backspace): adjust
10162 * tabular.C (SetMultiColumn): adjust
10164 * CutAndPaste.C (cutSelection): adjust
10165 (pasteSelection): adjust
10167 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
10168 Buffer const * as arg
10170 * ParagraphList.C (erase): new function
10171 * paragraph_funcs.C (mergeParagraph): use it
10172 (mergeParagraph): make it take a Buffer* instead of a
10173 BufferParams* as arg
10175 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10177 (breakParagraphConservative): ditto
10179 * paragraph.h: remove the breakParagraph friend
10181 * paragraph.C (eraseIntern): new function
10182 (setChange): new function
10184 * paragraph_funcs.C (mergeParagraph): make it take a
10185 ParagraphList::iterator instead of a Paragraph *, adjust
10188 * paragraph.h: move an #endif so that the change tracking stuff
10189 also works in the NO_NEXT case.
10191 2003-03-04 Angus Leeming <leeming@lyx.org>
10194 * LyXAction.C: new LFUN_INSET_MODIFY.
10196 * BufferView_pimpl.C (dispatch): if an inset is found to be open
10197 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10199 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10201 * several files: ws changes only
10203 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10204 (TeXEnvironment): ditto
10207 * buffer.C (makeLaTeXFile): adjust
10208 (latexParagraphs): make it take ParagraphList::iterator as args
10210 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
10212 * buffer.C (latexParagraphs): adjust
10214 * paragraph.C (TeXOnePar): move function...
10215 (optArgInset): move function...
10216 (TeXEnvironment): move function...
10217 * paragraph_pimpl.C (TeXDeeper): move function...
10218 * paragraph_funcs.C: ...here
10220 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10222 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10224 * buffer.C (readInset): remove compability code for old Figure and
10227 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10229 * buffer.C: ws changes
10232 * BufferView_pimpl.C: ditto
10235 * bufferlist.h: ditto
10239 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
10241 * converter.[Ch]: split into itself +
10244 * Makefile.am: += graph.[Ch] + format.[Ch]
10251 * lyxrc.C: added #include "format.h"
10253 2003-02-27 Angus Leeming <leeming@lyx.org>
10255 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10258 * factory.C (createInset): add "label" to the factory.
10260 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10261 string and do no more.
10263 2003-02-27 Angus Leeming <leeming@lyx.org>
10266 * LyXAction.C (init):
10267 * factory.C (createInset):
10268 * BufferView_pimpl.C (dispatch):
10269 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10271 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10273 * lyxfunc.C (dispatch):
10274 * text3.C (dispatch): pass name to params2string.
10276 2003-02-26 Angus Leeming <leeming@lyx.org>
10278 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10280 Rearrange the ~includes. Strip out the unnecessary ones.
10282 * factory.C (createInset): reformat.
10283 create new insets for the various LFUN_XYZ_APPLY lfuns.
10285 2003-02-26 John Levon <levon@movementarian.org>
10288 * lyxrow.C: add isParStart,isParEnd helpers
10290 * paragraph.h: make isInserted/DeletedText take refs
10292 * paragraph_funcs.h:
10293 * paragraph_funcs.C: remove #if 0'd code
10298 * text.C: use lyxrow helpers above.
10299 Move draw and paint routines to RowPainter.
10300 Make several methods use refs not pointers.
10301 Make backgroundColor() const.
10302 Add markChangeInDraw(), isInInset().
10303 Merge changeRegionCase into changeCase.
10304 Make workWidth() shouldn't-happen code into an Assert.
10307 * rowpainter.C: new class for painting a row.
10310 * vspace.C: make inPixels take a ref
10312 2003-02-26 Angus Leeming <leeming@lyx.org>
10314 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10317 2003-02-25 John Levon <levon@movementarian.org>
10319 * ispell.C: give the forked command a more accurate name
10321 2003-02-22 John Levon <levon@movementarian.org>
10324 * toc.C: make TocItem store an id not a Paragraph *
10327 2003-02-21 Angus Leeming <leeming@lyx.org>
10329 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10330 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10331 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10332 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10333 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10334 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10336 * BufferView_pimpl.C (dispatch):
10337 * LyXAction.C (init):
10338 * factory.C (createInset):
10339 * lyxfunc.C (getStatus, dispatch):
10340 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10342 2003-02-21 Angus Leeming <leeming@lyx.org>
10344 * BufferView_pimpl.C (MenuInsertLyXFile):
10345 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10346 * lyxfunc.C (menuNew, open, doImport):
10347 no longer pass a LyXView & to fileDlg.
10349 2003-02-21 Angus Leeming <leeming@lyx.org>
10351 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10352 * LyXAction.C: change, BIBKEY to BIBITEM.
10353 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10354 Change InsetBibKey to InsetBibitem.
10355 Change BIBKEY_CODE to BIBITEM_CODE.
10356 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10357 * factory.C: replace insetbib.h with insetbibitem.h.
10358 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10359 * paragraph.C: replace insetbib.h with insetbibitem.h.
10360 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10361 Change bibkey() to bibitem().
10362 * text.C: remove insetbib.h.
10363 * text2.C: replace insetbib.h with insetbibitem.h.
10364 change bibkey() to bibitem().
10365 * text3.C: remove insetbib.h.
10366 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10368 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10370 * lyxrc.C (output): enclose user email in quotes (in case there are
10373 2003-02-18 John Levon <levon@movementarian.org>
10375 * buffer.h: add std::
10377 2003-02-17 John Levon <levon@movementarian.org>
10383 * pspell.C: reworking. Especially in ispell, a large
10384 number of clean ups and bug fixes.
10386 * lyxfunc.C: fix revert to behave sensibly
10388 2003-02-17 André Pönitz <poenitz@gmx.net>
10391 * commandtags.h: new LFUN_INSERT_BIBKEY
10401 * paragraph_func.C: remove special bibkey handling
10403 2003-02-17 John Levon <levon@movementarian.org>
10405 * text.C (Delete): fix case where delete at the end of
10406 the very first paragraph would not merge the pars
10408 2003-02-17 John Levon <levon@movementarian.org>
10410 * lyxrow.C: fix lastPrintablePos()
10412 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10414 * bufferparams.C (writeLaTeX): add a std:here
10416 * buffer.C: and remove a using directive there
10418 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10420 * buffer.C (makeLaTeXFile): move the code that generates the
10423 * bufferparams.C (writeLaTeX): ... in this new method
10425 * LaTeXFeatures.C (getEncodingSet): make const
10426 (getLanguages): make const
10428 * MenuBackend.C (binding): returns the binding associated to this
10430 (add): sets the status of each item by calling getStatus. Adds
10432 (read): add support for OptSubMenu
10433 (expand): remove extra separator at the end of expanded menu
10435 2003-02-15 John Levon <levon@movementarian.org>
10438 * BufferView_pimpl.C:
10440 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10441 inset code that had no actual effect. Remove unneeded status
10444 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10446 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10449 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10451 * text.C (drawLengthMarker): also draw an arrow marker for
10452 symbolic lengths (medskip...)
10454 2003-02-14 John Levon <levon@movementarian.org>
10457 * tabular.C: better method names
10459 2003-02-14 John Levon <levon@movementarian.org>
10461 * BufferView_pimpl.C:
10466 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10467 it's a more accurate name. Remove some pointless uses.
10469 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10471 * text2.C (LyXText): change order of initilizers to shut off
10474 2003-02-14 John Levon <levon@movementarian.org>
10476 * buffer.C: use ParIterator for getParFromID()
10480 * paragraph_pimpl.h:
10481 * paragraph_pimpl.C: remove unused getParFromID()
10483 2003-02-14 John Levon <levon@movementarian.org>
10485 * buffer.C: remove some very old #if 0'd parse code
10487 2003-02-13 John Levon <levon@movementarian.org>
10491 * text2.C: move hfillExpansion(), numberOfSeparators(),
10492 rowLast(), rowLastPrintable(), numberofHfills(),
10493 numberOfLabelHfills() ...
10496 * lyxrow.C: ... to member functions here.
10501 * text.C: remove LyXText::beginningOfMainBody(), and call
10502 p->beginningOfMainBody() directly. Move the check for
10503 LABEL_MANUAL into the latter.
10510 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10516 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10517 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10519 2003-02-13 John Levon <levon@movementarian.org>
10521 * CutAndPaste.C: remove debug
10523 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10525 * paragraph.C (asString): remove two unused variables
10527 * lyxtextclass.C (readTitleType):
10529 (LyXTextClass): handle new members titletype_ and titlename_
10531 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10533 2003-02-09 John Levon <levon@movementarian.org>
10536 * buffer.C: replace hand-coded list with a map for the dep clean
10538 2003-02-08 John Levon <levon@movementarian.org>
10540 * LaTeX.C: consolidate code into showRunMessage() helper
10542 2003-02-08 John Levon <levon@movementarian.org>
10547 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10548 and pass the size in explicitly
10550 * BufferView_pimpl.h:
10551 * BufferView_pimpl.C:
10553 * BufferView.C: add getCurrentChange()
10555 * BufferView_pimpl.h:
10556 * BufferView_pimpl.C: handle change lfuns
10558 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10559 for changes. Mark pasted paragraphs as new.
10561 * support/lyxtime.h:
10562 * support/lyxtime.C:
10563 * DepTable.C: abstract time_t as lyx::time_type
10566 * LColor.C: add colours for new text, deleted text, changebars
10568 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10569 package use "usenames" option.
10573 * LyXAction.C: add change lfuns
10577 * author.C: author handling
10580 * buffer.C: add a per-buffer author list, with first entry as
10581 current author. Handle new .lyx tokens for change tracking. Output
10582 author list to .lyx file. Output dvipost stuff to .tex preamble.
10583 Bump lyx format to 222.
10586 * bufferlist.C: add setCurrentAuthor() to reset current author details
10590 * bufferparams.C: add param for tracking
10592 * bufferview_funcs.C: output change info in minibuffer
10596 * changes.C: add change-tracking structure
10599 * debug.C: add CHANGES debug flag
10602 * lyxfind.C: add code for finding the next change piece
10605 * lyxrc.C: add user_name and user_email
10608 * lyxrow.C: add a metric for the top of the text line
10611 * text.C: implement accept/rejectChange()
10614 * text.C: paint changebars. Paint new/deleted text in the chosen
10615 colours. Strike through deleted text.
10619 * paragraph_pimpl.h:
10620 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10621 in the current change to the insert functions. Rework erase to
10622 mark text as deleted, adding an eraseIntern() and a range-based
10623 erase(). Implement per-paragraph change lookup and
10626 * paragraph_funcs.C: Fixup paste for change tracking.
10628 * tabular.C: mark added row/columns as new.
10630 * text.C: fix rowLast() to never return -1. Don't allow
10631 spellchecking of deleted text. Track transpose changes. Don't
10632 allow paragraph break or merge where appropriate.
10634 * text2.C: leave cursor at end of selection after a cut.
10636 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10638 * text.C (getLengthMarkerHeight):
10639 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10640 visible on screen too.
10642 2003-02-07 John Levon <levon@movementarian.org>
10644 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10646 2003-02-05 Angus Leeming <leeming@lyx.org>
10648 * lyxserver.C (read_ready): revert my patch of 11 September last year
10649 as it sends PC cpu through the roof. Presumably this means that
10650 the lyxserver will no longer run on an Alpha...
10652 2003-01-30 Angus Leeming <leeming@lyx.org>
10654 * factory.C (createInset): create an InsetCommandParam of type "index"
10655 and use it to 'do the right thing'.
10657 * text2.C (getStringToIndex): ensure that cursor position is always
10658 reset to the reset_cursor position.
10660 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10662 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10665 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10669 * lyxfunc.C: Output messages with identical spelling, punctuation,
10672 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10674 * MenuBackend.C (expandFormats): List only viewable export formats
10677 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10680 * lyxfunc.C (getStatus): Make sure that formats other than
10681 "fax" can also be disabled
10683 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10685 * text3.C (dispatch): put the lfuns that insert insets in 3
10686 groups, and call doInsertInset with appropriate arguments.
10687 (doInsertInset): new function, that creates an inset and inserts
10688 it according to some boolean parameters.
10690 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10692 * buffer.C (readFile): remember to pass on 'par' when calling
10693 readFile recursively.
10695 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10697 * MenuBackend.C (expandFormats): add "..." to import formats.
10699 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10701 * paragraph.C (asString): Remove XForms RTL hacks.
10703 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10704 * buffer.C: fix typo
10706 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10708 * Makefile.am (LIBS): delete var
10709 (lyx_LDADD): add @LIBS@ here instead.
10711 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10713 * Clarify the meaning of "wheel mouse jump"
10715 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10717 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10720 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10722 * importer.C (Loaders): do not preallocate 3 elements in the
10723 vector, since one ends up with 6 elements otherwise
10725 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10727 * DepTable.C (write): write the file name as last element of the
10728 .dep file (because it may contain spaces)
10729 (read): read info in the right order
10731 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10733 * paragraph_pimpl.C (simpleTeXBlanks):
10734 (simpleTeXSpecialChars):
10735 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10737 * tabular.C (latex): add some missing case statements. Reindent.
10739 * MenuBackend.C (expandToc): remove unused variable.
10741 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10750 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10753 2003-01-05 John Levon <levon@movementarian.org>
10756 * BufferView.C: add getEncoding()
10759 * kbsequence.C: do not store last keypress
10762 * lyxfunc.C: store last keypress here instead. Pass encoding
10765 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10767 * lyx_main.C (init): remove annoying error message when following
10768 symbolic links (bug #780)
10770 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10772 * text.C (insertChar):
10773 * lyxrc.C (getDescription): remove extra spaces
10775 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10777 * lyxrc.C (getDescription): remove extra spaces
10779 2002-12-20 John Levon <levon@movementarian.org>
10781 * text3.C: hack fix for page up/down across tall rows
10783 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10785 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10788 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10790 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10791 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10792 thesaurus is not compiled in
10794 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10796 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10798 2002-12-16 Angus Leeming <leeming@lyx.org>
10801 * lyx_main.C (init): remove override_x_deadkeys stuff.
10803 2002-12-12 John Levon <levon@movementarian.org>
10805 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10806 insert. Only remove shift modifier under strict
10809 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10811 * MenuBackend.C (expandToc): fix crash.
10813 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10815 * MenuBackend.C (expandToc): gettext on float names.
10817 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10819 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10820 implement bool empty() [bug 490]
10822 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10824 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10826 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10828 * several files: ws changes
10830 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10832 * text2.C (setCounter): clean up a bit, use boost.format.
10833 (updateCounters): initialize par upon declaration.
10835 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10836 if the layout exists. We do not just store the layout any more.
10837 (SwitchLayoutsBetweenClasses): use boost.format
10839 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10841 * converter.C (convert): if from and to files are the same, use a
10842 temporary files as intermediary
10844 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10847 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10849 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10851 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10853 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10855 * tabular.C (asciiPrintCell): use string(size, char) instead of
10858 * sgml.C (openTag): fix order of arguments to string constructor
10861 * lyxfunc.C (dispatch): use boost.format
10863 * lots of files: change "c" -> 'c'
10865 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10867 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10869 2002-11-25 Angus Leeming <leeming@lyx.org>
10871 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10873 * lyx_main.C (init): compile fix.
10875 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10877 * lyx_cb.C (start): boost.formatify
10878 do not include <iostream>
10880 * lengthcommon.C: ws only
10882 * boost-inst.C,BoostFormat.h: add more explict instantations
10884 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10886 * lots of files: handle USE_BOOST_FORMAT
10888 2002-11-21 John Levon <levon@movementarian.org>
10890 * pspell.C: fix compile
10892 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10894 * lyxfunc.C (dispatch): use boost::format
10898 * lyxfont.C (stateText): use boost::format
10900 * lyx_main.C (LyX): use boost::format
10902 (queryUserLyXDir): ditto
10903 (readRcFile): ditto
10905 (typedef boost::function): use the recommened syntax.
10907 * importer.C (Import): use boost::format
10909 * debug.C (showLevel): use boost::format
10911 * converter.C (view): use boost::format
10916 * bufferview_funcs.C (currentState): use boost::format
10918 * bufferlist.C (emergencyWrite): use boost::format
10920 * buffer.C (readLyXformat2): use boost::format
10921 (parseSingleLyXformat2Token): ditto
10923 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10925 * LaTeX.C (run): use boost::format
10927 * Chktex.C (scanLogFile): use boost::format
10929 * BufferView_pimpl.C (savePosition): use boost::format
10930 (restorePosition): ditto
10931 (MenuInsertLyXFile): ditto
10933 * BoostFormat.h: help file for explicit instation.
10935 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10937 * tabular.C (latex): Support for block alignment in fixed width
10940 2002-11-17 John Levon <levon@movementarian.org>
10942 * BufferView_pimpl.C:
10944 * lyxfunc.C: split filedialog into open/save
10946 2002-11-08 Juergen Vigna <jug@sad.it>
10948 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10949 by my last patch (hopefully).
10951 2002-11-08 John Levon <levon@movementarian.org>
10960 * toc.C: ParConstIterator, and use it (from Lars)
10962 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10964 * lyxtextclass.[Ch]: revise and add doxygen comments
10966 2002-11-07 John Levon <levon@movementarian.org>
10968 * text.C: fix progress value for spellchecker
10970 * toc.C: fix navigate menu for insetwrap inside minipage
10972 * paragraph_funcs.C: added FIXME for suspect code
10974 2002-11-07 John Levon <levon@movementarian.org>
10976 * BufferView_pimpl.C: fix redrawing of insets
10979 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10981 * text2.C (updateCounters): fix bug 668
10983 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10985 * text3.C (dispatch): Do not make the buffer dirty when moving the
10988 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10990 * vc-backend.C: STRCONV
10991 (scanMaster): ditto
10993 * text2.C (setCounter): STRCONV
10995 * paragraph.C (asString): STRCONV
10997 * lyxlength.C (asString): STRCONV
10998 (asLatexString): ditto
11000 * lyxgluelength.C (asString): STRCONV
11001 (asLatexString): ditto
11003 * lyxfunc.C (dispatch): STRCONV
11006 * lyxfont.C (stateText): STRCONV
11008 * importer.C (Import): STRCONV
11010 * counters.C (labelItem): STRCONV
11011 (numberLabel): ditto
11012 (numberLabel): remove unused ostringstream o
11017 * bufferview_funcs.C (currentState): STRCONV
11019 * buffer.C (readFile): STRCONV
11020 (asciiParagraph): ditto
11021 (makeLaTeXFile): ditto
11023 * Spacing.C (writeEnvirBegin): STRCONV
11025 * LaTeXFeatures.C (getLanguages): STRCONV
11026 (getPackages): ditto
11028 (getBabelOptions): ditto
11029 (getTClassPreamble): ditto
11030 (getLyXSGMLEntities): ditto
11031 (getIncludedFiles): ditto
11035 (scanAuxFile): ditto
11038 * LString.h: add the STRCONV macros
11040 * BufferView_pimpl.C (savePosition): STRCONV
11041 (restorePosition): ditto
11042 (MenuInsertLyXFile): ditto
11044 * vc-backend.C (scanMaster): change from submatch[...] to
11047 * funcrequest.C: include config.h
11049 * factory.C: include config.h
11051 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
11053 * box.C: include config.h
11055 * LaTeX.C (scanAuxFile): change from submatch[...] to
11059 2002-10-25 Angus Leeming <leeming@lyx.org>
11061 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
11063 * ispell.[Ch] (setError): new method.
11064 * ispell.C (c-tor): move out child process into new class LaunchIspell.
11065 Use setError() insetead of goto END.
11067 * lyx_cb.C (AutoSave): move out child process into new class
11070 2002-10-30 John Levon <levon@movementarian.org>
11072 * text3.C: make start appendix undoable
11074 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
11076 * lyxlength.C (inPixels): Fix returned value.
11078 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
11081 2002-10-24 Angus Leeming <leeming@lyx.org>
11083 * lyxgluelength.h: no need to forward declare BufferParams
11084 or BufferView, so don't.
11086 2002-10-21 John Levon <levon@movementarian.org>
11088 * BufferView.C: menuUndo ->undo, redo
11090 * BufferView.h: document, remove dead, make some methods private
11092 * paragraph_funcs.h:
11093 * paragraph_funcs.C:
11094 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
11099 * sgml.C: move sgml open/close tag into sgml.C
11101 * bufferview_funcs.h: unused prototype
11104 * lyxfunc.C: remove unused
11107 * text.C: remove unused
11109 2002-10-21 John Levon <levon@movementarian.org>
11113 * BufferView_pimpl.h:
11114 * BufferView_pimpl.C: fix mouse wheel handling based on
11115 patch from Darren Freeman
11117 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
11119 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
11121 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
11123 * lyxlength.C (inPixels): Fix hanfling of negative length.
11124 Fix LyXLength::MU case.
11126 2002-10-16 John Levon <levon@movementarian.org>
11128 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
11130 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11132 * converter.C (view): add support for $$i (file name) and $$p
11133 (file path) for the viewer command. If $$i is not specified, then
11134 it is appended to the command (for compatibility with old syntax)
11136 2002-10-14 Juergen Vigna <jug@sad.it>
11138 * undo_funcs.C (textHandleUndo): alter the order in which the
11139 new undopar is added to the LyXText, as we have to set first
11140 the right prev/next and then add it as otherwise the rebuild of
11141 LyXText is not correct. Also reset the cursor to the right paragraph,
11142 with this IMO we could remove the hack in "redoParagraphs()".
11144 2002-10-09 Angus Leeming <leeming@lyx.org>
11146 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
11147 to turn off an optimisation if a new inset is to be inserted.
11149 2002-10-11 André Pönitz <poenitz@gmx.net>
11151 * lyxtext.h: make some functions public to allow access
11152 from inset/lyxtext for handling LFUN_PRIOR/NEXT
11154 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11156 * text3.C (dispatch): when changing layout, avoid an infinite loop
11159 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11161 * lyxrc.C (read): treat a viewer or converter command of "none" as
11164 * MenuBackend.C (expandFormats): for an update, also allow the
11165 formats that are not viewable
11167 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
11168 script if it is newer than the lyxrc.defaults in user directory
11170 2002-10-07 André Pönitz <poenitz@gmx.net>
11172 * text.C: Vitaly Lipatov's small i18n fix
11174 2002-09-25 Angus Leeming <leeming@lyx.org>
11176 * ispell.h: doxygen fix.
11178 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
11180 * buffer.h (readFile): Add a new argument to the method, to allow
11181 reading of old-format templates.
11183 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
11185 * toc.C (getTocList): Get TOC from InsetWrap.
11187 2002-09-16 John Levon <levon@movementarian.org>
11189 * lyxfunc.C: check tabular for cut/copy too
11191 2002-09-12 John Levon <levon@movementarian.org>
11193 * LyXAction.C: tidy
11196 * factory.C: add header
11198 * paragraph_funcs.h:
11199 * paragraph_funcs.C: cleanup
11201 2002-09-11 John Levon <levon@movementarian.org>
11203 * PrinterParams.h: odd/even default to true
11205 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
11207 * PrinterParams.h: update printer parameters for new xforms dialog
11209 2002-09-11 Angus Leeming <leeming@lyx.org>
11211 * lyxserver.C (read_ready): re-write to make it more transparent
11212 and to make it work in coherent fashion under Tru64 Unix.
11214 2002-09-11 André Pönitz <poenitz@gmx.net>
11218 * text3.C: implement LFUN_WORDSEL
11220 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11222 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11223 make floatlist_ a boost::shared_ptr<FloatList>
11225 * lyxtextclass.C: include FloatList.h
11226 (LyXTextClass): initialize floatlist_
11227 (TextClassTags): add TC_NOFLOAT
11228 (Read): match "nofloat" to TC_NOFLOAT and use it.
11229 (readFloat): modify call to floatlist_
11233 * FloatList.[Ch] (FloatList): remove commented out float
11235 (erase): new function
11237 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11239 * MenuBackend.C (expandToc): fix crash when there is no document
11242 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
11244 * many files: Add insetwrap.
11246 2002-09-09 John Levon <levon@movementarian.org>
11248 * text2.C: remove confusing and awkward depth wraparound
11250 2002-09-09 John Levon <levon@movementarian.org>
11252 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11255 * buffer.C: remove getIncludeonlyList()
11258 * lyxfunc.C: remove headers
11260 2002-09-09 Juergen Vigna <jug@sad.it>
11262 * text.C (getColumnNearX): fix form Michael this is most
11263 probably a cut&paste bug.
11265 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
11267 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11269 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11270 references, ws changes.
11272 * text2.C (init): update counters after init
11273 (insertParagraph): no need to set counter on idividual paragraphs.
11274 (setCounter): access the counters object in the textclass object
11275 on in the buffer object.
11276 (updateCounters): ditto
11278 * lyxtextclass.C: include counters.h, add variable ctrs_ as
11279 shared_ptr<Counters> to avoid loading counters.h in all
11281 (LyXTextClass): initialize ctrs_
11282 (TextClassTags): add TC_COUNTER, and ...
11283 (Read): use it here.
11284 (CounterTags): new tags
11285 (readCounter): new function
11286 (counters): new funtion
11287 (defaultLayoutName): return a const reference
11289 * counters.C (Counters): remove contructor
11290 (newCounter): remove a couple of unneeded statements.
11291 (newCounter): simplify a bit.
11292 (numberLabel): some small formatting changes.
11294 * buffer.[Ch]: remove all traces of counters, move the Counters
11295 object to the LyXTextClass.
11297 2002-09-06 Alain Castera <castera@in2p3.fr>
11299 * tabular.C: uses \tabularnewline; uses >{...} construct from array
11300 package to set the horizontal alignment on fixed width columns.
11303 * lyx_sty.h: added tabularnewline macro def.
11305 * LaTeXFeatures.C: added NeedTabularnewline macro feature
11307 2002-09-06 John Levon <levon@movementarian.org>
11309 * LyXAction.C: tooltips for sub/superscript
11311 * MenuBackend.C: a bit more verbose
11313 * lyxfunc.C: tiny clean
11315 * undo_funcs.C: document undo_frozen
11317 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
11319 * counters.C (Counters): add missing algorithm counter.
11321 * text2.C (setCounter): lookup the counter with layouts latexname
11322 instead of by section number.
11323 (setCounter): use a hackish way to lookup the correct enum
11325 a float name->type change
11326 reset enum couners with counter name directly instead of depth value.
11328 * counters.C (Counters): remove the push_backs, change to use the
11329 float type not the float name.
11330 (labelItem): remove unused string, float name->type change
11332 * counters.h: don't include vector, loose the enums and sects vectors
11334 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
11336 * lyxtextclass.C (TextClassTags): add TC_FLOAT
11337 (Read): add float->TC_FLOAT to textclassTags
11338 (Read): and handle it in the switch
11339 (readFloat): new function
11341 * FloatList.C (FloatList): comment out the hardcoded float
11344 * lyxlayout.h: ws change.
11346 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
11348 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11350 2002-09-03 Angus Leeming <leeming@lyx.org>
11352 * BufferView_pimpl.h: qualified name is not allowed in member
11353 declaration: WorkArea & Pimpl::workarea() const;
11355 * factory.C: added using std::endl directive.
11357 * text3.C: added using std::find and std::vector directives.
11359 2002-08-29 André Pönitz <poenitz@gmx.net>
11362 * text2.C: remove unused member number_of_rows
11365 * BufferView2.C: remove file, move contents to...
11366 * BufferView.C: ... here
11368 * BufferView_pimpl.C:
11369 * factory.C: move more inset creation to factory
11371 * vspace.C: avoid direct usage of LyXText, ws changes
11374 don't provide direct access to WorkArea, use two simple
11375 acessors haveSelction() and workHeight() instead
11378 2002-08-29 John Levon <levon@movementarian.org>
11380 * BufferView_pimpl.C (dispatch): do not continue when
11383 2002-08-28 André Pönitz <poenitz@gmx.net>
11385 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11388 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11390 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
11392 * buffer.C: increment LYX_FORMAT to 221
11394 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11395 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11397 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11399 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11401 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11403 * factory.C (createInset): use LyXTextClass::floats
11405 * MenuBackend.C (expandFloatListInsert):
11406 (expandFloatInsert):
11409 * text2.C (setCounter):
11411 * LaTeXFeatures.C (useFloat):
11412 (getFloatDefinitions):
11414 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11416 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11417 floatlist_, with accessor floats().
11419 * FloatList.h: remove global FloatList
11421 2002-08-26 André Pönitz <poenitz@gmx.net>
11423 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11427 * BufferView_pimpl.C:
11428 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11430 2002-08-25 John Levon <levon@movementarian.org>
11432 * LyXAction.C: fix margin note description
11434 2002-08-24 John Levon <levon@movementarian.org>
11438 * bufferview_funcs.C:
11440 * undo_funcs.C: cleanups
11442 * lyxfunc.C: disable CUT/COPY when no selection
11444 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11446 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11447 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11449 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11450 Add backward compatibility to "mono", "gray" and "no".
11452 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11454 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11455 (and file_format >= 200).
11457 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11459 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11461 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11463 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11465 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11467 * BufferView_pimpl.C:
11474 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11475 inset and code to make it work with the paragraph code. The inset
11476 can be anywhere in the paragraph, but will only do the expected
11477 thing in LaTeX if the layout file contains the parameter line
11479 (or more generally, a nonzero value) for that layout.
11481 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11483 * paragraph.h: remove the declaration of undefined counters class
11486 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11488 * text2.C (setCounter): fixed enumeration mis-count as reported by
11489 Dr. Richard Hawkins.
11491 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11493 * paragraph_funcs.h: remove some unneeded includes
11495 * text.C (backspace): pasteParagraph now in global scipe
11497 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11498 (pasteSelection): ditto
11500 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11501 * paragraph_funcs.C (pasteParagraph): ... here
11503 2002-08-20 André Pönitz <poenitz@gmx.net>
11505 * commandtags.h: new LFUNs for swapping/copying table row/colums
11508 * lyxfunc.C: support for new lfuns
11510 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11513 * buffer.[Ch]: remove NO_COMPABILITY stuff
11515 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11517 * boost.C (throw_exception): new file, with helper function for
11518 boost compiled without exceptions.
11523 * ParameterStruct.h:
11524 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11526 * bufferlist.C (emergencyWriteAll): use boost bind
11528 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11530 * text.C: include paragraph_funcs.h
11531 (breakParagraph): breakParagraph is now in global scope
11533 * paragraph_funcs.[Ch]: new files
11535 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11538 * buffer.C: include paragraph_funcs.h
11539 (insertStringAsLines): breakParagraph is now in global scope
11541 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11544 * CutAndPaste.C: include paragraph_funcs.h
11545 (cutSelection): breakParagraphConservative is now in global scope
11546 (pasteSelection): ditto
11548 * buffer.h: declare oprator== and operator!= for
11549 Buffer::inset_iterator
11551 * bufferlist.C (emergencyWrite): don't use fmt(...)
11553 * text3.C: add using std::endl
11555 * BufferView.C (moveCursorUpdate): remove default arg
11557 2002-08-20 André Pönitz <poenitz@gmx.net>
11559 * buffer.[Ch]: move inline functions to .C
11562 * BufferView_pimpl.C:
11564 * buffer.[Ch]: use improved inset_iterator
11567 * paragraph.[Ch]: write one paragraph at a time
11569 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11571 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11572 style if style is not specified.
11574 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11576 * text2.C (setCounter): when searching for right label for a
11577 caption, make sure to recurse to parent insets (so that a caption
11578 in a minipage in a figure float works) (bug #568)
11580 2002-08-20 André Pönitz <poenitz@gmx.net>
11582 * text3.C: new file for LyXText::dispatch() and helpers
11584 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11586 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11588 2002-08-19 André Pönitz <poenitz@gmx.net>
11591 * text.C: new LyXText::dispatch()
11593 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11595 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11597 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11599 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11602 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11604 * Makefile.am: use $(variables) instead of @substitutions@
11606 2002-08-15 André Pönitz <poenitz@gmx.net>
11609 * BufferView_pimpl.C: streamlining mathed <-> outer world
11613 * LyXAction.C: remove unused LFUN_MATH
11615 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11617 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11619 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11621 * paragraph.C (Paragraph): reformat a bit
11622 (cutIntoMinibuffer): use builtin InsetList function instad of
11626 * buffer.C: include boost/bind.hpp, add using std::for_each
11627 (writeFileAscii): use ParagraphList iterators
11628 (validate): use for_each for validate traversal of paragraphs
11629 (getBibkeyList): use ParagraphList iterators
11630 (resizeInsets): use for_each to resizeInsetsLyXText for all
11632 (getParFromID): use ParagraphList iterators
11634 * BufferView2.C (lockInset): use paragraph list and iterators
11636 2002-08-14 John Levon <levon@movementarian.org>
11638 * lyxserver.C: remove spurious xforms include
11640 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11642 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11644 2002-08-13 André Pönitz <poenitz@gmx.net>
11647 * lyxfunc.C: further cleaning
11649 2002-08-13 André Pönitz <poenitz@gmx.net>
11651 * funcrequest.h: new constructor
11653 * funcrequest.C: move stuff here from .h
11656 * BufferView_pimpl.C:
11659 * lyxfunc.C: subsequent changes
11661 * lyxfunc.h: new view() member function
11663 * lyxfunc.C: subsequent changes
11665 2002-08-13 Angus Leeming <leeming@lyx.org>
11668 * BufferView_pimpl.C:
11676 changes due to the changed LyXView interface that now returns references
11677 to member variables not pointers.
11679 2002-08-13 Angus Leeming <leeming@lyx.org>
11681 * WordLangTuple (word, lang_code): return references to strings,
11686 * lyxtext.h: forward-declare WordLangTuple.
11691 * text.C: #include "WordLangTuple.h".
11694 * text.C: (selectNextWordToSpellcheck): constify return type.
11696 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11702 * paragraph_pimpl.h:
11705 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11706 suggested by Angus.
11707 Made updateCounter always count from start of buffer, and removed
11708 second argument (par).
11709 Reverted floats number display to '#'. Perhaps I'll try again when the
11710 code base is sanitized a bit.
11712 2002-08-12 Angus Leeming <leeming@lyx.org>
11714 * buffer.[Ch] (getLabelList): constify.
11716 2002-08-07 André Pönitz <poenitz@gmx.net>
11718 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11720 * funcrequest.h: extension to keep mouse (x,y) position
11722 2002-08-12 Juergen Vigna <jug@sad.it>
11724 * BufferView2.C (insertErrors): forbid undo when inserting error
11727 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11729 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11731 * ParagraphList.[Ch]: new files
11733 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11735 * BufferView2.C (lockInset): ParagraphList changes
11738 * bufferlist.C: ditto
11742 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11744 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11745 unused class variable counter_,
11747 * paragraph.[Ch] (getFirstCounter): delete unused function
11749 * counters.C: include LAssert.h
11750 (reset): add a new function with no arg, change other version to
11751 not have def. arg and to not allow empty arg.
11753 * text2.C (setCounter): remove empty arg from call to Counters::reset
11755 2002-08-11 John Levon <levon@movementarian.org>
11757 * Makefile.am: add WordLangTuple.h
11759 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11761 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11762 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11764 * insets/insettext.C: InsetList changes
11766 * graphics/GraphicsSupport.C (operator()): InsetList changes
11768 * toc.C (getTocList): InsetList changes
11770 * paragraph_pimpl.[Ch]: InsetList changes
11772 * paragraph.[Ch]: InsetList changes
11774 * buffer.C (inset_iterator): InsetList changes
11775 (setParagraph): ditto
11776 * buffer.h (inset_iterator): ditto
11777 * iterators.C (operator++): ditto
11778 * iterators.h: ditto
11780 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11782 * InsetList.[Ch]: new files, most InsetList handling moved out of
11785 * BufferView2.C (removeAutoInsets): InsetList changes
11787 (ChangeInsets): ditto
11789 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11791 * paragraph_pimpl.h (empty): new function
11793 * paragraph.[Ch] (empty): new function
11795 * other files: use the new Paragraph::empty function
11797 2002-08-09 John Levon <levon@movementarian.org>
11799 * lyxtext.h: remove unused refresh_height
11801 2002-08-09 John Levon <levon@movementarian.org>
11808 * paragraph.C: move sgml char escaping out of paragraph
11811 * paragraph.C: remove id setter
11815 * paragraph_pimpl.C: remove dead tex_code_break_column
11817 * bufferview_funcs.C: small cleanup
11819 * lyxfunc.C: remove dead proto
11821 * lyxtext.h: make some stuff private. Remove some dead stuff.
11823 * lyxgluelength.C: make as[LyX]String() readable
11825 2002-08-08 John Levon <levon@movementarian.org>
11830 * ToolbarDefaults.C:
11833 * toc.C: lyxaction cleanup
11835 2002-08-08 John Levon <levon@movementarian.org>
11837 * BufferView2.C: small cleanup
11840 * lyxfind.C: move unnecessary header into the .C
11842 2002-08-08 John Levon <levon@movementarian.org>
11844 * funcrequest.h: just tedious nonsense
11847 * lyx_main.C: cleanups
11850 * vspace.C: remove dead header lyx_main.h
11852 2002-08-07 Angus Leeming <leeming@lyx.org>
11855 * paragraph_pimpl.h:
11856 Forward declare class Counters in paragraph.h by moving the ctrs member
11857 variable into Paragraph::Pimpl.
11858 (counters): new method, returning a reference to pimpl_->ctrs.
11860 * text2.C: ensuing changes.
11862 2002-08-07 John Levon <levon@movementarian.org>
11864 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11866 * BufferView_pimpl.C: announce X selection on double/triple
11869 * lyx_main.C: use correct bool in batch dispatch
11871 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11873 2002-08-07 André Pönitz <poenitz@gmx.net>
11875 * funcrequest.h: new class to wrap a kb_action and its argument
11878 * BufferView_pimpl[Ch]:
11882 * lyxrc.C: subsequent changes
11885 2002-08-07 John Levon <levon@movementarian.org>
11887 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11888 document options change.
11890 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11895 * makefile.am: move counters functionality over from
11896 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11898 2002-08-06 John Levon <levon@movementarian.org>
11900 * WordLangTuple.h: new file for word + language code tuple
11911 * BufferView2.C: use WordLangTuple
11914 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11916 2002-08-06 John Levon <levon@movementarian.org>
11918 * lyx_main.C: fix cmdline batch handling
11920 2002-08-06 André Pönitz <poenitz@gmx.net>
11922 * lyxrc.C: set default for show_banner to true
11924 2002-08-06 John Levon <levon@movementarian.org>
11926 * pspell.C: fix a crash, and allow new aspell to work
11928 2002-08-06 John Levon <levon@movementarian.org>
11931 * kbmap.C: small cleanup
11934 * vspace.C: add const
11936 2002-08-05 John Levon <levon@movementarian.org>
11938 * LyXAction.C: back to tabular-insert
11940 2002-08-04 John Levon <levon@movementarian.org>
11943 * BufferView.C: cosmetic change
11945 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11955 * BufferView2.C: purge all "Lyx" not "LyX" strings
11958 * lyxcursor.C: attempt to add some documentation
11963 * ToolbarDefaults.C:
11964 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11965 merge with LFUN_TABULAR_INSERT
11972 * pspell.C: split up i/pspell implementations into separate
11973 files, many cleanups
11975 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11977 * text2.C: some cleanup
11979 * lyxfunc.C: don't check for isp_command == "none" any more, it
11980 didn't make any sense
11982 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11987 * makefile.am: move counters functionality over
11988 from text2.C/paragraph.[Ch] to counters.[Ch], and
11990 2002-08-02 John Levon <levon@movementarian.org>
11992 * buffer.C: s/lyxconvert/lyx2lyx/
11994 2002-08-02 Angus Leeming <leeming@lyx.org>
11996 * lyxlex.C: revert John's change as it breaks reading of the user
11999 2002-08-02 Angus Leeming <leeming@lyx.org>
12001 * importer.C (Import):
12002 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
12003 changes due to LyXView::view() now returning a boost::shared_ptr.
12005 2002-08-02 John Levon <levon@movementarian.org>
12007 * lyxlex.C: small cleanup
12009 2002-08-02 John Levon <levon@movementarian.org>
12011 * text2.C (status): small cleanup, no logic change
12013 2002-08-01 John Levon <levon@movementarian.org>
12016 * buffer.C (writeFile): don't output alerts, caller
12020 * lyx_cb.C: from above
12022 * lyxfunc.C: allow to open non-existent files
12024 2002-07-31 John Levon <levon@movementarian.org>
12026 * lyxserver.C: don't let incidental errors get
12029 2002-07-30 John Levon <levon@movementarian.org>
12031 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
12033 2002-07-30 John Levon <levon@movementarian.org>
12036 * lyxserver.C: remove I/O callback too
12038 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12040 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
12043 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
12045 * many files: strip,frontStrip -> trim,ltrim,rtrim
12047 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
12049 * PrinterParams.h: remove extern containsOnly, and include
12050 support/lstrings.h instead.
12052 * LaTeX.C (scanAuxFile): modify because of strip changes
12054 * buffer.C (makeLaTeXFile): ditto
12055 * bufferparams.C (writeFile): ditt
12056 * lyxfont.C (stateText): ditto
12057 * lyxserver.C (read_ready): ditto
12058 * vc-backend.C (scanMaster): ditto
12060 * BufferView_pimpl.h: ws changes
12062 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
12064 2002-07-26 André Pönitz <poenitz@gmx.net>
12066 * kb_sequence.C: remove unnedred usings
12068 2002-07-26 Juergen Vigna <jug@sad.it>
12070 * lyxfind.C (LyXReplace): we have to check better if the returned
12071 text is not of theLockingInset()->getLockingInset().
12073 2002-07-25 Juergen Vigna <jug@sad.it>
12075 * lyxfind.C (LyXReplace): don't replace if we don't get the
12078 * undo_funcs.C (createUndo): remove debugging code.
12080 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
12082 * buffer.C (parseSingleLyXformat2Token): Use default placement
12083 when reading old floats.
12085 * FloatList.C (FloatList): Change the default placement of figure
12086 and tables to "tbp".
12088 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
12090 * MenuBackend.C: using std::max
12092 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12094 * MenuBackend.C (expandToc):
12095 (expandToc2): code moved from xforms menu frontend. It is now
12096 generic and TOCs are transparent to menu frontends.
12098 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12100 * toc.C (getTocList): protect against buf=0
12102 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
12103 Menu as first parameter. Now, this calls itself recursively to
12104 expand a whole tree (this will be useful for TOC handling)
12105 (expandFloatInsert): remove 'wide' version of floats
12107 * MenuBackend.h (submenuname): returns the name of the submenu.
12108 (submenu): returns the submenu itself, provided it has been
12109 created by MenuBackend::expand
12111 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12113 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
12114 insets which have noFontChange == true. (bug #172)
12116 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12118 * BufferView_pimpl.C: add connection objects and use them...
12121 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12123 * MenuBackend.C (expandLastfiles):
12126 (expandFloatListInsert):
12127 (expandFloatInsert):
12128 (expand): split expand in parts
12130 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12132 * lyx_gui.C: use lyx_gui::exit()
12134 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12136 * LyXAction.C: show the failing pseudo action
12138 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
12140 * buffer.C (readFile): Run the lyxconvert script in order to read
12143 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12147 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
12149 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12153 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
12155 2002-07-22 Herbert Voss <voss@lyx.org>
12158 * lyxlength.[Ch]: add support for the vertical lengths
12160 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
12162 * toc.[Ch]: std:: fixes
12164 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12166 * lyxrc.C: do not include lyx_main.h
12168 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
12174 * BufferView2.C: include "lyxlex.h"
12177 * bufferparams.h: do not #include "lyxlex.h"
12179 * lyxtextclasslist.C (Add): remove method
12180 (classlist): renamed to classlist_
12182 * paragraph_pimpl.C:
12186 * bufferview_funcs.C:
12191 * toc.C (getTocList): use BufferParams::getLyXTextClass
12193 * toc.C (getTocList): use InsetFloat::addToToc
12195 * toc.[Ch]: new files, containing helper functions to handle table
12198 * lyxfunc.C (dispatch): no need to remove spaces around command
12200 (getStatus): handle LFUN_SEQUENCE by returning the status of the
12201 first command of the sequence; it is not very clever, but I do not
12202 have a better idea, actually
12204 * LyXAction.C (LookupFunc): make sure to remove space at the
12205 beginning and end of the command
12207 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12209 * MenuBackend.C (getMenubar): new method: return the menubar of
12211 (read): treat differently reading of menu and menubar (in
12212 particular, the menubar has no name now)
12213 (Menu::menubar): remove
12215 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12218 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
12220 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12221 a bibitem inset in a RTL paragraph.
12223 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
12225 * paragraph_pimpl.C: constify
12227 * BufferView_pimpl.C:
12229 * lyxfunc.C: fix dispatch in a nicer way
12231 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12233 * lyxfunc.C (dispatch):
12234 * BufferView_pimpl.C:
12235 * BufferView_pimpl.h:
12237 * BufferView.h: rename Dispatch() to dispatch()
12239 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12241 * lyxlayout.C (Read): honor DependsOn tag
12243 * lyxlayout.[Ch] (depends_on): new method
12245 * version.C.in: update lyx_docversion
12247 * LaTeXFeatures.C (getMacros): only define \LyX when needed
12249 * paragraph.C (validate): remove from here...
12250 * paragraph_pimpl.C (validate): ... and move here
12251 (isTextAt): make it const
12253 * buffer.C (getLists): ws cleanup
12255 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
12257 * language.C (read): Use iso8859-1 encoding in latex_lang
12258 (this prevents LyX from crashing when using iso10646-1 encoding).
12260 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12262 * text2.C (toggleInset): if cursor is inside an inset, close the
12263 inset and leave cursor _after_ it
12265 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12267 * lyxfunc.C: move minibuffer completion handling out of here
12269 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12271 * BufferView_pimpl.C:
12272 * LaTeX.C: fix dispatch calls
12274 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
12276 * text.C (drawChars): Fix Arabic text rendering.
12278 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
12282 * lyxfunc.C: remove message-push/pop
12286 * lyxfunc.C: rationalise some code by removing verboseDispatch
12287 in favour of a bool argument to dispatch()
12289 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12291 * lyx_main.C (init): make sure to read symlinks as absolute paths
12293 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12296 * lyxfunc.C: no need for commandshortcut to be a member
12298 2002-07-15 André Pönitz <poenitz@gmx.net>
12300 * converter.C: add support for $$s (scripts from lib/scripts dir)
12301 * lyx_main.C: white space
12303 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12307 * lyxrc.C: remove second exit confirmation
12309 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12314 * BufferView_pimpl.h:
12315 * BufferView_pimpl.C:
12316 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12318 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12320 * MenuBackend.C (expand): add numeric shortcuts to document menu
12322 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12324 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12326 * lyxfont.C (setLyXFamily):
12333 * buffer.C (asciiParagraph): use ascii_lowercase
12335 2002-07-15 Mike Fabian <mfabian@suse.de>
12337 * lyxlex_pimpl.C (search_kw):
12338 * lyxlex.C (getLongString):
12339 * converter.h (operator<):
12340 * converter.C (operator<):
12341 * buffer.C (parseSingleLyXformat2Token):
12343 * ToolbarDefaults.C (read):
12344 * MenuBackend.C (checkShortcuts):
12346 * LColor.C (getFromGUIName):
12347 (getFromLyXName): use the compare_ascii_no_case instead of
12348 compare_no_case, because in turkish, 'i' is not the lowercase
12349 version of 'I', and thus turkish locale breaks parsing of tags.
12351 2002-07-16 Angus Leeming <leeming@lyx.org>
12353 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12354 now takes a Buffer const & argument.
12356 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
12358 * BufferView.C (resize): check there's a buffer to resize
12360 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
12362 * lyxfunc.C: remove dead code
12365 * lyxserver.C: use lyx_guii::set_read_callback
12367 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
12369 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12370 an inset in a RTL paragraph.
12372 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12374 * lyxfunc.C: repaint after a font size update
12376 2002-07-15 André Pönitz <poenitz@gmx.net>
12378 * lyxlength.C: inBP should be able to return negative values
12380 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12382 * lyxfunc.C: use lyx_gui::update_fonts()
12384 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12386 * lyxfunc.C: use lyx_gui::update_color()
12388 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12394 * lyxrc.C: remove file->new asks for name option, and let
12395 buffer-new take an argument
12397 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12399 * BufferView_pimpl.C: remove unneeded extra repaint()
12401 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
12403 * LyXAction.C: allow command-sequence with NoBuffer
12405 * lyxfunc.C: don't insist on trailing ';' for command-sequence
12407 2002-07-10 Angus Leeming <leeming@lyx.org>
12409 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12411 2002-07-09 Angus Leeming <leeming@lyx.org>
12413 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12415 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12417 * lengthcommon.h: whitespace
12419 * lyxfunc.C: update scrollbar after goto paragraph
12421 * lyxtext.h: factor out page break drawing, and fix it so
12422 page break/added space paints as selected nicely
12424 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12426 * BufferView_pimpl.C: add FIXMEs, clean up a little
12428 2002-07-09 André Pönitz <poenitz@gmx.net>
12430 * lyxfont.[Ch]: support for wasy symbols
12432 2002-07-08 André Pönitz <poenitz@gmx.net>
12434 * BufferView_pimpl.C: apply John's patch for #93.
12436 2002-07-05 Angus Leeming <leeming@lyx.org>
12438 * BufferView_pimpl.C (buffer): generate previews if desired.
12440 * LColor.h: add "preview" to the color enum.
12442 * LColor.C (LColor): add a corresponding entry to the items array.
12444 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12447 2002-07-05 Angus Leeming <leeming@lyx.org>
12449 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12450 The body of the code is now in the method that is passed an ostream &
12451 rather than a file name.
12452 Pass an additional only_preamble parameter, useful for the forthcoming
12455 2002-07-03 André Pönitz <poenitz@gmx.net>
12457 * lyxfunc.C: simplify getStatus() a bit for math stuff
12459 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12461 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12463 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12465 * text.C (changeRegionCase): do not change case of all the
12466 document when region ends at paragraph end (bug #461)
12468 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12470 * paragraph.C (startTeXParParams):
12471 (endTeXParParams): add \protect when necessary
12473 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12475 * BufferView_pimpl.C (workAreaExpose): remove warning
12477 2002-06-27 Angus Leeming <leeming@lyx.org>
12479 * Makefile.am: add lyxlayout_ptr_fwd.h.
12481 2002-06-26 André Pönitz <poenitz@gmx.net>
12483 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12485 2002-06-25 Angus Leeming <leeming@lyx.org>
12487 * lyxfunc.C (dispatch): Comment out the call to
12488 grfx::GCache::changeDisplay. The method no longer exists now that the
12489 pixmap generation part of the graphics loader has been moved into
12492 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12494 * text2.C: layout as layout
12496 * text.C: layout as layout
12498 * tabular.C (OldFormatRead): layout as layout
12500 * paragraph_pimpl.C (TeXDeeper): layout as layout
12501 (realizeFont): layout as layout
12503 * paragraph.C (writeFile): layout as layout
12504 (validate): layout as layout
12505 (getFont): layout as layout
12506 (getLabelFont): layout as layout
12507 (getLayoutFont): layout as layout
12508 (breakParagraph): layout as layout
12509 (stripLeadingSpaces): layout as layout
12510 (getEndLabel): layout as layout
12511 (getMaxDepthAfter): layout as layout
12512 (applyLayout): layout as layout
12513 (TeXOnePar): layout as layout
12514 (simpleTeXOnePar): layout as layout
12515 (TeXEnvironment): layout as layout
12516 (layout): layout as layout
12517 (layout): layout as layout
12519 * lyxtextclass.C (compare_name): new functor to work with
12520 shared_ptr, layout as layout
12521 (Read): layout as layout
12522 (hasLayout): layout as layout
12523 (operator): layout as layout
12524 (delete_layout): layout as layout
12525 (defaultLayout): layout as layout
12527 * lyxlayout_ptr_fwd.h: new file
12529 * lyxlayout.C (Read): layout as layout
12531 * lyx_cb.C (MenuInsertLabel): layout as layout
12533 * bufferlist.C (newFile): layout as layout
12535 * buffer.C (readLyXformat2): layout as layout
12536 (parseSingleLyXformat2Token): layout as layout
12537 (insertStringAsLines): layout as layout
12538 (asciiParagraph): layout as layout
12539 (latexParagraphs): layout as layout
12540 (makeLinuxDocFile): layout as layout
12541 (simpleLinuxDocOnePar): layout as layout
12542 (makeDocBookFile): layout as layout
12543 (simpleDocBookOnePar): layout as layout
12544 (getLists): layout as layout
12546 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12548 * CutAndPaste.C (cutSelection): layout as layout
12549 (pasteSelection): layout as layout
12550 (SwitchLayoutsBetweenClasses): layout as layout
12552 * BufferView_pimpl.C (Dispatch): layout as layout
12553 (smartQuote): layout as layout
12555 * BufferView2.C (unlockInset): layout as layout
12557 2002-06-24 André Pönitz <poenitz@gmx.net>
12559 * lyxfunc.C: fix #487
12561 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12565 * lyxfunc.C: remove display_shortcuts, show_banner
12567 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12569 * Buffer_pimpl.C: oops, update on resize
12571 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12578 * BufferView.C: use repaint()
12580 * BufferView_pimpl.h:
12581 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12582 as it's a clearer description. Remove superfluous
12585 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12587 * text.C: fix bug 488. Not ideal, but getting
12588 getWord() to work properly for the insets that
12589 matter is more difficult ...
12591 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12593 * BufferView_pimpl.C:
12596 * lyxfunc.C: remove the six million index lyxfuncs to just
12597 one, and DTRT (bug 458)
12599 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12603 * BufferView_pimpl.h:
12604 * BufferView_pimpl.C: clean up resize() stuff,
12605 and unnecessary updateScreen()s
12607 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12611 * BufferView_pimpl.h:
12612 * BufferView_pimpl.C:
12615 * minibuffer.C: remove focus management of workarea,
12616 not needed. Use screen's greyOut()
12618 2002-06-17 Herbert Voss <voss@lyx.org>
12620 * converter.C: (convert) do not post a message, when converting
12621 fails, let the calling function decide what to do in this case
12623 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12625 * lyxfunc.C: tidy up a little
12627 2002-06-16 <alstrup@diku.dk>
12629 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12630 Got rid of FORMS_H_LOCATION include. Now we are
12633 2002-06-15 LyX Development team <lyx@rilke>
12635 * buffer.[Ch] (sgmlOpenTag):
12636 (sgmlCloseTag): Added support for avoiding pernicious mixed
12637 content. Return number of lines written.
12639 (makeLinuxDocFile):
12640 (makeDocBookFile): Fixed calls to sgml*Tag.
12641 Simple white space clean.
12643 (simpleDocBookOnePar): Simple white space clean.
12645 * tabular.[Ch] (docBook): Renamed to docbook and got another
12646 argument to related with the pernicious mixed content.
12648 (docbookRow): Fixed calls for docbook inset method.
12650 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12652 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12653 so it's X11 independent.
12657 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12659 2002-06-15 Lyx Development team <lyx@electronia>
12661 * intl.h: Renamed getTrans to getTransManager.
12663 2002-06-14 Angus Leeming <leeming@lyx.org>
12665 * Makefile.am: nuke forgotten stl_string_fwd.h.
12667 2002-06-12 Angus Leeming <leeming@lyx.org>
12669 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12671 2002-06-13 Angus Leeming <leeming@lyx.org>
12674 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12676 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12678 * kbmap.C (getiso): add support for cyrillic and greek
12680 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12684 * BufferView_pimpl.h:
12685 * BufferView_pimpl.C: move bogus scrolling logic
12688 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12691 * BufferView_pimpl.C: view->resize() change
12693 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12695 * BufferView_pimpl.C: topCursorVisible
12698 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12702 * lyx_gui.C: move to frontends/
12706 * lyx_main.C: changes from above
12708 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12715 * lyx_main.C: minor tidy
12717 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12719 * BufferView_pimpl.h:
12720 * BufferView_pimpl.C:
12722 * BufferView.C: make painter() const,
12725 * BufferView2.C: use screen() accessor
12728 * lyx_main.C: some minor cleanup
12730 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12732 * BufferView_pimpl.h:
12733 * BufferView_pimpl.C: remove enter/leaveView,
12736 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12741 * BufferView_pimpl.h:
12742 * BufferView_pimpl.C: only construct screen once,
12745 * lyxrc.C: remove pointless comment
12747 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12750 * BufferView.C: remove active() and belowMouse()
12752 * BufferView_pimpl.h:
12753 * BufferView_pimpl.C: use workarea() not workarea_,
12754 and make it use a scoped_ptr instead
12756 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12758 * lyx_gui.C: add debug message on BadWindow
12760 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12762 * sp_spell.C: fdopen is not part of the C++ standard.
12764 * paragraph.C (InsetIterator): use >= instead of ==
12766 2002-06-07 Angus Leeming <leeming@lyx.org>
12768 Fixes needed to compile with Compaq cxx 6.5.
12769 * BufferView_pimpl.C:
12776 * lyxtextclasslist.C:
12781 all c-library variables have been moved into namespace std. Wrap
12782 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12787 Add a using std::abs declaration.
12789 * kbmap.h (modifier_pair):
12790 * paragraph.h (InsetTable, InsetList):
12791 * lyxfont.h (FontBits):
12792 type definition made public.
12794 * bufferlist.C (emergencyWriteAll): the compiler complains that
12795 there is more than one possible lyx::class_fun template to choose from.
12796 I re-named the void specialisation as lyx::void_class_fun.
12798 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12800 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12801 the compiler is is unable to find tostr in write_attribute.
12803 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12805 * buffer.C (sgmlError): hide #warning
12807 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12809 * xtl/*: get rid of xtl, which is not in use anyway
12811 * LyXAction.C (init):
12812 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12813 were unimplemented xtl experimentation
12815 2002-06-04 André Pönitz <poenitz@gmx.net>
12817 * lyxfunc.C: disable array operation on simple formulae
12819 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12821 * converter.C: constify a bit
12823 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12825 * lyx_gui.C: check xforms version correctly
12827 2002-04-30 Herbert Voss <voss@lyx.org>
12829 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12832 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12834 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12835 attempt to register it with a VCS)
12837 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12839 * lyx_main.C (init): honor variables LYX_DIR_13x and
12842 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12846 * lyx_main.C: fix a crash on bad command line,
12847 and give a useful exit status on error
12849 * lyxfunc.C (doImport): allow -i lyx to work
12851 2002-03-30 André Pönitz <poenitz@gmx.net>
12853 * lyxfunc.C: mathed font changes
12855 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12870 * trans_mgr.h: srcdocs, and some minor cleanups
12872 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12874 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12875 call getFont all the time)
12877 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12879 * switch from SigC signals to boost::signals
12881 2002-05-29 André Pönitz <poenitz@gmx.net>
12883 * paragraph_pimpl.C (getChar): don't call size() too often...
12885 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12887 * paragraph_pimpl.C (insertChar): do not try to update tables when
12888 appending (pos == size())
12890 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12891 in order to reduce drastically the number of comparisons needed to
12892 parse a large document
12894 2002-05-29 André Pönitz <poenitz@gmx.net>
12900 * textclasslist.[Ch]:
12901 * sp_ispell.h: whitespace change
12903 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12905 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12906 lyxaction directly now.
12908 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12912 * lyxvc.C: remove unused headers
12914 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12921 * undo_funcs.C: some cleanups. Use shared_ptr
12922 and a template for the undo stacks.
12924 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12926 * BufferView_pimpl.h:
12927 * BufferView_pimpl.C:
12934 * text2.C: use key_state/mouse_state
12936 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12938 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12941 * chset.C: change include order
12942 (loadFile): use boost regex and get rid of LRegex and LSubstring
12944 * Makefile.am (BOOST_LIBS): new variable
12945 (lyx_LDADD): use it
12947 * LaTeX.C: change include order.
12948 (scanAuxFile): use boost regex and get rid of LRegex and
12952 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12957 * FontInfo.C: moved to frontends/xforms/
12960 * FontLoader.C: moved into frontends for GUIIzation
12965 * lyxfunc.C: changes from above
12967 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12969 * LColor.C: remove spurious X include
12971 * BufferView_pimpl.C:
12976 * text2.C: move font metrics to frontends/
12978 2002-05-24 Juergen Vigna <jug@sad.it>
12980 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12981 setting the undo_cursor.
12983 * ParagraphParameters.h: include local includes first.
12985 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12987 * BufferView_pimpl.C:
12988 * BufferView_pimpl.h:
12992 * screen.C: move WorkArea into frontends/
12998 * BufferView2.C: move LyXScreen into frontends/
13002 * lyx_gui.C: move lyxlookup into frontends/xforms/
13004 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
13007 * BufferView_pimpl.C:
13017 * bufferview_funcs.C:
13030 * vc-backend.C: move LyX/XFormsView into frontends/
13032 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
13044 * text2.C: move Painter to frontends/
13046 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
13048 * buffer.C: comment out some some code that depend upon lyx_format
13051 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
13052 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
13054 * buffer.h (NO_COMPABILITY): turn off compability
13056 * ColorHandler.C: include scoped_array.hpp
13058 * font.C: Use more specific smart_ptr header.
13061 * ShareContainer.h: ditto
13062 * lyx_main.h: ditto
13064 * FontInfo.h: ditto
13065 * BufferView_pimpl.h: ditto
13066 * ColorHandler.h: ditto
13068 * kbmap.C (defkey): change call to shared_ptr::reset
13070 2002-05-21 Juergen Vigna <jug@sad.it>
13072 * buffer.C (insertErtContents): fix to insert ert asis if it is
13073 non empty. Skip it completely if it contains only whitespaces.
13075 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
13077 * BufferView_pimpl.C:
13078 * BufferView2.C: clear selection on paste (bug 393)
13080 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13082 * DepTable.C: include ctime
13084 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
13086 * buffer.C (latexParagraphs): Add new argument (moving_arg).
13088 2002-05-14 Juergen Vigna <jug@sad.it>
13090 * text.C (breakParagraph): fixed function to honor the keepempty
13091 layout in the right maner and also to permit the right breaking
13092 algorithm on empty or non empyt keepempty paragraphs.
13094 * paragraph.C (breakParagraph): we have to check also if the par
13095 is really empty (!size()) for isempty otherwise we do the wrong
13098 2002-05-10 Juergen Vigna <jug@sad.it>
13100 * buffer.[Ch] : The following are only changes to the ert
13101 compatibility read reading old LaTeX layout and font stuff and
13102 convert it to ERTInsets.
13104 * buffer.h: added isErtInset().
13106 * buffer.C (struct ErtComp): add a fromlayout bool to check
13107 if we're inside a LaTeX layout.
13108 (isErtInset): new helper function.
13109 (insertErtContents): look for other ert insets before this one
13110 and insert the contents there, so that we don't have subsequent
13111 ERT insets with nothing between them. This way we create only one
13112 inset with multiple paragraphs. Also check if we don't insert only
13113 spaces ' ' as they are ignored anyway afterwards in the .tex file
13114 so if we have only spaces we will ignore this latex part in the
13116 (parseSingleLyXformat2Token \\layout): better compatibility when
13117 reading layout-latex stuff.
13118 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
13120 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
13121 stuff after reading the inset only get the information back from
13124 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
13126 * buffer.C (makeLaTeXFile): Put language options after loading babel.
13128 * LaTeXFeatures.C (getBabelOptions): New method.
13130 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13132 * BufferView_pimpl.C (Dispatch): work around missing argument for
13135 2002-05-08 Juergen Vigna <jug@sad.it>
13137 * text.C (leftMargin): handle paragraph leftindent.
13139 * paragraph.C (writeFile): write the new \\leftindent tag.
13140 (validate): handle leftindent code.
13141 (TeXEnvironment): handle paragraphleftindent code again.
13143 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
13145 * buffer.C (parseSingleLyXformat2Token): added compatibility code
13146 for paragrap_extra indent code and new token \\leftindent.
13147 (latexParagraphs): handle the leftindent as environment.
13149 * ParameterStruct.h: added leftindent support.
13151 * ParagraphParameters.C (leftIndent): added support functions for
13152 the paragraph left indent.
13154 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
13157 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
13159 * paragraph.C (isRightToLeftPar): Return false for a paragraph
13162 * text.C (computeBidiTables): No bidi in insetERT.
13164 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
13167 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13169 * version.C.in: pre 5
13171 2002-05-02 José Matos <jamatos@fep.up.pt>
13172 * buffer.C (makeDocBookFile): white space changes, add newline to
13174 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13176 * tabular.C (docBook): fix typo.
13178 2002-05-03 Juergen Vigna <jug@sad.it>
13180 * screen.C (drawFromTo): recalculate the rowpointer if we had a
13181 change in LyXText as we can not be sure it was not freed.
13182 (drawOneRow): remove unused code.
13184 * text.C (drawInset): redo the calculation of the need_break_row as
13185 it could have a row which was already freed.
13186 (draw): look at the return value of drawInset and return false if
13187 it also returned false.
13188 (paintRowText): look at the return value of draw and return false if
13189 it also returned false.
13191 * lyxtext.h: added bool return type to drawInset() and draw() so that
13192 if we have a change in the row so that the rowbreak has to be redone
13193 we abort drawing as it will be called again.
13195 2002-05-02 Juergen Vigna <jug@sad.it>
13197 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13198 a change in the maintext also if we're inside an inset.
13199 (Dispatch): set the cursor again after a break line and after the
13200 screen has been updated as it could be we're in a different row.
13202 * text2.C (fixCursorAfterDelete): check to make sure we don't request
13203 to set the cursor behind the pargraph with > size().
13204 (setCursor): check also for the same paragraph when checking where
13205 to put the cursor if we have a NFR inset.
13207 * buffer.C (parseSingleLyXformat2Token): move the compatibility
13208 parts of layout read further up as it still was in the wrong
13211 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13213 * screen.C (drawFromTo): change sine fullRebreak always return
13216 * buffer.C (parseSingleLyXformat2Token): reindent some
13218 * BufferView_pimpl.C (update): change since fullRebreak always
13220 (Dispatch): git rid of the last hardcoded "Standard"s.
13222 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13224 * text2.[Ch] (fullRebreak): make it return void now that we always
13227 2002-04-30 Juergen Vigna <jug@sad.it>
13229 * buffer.C (parseSingleLyXformat2Token): reset the font before the
13230 ert compatibility check for "latex" layout.
13232 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
13234 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13235 minipages: use col% instead of p%, and also use the current font.
13236 (makeLaTeXFile): Fix use babel condition.
13237 (parseSingleLyXformat2Token): Correct font when reading old floats.
13239 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
13241 * BufferView_pimpl.C (Dispatch): Check that float type exists when
13242 inserting list of floats.
13244 2002-04-25 Herbert Voss <voss@lyx.org>
13246 * MenuBackend.C (expand): don't add the graphics extensions to the
13249 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13251 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13252 non-existing layout, do not complain if it was the default layout
13253 of the original class (bug #342)
13255 2002-04-24 Juergen Vigna <jug@sad.it>
13257 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13258 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13260 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
13262 * buffer.C (getBibkeyList): If using \bibliography, return the
13263 option field with the reference itself. Enables us to provide natbib
13264 support when using \bibliography.
13266 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
13268 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13270 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13271 natbib is provided by the LaTeX class.
13273 2002-04-23 Juergen Vigna <jug@sad.it>
13275 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13278 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13280 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13282 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13284 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13285 ensuremath around textordmasculine, textordfeminine and
13288 2002-04-19 Juergen Vigna <jug@sad.it>
13290 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13291 reinitializing the buffer otherwise row-dimensions may be wrong.
13292 (update): reset also the selection cursors if they do exits otherwise
13293 their x/y positions may be wrong.
13295 * text2.C (cursorDown): don't enter the inset if we came from a row
13296 above and are one row over the inset.
13298 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13299 really leaving an inset.
13301 2002-04-18 Juergen Vigna <jug@sad.it>
13303 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13304 of the selected paragraph does not have the selected layout also if
13307 * text2.C (setLayout): fixed bug which did not change last selected
13310 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13311 changed the read and substituted \\end_float with \\end_inset!
13313 * BufferView_pimpl.C (cursorPrevious):
13314 (cursorNext): fixed to make it work with rows heigher than the work
13315 area without moving the cursor only the draw of the row.
13316 (workAreaMotionNotify): fix jumping over high rows.
13318 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13320 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13323 2002-04-16 Juergen Vigna <jug@sad.it>
13325 * text2.C (setCursor): set also the irow().
13326 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13328 (cursorDown): support for locking an inset if the x_fix value goes
13329 inside it. That way I can transverse insets too with cursor up/down.
13331 * lyxrow.h: added irow helper function same as other (i) functions.
13333 * BufferView_pimpl.C (cursorPrevious):
13334 (cursorNext): fixed for insets!
13336 2002-04-15 Juergen Vigna <jug@sad.it>
13338 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13339 position otherwise it is wrong in some cases.
13341 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13342 inside the inset before the call.
13344 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
13346 * buffer.[Ch] (getBibkeyList): make it const.
13348 2002-04-12 Juergen Vigna <jug@sad.it>
13350 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13352 * text2.C (getCursorX): new helper function
13353 (setCursor): compute also ix_
13354 (setCursorFromCoordinates): set also ix.
13356 * lyxcursor.h: added ix_ and helper functions.
13358 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13360 * buffer.C (insertStringAsLines): dont break paragraph if the this
13361 paragraph is inside an inset which does not permit it!
13363 * text.C (breakParagraph): honor keepempty flag and break the paragraph
13364 also with no chars on this paragraph.
13365 (paintRowText): only paint stuff if it's inside the workarea!
13367 * paragraph.C (breakParagraph): honor keepempty flag and break the
13368 paragraph always below not above.
13370 * BufferView2.C (unlockInset): update the paragraph layout on inset
13371 unlock as we changed paragraph in such a case.
13373 * lyxfind.C (LyXFind): clear the former selection if not found!
13375 * text2.C (insertInset): freeze Undo after setUndo so that it is not
13376 again called in insertChar().
13378 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13379 an inset which uses the whole row!
13380 (rightMargin): ditto.
13381 (insertChar): force a rebreak if we inserted an inset!
13383 2002-03-28 Herbert Voss <voss@lyx.org>
13385 * lyxlength.[Ch]: add inBP() to get the right PS-point
13386 units (BigPoint). With inPixels we have rounding errors
13388 2002-04-11 Juergen Vigna <jug@sad.it>
13390 * text2.C (setCursorFromCoordinates): set iy to the right value.
13391 (setCursor): add check if row->previous exists!
13393 * buffer.C (parseSingleLyXformat2Token): reset font after read of
13394 an old float_type as this was the case in the old code!
13396 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13398 * BufferView2.C (showLockedInsetCursor): use iy
13399 (fitLockedInsetCursor): ditto
13401 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13402 locked insets as there we have the right value now.
13404 * lyxcursor.C: added iy_ variable and iy functions to set to the
13405 baseline of cursor-y of the locked inset.
13407 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13408 (setCursor): fixed for insets which need a full row.
13410 * text.C (rowLastPrintable): don't ignore the last space when before
13411 an inset which needs a full row.
13412 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13413 as last character of a row when before a inset which needs a full row.
13415 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13417 * version.C.in: update date
13419 * text2.C (fullRebreak): try to always return true and see what
13422 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13424 * MenuBackend.C (expand): use Floating::listName
13426 * FloatList.C (FloatList): add listName argument to the built-in
13429 * Floating.[Ch]: add listName member, which is the 'List of XXX'
13430 text associated with the float.
13432 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13434 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13436 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13438 * ShareContainer.h: add a couple of missing typenames.
13440 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13442 * lyxrc.C (getDescription): use _() correctly rather than N_().
13444 2002-03-28 Herbert Voss <voss@lyx.org>
13446 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13447 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13449 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13451 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13452 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13454 2002-03-29 Juergen Vigna <jug@sad.it>
13456 * lyxfunc.C (dispatch): add a missing fitCursor call.
13458 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13459 it was scrolled by a cursor move, so return the bool status.
13461 * BufferView.C (fitCursor): return the bool flag also to the outside
13462 world as this is needed.
13464 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13466 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13467 call the edit() as it is not needed (and wrong) IMO.
13468 (workAreaButtonPress): set the screen_first variable before evt.
13469 unlock the inset as this may change screen_first and then we have
13470 a wrong y position for the click!
13472 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13474 * MenuBackend.C (expand): another translation that I missed
13476 2002-03-28 Juergen Vigna <jug@sad.it>
13478 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13480 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13482 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13484 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13486 * MenuBackend.C (expand): fix export/view/update when there is no
13489 2002-03-27 Herbert Voss <voss@lyx.org>
13491 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13494 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13496 * bufferview_funcs.C (currentState): only show paragraph number
13497 for is DEVEL_VERSION is set.
13499 * lyxfunc.C (dispatch): put warning in INFO channel
13501 * MenuBackend.C (expand): translate the name of floats
13503 * FloatList.C (FloatList): mark the float names for translation
13505 * converter.C (convert): use LibScriptSearch
13507 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13509 * MenuBackend.C (defaults): fix default menu (we might as well get
13512 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13514 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13517 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13519 * lyxvc.C: reorder includes.
13521 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13523 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13526 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13528 * CutAndPaste.C: change layouts earlier on paste
13529 to avoid crashing when calling getFont()
13531 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13533 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13536 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13538 * WorkArea.C: remove 'Pending' debug message.
13540 * most files: ws cleanup
13542 * buffer.[Ch]: ws changes
13544 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13546 2002-03-21 Juergen Vigna <jug@sad.it>
13548 * tabular.C (SetMultiColumn): collapse also the contents of the
13549 cells and set the last border right. Added a Buffer const * param.
13551 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13553 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13556 2002-03-19 Juergen Vigna <jug@sad.it>
13558 * text2.C (clearSelection): reset also xsel_cache.
13560 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13561 where it needs to be called (John tells us to do so too :)
13562 (selectionLost): reset sel_cache.
13564 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13566 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13568 * text2.C (setCursorIntern): put debuging code in INSETS channel
13570 2002-03-19 André Pönitz <poenitz@gmx.net>
13572 * lyxfunc.C: tiny whitespace change
13574 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13576 * ToolbarDefaults.C (init):
13577 * LyXAction.C (init):
13579 * BufferView_pimpl.C (Dispatch):
13580 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13582 2002-03-19 Allan Rae <rae@lyx.org>
13584 * exporter.C (Export): removeAutoInsets before doing anything else.
13585 While I've just introduced a dependency on BufferView this really is
13586 the best place to clean the buffer otherwise you need to cleanup in
13587 a dozen places before calling export or cleanup in a dozen functions
13590 * converter.C (runLaTeX):
13591 (scanLog): Better handling of removeAutoInsets and screen updates.
13593 * lyxfunc.C (dispatch): small whitespace changes
13595 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13597 * WorkArea.C (C_WorkAreaEvent): return a value.
13598 (event_cb): return 1 if we handled the event, 0 otherwise.
13600 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13602 2002-03-18 Juergen Vigna <jug@sad.it>
13604 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13605 (GetAdditionalWidth): ditto.
13606 (RightLine): ditto.
13609 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13610 inset if we're there actually (probably not used right now but this
13611 is the direction to go for unifying code).
13612 (paste): disable code to clear the selection.
13614 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13615 inside an InsetText and move the check further up as it is in the
13618 * text2.C (pasteSelection): set a selection over the pasted text.
13620 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13622 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13623 and libgraphics to build on Cygwin.
13625 2002-03-15 Juergen Vigna <jug@sad.it>
13627 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13628 inserting an Inset into the paragraph. I know this is not the best
13629 fix but we already use current_view in CutAndPaste so we will remove
13630 all of it's using at the same time.
13632 * buffer.C (sgmlError): deactivated function till it is rewritten in
13633 the right mode, now it can create problems.
13635 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13636 before accessing it.
13638 2002-03-14 Juergen Vigna <jug@sad.it>
13640 * undo_funcs.C (textHandleUndo): do the right thing when updating
13641 the inset after the undo/redo.
13643 * text2.C (setCursor): just some testcode for #44 not ready yet.
13645 * undo_funcs.C (textHandleUndo): set the next() and previous()
13646 pointers of the paragraph to 0 before deleting otherwise we have
13647 problems with the Paragraph::[destructor].
13649 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13650 on a paragraph insertion.
13652 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13654 * buffer.C (asciiParagraph): use += operator for char append to
13657 * paragraph.C (getFontSettings): compare >= not just >
13658 (highestFontInRange): ditto
13661 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13663 * paragraph.C: change several algorithm to be more appripriate for
13664 the problem domain. This is lookip in FontList and in the InsetList.
13666 2002-03-13 André Pönitz <poenitz@gmx.net>
13669 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13671 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13676 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13678 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13680 * Painter.C (display): anon helper function, adjust code for this
13682 (pixmap): remove function.
13684 * Painter.h: remove private display variable.
13686 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13688 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13690 * WorkArea.[Ch]: remove figinset_canvas cruft.
13692 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13694 * lyxtextclass.C (operator): add one item cache optimization.
13696 * bufferlist.h: doxy changes
13698 * bufferlist.C: ws changes
13700 * DepTable.[Ch] (ext_exist): place const in the right spot.
13702 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13704 (workAreaExpose): call resizeInsets when the with BufferView changes.
13705 (Dispatch): adjust for protectedBlank removal
13706 (specialChar): call updateInset if the insert went ok.
13708 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13709 specialChar instead.
13711 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13713 * BufferView.h: doxy change
13715 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13717 * lyxtextclass.C (operator[]): remove non-const version
13718 (defaultLayout): remove non-const version
13720 2002-03-12 Juergen Vigna <jug@sad.it>
13722 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13723 did resize the LyXText too.
13725 * buffer.C (readLyXformat2): set layout information on newly allocated
13728 * tabular.C (OldFormatRead): set layout information on the paragraph.
13730 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13732 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13734 2002-03-11 Juergen Vigna <jug@sad.it>
13736 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13738 (resizeCurrentBuffer): force also the insets to resize themselfes.
13739 (moveCursorUpdate): fixed up for InsetText.
13741 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13744 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13745 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13746 value of Dialogs::tooltipsEnabled().
13747 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13749 2002-03-08 Juergen Vigna <jug@sad.it>
13751 * BufferView_pimpl.C (updateInset): update inset inside inset also
13752 if it isn't inside theLockingInset().
13754 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13756 * buffer.C (asciiParagraph): redo some of the word and line length
13758 (getLists): look for Caption instead of caption.
13760 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13762 * buffer.C (Buffer): initialize niceFile to true
13764 (makeLinuxDocFile):
13765 (makeDocBookFile): make sure niceFile is true on exit
13767 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13769 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13771 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13773 * LyXSendto.C: remove.
13774 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13775 * lyx_gui.C: remove now-redundant comment.
13776 * ColorHandler.h: remove forward declaration of class WorkArea.
13777 * lyxfunc.C: remove #include "WorkArea.h".
13779 2002-03-07 Juergen Vigna <jug@sad.it>
13781 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13782 got moved away with the DEPM and also set the inset_owner always
13783 right which before could have been omitted.
13785 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13787 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13788 wanted layout is not found.
13790 2002-03-07 Juergen Vigna <jug@sad.it>
13792 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13794 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13796 * paragraph.C (breakParagraph): use default layout not layout of
13798 (Paragraph): clear ParagraphParameters.
13800 2002-03-06 Juergen Vigna <jug@sad.it>
13802 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13803 otherwise it would not be a valid lenght. Fixed a special case in
13804 the minipage compatibility read where we end the document with a
13807 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13808 was set as it could be 0 for InsetTexts first entry.
13810 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13812 * paragraph.C (writeFile): if layout is empty write out
13813 defaultLayoutName().
13815 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13816 file without named layout we set layout to defaultLayoutName().
13818 2002-03-06 Juergen Vigna <jug@sad.it>
13820 * CutAndPaste.C (copySelection): set layout for new paragraph.
13822 * text.C (prepareToPrint): leave ERT inset left aligned
13823 (leftMargin): don't indent paragraphs inside ERT insets
13825 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13827 * paragraph.C (breakParagraph): dont call clear do the work manually
13829 * paragraph.[Ch] (clear): remove function
13831 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13833 * paragraph.C (Paragraph): dont call clear, the work has already
13836 * lyxtextclass.C (operator): assert if n is empty
13838 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13839 work manually instead.
13841 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13843 * BufferView_pimpl.C: protect selectionLost against text == 0
13845 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13847 * text.C (breakParagraph): fix a setting layout to '0' problem.
13849 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13851 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13852 final location of file, for the included files, and graphics.
13854 2002-03-05 Juergen Vigna <jug@sad.it>
13856 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13858 2002-03-04 Juergen Vigna <jug@sad.it>
13860 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13862 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13863 last column of multicolumn cells.
13864 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13866 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13868 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13869 file if it doesn't go to a temporary file.
13871 * buffer.C (sgmlOpenTag):
13872 (sgmlCloseTag): remove extra newline insertion.
13874 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13876 * text.C (getRowNearY): comment out debug msg
13878 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13880 * text2.C: first -> first_y
13882 * text.C (getRowNearY): add some attemts at a possible
13883 optimization, not working.
13885 * tabular.[Ch]: add BufferParams to several function so that newly
13886 created paragraph can be initialized to he default layotu for the
13889 * tabular-old.C (ReadOld): add buf->params to call of Init
13891 * screen.C: rename text->first to text->first_y
13893 * paragraph.C (breakParagraph): always set layout in the broken
13896 * lyxtextclass.C (Read): remove lowercase
13899 (delete_layout): ditto
13901 * lyxtext.h: rename first -> first_y
13903 * lyxlayout.C (Read): remove lowercase
13906 (obsoleted_by): ditto
13908 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13910 * buffer.C (insertErtContents): add params are to InsetERT
13911 (parseSingleLyXformat2Token): add code to check if a paragraphs
13912 layout really exist.
13913 (parseSingleLyXformat2Token): add params to several inset
13915 (asciiParagraph): remove lowercase, do the layout comparisons with
13918 * BufferView_pimpl.C (cursorNext): first -> first_y
13919 (resizeCurrentBuffer): first -> first_y
13920 (updateScrollbar): first -> first_y
13921 (scrollCB): first -> first_y
13922 (workAreaMotionNotify): first -> first_y
13923 (workAreaButtonPress): first -> first_y
13924 (checkInsetHit): first -> first_y
13925 (cursorPrevious): first -> first_y
13926 (cursorNext): first -> first_y
13927 (Dispatch): add buffer_->params to severl inset contructors
13929 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13931 * lyxlayout.C (Read): remove some debug info that I forgot.
13933 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13934 clean up the code slightly.
13935 (makeLinuxDocFile): ditto
13936 (makeDocBookFile): ditto
13938 * text2.C: layout as string
13940 * text.C: layout as string
13942 * paragraph_pimpl.C: layout as string
13944 * paragraph.[Ch]: layout as string
13946 * lyxtextclasslist.[Ch]: layout as string
13948 * lyxtextclass.[Ch]: layout as string
13950 * lyxtext.h: layout as string
13952 * lyxlayout.[Ch]: layout as string
13954 * lyx_cb.C: layout as string
13956 * bufferview_funcs.C: layout as string
13958 * bufferparams.C: layout as string
13960 * buffer.C: layout as string
13962 * LyXView.[Ch]: layout as string
13964 * LaTeXFeatures.[Ch]: layout as string
13966 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13968 * BufferView_pimpl.C: change current_layout to string, remove
13973 (workAreaButtonRelease): layout as string
13975 * BufferView2.C (unlockInset): adjust
13977 * vspace.C (asLatexCommand): use an explict temp variable.
13979 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13981 * Makefile.am: use FRONTEND_*
13983 2002-03-01 Juergen Vigna <jug@sad.it>
13985 * tabular.C (SetWidthOfMulticolCell): changed to something better
13986 I hope but still work in progress.
13987 (recalculateMulticolumnsOfColumn): renamed function from
13988 recalculateMulticolCells as it is more appropriate now.
13989 (SetWidthOfCell): calculate multicols better.
13991 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13993 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13995 * lyxfunc.C (processKeySym): print sequence also if it is
13996 `deleted' (complete)
13998 * kbsequence.C (print): print sequence even if it is deleted
13999 (complete would be a better word, actually).
14001 * lyxfunc.C (dispatch): print complete options after a prefix key
14003 * vspace.C (asLatexCommand): rewrite in a slightly different form.
14005 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
14007 * text2.C (setCharFont): eliminate setCharFont code duplication.
14009 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14011 * BufferView_pimpl.C (Dispatch): remove bogus handling of
14012 LFUN_TABULAR_FEATURE (bug #177)
14014 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
14016 * Makefile.am: remove figure.h
14018 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
14020 * Bufferview_pimpl.C:
14032 * text2.C: remove #include "lyx_gui_misc.h".
14034 * LaTeX.C: added #include <cstdio>
14036 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14038 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
14039 that the paragraph following this one can have.
14041 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
14043 * vspace.C (asLatexCommand): fix bogus gcc warning
14045 * Makefile.am (lyx_SOURCES): remove vms_defines.h
14047 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
14049 * text2.C (setLayout): get rid of redundant code
14051 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
14053 * text2.C (incDepth): make sure depth cannot be increased beyond
14056 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
14058 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
14059 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
14061 * PainterBase.h (image):
14062 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
14063 a LyXImage const *.
14065 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
14069 * BufferView_pimpl.C:
14070 * BufferView_pimpl.h:
14090 * sp_spell.C: remove fig inset, and the crap house of
14091 cards that follows it
14093 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
14098 * os2_errortable.h:
14099 * nt_defines.h: move .h into support/
14101 * vms_defines.h: remove
14103 * WorkArea.C: add space in debug output
14107 * buffer.C: add WITH_WARNINGS
14111 * bufferlist.C: s/retrive/retrieve/, add docs
14120 * chset.C: add docs
14122 * lyxgui.C: add ID to X error handler
14124 * lyxtestclass.c: fix typo
14126 2002-02-26 Juergen Vigna <jug@sad.it>
14128 * tabular_funcs.C (write_attribute): changed so that some default
14129 attributes are not written at all.
14130 (getTokenValue): set default values before trying to read the
14131 value so we have the return value always set as default if we don't
14132 find the token we search for.
14134 * tabular.C (Write): write bools as bools not as strings!
14136 2002-02-22 Juergen Vigna <jug@sad.it>
14138 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
14139 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
14141 * text.C (leftMargin): don't add an indent for paragraphs inside
14142 tabular cells (fix #208).
14144 2002-02-21 José Matos <jamatos@fep.up.pt>
14146 * tabular.C (docBook): fixed support for long tables.
14148 2002-02-20 Juergen Vigna <jug@sad.it>
14150 * text2.C (getFont): get the drawing font of the Inset if this
14151 paragraph is inside an inset (only important for InsetERT for now).
14153 * buffer.C (insertErtContents): use new lanugage params in ERT
14156 * CutAndPaste.C: commenting out seemingly uneeded code.
14158 2002-02-19 Allan Rae <rae@lyx.org>
14160 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
14161 Iterators might be simple to use but they also get invalidated.
14162 (removeAutoInsets): renamed saved cursor tracking variables and added
14163 some comments to clarify what everything does.
14165 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
14172 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14173 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14176 * vc-backend.h: remove #include "support/syscall.h"
14180 * converter.C: rearrange #includes in Lars' approved fashion.
14182 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14183 forward declare class Timeout in the header file.
14185 * XFormsView.C: changes due to the above.
14187 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14188 similar to LyXView.
14190 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14191 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14193 2002-02-18 José Matos <jamatos@fep.up.pt>
14195 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14198 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14200 * a lot of small ws changes
14201 * add a lot of using std::XXX
14202 * use std construcs some places where approp.
14203 * use some exisint stuff from lyxfunctional where approp.
14204 * Make file changes to use partial linking (lets test this now...)
14206 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
14210 remove #include "support/syscontr.h" as it's redundant. Always has been.
14218 change Systemcalls::System to Systemcalls::Wait and
14219 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14220 No change of functionality, just reflects the stripped down Systemcalls
14223 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
14225 * debug.[Ch]: add a GRAPHICS type to the enum.
14227 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14229 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14231 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14234 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14236 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14237 match the changes below.
14239 * text2.C (toggleInset): if there is not editable inset at cursor
14240 position, try to see if cursor is _inside_ a collapsable inset
14243 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14245 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14246 document menu has a nice checkbox
14248 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14250 * lyxlength.C (asLatexString): change PW to output as percent of
14253 * lengthcommon.C: change '%' to 't%'
14255 * lyxfunc.C (dispatch): a few comments from Martin
14257 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
14261 * BufferView_pimpl.h:
14262 * BufferView_pimpl.C: clear our selection when X tells us we've lost
14265 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14267 * vspace.C (inPixels): fix compiler warning
14269 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14271 * lyxfunc.C (getStatus): fix status message for disabled commands.
14273 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
14275 * BufferView_pimpl.C: fix crash on close buffer
14276 during selection (#227)
14278 2002-01-27 Herbert Voss <voss@lyx.org>
14280 * buffer.C: link old Figure to new graphic inset
14282 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
14284 * FontLoader.C (getFontinfo): Change the latex font names in order
14285 to match the names of type1inst.
14287 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
14289 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14291 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14292 (extchanged): ditto
14294 (remove_files_with_extension): ditto
14295 (remove_file): ditto
14298 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14299 document is smaller than the work area height. Do not initialize
14300 static variables to 0.
14302 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14304 * lyx_gui.C (init): give the toolbar tooltips a normal font.
14306 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14307 LFUN_LAYOUT_PARAGRAPHS.
14309 * tabular.C (GetCellFromInset): new method. Finds an inset in a
14310 tabular. It is possible to provide a possible cell, which will
14311 typically be the actcell from the corresponding insettabular
14313 * lyxfunc.C (getStatus): small cleanup; disable
14314 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14317 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14319 * tabular.C (Validate): remove broken optimization (fixes bug #201)
14321 * paragraph.C (startTeXParParams):
14322 (endTeXParParams): new methods. The LaTeX code to
14323 start/end paragraph formatting
14324 (simpleTeXOnePar): call startTeXParParams also when paragraph is
14325 empty (fixes bug #200)
14327 * vspace.C (inPixels): adapt to the change below
14328 (inPixels): [later] more cleanups (remove unused variables)
14330 * lyxlength.C (inPixels): change to use a width and a height as
14333 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14335 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14336 Replaced with \paperwidth
14338 * DepTable.C (insert): add std:: qualifier
14340 2002-01-18 Allan Rae <rae@lyx.org>
14342 * text2.C (removeRow): add comment. Should other refresh_?? vars be
14345 * text.C (drawInset): Turned out I didn't know enough about how
14346 rebreaking worked. This fixes most of the redraw problems. I see
14347 an occasional cursor trail when a line is broken now and the cursor
14348 placement can seem out by a few pixels also after a rebreak.
14350 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14352 * buffer.C (parseSingleLyXformat2Token): update because minipage
14353 width is now a LyXLength
14355 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14357 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14360 2002-01-17 Juergen Vigna <jug@sad.it>
14362 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14364 * BufferView2.C (lockInset): call edit() so that theLockingInset()
14365 is set correctly and the inset is updated correctly.
14367 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14369 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14370 the beginning of the loop.
14372 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
14374 * lyxrc.C: improve help for use_scalable_fonts
14376 2002-01-17 Allan Rae <rae@lyx.org>
14378 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14380 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14382 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14383 make sure to set their inset_owner to the right value (bug #171)
14385 2001-12-12 Ben Stanley <bds02@uow.edu.au>
14388 * DepTable.C: Implement mtime checking to reduce time spent doing
14391 2002-01-16 Juergen Vigna <jug@sad.it>
14393 * tabular.C (GetAdditionalHeight): one of error fixed.
14395 * lyxrc.C (output): small fix in writing use_pspell.
14397 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
14399 * sp_base.h: #include LString.h
14401 2002-01-16 Allan Rae <rae@lyx.org>
14403 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
14404 Can someone check this please?
14406 * text.C (drawInset): It was possible that p.row would be removed by
14407 breakAgainOneRow upsetting a few other settings. There may be another
14408 small tweak possible by setting need_break_row = 0 when p.row has been
14409 removed but I don't know enough about the logic here.
14411 2002-01-15 Allan Rae <rae@lyx.org>
14413 * text.C (insertChar): removed conditional truism.
14415 * BufferView2.C (removeAutoInsets): More tweaks.
14416 cur_par_prev could be a stray pointer. Check for trailing empty line
14417 in case last line was cur_par and only had an error inset on it.
14419 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14421 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14424 * vc-backend.C (most methods):
14425 * exporter.C (Export):
14426 * converter.C (convert):
14428 * LyXSendto.C (SendtoApplyCB):
14429 * lyxfunc.C (dispatch):
14433 * lyx_cb.C (AutoSave):
14435 * BufferView_pimpl.C (MenuInsertLyXFile):
14436 * buffer.C (runChktex): use Buffer::filePath().
14438 * buffer.h: rename filename to filename_; rename filepath to
14439 filepath_ and make it private
14440 (filePath): new method
14442 * buffer.C (writeFile): use fileName()
14445 * lyx_main.C (init): fix starting of LyX when the binary is a
14446 link from so,ewhere else.
14448 * minibuffer.C: include <cctype> for isprint
14450 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14452 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14453 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14454 name clash with InsetCollapsable's width function.
14456 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14458 * lastfiles.C: include <iterator>
14460 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14462 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14465 * buffer.C (makeLaTeXFile): ditto.
14466 Also make loop operation more transparent.
14468 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14470 * ToolbarDefaults.C: remove trailing comma closing namespace.
14472 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14474 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14477 * trans.C (Load): comment out unused variable, allowed.
14479 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14481 * minibuffer.[Ch] (append_char): new method to recieve input from the
14482 drop-down completion browser. If a key was pressed, then recieve this
14483 char and append it to the existing string.
14484 (peek_event): modify the positioning data passed to the completion
14485 browser so that it can be placed above the minibuffer rather than below.
14486 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14488 * LyXAction.C (init): alloe error-next for readonly documents.
14490 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14493 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14495 * bufferlist.C (readFile): create the buffer _after_ checking that
14498 * lyxfunc.C (verboseDispatch): fix handling of arguments
14500 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14502 * lyxrc.C: use string::erase() instead of initializing to "".
14505 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14507 * BufferView_pimpl.h:
14508 * BufferView_pimpl.C:
14511 * text2.C: tell X when we have made a selection for copying
14513 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14515 * BufferView_pimpl.C (MenuInsertLyXFile):
14516 * lyxfunc.C (menuNew):
14518 (doImport): add shortcuts to directory buttons
14520 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14523 * lyxfunc.C (setStatusMessage):
14524 (getStatusMessage): new methods
14525 (getStatus):use setStatusMessage instead of setErrorMessage
14526 (dispatch): when function is disabled, set error message here
14527 [instead of in getStatus previously]
14529 * BufferView_pimpl.C (workAreaButtonRelease): update
14530 toolbar/menubar here too.
14532 2002-01-13 Allan Rae <rae@lyx.org>
14534 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14535 Now seems indestructible. Remaining task is to audit all other
14536 code affected by deleteEmptyParagraphMechanism. One small quirk
14537 left is that an empty document with an error in the preamble can
14538 be made to report an error but no error box appears. I don't know
14540 (removeAutoInsets): Improved comments.
14542 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14545 * Thesaurus.C: update for Aiksaurus 0.14
14547 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14549 * text2.C (firstParagraph): removed member function, all uses
14550 replaces with ownerParagraph
14551 (redoParagraphs): here
14552 (updateInset): here
14553 (toggleAppendix): here
14554 * BufferView2.C (insertErrors): here
14555 (setCursorFromRow): here
14557 2002-01-13 Allan Rae <rae@lyx.org>
14559 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14560 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14561 There is still a way to segfault this although you may have to do this
14562 multiple times: Have an InsetERT with an unknown command in it.
14563 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14564 <down-arrow>, <Enter> again, View->DVI, BANG!
14566 * text2.C (setCursor):
14567 (deleteEmptyParagraphMechanism):
14568 * lyxtext.h (setCursor):
14569 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14570 Making use of the return value may help fix other bugs.
14572 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14574 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14576 * LyXView.C (updateMenubar): call MenuBar::update here
14577 (updateToolbar): but not here
14578 (showState): do not update toolbar/menubar
14580 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14581 should need to care about that.
14583 * lyxfunc.C (verboseDispatch): simplify a bit
14584 (getStatus): have a version which takes a pseudoaction, and
14585 another which requires a (kb_action,string).
14587 * LyXAction.C (retrieveActionArg): make it work also when action
14588 is not a pseudo-action.
14589 (getActionName): simplify a bit
14592 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14594 * lyxfunc.C (verboseDispatch): new families of methods with
14595 several ways to specify a command and a bool to indicate whether
14596 the command name and shortcut should be displayed in minibuffer
14597 (eventually, we could extend that to a finer bitmask like
14598 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14599 (dispatch): the pristine dispatch command which just, well,
14600 dispatchs! Note it still sets its result to minibuffer; I'm not
14603 * lyxfunc.h: remove setHintMessage
14605 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14607 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14609 * BufferView_pimpl.C (specialChar): delete new inset if we have
14610 not been able to insert it.
14612 * kbmap.C: revert to using int instead of kb_action, since all we
14613 are dealing with is pseudo-actions.
14615 * LyXAction.C (searchActionArg): change to return int instead of
14616 kb_action, since the result is a pseudoaction.
14618 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14620 * buffer.C (insertErtContents): Fix (partially) the font bug.
14622 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14624 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14625 as the other one is broken on my machine!
14627 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14630 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14632 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14634 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14635 reflect their actual use. Provide compatibility code for older lyxrc
14638 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14640 change names of popup font variables in line with the changes to lyxrc.C
14642 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14644 * buffer.C (asciiParagraph): avoid outputing a word twice after
14647 * lyxrc.C (getDescription): document that document_path and
14648 template_path can be empty.
14650 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14652 * LaTeXFeatures.C (getMacros):
14653 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14655 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14657 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14659 (getPackages): rename feature "floats" to "float". Use an array to
14660 iterate over 'simple' features (i.e. just a \usepackage). Add
14661 handling of "amsmath" (renamed from "amsstyle").
14663 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14665 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14668 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14670 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14671 FuncStaus::FuncStatus & FuncStaus::some_method().
14673 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14675 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14676 of the func_satus stuff. Edited and massaged in various ways by
14679 * lyxfunc.C (getStatus): use FuncStatus
14681 2002-01-08 Juergen Vigna <jug@sad.it>
14683 * text.C (nextBreakPoint): use function Inset::isChar().
14685 * paragraph.C (TeXOnePar): use function
14686 Inset::forceDefaultParagraphs.
14688 * buffer.C (latexParagraphs): use function
14689 Inset::forceDefaultParagraphs.
14691 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14693 * lyx_gui.C (init): set the style of the menu popups to
14694 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14696 2002-01-07 Juergen Vigna <jug@sad.it>
14698 * text.C (setHeightOfRow): small fix
14699 (prepareToPrint): don't look at alignment if we don't have the place
14702 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14704 * box.C: New file. Move the Box methods and functions out of box.h,
14705 following Lars' suggestion.
14707 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14709 * box.h: #include "support/LOstream.h", needed for inlined function.
14712 * lyxtextclasslist.C: added some using std declarations.
14714 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14716 * box.h: make signed dimensions to allow insets wider than
14717 the screen (bug #162)
14719 * BufferView_pimpl.C: add some insetHit debug
14721 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14723 * vc-backend.C: add FIXME
14725 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14727 * lyxfunc.C (getStatus): enable code for showing math font status
14730 2002-01-07 Juergen Vigna <jug@sad.it>
14732 * text.C (nextBreakPoint): removed debug output not needed anymore.
14734 2002-01-06 Juergen Vigna <jug@sad.it>
14736 * text.C (nextBreakPoint): fixed up this function we had this bug
14737 since ever but now hopefully we break row better.
14738 (insertChar): we have to check if an inset is the next char as it
14739 could now happen that a large inset is causing a break.
14741 2002-01-05 Juergen Vigna <jug@sad.it>
14743 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14744 if it doesn't like to be drawed.
14746 2002-01-04 Juergen Vigna <jug@sad.it>
14748 * BufferView2.C (lockInset): forgot to set a cursor.
14750 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14752 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14754 * FormMathsPanel.C:
14757 * form_maths_panel.C:
14758 * form_maths_panel.h:
14759 * form_maths_panel.fd: implemented sub- and super- buttons in math
14762 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14763 (or ^ space) to be used as in TeX (req'd by Andr�.
14765 * lyxfunc.C: Allow ^ and _ again to be used both as
14766 super/subscript (mathed) and as themselves (in text).
14768 2002-01-03 Allan Rae <rae@lyx.org>
14770 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14771 "LyX" or the filename of the current buffer if it has one. This is a
14772 modified form of John Levon's patch.
14774 * XFormsView.C (setWindowTitle): also set icon title.
14776 * LyXView.h (setWindowTitle): signature changed.
14777 * XFormsView.h (setWindowTitle): ditto.
14779 2002-01-02 Juergen Vigna <jug@sad.it>
14781 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14783 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14785 * screen.C (topCursorVisible): introduce a temp var for
14786 text->cursor.row(), handle the case where this row is null. (kindo
14789 * text2.C (setCursor): add a couple of asserts.
14791 * paragraph.h (inset_iterator): add -> operator
14793 * paragraph.[Ch] (autoDeleteInsets): remove member function
14795 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14796 cursor pos correctly and handle inset deletion by itself.
14797 (insertErrors): move iterator declaration out of for expression
14799 * lyxtextclass.C: add <algorithm>
14801 * Makefile.am: added the new files to sources, removed layout.C
14803 * layout.C: removed file
14805 * layout.h: remove LYX_DUMMY_LAYOUT
14807 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14811 * lyxtextclass.[Ch]:
14812 * lyxtextclasslist.[Ch]: new files
14814 * include order changes to a lot of files, also changes because of
14817 2001-12-27 Juergen Vigna <jug@sad.it>
14819 * buffer.C (asciiParagraph): more fixes.
14821 * tabular.C (ascii): make ascii export support export of only the
14822 data separated by a column-delimiter.
14823 (ascii): better support for ascii export.
14825 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14827 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14829 * tabular_funcs.C: use a "using std::getline" instead of the
14830 previous fix from Angus (necessary for cxx + lyxstring)
14832 2001-12-24 Juergen Vigna <jug@sad.it>
14834 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14836 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14837 problems. First check a minipage also if we have some ert-contents
14838 (not only on par->size(), second set the right depth of the paragraph
14839 on the relink to the root-paragraph-list!
14841 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14842 which then did not anymore update the main paragraphs on undo/redo!
14844 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14846 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14847 code. Support all font-changing funcs (even those which are not in
14848 menu currently). Support for reporting font settings in
14849 mathed (disabled until Andre provides a function on mathed's side).
14851 * func_status.h (toggle): small helper function to set toggle
14854 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14856 * tabular_funcs.C: getline -> std::getline
14858 2001-12-21 Juergen Vigna <jug@sad.it>
14860 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14861 accessed and could be 0 (I couldn't generate this but it seems
14864 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14866 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14867 * tabular_funcs.h: here and include iosfwd
14869 2001-12-20 Juergen Vigna <jug@sad.it>
14871 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14872 inside inset but undo_par was.
14874 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14876 * Thesaurus.C: always include <config.h> in sources.
14880 * box.h: do not include <config.h> in header files
14882 * text.C (paintLastRow): remove unused variable
14884 * text.C (transformChar):
14886 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14888 * Painter.C (text):
14889 * font.C (width): rewrite to use uppercase() instead of
14892 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14894 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14896 * lyxfind.C: clean up of find failure position change
14898 2001-12-20 Juergen Vigna <jug@sad.it>
14900 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14902 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14903 (TeXRow): added to LaTeX a single tabular row.
14904 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14905 (Latex): simplified and finally good LT-h/f support.
14906 (various_functions): just small adaptions for LT-h/f support.
14908 * tabular_funcs.[hC]: added and moved here all not classfunctions
14911 2001-12-19 Juergen Vigna <jug@sad.it>
14913 * tabular.[Ch]: better support for longtabular options (not finished
14916 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14918 * text.C (paintLastRow): use the label font instead of the font of
14919 the last character to compute the size of *_BOX. This makes more
14920 sense and avoids a crash with empty paragraphs.
14921 Use Painter::rectangle to draw EMPTY_BOX.
14923 2001-12-19 Juergen Vigna <jug@sad.it>
14925 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14926 the paragraphs if the replaced paragraph is not the first one!
14927 Tried to delete not used paragraphs but does not work yet so for
14928 now it's inside #ifdef's and by default off!
14930 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14932 * MenuBackend.C: include "lyx_main.h" instead of declaring
14933 lastfiles (actually was declared as LastFiles* instead of a
14936 2001-12-17 Juergen Vigna <jug@sad.it>
14938 * tabular.C (AppendColumn): applied John's fix
14940 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14944 * BufferView_pimpl.h:
14945 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14948 * box.h: new start of class for above
14950 * lyxfunc.C: ignore space-only minibuffer dispatches.
14951 Show the command name when it doesn't exist
14953 * minibuffer.C: don't add empty lines to the history
14955 * minibuffer.C: add a space on dropdown completion
14957 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14959 * text.C: fix line above/below drawing in insets
14961 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14963 * lyxlength.C (LyXLength): Initialize private variables.
14965 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14967 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14968 when inserting error insets.
14970 2001-12-13 Juergen Vigna <jug@sad.it>
14972 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14973 actually sometimes the before-paragraph.
14974 (setUndo): don't clear the redostack if we're not actually undoing!
14976 2001-12-06 Juergen Vigna <jug@sad.it>
14978 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14979 and fixed redoing of main paragraph, so we can use it now ;)
14981 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14983 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14985 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14988 2001-12-13 André Pönitz <poenitz@gmx.net>
14991 * undo_func.C: minor cleanup
14993 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14995 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14996 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14997 font in urw-fonts package which is marked as -urw-fontspecific and
14998 does not work (incidentally, changing the encoding in the
14999 fonts.dir of this package to -adobe-fontspecific fixes the
15002 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
15003 is a crash when undoing first paragraph (Juergen, please take a
15004 look). THis does not mean the undo fix is wrong, just that it
15007 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
15008 the (Paragraph*) version when needed instead of duplicating the
15011 * text.C (workWidth): use Inset::parOwner to find out where the
15012 inset has been inserted. This is a huge performance gain for large
15013 documents with lots of insets. If Inset::parOwner is not set, fall
15014 back on the brute force method
15016 * paragraph_pimpl.C (insertInset):
15017 * paragraph.C (Paragraph):
15018 (cutIntoMinibuffer): set parOwner of insets when
15019 inserting/removing them
15021 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
15023 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
15029 * mathed/formulabase.C:
15030 * mathed/math_cursor.[Ch]:
15031 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
15034 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15036 * lyxlength.[Ch] (operator!=): new function
15038 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15040 * text.C (workWidth): use Inset::parOwner to find out where the
15041 inset has been inserted. This is a huge performance gain for large
15042 documents with lots of insets. If Inset::parOwner is not set, fall
15043 back on the brute force method
15045 * paragraph_pimpl.C (insertInset):
15046 * paragraph.C (Paragraph):
15047 (cutIntoMinibuffer): set parOwner of insets when
15048 inserting/removing them
15050 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
15052 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15054 * tabular-old.C (getTokenValue):
15055 * tabular.C (getTokenValue):
15056 (write_attribute): new versions for LyXLength
15057 (everywhere): adjust the use of widths
15059 * tabular.h: change the type of widths from string to LyXLength
15061 2001-12-11 Ben Stanley <bds02@uow.edu.au>
15063 * paragraph.C: fixed missing line number count when exporting
15064 Environments to LaTeX file
15066 * buffer.C: added informational message for checking line numbers.
15068 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15070 * text2.C (deleteEmptyParagraphMechanism): if there is only one
15071 paragraph, do the 'double space' part, but not the 'empty
15074 * text.C (workWidth): small optimization
15075 (getLengthMarkerHeight): use minimal size for negative lengths.
15077 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
15079 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
15081 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
15083 2001-12-11 André Pönitz <poenitz@gmx.net>
15086 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
15088 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
15090 * text2.C: keep selection on a setFont()
15092 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
15094 * lyx_cb.C: another bv->text misuse, from insert label
15096 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
15099 * kbsequence.C: re-instate nmodifier mask
15101 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
15103 * lyx_main.h: make lyxGUI private.
15105 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
15107 * lyxfind.C: place the cursor correctly on failed search
15109 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15111 * text.C (getLengthMarkerHeight): for small heights, the arrows
15112 are not always on top/bottom of the text
15113 (drawLengthMarker): smaller arrows; take the left margin in
15114 account; draw also vfills.
15116 (paintLastRow): remove special code for vfill and standard spaces,
15117 since everything is handled in drawLengthMarker now.
15119 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15121 * buffer.C (insertErtContents): try to handle font and language
15122 interaction a bit better.g
15124 * ColorHandler.C (updateColor): change the hash to cover the whole
15125 LColor enum, ws cleanup
15126 (getGCLinepars): ditto
15127 (getGCLinepars): only lookup in the linecache once.
15129 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
15131 * iterators.C (operator++): Make the iterator more robust
15133 * BufferView2.C (removeAutoInsets): Use paragraph iterators
15135 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
15137 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15140 * text.C: better added space drawing
15142 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15145 * BufferView2.C: fix layout combo update on inset unlock
15147 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15149 * Makefile.am: don't compile unused files
15151 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15155 * LyXAction.C: remove old LFUN_LAYOUTNO
15157 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15159 * paragraph_pimpl.h:
15160 * paragraph_pimpl.C: isTextAt() doesn't need font param
15162 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15165 * lyxlex.C: little cleanup
15167 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15169 * BufferView_pimpl.C: fix insertAscii for insets
15171 2001-12-05 Juergen Vigna <jug@sad.it>
15173 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15174 set the right font on the "multi" paragraph paste!
15176 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15182 * lyxlength.C: remove out-commented code.
15184 * BufferView_pimpl:
15198 * vc-backend.C: change "while(" to "while ("
15200 * lyxlength.[Ch]: add zero function to check if length is zero or
15202 * lyxgluelength.C: use it
15204 2001-12-05 Allan Rae <rae@lyx.org>
15206 * lyxlength.C: Attempted a fix for the abs(int) header selection.
15207 Works for 2.95.3, from what I understand of Garst's reports this should
15208 work for other g++ versions. We're screwed if the abs(int) definition
15209 changed between bugfix releases of gcc.
15211 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
15213 * text.C: fix chapter label offset !
15215 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
15218 * text.C: fix hfill at end of line, clean up
15220 2001-12-04 Juergen Vigna <jug@sad.it>
15222 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15223 that we force an update of the inset and it's owners if neccessary.
15225 2001-12-03 Juergen Vigna <jug@sad.it>
15227 * text.C (rowLast): simplified code
15229 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
15231 * lyxfunc.C: fix show options on timeout
15233 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15235 * screen.C (topCursorVisible): scroll half a page when the cursor
15236 reached top of bottom of screen
15238 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
15240 * minibuffer.C: deactivate on loss of focus
15242 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15244 * vspace.[Ch] (operator!=): add operator.
15246 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
15248 * BufferView_pimpl.C: refuse to open an inset when
15249 there's a selection.
15251 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
15253 * BufferView_pimpl.C: allow to click on RHS of full row insets
15255 2001-11-30 Juergen Vigna <jug@sad.it>
15257 * tabular.C (LyXTabular): add a same_id to set the same id's in the
15258 insets for undo reasons.
15260 2001-11-28 André Pönitz <poenitz@gmx.net>
15262 * vspace.[Ch]: cosmetical changes
15264 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15274 * kbsequence.C: part re-write of old kb code
15277 * WorkArea.C: remove Lgb_bug_find_hack
15279 2001-11-30 José Matos <jamatos@fep.up.pt>
15281 * buffer.C (makeDocBookFile): add a comment to point a hack.
15282 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15283 Fixed a double write of labels.
15285 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15288 * LaTeX.h Fixed bug in LaTeX class where it would not
15289 re-run latex if no depfiles were changed, but the .dvi was removed.
15291 2001-11-28 André Pönitz <poenitz@gmx.net>
15293 * all the files from the change on 2001/11/26:
15294 use lyx::layout_type instead of LyXTextClass::size_type
15295 use lyx::textclass_type instead of LyXTextClassList::size_type
15297 2001-11-29 Juergen Vigna <jug@sad.it>
15299 * text.C: added support for paragraph::isFreeSpacing()
15301 * buffer.C: same as above
15303 * paragraph.h: inserted isFreeSpacing() function to enable
15304 FreeSpacing inside InsetERT.
15306 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15307 of the paragraph's in the cut/copy buffer to 0!
15309 * text2.C (removeRow): remove the assert as it can!
15311 * lyxtext.h: added helper function firstRow returning firstrow and
15312 made firstrow private again.
15314 * BufferView2.C (lockInset): don't relock if we're already locked!
15316 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15317 the only paragraph.
15318 (removeRow): added Assert::(firstrow)
15320 * debug.C: forgot to add INSETTEXT here.
15322 2001-11-28 Juergen Vigna <jug@sad.it>
15324 * sp_spell.C (initialize): changed error text to more general
15325 spellchecker command use (not only ispell!)
15327 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15329 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15331 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15333 * vspace.C: initialise lyxgluelength on failure
15335 2001-11-28 Allan Rae <rae@lyx.org>
15337 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15338 declaration & definition that looks like a function declaration.
15340 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15342 * BufferView2.C (copy):
15343 (copyEnvironment): do not clear the selection when doing a copy.
15345 * text.C (paintFirstRow): compilation fix
15347 2001-11-27 Ben Stanley <bds02@uow.edu.au>
15349 * tabular.C (Latex): correct line count when writing latex.
15351 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
15353 * paragraph_pimpl.h:
15354 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15357 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15361 * LColor.C: change vfillline->added_space
15363 * text.C: add markers and text for added space
15365 * vspace.C: fix comment
15367 2001-11-28 André Pönitz <poenitz@gmx.net>
15369 * paragraph.C: whitespace changes
15370 * all the other files from the change on 2001/11/26:
15371 change *::pos_type into lyx::pos_type
15373 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
15375 * buffer.C (parseSingleLyXformat2Token): Set the language to the
15376 language of the document when inserting error insets.
15378 2001-11-26 André Pönitz <poenitz@gmx.net>
15380 * BufferView_pimpl.[Ch]:
15388 * paragraph_pimpl.[Ch]:
15391 * text2.C: reduce header dependencies, introduce type for positions
15393 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15395 * <various>: change to use Alert.h
15397 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
15399 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15400 when encountering an unknown token.
15401 (readLyXformat2): Show an error message if there were unknown tokens.
15403 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
15406 * BufferView_pimpl.C:
15410 * text2.C: use par->isInset()
15412 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15414 * paragraph_pimpl.h:
15415 * paragraph_pimpl.C: cleanup
15417 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15419 * text2.C (removeRow):
15420 * text.C (setHeightOfRow): remove useless (and costly) call to
15423 2001-11-20 Allan Rae <rae@lyx.org>
15425 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15426 Now need Inset*::checkInsertChar() to return true for appropriate
15427 cases so that the characters in the minibuffer will actually be
15430 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
15432 * text.C: change the order of the includes.
15433 (workWidth): initialize it at once.
15434 (workWidth): make maxw unsigned
15435 (setHeightOfRow): remove unused variable (inset)
15436 (selectSelectedWord): remove unused variable (inset)
15437 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15439 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15441 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15442 server is not running.
15444 (closeConnection): add debug info when server is disabled.
15446 * ColorHandler.C (getGCForeground): send debug message to GUI
15449 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15451 * kbmap.C (bind): modify because return conventions of
15452 kb_sequence::parse have changed.
15454 * kbsequence.C (parse): only ignore spaces and not any stupid
15455 control character. This avoids tests like s[i] <= ' ', which are
15456 guaranteed to fail with 8bit characters and signed chars.
15457 Change return code to string::npos when there have been no error
15458 (0 was a bad idea when error is at first character)
15460 2001-11-14 José Matos <jamatos@fep.up.pt>
15463 * buffer.C (simpleDocBookOnePar): removed unused argument.
15465 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15467 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15468 insets which are part of a word. Paragraph::isLetter takes care of
15469 that now. Use Paragraph::isInset to identify insets.
15470 (selectSelectedWord): do not test for hyphenation break.
15472 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15473 that protected spaces are considered as spaces.
15475 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15478 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15481 * lyxserver.C: fix it. and small cleanup.
15483 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15485 * BufferView_pimpl.C: use inline helpers
15488 * LaTeXFeatures.C: fix typos
15491 * Spacing.C: move spacing_string into class
15493 * ToolbarDefaults.C: move stuff into namespace anon
15495 * layout.h: update enum
15497 * lyxfunc.C: use better debug
15499 * minibuffer.h: fix typo
15503 * WorkArea.C: add and use Debug::WORKAREA
15507 * text2.C: code re-organisation, inline helpers
15509 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15511 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15512 std::vector.empty().
15514 2001-11-09 Allan Rae <rae@lyx.org>
15516 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15517 '\n's after tables. Tabular and ERT inset work now makes this no
15520 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15523 * minibuffer.C: fix crash, improve drop-down completion
15525 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15528 * lyxserver.C: invalidate fd's when doing endPipe()
15530 2001-11-08 José Matos <jamatos@fep.up.pt>
15532 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15533 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15536 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15538 2001-11-07 José Matos <jamatos@fep.up.pt>
15541 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15544 * buffer.C (sgmlOpenTag):
15545 * buffer.C (sgmlCloseTag): removed debug info.
15547 * buffer.h (sgmlOpenTag):
15548 * buffer.h (sgmlCloseTag): made public.
15550 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15552 * buffer.C (saveParamsAsDefaults):
15553 * lyx_cb.C (MenuLayoutSave): remove
15555 * LyXAction.C (init):
15557 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15559 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15561 * buffer.C (setPaperStuff): removed from here...
15563 * bufferparams.C (setPaperStuff): ... and moved there.
15565 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15569 * XFormsView.C: add support for drop-down completion
15571 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15573 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15576 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15578 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15581 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15583 * lyx_main.C: change ref to known bugs
15585 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15587 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15588 to work around older babel problems.
15590 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15592 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15594 2001-10-24 Juergen Vigna <jug@sad.it>
15596 * tabular-old.C (ReadOld): below variable changes reflected.
15598 * tabular.[Ch]: added ltType struct for longtable header/footer
15599 defines and changed all instances where they are used. Added
15600 future support for double top/bottom rows.
15602 2001-10-24 José Matos <jamatos@fep.up.pt>
15604 * buffer.h (docbookHandleCaption):
15605 * buffer.C (docbookHandleCaption): removed unused function.
15606 (makeDocBookFile): moved docbook supported version to v4.1.
15608 2001-10-24 José Matos <jamatos@fep.up.pt>
15611 * tabular.C (docbookRow): new function to export docbook code of a row.
15612 (DocBook): now honors the longtable flags.
15614 2001-10-23 José Matos <jamatos@fep.up.pt>
15617 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15618 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15620 * buffer.C (makeLinuxDocFile):
15621 (makeDocBookFile): reworked the preamble, more clean, and with
15622 support for lyx defined entities. Changed the document declaration
15623 to be more XML friendly.
15625 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15626 if we need to output XML that should be done with a filter.
15628 2001-10-22 Juergen Vigna <jug@sad.it>
15630 * sp_pspell.h (class PSpell): add alive function needed in the
15631 controller to see if the spellchecker could be started.
15633 2001-10-22 Juergen Vigna <jug@sad.it>
15635 * buffer.C (insertStringAsLines): modify the font for inserting
15636 chars in certain conditions by calling checkInsertChar(font).
15638 2001-10-19 Juergen Vigna <jug@sad.it>
15640 * text.C (workWidth): use getRow instead of wrong algorithm.
15641 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15643 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15648 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15650 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15652 * text.C (workWidth): do not search for the exact row when
15653 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15654 optimization for big documents.
15656 2001-10-18 Juergen Vigna <jug@sad.it>
15658 * text.C (workWidth): new function with added Inset * parameter.
15660 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15662 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15664 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15665 change return type of getColumnNearX.
15668 * text.C (changeRegionCase): use uppercase/lowercase instead of
15671 (rightMargin): simplify code by factoring out the uses of
15676 (appendParagraph): use Paragraph::size_type
15678 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15680 * vspace.C (asLatexString): add a missing break
15682 2001-10-15 Herbert Voss <voss@perce.de>
15684 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15686 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15688 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15691 2001-10-10 André Pönitz <poenitz@gmx.net>
15693 * lyxfunc.C: removed greek_kb_flag.
15695 2001-10-10 Herbert Voss <voss@perce.de>
15697 * lyx_main.C: delete global string help_lyxdir.
15699 2001-10-09 Herbert Voss <voss@perce.de>
15701 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15703 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15705 * lyx_main.C: added global string help_lyxdir.
15707 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15709 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15711 * lyxrc.C (set_font_norm_type): support iso8859-4
15713 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15715 * LaTeX.C (deplog): add another regex for MikTeX
15717 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15719 * lyxrc.C (set_font_norm_type): support iso8859-3
15721 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15723 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15725 * LaTeXFeatures.C: remove special case of french and index
15727 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15728 before \begin{document}). This solves several incompatibilities.
15730 2001-10-03 Garst Reese <reese@isn.net>
15732 * lyx_cb.C: change CheckTex error msg.
15734 2001-10-03 José Matos <jamatos@fep.up.pt>
15736 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15738 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15740 * .cvsignore: update
15742 * lyx_main.C (commandLineVersionInfo): use new style version info.
15744 * buffer.C (writeFile):
15746 (makeLinuxDocFile):
15747 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15749 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15751 * version.h: update to use stuff in version.C
15753 * version.C.in: new file. Contains version information determined
15754 at compile time. This is a merging of version.h and
15757 2001-10-03 Juergen Vigna <jug@sad.it>
15759 * BufferView_pimpl.C (update): don't change "dirty" status in
15762 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15764 * WorkArea.C (c-tor): re-position version string slightly.
15766 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15768 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15769 revert to previous code.
15771 WorkArea.[Ch]: (show, destroySplash): methods removed.
15773 WorkArea.C: rework code so that it's an amalgam of the codes before and
15774 after the splash screen was moved to WorkArea.
15776 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15779 * vspace.C (inPixels):
15782 * buffer.C (insertStringAsLines):
15783 (asciiParagraph): fix types to be large enough
15785 * lyxlex_pimpl.h: change member status from short to int
15787 * layout.h: fix type of endlabeltype
15790 * kbsequence.C (parse): change return type to string::size_type
15792 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15795 * Bullet.C (bulletSize):
15796 (bulletEntry): do not use short ints as parameters
15798 * BufferView2.C (insertLyXFile): change a char to an int.
15800 * WorkArea.C (WorkArea): remove unneeded floats in computation
15802 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15804 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15806 * paragraph.C (asString): Do not ignore newline/hfill chars when
15807 copying to the clipboard.
15809 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15811 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15812 after a multi-line inset.
15814 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15816 * paragraph.C (validate): Set NeedLyXFootnoteCode
15818 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15820 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15821 and decrease-error to decrease.
15823 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15825 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15826 it more readable (should be equivalent)
15828 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15830 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15832 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15834 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15835 of a cursor (row, etc.) after a character has been deleted
15836 (deleteEmptyParagraphMechanism): call the method above on _all_
15837 cursors held by the LyXText when a double space has been
15840 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15842 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15844 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15846 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15847 background. Use greyOut() and the new show() methods to toggle between
15848 the foreground and background. Add code to remove the splash after
15849 its initial showing.
15851 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15852 (create_forms): no longer call Dialogs::showSplash.
15854 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15856 * .cvsignore: add version_info.h
15858 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15860 * version_info.h.in: new file
15862 * Makefile.am: add version_info.h.in
15864 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15865 version_info.h instead of VERSION_INFO
15867 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15869 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15870 The ERT inset now returns string().
15872 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15874 * lyxtext.h, text.C (selectNextWord): renamed as
15875 selectNextWordToSpellcheck.
15877 * text.C (selectNextWordToSpellcheck): Modified to not select
15878 words inside an ERT inset.
15880 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15882 * lyx_cb.C (MenuLayoutSave): change a bit the question
15884 * sp_base.h: include <sys/types.h>
15886 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15888 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15890 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15892 * several files: fix typos in user-visible strings
15894 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15896 * text2.C (pasteSelection): do not set the selection, since it
15897 will be cleared later. Actually, the intent was to fix the way the
15898 selection was set, but I figured rmoving the code was just as good.
15900 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15902 * FontLoader.C (available): Check if font is available without
15905 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15907 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15909 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15911 * lyxrc.[Ch]: added display_graphics variable and associated code.
15913 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15915 * bufferparams.C (hasClassDefaults): new method. Returns true if
15916 the buffer parameters correspond to known class defaults
15918 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15920 * XFormsView.C (show): set minimum size to the main window.
15922 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15924 * text2.C (copySelection):
15926 * lyxfind.C (LyXReplace):
15927 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15928 LyXText::selectionAsString.
15930 * paragraph.C (asString): add "label" argument to the second form
15932 * text2.C (selectionAsString): add "label" argument and pass it to
15933 Paragraph::asString.
15935 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15937 * lyx_main.C (commandLineHelp): remove version information
15939 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15941 * lyx_main.C: add -version commandline option
15943 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15945 * paragraph.h: make the optional constructor arg required instead.
15946 some modifications to other files because of this.
15948 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15950 * lyxserver.C (C_LyXComm_callback): make it static
15952 * lyx_main.C (error_handler): make it static
15954 * lyx_gui.C (LyX_XErrHandler): make it static
15956 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15958 * WorkArea.C: make the extern "C" methods static.
15960 * Makefile.am (lyx_LDADD): simplify
15962 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15964 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15965 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15967 * LyXAction.C (init):
15968 * lyxfunc.C (dispatch): associated code removal.
15970 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15972 * lyxfont.h (isSymbolFont): shut off warning
15974 * text.C (setHeightOfRow):
15975 (getVisibleRow): fix crash with empty paragraphs which have a
15978 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15980 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15983 2001-09-04 José Matos <jamatos@fep.up.pt>
15986 * tabular.C (docbook): rename docBook method to docbook.
15988 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15990 * Makefile.am: add dependencies to main.o.
15992 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15994 * FontLoader.C (available): Return false if !lyxrc.use_gui
15996 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15998 * FontInfo.C (query):
15999 * converter.C (view):
16000 * importer.C (Import):
16001 * exporter.C (Export): Can not -> cannot.
16003 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
16005 * BufferView_pimpl.C: allow to create index inset even if
16008 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
16010 * buffer.C (getLists): replace boost::tie code with an explicit pair
16011 as boost::tie can break some compilers.
16013 * iterators.h: Added a std:: declaration to the return type of
16016 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
16018 * lyxrc.C: add help for view_dvi_paper_option, default to safe
16021 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
16023 * iterators.[Ch]: New files. Provide paragraph iterators.
16025 * buffer.C (changeLanguage): Use paragraph iterators.
16026 (isMultiLingual): ditto
16028 * BufferView2.C (ChangeInsets): Use paragraph iterators.
16030 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
16032 * FontLoader.C: Support for cmr font.
16034 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
16036 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
16037 (available): New method.
16039 * FontInfo.C (getFontname): Use scalable fonts even when
16040 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
16043 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
16045 * converter.C (Formats::view): reverted! Incorrect fix.
16047 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
16049 * converter.C (Formats::view): only output the -paper option
16050 if the dvi viewer is xdvi, thereby fixing bug #233429.
16052 2001-08-23 Herbert Voss <voss@perce>
16054 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
16056 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
16058 * Spacing.h (Spacing): Set space to Default on in the default
16061 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
16063 * vc-backend.h (RCS::versionString): add RCS to version
16064 (CVS::versionString): add CVS to version
16066 * vc-backend.C (scanMaster): do not add CVS to version.
16067 (scanMaster): do not add RCS to version
16069 * lyxvc.C (versionString): new method
16071 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
16073 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16075 * Spacing.C (set): initialize fval
16077 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
16079 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
16082 2001-08-16 Juergen Vigna <jug@sad.it>
16084 * lyxfunc.C (dispatch): implemented the new FINISHED states.
16086 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
16088 * BufferView_pimpl.C:
16091 * text2.C: setParagraph takes linespacing now
16093 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
16095 * LyxAction.C: add internal LFUN_CITATION_INSERT
16097 * LyXView.C: actually apply fix
16099 * bufferlist.C: fix open non-existent file
16101 * lyxfind.C: fix indentation
16103 * lyxfunc.C: remove unneeded assert, fix typo
16105 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
16107 * MenuBackend.C: use "Floatname List"
16109 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
16111 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
16112 when converting LaTeX layout to insetERT.
16113 Generate a non-collapsed float when reading old float
16115 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
16117 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
16120 2001-08-13 Juergen Vigna <jug@sad.it>
16122 * text.C (fill): return 0 instead of 20 as this seems to be the more
16125 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
16127 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
16130 2001-08-13 Juergen Vigna <jug@sad.it>
16132 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
16134 (SearchBackward): comment out the unlocking of the inset_owner this
16135 should not be needed!
16137 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
16139 * Many files: Remove inherit_language, and add latex_language
16141 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
16142 collapsible insets.
16144 2001-08-10 Juergen Vigna <jug@sad.it>
16146 * text.C (prepareToPrint): fixed hfill-width in draw!
16148 * BufferView2.C (selectLastWord): save the selection cursor as this
16149 now is cleared in the function LyXText::clearSelection!
16151 2001-08-08 Juergen Vigna <jug@sad.it>
16153 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
16154 BACKSPACE type functions.
16156 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
16157 is only cutted from the document but not put in the cut-buffer, where
16158 still the old stuff should be.
16160 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
16162 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
16164 * tabular.C (SetWidthOfCell): fixed special case where the width
16166 (LeftLine): handle '|' in align_special.
16168 (LeftAlreadyDrawed): ditto
16169 (SetWidthOfCell): ditto
16171 2001-08-07 Juergen Vigna <jug@sad.it>
16173 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16175 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16177 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16178 * lyxlex.[hC]: ditto
16180 2001-08-06 Juergen Vigna <jug@sad.it>
16182 * text.C (getVisibleRow): fix up row clearing a bit.
16184 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16186 * minibuffer.C: make sure the X server sees the changes in the input.
16188 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16190 * paragraph.C (getFont): split into...
16191 (getLabelFont): this
16192 (getLayoutFont): and this
16193 * paragraph_pimpl.C (realizeFont): calling this
16195 * text2.C (getFont): split into...
16196 (getLayoutFont): this
16197 (getLabelFont): and this
16198 (realizeFont): all three calling this
16200 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16203 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16205 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16207 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
16209 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16210 layouts from the Quote inset insertion.
16212 2001-08-03 Juergen Vigna <jug@sad.it>
16214 * BufferView_pimpl.C (update): do the fitCursor only at the end!
16216 * screen.C (drawFromTo): don't call fitcursor here and do the loop
16217 only if status not is already CHANGED_IN_DRAW (second level).
16219 * text.C (draw): don't set the need_break_row when inside an
16222 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
16224 * buffer.C (parseSingleLyXformat2Token): handle more latex
16227 * bufferview_funcs.[hC]: change function names to
16228 begin with small char, adjust other files.
16230 2001-08-02 André Pönitz <poenitz@gmx.net>
16233 BufferView_pimpl.C: remove broken special code for math-greek
16235 2001-08-02 Juergen Vigna <jug@sad.it>
16237 * BufferView_pimpl.C (update): redone this function so that we
16238 update the text again if there was a CHANGE_IN_DRAW.
16240 * screen.C (cursorToggle): removed LyXText parameter and recoded.
16241 (drawFromTo): added a new internal bool which is used by draw() and
16243 (general): some cursor drawing problems fixed.
16245 2001-08-01 Juergen Vigna <jug@sad.it>
16247 * lyxfind.C (LyXFind): fixed
16248 (SearchForward): ditto
16249 (SearchBackward): ditto
16251 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16252 spurius drawing of the cursor in the main area.
16254 * text2.C (status): small fix which could lead to a segfault!
16255 (clearSelection): remove unneeded BufferView param.
16257 2001-08-01 André Pönitz <poenitz@gmx.net>
16259 * lyxfunc.C: small change due to changed mathed interface
16261 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16263 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16265 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
16267 * lyxfunc.c: fail gracefully if file doesn't exist
16272 * BufferView_pimpl.C: IsDirWriteable() proto changed
16274 * LyXView.C: fix updateWindowTitle() to store the last title
16276 2001-07-31 Juergen Vigna <jug@sad.it>
16278 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16279 the font (wrong since using of Paragraph::highestFontInRange).
16281 * paragraph.C (highestFontInRange): added a default_size parameter.
16283 * text.C (getVisibleRow): minor clear row changes (still not perfect).
16284 (setHeightOfRow): reformat
16286 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16288 * converter.[hC] + affected files: move to (inital-char)lowercase
16291 * ParagraphParameters.C (ParagraphParameters): remove commented code
16293 * PainterBase.[Ch]: remove commented code
16295 * LaTeXFeatures.h: add "bool floats" for float.sty
16297 * LaTeXFeatures.C (LaTeXFeatures): init floats
16298 (require): handle float
16299 (getPackages): do it with floats
16301 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16303 * BufferView_pimpl.C (Dispatch): improve handling of
16304 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16306 * commandtags.h: #include lyxfont.h here temporarily to avoid
16309 * bufferlist.h: include LString.h here.
16311 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16313 * text2.C (getStringToIndex): new method.
16315 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
16317 * *: Reduced header file dependencies all over.
16319 2001-07-30 Baruch Even <baruch@lyx.org>
16321 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16323 2001-07-29 Baruch Even <baruch@lyx.org>
16325 * buffer.C (readInset): Changed GRAPHICS to Graphics.
16327 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16329 * ParameterStruct.h (endif): add a default constructor to make
16330 sure that all variables is initialized.
16332 * ParagraphParameters.C (ParagraphParameters): adjust
16334 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16336 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16337 index; also, check that there is something to index, and that it
16338 does not span over several paragraphs.
16339 (doubleClick): use WHOLE_WORD_STRICT for double click.
16341 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16343 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16346 2001-07-26 Baruch Even <baruch@lyx.org>
16348 * buffer.C (readInset): Changed to call up InsetGraphics when reading
16349 an InsetFig figure, backwards compatible reading of old figure code.
16351 2001-07-27 Juergen Vigna <jug@sad.it>
16353 * text2.C: font.realize function adaption.
16355 * text.C (draw): add a warnings lyxerr text if needed.
16357 * layout.C: font.realize function adaption.
16359 * language.C: add inherit_language and implement it's handlings
16361 * bufferview_funcs.C (StyleReset): remove language parameter from
16362 font creation (should be language_inherit now).
16364 * bufferparams.C (writeFile): handle ignore_language.
16366 * paragraph.C (getFontSettings): the language has to be resolved
16367 otherwise we have problems in LyXFont!
16369 * lyxfont.C (lyxWriteChanges): added document_language parameter
16370 (update): removed unneeded language parameter
16372 * paragraph.C (validate): fixed wrong output of color-package when
16373 using interface colors for certain fonts in certain environments,
16374 which should not seen as that on the final output.
16376 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
16378 * BufferView_pimpl.C:
16383 * LyXAction.C: add thesaurus support
16386 * lyxfind.C: add "once" parameter, for thesaurus, to not
16387 move to the next match
16389 2001-07-26 Juergen Vigna <jug@sad.it>
16391 * lyxfont.C (realize): honor ignore_language too!
16394 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16396 * text.C (draw): one place more for ignore_language to not draw
16399 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
16401 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16403 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16405 * buffer.C (parseSingleLyXformat2Token): a more general fix for
16406 the minipage conversion problem.
16408 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16410 * buffer.C (parseSingleLyXformat2Token): check minipage if we
16413 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16415 * BufferView.h: don't forward declare WorkArea
16417 * BufferView.C: don't include WorkArea.h
16419 2001-07-25 André Pönitz <poenitz@gmx.net>
16423 * lyxfunc.C: new LFUN 'math-space'
16425 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16427 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16429 * text2.C (toggleInset): call open/close
16431 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16433 * lyxfunc.C (dispatch): add debug for the disabled case
16435 * font.C (buttonText): make similar to rectText
16437 * buffer.C (readInset): comment out parsing of insetlist and
16440 * PainterBase.C (rectText): small correction
16442 * BufferView_pimpl.C: comment out insettheorem and insetlist
16443 * LyXAction.C: ditto
16444 * commandtags.h: ditto
16446 2001-07-24 Juergen Vigna <jug@sad.it>
16448 * text.C (draw): honor the ignore_language.
16450 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16452 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16454 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16457 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16459 * lyxtext.h: remove unused (and unimplemented) methods
16461 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16463 * text.C (getVisibleRow): honor background color
16466 * Painter.h: remove default color argument for fillRectangle
16468 * text.C (backgroundColor): new method
16470 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16472 * text.C (getVisibleRow): adjust
16474 * font.[Ch] (rectText): new method, metrics
16475 (buttonText): new method, metrics
16477 * PainterBase.[hC]: make rectText and buttonText always draw and take
16480 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16482 * ToolbarDefaults.C (read):
16483 * MenuBackend.C (read): allow escaping in all strings
16485 * BufferView_pimpl.C (insertAndEditInset): new method.
16486 (Dispatch): use insertAndEditInset whenever appropriate.
16488 * BufferView_pimpl.C (insertNote): removed
16490 * BufferView_pimpl.C (smartQuote): new method, moved from
16491 BufferView; if an insetquote cannot be inserted, insert a '"'
16494 * BufferView2.C: remove insertCorrectQuote();
16496 * lyxfunc.C (getStatus): Add support for all remaingin
16497 inset-insert lfuns.
16499 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16501 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16502 command (necessary to pass " as parameter of self-insert.
16504 * text.C (selectWordWhenUnderCursor):
16505 (selectWord): add word_location parameter
16506 (selectWordWhenUnderCursor): same + remove special code for word
16508 (selectNextWord): use kind() to guess type of insetspecialchar,
16511 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16512 (insertErtContents): create ert insets as collapsed.
16513 (readInset): better compatibility code for Info inset.
16515 2001-07-20 Juergen Vigna <jug@sad.it>
16517 * lyxfunc.C (dispatch): use always LyXFind now!
16519 * text2.C (init): add a reinit flag so that the LyXText can be
16520 reinited instead of deleted and reallocated (used in InsetText).
16522 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16528 2001-07-18 Juergen Vigna <jug@sad.it>
16530 * text.C (selectNextWord): handle insets inside inset by calling
16531 always the bv->text functions so that we can go up the_locking_inset!
16533 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16534 in strange locations when inside an inset!
16536 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16537 handling to include insets.
16539 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16541 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16543 * LyXAction.C (init):
16545 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16546 LIGATURE_BREAK, since the name is so stupid.
16548 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16550 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16553 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16555 * sp_form.[Ch]: remove.
16557 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16559 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16562 * src/buffer.C (readInset): ditto.
16564 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16566 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16567 menuSeparator(), endOfSentenceDot(), ldots() and
16568 hyphenationPoint(), which are therefore removed.
16569 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16571 * LyXAction.C (init):
16572 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16574 * paragraph.C (getWord): removed.
16576 * BufferView_pimpl.C (Dispatch): use last word or selection for
16577 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16579 * lyx_main.C (queryUserLyXDir): do not ask before creating
16580 user_dir, except if it has been named explicitely.
16582 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16584 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16585 a document of zero size.
16587 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16589 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16590 approriately in the c-tor and in require().
16591 (getPackages): output the appropriate LaTeX for natbib support.
16593 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16594 variables "use_natbib" and "use_numerical_citations" when reading the
16596 (readInset): read the various natbib cite commands.
16597 (validate): white-space change.
16599 * bufferparams.[Ch]: new variables "bool use_natbib" and
16600 "bool use_numerical_citations".
16601 (writeFile): output them in the LyX file.
16603 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16605 * lyxfunc.C (getStatus): add support for all the inset insertion
16608 * text2.C (insertInset):
16609 * paragraph.C (insetAllowed):
16610 * BufferView_pimpl.C (insertInset): update to take in account the
16611 renaming of insertInsetAllowed
16613 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16615 * text2.C (getInset): new method. returns inset at cursor position.
16617 * BufferView_pimpl.C (Dispatch): changes because of this.
16619 * LyXAction.C (init): rename open-stuff to inset-toggle.
16621 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16623 * text2.C (toggleInset): renamed from openStuff; use
16626 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16628 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16630 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16632 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16634 * buffer.C (readLyXformat2): Add filename to the error dialog
16636 2001-07-18 Juergen Vigna <jug@sad.it>
16638 * tabular.C (GetCellNumber): put an assert here instead of the check!
16640 2001-07-17 Juergen Vigna <jug@sad.it>
16642 * BufferView_pimpl.C (toggleSelection): adapted too.
16644 * text.C (selectNextWord): adapted for use with insets.
16645 (selectSelectedWord): ditto
16647 2001-07-17 Juergen Vigna <jug@sad.it>
16649 * sp_spell.C (PSpell): fix initialitation order.
16651 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16653 * paragraph.C: spacing
16655 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16657 * sp_spell.C: repair language selection for pspell
16659 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16661 * lyxfunc.h: change more methods to begin with lower char.
16663 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16665 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16666 for unknown layouts.
16668 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16670 * buffer.C (readLyXformat2): Generate an error dialog if there are
16673 2001-07-16 Juergen Vigna <jug@sad.it>
16675 * sp_spell.C: always compile ISpell part.
16677 * lyxrc.C: added use_pspell entry and it's handling.
16679 2001-07-13 Juergen Vigna <jug@sad.it>
16681 * sp_spell.C: removed double includes.
16683 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16685 Consistent use of Lsstream.h:
16686 * Lsstream.h: added using std::stringstream for consistencies sake.
16688 * buffer.C: removed using std::stringstream
16690 * lyxfont.C (stateText):
16691 * paragraph.C (asString):
16692 * text.C (selectNextWord, selectSelectedWord):
16693 * text2.C (setCounter):
16694 * vspace.C (asString, asLatexString):
16695 std::ostringstream -> ostringstream.
16697 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16699 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16700 * commandtags.h: add LFUN_HELP_ABOUTLYX
16701 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16703 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16705 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16707 * lyx_gui_misc.C: remove spellchecker
16708 * lyxfunc.C: showSpellchecker
16710 * sp_ispell.h: added
16711 * sp_pspell.h: added
16712 * sp_spell.C: added
16713 * sp_form.[Ch]: removed
16714 * spellchecker.[Ch]: removed
16716 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16718 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16720 (simpleTeXSpecialChars): Simply print the input character without
16721 any special translation if pass_thru is set.
16723 * layout.h: Added bool pass_thru to layout class for being able to
16724 implement pass through of a paragraph for Literate Programming.
16726 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16727 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16728 * layout.C (Read): add "passthru" to list of layout tags and add
16729 code to set the pass_thru boolean when it is read.
16731 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16733 * trans_decl.h: remove allowed from KmodInfo
16735 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16736 remove allowed code
16739 * paragraph_pimpl.C (erase): use boost::prior
16741 * Painter.C (text): use data() instead of c_str() when length is
16743 * WorkArea.C (putClipboard): ditto
16744 * font.h (width): ditto
16746 * BufferView2.C: use it-> instead of (*it). for iterators
16748 * paragraph_pimpl.C: ditto
16749 * paragraph.C: ditto
16750 * minibuffer.C: ditto
16751 * language.C: ditto
16753 * encoding.C: ditto
16754 * counters.C: ditto
16755 * converter.C: ditto
16757 * Variables.C: ditto
16758 * TextCache.C: ditto
16759 * MenuBackend.C: ditto
16760 * LyXAction.C: ditto
16762 * FloatList.C: ditto
16763 * DepTable.C: ditto
16764 * ColorHandler.C (LyXColorHandler): ditto
16766 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16768 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16770 * text2.C (openStuff): reintroduce this method (which had been
16771 nuked in NEW_INSETS frenzy).
16773 * lyxfunc.C (Dispatch): when an action has not been handled, use
16774 its name in the error message, not its number.
16776 * paragraph.C (inInset): change method name to begin with lowercase.
16779 * text2.C: updates because of this.
16781 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16783 * ToolbarDefaults.C (add): add spaces in error message
16785 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16787 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16788 (readLyXformat2): rename return_par to first_par, use lyxlex's
16789 pushToken and remove the manual push handling.
16790 (parseSingleLyXformat2Token): add another ert comp. variable:
16791 in_tabular, rename return_par to first_par. handle newlines better
16793 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16795 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16797 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16799 * text2.C (getParFromID): removed
16801 * buffer.C (getParFromID): new method moved form lyxtext.
16802 * BufferView2.C (insertErrors): adjust
16803 (setCursorFromRow): adjust
16804 * BufferView_pimpl.C (restorePosition): adjust
16805 * lyxfunc.C (Dispatch): adjust
16806 * undo_funcs.C (textUndo): adjust
16808 (textHandleUndo): adjust
16809 (textHandleUndo): adjust
16811 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16813 * buffer.C: up' the LYX_FORMAT
16815 * lyxfont.h: turn NO_LATEX on as default
16817 * buffer.C (insertErtContents): new methods of tex style compability.
16818 (parseSingleLyXformat2Token): use it several places.
16819 * tabular.C (OldFormatRead): and here
16821 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16823 * text2.C: remove some commented code.
16826 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16827 * trans.C: changes because of the above.
16829 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16831 * text2.C (setCounter): Fix counters bug with bibliography layout.
16833 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16835 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16836 own member functions
16837 (simpleTeXSpecialChars): ditto
16839 2001-07-06 Juergen Vigna <jug@sad.it>
16841 * a lot of files: changed the access to LyXText::status and the
16842 call of undo-functions.
16844 * undo.[Ch]: added a inset_id to the undo informations.
16846 * undo_funcs.[Ch]: added and moved here all undo functions.
16848 * lyxtext.h: give the status enum a weight, made status_ a private
16849 variable and made accessor functions for it, removed the whole bunch
16850 of undo-functions as they are now in their own file, make some
16851 functions publically available. Added function ownerParagraph with
16854 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16855 made InInset() a const function, added getParFromID() function.
16857 * buffer.[Ch]: added const version for inset_iterator functions,
16858 added getInsetFromID() function.
16860 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16861 changed undo functions for new version.
16863 2001-07-05 Juergen Vigna <jug@sad.it>
16865 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16866 unknow mechanism does not call the proper constructor but only this
16867 one also if I request the other!?
16869 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16871 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16873 * text2.C (LyXText): use initialization lists.
16875 * lyxtext.h (Selection): initialize set_ and mark_
16876 (init): remove method
16878 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16880 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16882 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16884 * screen.[Ch]: change method names to begin with lowercase
16886 * BufferView_pimpl.C (updateScrollbar): simplify further and
16887 hopefully make it a bit faster.
16889 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16891 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16892 calling directly xforms functions.
16894 * Painter.C (Painter):
16895 * lyx_cb.C (MenuWrite):
16896 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16899 * lyx_gui.C: remove bogus guiruntime extern declaration.
16901 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16903 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16905 (redoDrawingOfParagraph): ditto
16906 (redoParagraphs): ditto
16907 (cutSelection): don't create a object for CutAndPaste use the
16908 static method directly
16909 (pasteSelection): ditto
16911 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16914 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16916 * modifications to some other files because of this.
16918 * Makefile.am (lyx_SOURCES): add XFormsView
16920 * XFormsView.[Ch]: new files
16922 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16923 the main window. Move the gui dependent stuff to XFormsView
16925 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16927 * tabular.C (GetCellInset): update cur_cell also in the row/col
16928 version of this function.
16930 * lyxfunc.C: no need to include figure_form.h here.
16936 * lyxvc.C: no need to include forms.h here.
16938 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16940 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16942 * lyxfunc.C (Dispatch):
16944 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16945 constructor argument.
16947 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16949 * paragraph.C (Paragraph): dont't clear, and just set layout.
16950 (makeSameLayout): use params's copy contructor.
16952 * ParagraphParameters.[Ch] (makeSame): delete method
16954 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16956 * Variables.[Ch]: fix indentation, rename set to isSet
16958 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16960 * lyxfunc.C (Dispatch): fix typo
16962 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16964 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16967 * bufferlist.C: include assert.h for emergencyWrite().
16969 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16971 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16972 give up at last (bug #425202) !
16974 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16980 * spellchecker.C: strip spellchecker options and bring up
16981 preferences tab instead
16983 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16985 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16986 the istringstream constructor
16988 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16990 * paragraph.C (getLayout): fix return value
16992 * paragraph.h: do not declare getLayout as inline.
16994 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16996 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16998 * lyxcursor.h (operator<): new func
16999 (operator>): new func
17000 (operator>=): new func
17001 (operator<=): new func
17003 * text.C (changeCase): use selection.start and selection.end
17004 (changeRegionCase): require from to be <= to. Require par to be a
17007 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
17009 2001-06-27 Juergen Vigna <jug@sad.it>
17011 * text.C (cursorLeftOneWord): changed to return the cursor and added
17012 overlay with BufferView * parameter which calls this one.
17014 (selectWord): use new getWord function.
17015 (changeCase): renamed from changeWordCase as and extended to work
17016 also on selections.
17018 * lyxtext.h: added enum word_location
17020 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
17021 changeCase as this operates now also on selections.
17023 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
17025 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
17027 * many files: send debug output to Debug::INFO instead of
17030 * converter.C (View):
17032 (Move): send debug output to Debug::FILES instead of console.
17034 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
17036 * lyxfunc.C (getStatus): use func_status
17038 * func_status.h: new header, describing the results of
17039 LyXFunc::getStatus;
17041 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
17044 2001-06-25 The LyX Project <jug@sad.it>
17046 * buffer.C (sgmlOpenTag):
17048 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
17050 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17052 * text2.C: remove some dead code
17054 * tabular.C (GetCellInset): store the last cell checked (gotten)
17056 * tabular.h: add the helper for the speedup
17058 * lyxtext.h: remove some dead code
17060 2001-06-26 The LyX Project <Asger>
17062 * paragraph.C: Change export to LaTeX of alignment to
17063 \begin{center} and family for better roundtrip work with reLyX.
17065 * Tune the math drawing a bit.
17067 2001-06-25 The LyX Project <Asger>
17069 * LColor.C (LColor): New color for math background. New color
17072 2001-06-25 The LyX Project <jug@sad.it>
17074 * lyxfunc.C (MenuNew): remove extra check for .lyx file
17076 * lyxfunc.C (Open):
17077 * bufferlist.C (newFile): do not restrict to files ending with
17080 * BufferView_pimpl.C (MenuInsertLyXFile):
17082 2001-06-24 The LyX Project <jug@sad.it>
17084 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
17087 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17089 * lyxtext.h: rename most methods to begin with a small char.
17090 Lots of changes because of this.
17092 * paragraph.C (Paragraph): do not call fitToSize
17093 (erase): call Pimpl::erase
17094 (insertChar): call Pimpl::insertChar
17095 (insertInset): call Pipl::insertInset
17096 (breakParagraph): do not call fitToSize
17097 (breakParagraphConservative): do not call fitToSize
17098 (fitToSize): remove method
17100 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
17102 2001-06-24 The LyX Project <Asger>
17104 * Fix Qt compilation^2
17106 2001-06-24 The LyX Project <jug@sad.it>
17108 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
17109 depthHook(getDepth()-1).
17112 * ParagraphParameters.h:
17113 * ParameterStruct.h: change type of depth to unsigned int ==
17114 depth_type. Many adaptations to other files before of that.
17116 2001-06-24 The LyX Project <Asger>
17118 * Fix Qt compilation.
17120 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17122 * paragraph.h: renamed several methods to begin with small letter.
17123 several changes to many parts of the code because of this.
17125 2001-06-23 The LyX Project <jug@sad.it>
17127 * text2.C (InsertStringAsLines): renamed from InsertStringA;
17128 rewritten to discard all double spaces when KeepEmpty is off
17129 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
17130 to only handle newlines but not fiddle with spaces and friends.
17132 * lyxfunc.C (MenuNew): when doing 'new from template', use
17133 template_path as default directory
17135 2001-06-23 The LyX Project <Asger>
17137 * Clean-up of header file includes all over
17138 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
17140 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17142 * paragraph.h: renamed from lyxparagraph.h
17144 2001-06-23 Asger <lyx@violet.home.sad.it>
17146 * Buffer.h: Removed Buffer::resize
17147 * BufferList.h: Removed BufferList::resize
17148 * LyXView.h: Added LyXView::resize. This way, we will only reflow
17149 the document lazily when we change the width, or the font settings.
17151 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17153 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
17155 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17157 * buffer.h: remove out of date comment
17159 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17162 * screen.C: fix "theoretical" GC leak
17164 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17166 * LaTeX.C (scanAuxFile):
17167 (deplog): remove trailing \r when reading stream (useful under
17170 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
17172 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17173 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17174 and BufferView::theLockingInset(Inset*), so should use them and not
17175 access bv_->text->the_locking_inset directly.
17177 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17179 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
17182 * tex-defs.h: remove old unused file
17184 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
17186 * BufferView_pimpl.C: fix typo, remove minibuffer message
17187 when buffer has loaded
17189 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
17191 * lyxfunc.C (Dispatch): use stringstream
17192 (MenuNew): use stringstream
17193 (Open): use stringstream
17195 * importer.C (Import): use stringstream
17197 * bufferview_funcs.C (CurrentState): use stringstream
17199 * LaTeX.C (run): use stringstream
17201 * BufferView_pimpl.C (savePosition): use stringstream
17202 (restorePosition): use stringstream
17203 (MenuInsertLyXFile): use stringstream
17205 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
17218 * vspace.C: removed // -*- C++ -*- as first line.
17221 * version.h: added // -*- C++ -*- as first line.
17223 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17225 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17227 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17230 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
17232 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17235 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17237 * gettext.C: include LString.h even when --disable-nls is on.
17239 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
17241 * converter.h (Get): changed argument type from int to
17242 FormatList::size_type to avoid unnecessary conversion.
17244 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17247 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17249 * gettext.h: include LString.h even when --disable-nls is on.
17251 2001-06-07 Juergen Vigna <jug@sad.it>
17253 * text.C (BreakAgain): subst spaces with tabs.
17255 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17256 (resizeInsetsLyXText): set force on resizeLyXText.
17258 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17260 * gettext.h (gettext_init):
17261 (locale_init): use a real definition instead of a macro
17263 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
17265 * Bufferview_pimpl.C:
17267 * LColor.C: further lcolor tidies
17269 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
17271 * BufferView_pimpl.C (updateScrollbar): simplify.
17273 * BufferView2.C: don't include insets/insetinfo.h, change
17274 prototype for insertInset and call the Pimpl version. let
17275 updateInset call Pimpl version.
17277 * BufferView.h: move inset_slept to BufferView::Pimpl, move
17278 gotoInset to BufferView::Pimpl
17280 2001-06-01 Juergen Vigna <jug@sad.it>
17282 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17283 inside a LockingInset (is the update needed at all?).
17285 2001-05-31 Juergen Vigna <jug@sad.it>
17287 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17288 here not the old one otherwise how should we compare it afterwards
17291 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17296 * FontInfo.C: bring C functions into global namespace when
17299 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17301 * LString.h: make sure config.h has been loaded before LString.h.
17303 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17304 (one for each char read by EatLine!).
17306 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17309 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
17311 * paragraph.C (BreakParagraph): set the inset_owner in the new par
17312 to the same as the par we break from
17314 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
17316 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17318 * MenuBackend.C (expand): also create menu entries for wide
17319 versions of the floats.
17321 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17323 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17325 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17326 frontends/Makefile.am
17332 * tabular.C (getTokenValue): add std::
17334 * tabular-old.C (getTokenValue): add std::
17335 (getTokenValue): ditto
17336 (getTokenValue): ditto
17338 * screen.C (ToggleSelection): adjust
17340 * lyxtext.h: put selection cursors inside a Selection struct.
17342 * lyxfunc.C (moveCursorUpdate): adjust
17344 * lyxfont.C (latexWriteStartChanges): add std::
17346 * lyxfind.C: adjust
17348 * font.h: delete with(char const *, LyXFont const &)
17350 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17352 * FontInfo.C (getFontname): add std::
17354 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17355 (workAreaButtonPress): adjust
17356 (tripleClick): adjust
17358 (moveCursorUpdate): adjust
17361 * BufferView2.C (gotoInset): adjust
17363 2001-05-30 Juergen Vigna <jug@sad.it>
17365 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17366 to check pspell I add this as default as I now have new pspell
17367 libraries and they seem to use this.
17369 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
17371 * text2.C (CutSelection): make the cursor valid before the call to
17374 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17376 * kbsequence.C (parse): de-uglify a bit the parsing code, which
17377 relied on 0 terminated strings and other horrors. Bug found due to
17378 the new assert in lyxstring!
17380 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17383 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
17385 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17388 * lyxfunc.C (processKeySym): change method of getting to the
17391 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17392 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17393 * BufferView_pimpl.[Ch]: here as private methods.
17395 2001-05-28 Juergen Vigna <jug@sad.it>
17397 * text.C (SetHeightOfRow): added the update() call again as it is
17398 needed to initialize inset dimensions!
17400 2001-05-16 Juergen Vigna <jug@sad.it>
17402 * text2.C (SetCharFont): Add new function with BufferView * and
17403 bool toggleall parameters for setting insets internal fonts.
17404 (SetFont): Freeze the undo as we may change fonts in Insets and
17405 all this change should be inside only one Undo!
17407 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17408 setting font's in insets as for them we have the SetFont function!
17410 2001-05-15 Juergen Vigna <jug@sad.it>
17412 * text2.C (ClearSelection): to be sure we REALLY don't have any
17415 * tabular.C (TeXCellPreamble): fixed the left border problem for
17418 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
17420 * LaTeX.C (deplog): Make sure that the main .tex file is in the
17423 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17425 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17426 LFUN_BREAKPARAGRAPH.
17428 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17429 help test to "internal only", similar for LFUN_INSERT_URL
17431 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17432 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17433 auto_region_delete and deadkeys.
17435 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17438 * LColor.C: remove some dead entries, tidy a little
17440 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17442 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17444 (Dispatch): implement LFUN_ESCAPE
17446 * commandtags.h: add LFUN_ESCAPE
17448 * LyXAction.C (init): add entry for LFUN_ESCAPE
17450 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17451 Remove commented code.
17452 (insertNote): moved here
17453 (open_new_inset): moved here
17455 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17458 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17460 * kbmap.C (findbinding): clean it up and make it work correctly.
17462 * lyx_main.C (init): do not pass argc and argv as parameters
17464 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17466 * buffer.C: fix path for OS/2 & Win32
17470 * lyx_main.C: Added os:: class.
17472 * os2_defines.h: update
17474 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17476 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17477 better by trying again with reduced state.
17479 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17481 * lyxrc.C (read): print error about invalid key sequence only when
17482 debugging (because not all latinX keysyms are known to some X
17485 * kbsequence.C (getiso): add a few std:: qualifiers
17486 (getiso): comment out extra return statement.
17488 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17490 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17492 (Dispatch): enhance the accent inset a bit. (not perfect)
17494 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17496 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17498 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17500 * bufferlist.C (emergencyWrite): fix assert() call
17502 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17504 * text.C (InsertChar): Added trivial patch to only send the "you
17505 can not do multiple spaces this way" message once during a
17508 2001-05-08 Baruch Even <baruch@lyx.org>
17510 * Makefile.am: Changed order of libraries to get LyX to link properly
17511 with the gnome frontend.
17513 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17515 * LaTeXFeatures.h: add a std:: qualifier
17517 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17519 * paragraph.C (String): use stringstream
17521 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17523 * paragraph.C (writeFile): remove footflag arg
17525 * buffer.C (makeLaTeXFile): use stringstream
17526 (latexParagraphs): remove footnot gurba
17528 * LaTeXFeatures.C (getPackages): use stringstream
17529 (getMacros): likewise
17530 (getTClassPreamble): likewise
17531 (getFloatDefinitions): new method
17533 * paragraph.C (writeFile): reindent
17536 * WorkArea.h: revert the xpos + etc changes.
17538 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17540 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17542 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17543 (pasteSelection): likewise
17544 * text2.C (CreateUndo): likewise
17546 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17548 * minibuffer.C (peek_event): temporarily reduce the functionality
17549 of the minibuffer (to allow args on lfuns)
17551 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17552 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17554 * buffer.C (readInset): add compability reading of old float
17555 lists, add reading of new style float list.
17556 (readInset): avoid reevaluation of inscmd.getCmdName()
17557 (getLists): reindent
17559 * MenuBackend.C (MenuItem): implement parsing of
17560 md_floatlistinsert and md_floatinsert.
17561 (expand::LastFiles): move initalizaton of iterators out of loop,
17562 avoid reevaluation.
17563 (expand::Documents): introduce typdedef vector<string> Strings,
17565 (expand::ExportFormats): introduce typedef vector<Format const *>
17566 Formats, and use it.
17567 (expand): implement FloatListInsert and FloatInsert.
17569 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17570 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17571 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17573 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17575 (Dispatch::LFUN_FLOAT_LIST): implement
17577 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17579 * LaTeX.C (run): Fix problem with --export code.
17581 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17583 * BufferView.[Ch] (workarea): removed.
17584 (getClipboard) new method; wrapper for workarea()->getClipboard()
17586 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17589 * WorkArea.h (width, height, xpos, ypos): These methods all
17590 returned the dimensions of the work_area sub-area of WorkArea,
17591 resulting in a position error if the WorkArea were resized. Now
17592 return the dimensions of the entire WorkArea.
17594 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17596 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17598 * LaTeX.C (deplog): correct the syntax of regex reg1
17600 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17602 * undo.C: remove !NEW_INSETS cruft
17604 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17606 * text2.C: remove !NEW_INSETS cruft
17608 * text.C: remove !NEW_INSETS cruft
17610 * tabular.C: remove !NEW_INSETS cruft
17612 * spellchecker.C: remove !NEW_INSETS cruft
17614 * lyxtext.h: remove !NEW_INSETS cruft
17616 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17618 * lyxfunc.C: remove !NEW_INSETS cruft
17620 * lyxfind.C: remove !NEW_INSETS cruft
17622 * lyx_cb.C: remove !NEW_INSETS cruft
17624 * figureForm.C: remove !NEW_INSETS cruft
17626 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17628 * buffer.[Ch]: remove !NEW_INSETS cruft
17630 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17632 * CutAndPaste.C: remove !NEW_INSETS cruft
17634 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17636 * BufferView2.C: remove !NEW_INSETS cruft
17638 * BufferView.h: remove !NEW_INSETS cruft
17640 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17642 * Lsstream.h: include LString.h before the sstream headers to
17643 fix problem with gcc 2.95.3 and lyxstring
17645 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17647 * lyx_main.C: add using directives when needed for C functions
17648 declared in std:: namespace.
17650 2001-04-27 Juergen Vigna <jug@sad.it>
17652 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17653 (SetHeightOfRow): comment out the update call should not be needed!
17655 2001-04-13 Juergen Vigna <jug@sad.it>
17657 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17658 (LyXTabular): tried to minimize operator= operations (and realized
17659 hopfully Lars wish).
17661 2001-04-27 Juergen Vigna <jug@sad.it>
17663 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17665 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17667 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17669 * buffer.C (readInset): hack to make listof algorithm work
17671 * BufferView_pimpl.C: hack to make listof algorithm work
17673 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17675 * LyXAction.C: removed all !NEW_INSETS cruft
17676 (init): moved lfun_item in method
17678 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17680 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17682 * BufferView2.C (theLockingInset): white space.
17684 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17686 * minibuffer.C: include <iostream>
17688 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17690 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17692 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17694 * text.[Ch] (TransposeChars): new method
17696 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17698 * call message directly through LyXView instead of through LyXFunc
17699 * BufferView2.C: adjust
17700 * BufferView_pimpl.C: adjust
17701 * FontLoader.C: adjust
17703 * bufferview_funcs.C: adjust
17704 * converter.C: adjust
17705 * figureForm.C: adjust
17706 * importer.C: adjust
17708 * lyx_gui_misc.C: adjust
17709 * lyxfunc.C: adjust
17712 + more files in subdirs
17714 * lyxparagraph.h (size): move up int file
17717 * adjust all uses of Assert to lyx::Assert.
17719 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17720 lyxfunctional in namespace lyx
17721 * layout.C (hasLayout): ditto
17724 (delete_layout): ditto
17725 (NumberOfClass): ditto
17726 * converter.C (GetFormat): ditto
17731 * bufferlist.C (getFileNames): ditto
17732 (emergencyWriteAll): ditto
17735 * MenuBackend.C (hasSubmenu): ditto
17738 * BufferView_pimpl.C (getInsetByCode): ditto
17740 2001-04-18 Juergen Vigna <jug@sad.it>
17742 * vspace.C (asLatexString): fixed the 100% problem.
17744 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17746 * lyxfunc.C (Dispatch):
17748 * minibuffer.h: add a few std:: qualifiers
17750 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17752 * minibuffer.[Ch]: reimplement so that commands is initiated and
17753 run from lyxfunc, simplified som handling, and made the completion
17754 and history code for complete. wip.
17756 * lyxfunc.C (processKeySym): call message
17757 (miniDispatch): new temporary method
17758 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17759 (LFUN_MESSAGE): implement
17760 (LFUN_MESSAGE_PUSH): implement
17761 (LFUN_MESSAGE_POP): implement
17762 (initMiniBuffer): the initial/defualt minibuffer message.
17764 * lyxfont.[Ch]: inline some more getters
17766 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17768 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17770 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17771 (AutoSave): use LFUN_MESSAGE
17772 (Reconfigure): ditto
17774 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17776 * figureForm.C: use LFUN_MESSAGE
17778 * converter.C (runLaTeX): use LFUN_MESSAGE
17780 * bufferview_funcs.C: use LFUN_MESSAGE
17782 (changeDepth): ditto
17784 * bufferparams.h: use boost::
17786 * bufferlist.h: inherit privately from noncopyable
17788 * bufferlist.C (loadLyXFile): remove some commented code.
17790 * buffer.C (runChktex): use LFUN_MESSAGE
17792 * ShareContainer.h: inherit privately from noncopyable
17794 * ParagraphParameters.[hC] (depth): inline it.
17796 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17798 (message): new method
17799 (messagePush): ditto
17800 (messagePop): ditto
17801 (show): init minibuffer
17802 (showState): direct call
17804 * LaTeX.[Ch]: inherit privately from noncopyable
17805 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17806 instead of WriteStatus.
17808 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17810 * BufferView_pimpl.C (buffer): don't init minibuffer
17811 (workAreaButtonPress): use LFUN_MESSAGE
17812 (workAreaButtonRelease): ditto
17813 (savePosition): ditto
17814 (restorePosition): ditto
17815 (MenuInsertLyXFile): ditto
17816 (workAreaExpose): don't init minibuffer
17817 (update): remove commented code, simplify
17819 * BufferView2.C (openStuff): use LFUN_MESSAGE
17820 (toggleFloat): ditto
17823 (copyEnvironment): ditto
17824 (pasteEnvironment): ditto
17829 (updateInset): remove some commented code
17831 * lastfiles.h: inherit privately from noncopyable
17834 * lyx_main.h: ditto
17836 * lyxlex_pimpl.h: ditto
17838 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17839 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17840 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17842 * LyXAction.h: inherit privately from noncopyable, add methods
17843 func_begin, func_end, returning iterators to the func map.
17845 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17846 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17847 (func_begin): new method
17848 (func_end): new method
17850 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17852 (copySelection): ditto
17853 (pasteSelection): ditto
17855 * BufferView.C: whitespace change
17856 * BufferView.h: inherit privately from noncopyable
17858 2001-04-16 Allan Rae <rae@lyx.org>
17860 * tabular-old.C (l_getline):
17861 * spellchecker.C (sc_check_word):
17862 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17863 an unrecognised preprocessor directive. So ensure they're wrapped.
17865 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17867 * src/exporter.C (Export): Give an error message when path to file
17870 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17872 * LaTeX.C (deplog): Always check that foundfile exists.
17874 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17877 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17879 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17881 * tabular.[Ch] (getLabelList): implement new method
17883 * minibuffer.h: comment ouf setTiimer
17885 * minibuffer.C (ExecutingCB): constify res
17886 (peek_event): constify s
17887 (Set): constify ntext
17888 (Init): constify nicename
17890 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17892 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17893 (savePosition): use two params to Minibuffer::Set
17894 (restorePosition): ditto
17896 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17898 * lyx_main.C: include language.h
17900 * Makefile.am (lyx_main.o): add language.h
17902 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17908 * CutAndPaste.C: include gettext.h
17910 * lyxfont.h: remove old hack with ON and OFF.
17913 * lyxfont.h: do not include language.h...
17918 * bufferview_funcs.C:
17924 * paragraph.C: ... but do it here instead
17926 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17928 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17930 * tabular.C: small reformat
17932 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17935 (BreakParagraph): ditto
17936 (SetOnlyLayout): ditto
17939 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17942 * lastfiles.C: removed most using decl, add std:: where needed
17944 * buffer.C: ws changes
17946 * MenuBackend.C (class compare_format): put into anon namespace
17947 (expand): constify label, names, action, action2
17950 * text.C (SingleWidth): constify font
17951 (IsBoundary): constify rtl2
17952 (GetVisibleRow): constify ww
17954 * LaTeX.C (deplog): constify logfile
17956 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17958 (workAreaExpose): constify widthChange, heightChange
17960 * lyxrow.C (par): moved
17963 * lyxrow.h: as inlines here
17965 * lyxfont.h (shape): moved from lyxfont.C
17966 (emph): moved from lyxfont.C
17968 * lyxfont.C (LyXFont): use initialization list for all
17970 (shape): move to lyxfont.h as inline
17971 (emph): move to lyxfont.h as inline
17974 2001-04-04 Juergen Vigna <jug@sad.it>
17976 * vspace.C: had to include stdio.h for use of sscanf
17978 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17981 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17982 independent of xforms.
17984 2001-04-02 Juergen Vigna <jug@sad.it>
17986 * spellchecker.C: fixed namespace placing!
17988 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17990 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17991 the LyXParagraph * is 0.
17993 2001-03-29 Juergen Vigna <jug@sad.it>
17995 * vspace.C: added support for %, c%, p%, l%.
17996 (stringFromUnit): added helper function.
17997 (asLatexString): changed to give right results for the %-values.
17999 * buffer.C: convert the widthp in a width%.
18001 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
18003 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
18006 * figureForm.[Ch]: stripped the FD_from_figure manipulation
18007 code out of lux_cb.[Ch], ready for its (imminent?) removal.
18009 * lyx_cb.[Ch]: see above.
18011 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
18015 * lyx.[Ch]: replaced by figure_form.[Ch].
18019 * lyxfunc.C: changed headers associated with above changes.
18021 2001-03-27 Juergen Vigna <jug@sad.it>
18023 * BufferView_pimpl.C: set the temporary cursor right!
18025 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
18027 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
18029 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
18031 * LString.h: removed "using std::getline"!
18033 * BufferView_pimpl.C (Dispatch): changes due to changes in
18034 InsetInclude::Params.
18036 * buffer.C (tag_name): removed redundant break statements as they were
18037 producing lots of warnings with my compiler.
18039 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18041 * LString.h: add "using std::getline" when using the real <string>.
18043 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
18045 * buffer.C: removed bitset usage.
18046 PAR_TAG moved to an anonymous name space.
18047 (tag_name): new funtion, also in the anonymous namespace.
18048 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
18049 (makeDocBookFile): clean code. Completed transition from string arrays
18051 (SimpleDocBookOnePar): code clean.
18053 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18055 * tabular.C: add some comments.
18057 2001-03-22 Juergen Vigna <jug@sad.it>
18059 * buffer.C (parseSingleLyXformat2Token): redone the minipage
18060 compatibility read a bit and fixed bug with minipage in different
18063 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
18065 * buffer.C (pop_tag): removed.
18066 (push_tag): removed.
18067 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
18068 array replaced with vector. Added support for CDATA sections.
18069 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
18071 (makeDocBookFile): XML conformant declaration of CDATA section,
18072 fixed bug related to <emphasis> in the first paragraph char.
18073 (sgmlOpenTag): exclude empty tags.
18074 (sgmlCloseTag): ditto.
18076 * buffer.h (pop_tag): removed.
18077 (push_tag): removed.
18079 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
18081 * language.h (Languages): added size_type and size().
18083 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18085 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
18086 response on compability reading of minipages. One probliem is that
18087 the old usage of minipages was flertydig
18089 * several files here and in subdirs: don't use static at file
18090 scope use anon namespaces instead.
18092 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
18094 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
18095 LaTeX output. This is necessary for Literate document
18098 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18100 * buffer.C: insert hfill when needed.
18102 * tabular.C (l_getline): use string::erase, small whitespace change.
18104 * BufferView_pimpl.C: try the anon namespace.
18105 * WorkArea.C: ditto
18107 2001-03-16 Juergen Vigna <jug@sad.it>
18109 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
18110 otherwise it won't open options-dialogs.
18112 * buffer.C: honor pextraWidth(p) on converting minipages.
18114 * tabular.C (l_getline): changed the functions to strip trailing \r.
18116 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
18118 * BufferView_pimpl.C:
18119 * minibuffer..C: added "using SigC::slot" declaration.
18121 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18123 * lyxlex_pimpl.h: noncopyable is in namespace boost.
18129 * paragraph.C: ditto
18131 * lyxtext.h: NO_PEXTRA
18133 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
18135 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
18136 * ParameterStruct.h: ditto
18137 * ParagraphParameters.h: ditto
18138 * lyxparagraph.h: ditto
18140 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18142 * buffer.C: add compability for minipage alignment.
18143 (latexParagraphs): remove unwanted pextra check.
18145 * several files: remove CXX_WORKING_NAMESPACES
18147 * buffer.C (pop_tag): tie is in namespace boost
18149 * BufferView.h: noncopyable is in namespace boost
18151 * lyx_main.h: ditto
18154 * lastfiles.h: ditto
18155 * bufferlist.h: ditto
18156 * ShareContainer.h: ditto
18158 * LyXAction.h: ditto
18161 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
18163 * Merging changes from BRANCH_MVC back into HEAD.
18165 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
18167 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
18169 * BufferView_pimpl.C: change from intl.C
18173 * Makefile.am: move combox.*
18179 * intl.C: remove dialog (covered by prefs)
18181 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
18183 * lyxfunc.C (Dispatch): removed redundant break statement.
18185 2001-03-14 Juergen Vigna <jug@sad.it>
18187 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18189 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18191 * buffer.C: add hack to fix compability reading of minipages.
18193 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
18195 * buffer.C (getLists): Cleanup.
18197 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18199 * lyxfont.C (update): don't honor toggleall on font size.
18201 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
18205 * Makefile.am: moved to frontends/xforms/
18209 * BufferView_pimpl.C: changes for moved mathpanel
18211 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18213 * gettext.h: fix gettext_init() in --disable-nls
18215 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18217 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18219 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
18222 * lyx.h: strip external form
18224 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18226 * BufferView_pimpl.C: add comment, destroySplash()
18228 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18230 * BufferView_pimpl.C:
18234 * lyxfunc.C: use re-worked insetinclude
18236 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18238 * buffer.C: add using std::stringstream.
18240 * lyx_cb.C: readd using std::ios.
18242 * buffer.C: add using std::map.
18244 * BufferView_pimpl.C: add using std::vector.
18246 * ShareContainer.h: add std:: to swap.
18248 * buffer.h: add some typedefs
18249 * buffer.C (getLists): use them
18250 (getLists): renamed from getTocList.
18251 add a counter for the different float types and use it in the
18253 (getLists): use the same counter for the NEW_INSETS and the "non"
18256 * lyx_cb.h: remove unused items, includes, using etc.
18258 * ShareContainer.h: remove some commented code, add more comments
18259 and "documentation".
18261 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18263 * buffer.C (getTocList): make the list also when NEW_INSETS is
18266 * buffer.h: remove TocType
18268 * buffer.C (getTocList): change to return a map<string,
18269 vector<TocItem> >, implement for dynamic number of list.
18271 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18272 * text2.C (PasteSelection): adjust
18273 * CutAndPaste.C (pasteSelection): adjust
18275 * FloatList.C (FloatList): update from the new_insets branch.
18276 * Floating.[Ch]: ditto
18277 * LaTeXFeatures.C: ditto
18279 * lyxlex_pimpl.C: ditto
18281 * paragraph.C (Last): remove when NEW_INSETS is defined.
18283 * other file: changes because of the above.
18285 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18287 * lyxparagraph.h: rename next to next_, previous to previous_,
18288 make them private for NEW_INSETS. Rename Next() to next(),
18289 Previous() to previous().
18291 * other files: changes because of the above.
18293 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
18296 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18299 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18301 * main.C (main): pass lyx_localedir to gettext_init().
18303 * gettext.h: remove locale_init and gettext_init macros
18305 * gettext.C (locale_init): new function
18306 (gettext_init): new function
18308 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18311 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
18313 * Moved credits to frontends:
18314 * credits.[Ch]: removed
18315 * credits_form.[Ch]: removed
18316 * lyx_gui_misc.C: remove credits stuff
18319 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18321 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18323 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18324 unneeded destructor.
18326 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18327 a standalone pointer again.
18329 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18331 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
18337 * ToolbarDefaults.C:
18346 * BufferView_pimpl.C: use new file dialog in GUII
18349 * lyx_cb.C: remove LayoutsCB to Toolbar
18351 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18353 * ShareContainer.h (get): add std:: qualifier
18355 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18357 * ShareContainer.h: define a proper ShareContainer::value_type
18358 type (and use typename to please compaq cxx)
18360 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18362 * lyxparagraph.h: move serveral local vars to
18363 ParameterStruct/ParagraphParameters., use ShareContainer in
18364 FontTable., make vars in FontTable private and add getter and
18367 * paragraph.C: changes because of the above.
18369 * lyxfont.h: remove copy constructor and copy assignment. (the
18370 default ones is ok), move number inside FontBits. move inlines to
18373 * lyxfont.C: add number to initializaton of statics, move several
18374 inlines here. constify several local vars. some whitespace
18375 cleanup. Dont hide outerscope variables.
18377 * Spacing.h: add two new constructors to match the set methods.
18379 * ShareContainer.h: new file, will perhaps be moved to support
18381 * ParameterStruct.h: new file
18383 * ParagraphParameters.h: new file
18385 * ParagraphParameters.C: new file
18387 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18388 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18390 * BufferView_pimpl.C: ParagraphParameter changes.
18391 * buffer.C: Likewise.
18392 * bufferview_funcs.C: Likewise.
18393 * text.C: Likewise.
18394 * text2.C: Likewise.
18396 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18398 * lyxfind.C (LyXReplace): do not redefine default argument in
18400 (IsStringInText): ditto
18401 (SearchForward): ditto
18402 (SearchBackward): ditto
18404 2001-03-06 Juergen Vigna <jug@sad.it>
18406 * lyxfind.C (IsStringInText): put parentes around expressions.
18408 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
18410 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18412 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
18414 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18416 * stl_string_fwd.h: add comment
18418 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18421 * tabular.C: remove unused DocBook methods
18427 killed DO_USE_DEFAULT_LANGUAGE
18429 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18431 * lyx_gui.C: do not include language.h.
18433 * bufferview_funcs.C (ToggleAndShow): do not provide optional
18434 arguments in function implementation.
18436 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18438 * BufferView_pimpl.C: add <ctime>
18440 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18442 * BufferView_pimpl.C: add using std::find_if
18444 2001-02-27 José Matos <jamatos@fep.up.pt>
18446 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18449 2001-02-11 José Matos <jamatos@fep.up.pt>
18451 * buffer.C (makeDocBookFile): command styles now have a parameter as
18452 "title" by default.
18454 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18456 * layout_forms.[Ch]: removed
18457 * lyx_cb.[Ch]: out character
18458 * lyx_gui.C: out character
18459 * lyx_gui_misc.C: out character
18460 * bufferview_funcs.C: : out character,
18461 added toggleall as parameter in ToggleAndShow
18463 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18465 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18467 * text2.C (SetCurrentFont): Disable number property at boundary.
18469 2001-02-26 Juergen Vigna <jug@sad.it>
18471 * lyxfunc.C (getStatus): added a string argument override function so
18472 that this is correctly called from LyXFunc::Dispatch if it contains a
18473 do_not_use_argument which is used!
18474 (Dispatch): added check for "custom" export and call appropriate func.
18476 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18478 * lyxrc.C: Add language_command_local, language_use_babel and
18479 language_global_options.
18481 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18483 * buffer.C (makeLaTeXFile): Use language_use_babel and
18484 language_global_options.
18486 2001-02-23 Juergen Vigna <jug@sad.it>
18488 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18489 which works with LyXText and putted it inside BufferView. Here now we
18490 only call for that part the BufferView::Dispatch() function.
18492 * BufferView.C (Dispatch): added.
18494 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18495 functions which needs to use a LyXText over from LyXFunc.
18496 (MenuInsertLyXFile): added
18497 (getInsetByCode): added
18498 (moveCursorUpdate): added
18499 (static TEXT): added
18501 2001-02-22 Juergen Vigna <jug@sad.it>
18503 * BufferView_pimpl.C (update): call a status update to see if LyXText
18506 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18508 * vc-backend.C (revert): implement for CVS
18509 (getLog): implement for CVS
18511 2001-02-20 Juergen Vigna <jug@sad.it>
18513 * text2.C (ClearSelection): added BufferView param for inset_owner call
18515 * lyxfunc.C (TEXT): added this function and use it instead of
18516 directly owner->view()-text of getLyXText().
18518 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18520 * src/layout_forms.C: out preamble
18521 * src/layout_forms.h: out preamble
18522 * src/lyx_cb.C: out preamble
18523 * src/lyx_cb.h: out preamble
18524 * src/lyx_gui.C: out preamble
18525 * src/lyx_gui_misc.C: out preamble
18526 * src/lyxfunc.C: connect with guii preamble
18528 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18530 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18532 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18534 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18535 whether to run bibtex.
18537 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18539 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18541 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18543 * Makefile.am (lyx_SOURCES): removed bibforms.h
18545 * vspace.h: doxygen
18547 * text.C (GetVisibleRow): make several local vars const
18549 * tabular.C: small cleanup.
18551 * lyxserver.C (callback): use compare instead of strncmp
18553 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18554 inlines to after class or to paragraph.C
18556 * lyxfont.h: remove friend operator!=
18558 * converter.h: move friend bool operator< to non friend and after
18561 * combox.h: small cleanup
18563 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18564 to inlines after class def.
18566 * buffer.C (pop_tag): use string operations instead of strcmp
18568 * bmtable.c: doxygen, small cleanup
18570 * LaTeX.h: remove friend operator==
18572 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18584 * BufferView_pimpl.C:
18585 * BufferView.[Ch]: remove cruft
18587 2001-02-14 Juergen Vigna <jug@sad.it>
18589 * lyxfunc.C: removed #if 0 unused code
18591 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18593 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18595 * text2.C (SetSelection): added a BufferView * parameter
18597 2001-02-13 Juergen Vigna <jug@sad.it>
18599 * lyxfunc.C (Dispatch): fixed protected blank problem.
18600 * BufferView2.C (protectedBlank): added LyxText * parameter.
18602 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18603 (AppendColumn): same as above for column_info.
18605 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18606 (moveCursorUpdate): use a LyXText param for support of InsetText.
18608 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18609 (tripleClick): ditto
18611 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18613 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18615 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18617 * text2.C (SetSelection): set correct update status if inset_owner
18618 (ToggleFree): ditto
18620 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18622 * tabular.C: remove some commented code.
18624 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18626 * BufferView_pimpl.C: call hideSplash()
18628 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18631 * bibforms.h: remove
18634 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18635 add LFUN_CHILD_CREATE
18637 * counters.h: fix tiny typo
18642 * lyx.C: move splash to frontends/xforms/
18644 * lyx_gui_misc.C: move Include and Bibform to frontends
18646 * lyxvc.h: clarify comment
18648 * vspace.C: tiny housekeeping
18650 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18652 * text.C (PrepareToPrint): RTL Fix.
18654 * paragraph.C (GetUChar): New method.
18655 (String): Use GetUChar.
18657 * buffer.C (asciiParagraph): Use GetUChar.
18659 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18661 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18663 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18666 * buffer.C: rename to getLogName(), handle
18667 build log / latex log nicely
18669 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18672 * MenuBackend.h: remove support for reference menuitem type.
18674 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18676 * BufferView_pimpl.C: housekeeping
18677 * BufferView_pimpl.h:
18682 * minibuffer.h: move Timeout GUI-I
18684 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18686 * lyxrc.C (read): Update converters data-structures.
18688 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18690 * LaTeX.h (operator!=): add operator != for Aux_Info
18692 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18694 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18696 * LaTeXLog.C: deleted, useful code moved to Buffer
18699 * buffer.C: new function getLatexLogName()
18705 * lyxfunc.C: use frontends for LaTeX and VC logs
18707 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18709 * LaTeX.h: yet another std:: that Allan forgot.
18711 * Variables.C (set): renamed from isset(), because this clashes
18712 with some HP-UX macros (grr).
18714 2001-02-06 Allan Rae <rae@lyx.org>
18716 * LaTeX.h: Another bug fix. Missing std:: this time.
18718 2001-02-04 Allan Rae <rae@lyx.org>
18720 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18721 floats problem. I've left it commented out because it's not quite
18722 correct. It should also test that the current object is a table or
18723 figure inset. But I haven't gotten around to figuring out how to do
18724 that. I *think* it'll be something like: "table" == inset.type()
18726 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18729 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18731 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18732 all the citation/databases/styles in the auxilary file.
18733 (run): Rerun latex if there was a babel language error.
18735 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18737 * text.C (Backspace): Preserve the font when changing newline char
18739 (BreakParagraph): If the cursor is before a space, delete the space.
18741 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18743 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18745 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18746 new argument (code).
18747 (ChangeCitationsIfUnique): New method.
18749 * paragraph.C (GetPositionOfInset): Handle bibkey.
18751 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18753 * BufferView_pimpl.h: change type of Position::par_pos to
18754 LyXParagraph::size_type.
18756 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18758 * BufferView_pimpl.C (savePosition, restorePosition): Write
18759 messages to minibuffer.
18761 2001-01-28 José Matos <jamatos@fep.up.pt>
18763 * buffer.C (makeDocBookFile): adds support for document language.
18764 A silly restriction on the name of LatexCommand types where removed.
18765 Added support for CDATA sections, allows to chars unescaped, used
18766 among others in code, to avoid escape < and >.
18768 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18770 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18771 saved positions instrad of a stack. Furthermore, a position is
18772 stored using paragraph id/paragraph position.
18774 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18775 Remove LFUN_REF_BACK.
18777 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18779 * converter.C (dvipdfm_options): New method.
18781 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18783 * vspace.C (isValidLength): Fix for empty input string.
18785 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18787 * LyXAction.C (init): change description of LFUN_FIGURE to
18790 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18792 * LaTeX.C: add using directive
18794 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18796 * MenuBackend.C (expand): Fix the sorting of the formats.
18798 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18800 * lyx_main.C: tiny error message fix
18802 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18804 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18805 calling fl_initialize(). This fixes the problem with ',' as
18806 decimal separator in text files.
18808 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18810 * trans.C (process): Fix the keymap bug.
18812 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18814 * LaTeX.C (scanAuxFiles): New method. Provides support for
18815 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18816 (scanLogFile) Scan for "run BibTeX" messages.
18818 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18819 OT1 font encoding. Also, load the aecompl package if the ae
18822 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18824 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18826 * texrow.C (increasePos): turn two error messages into debug
18829 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18831 * LaTeX.C (scanAux): Handle the \@input macro.
18832 (runBibTeX): Use scanAux().
18834 * language.C (latex_options_): New field.
18836 * LaTeXFeatures.C (getMacros): Add language macros.
18838 * buffer.C (makeLaTeXFile): Small fix.
18840 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18842 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18844 * text2.C: add a using directive.
18846 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18851 * lyxfunc.C: kill LyXBell.
18853 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18855 * text.C (IsBoundary): Remove the error message
18857 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18859 * lyxrc.C (setDefaults): Correct initialization value for
18862 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18864 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18867 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18868 and GotoNextNote().
18870 * src/LyXAction.C: Added reference-next.
18872 * text.C (InsertChar): Use contains instead of strchr.
18874 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18876 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18878 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18879 alignment commands (when needed).
18881 * text.C (InsertChar): Add ':' to number separator chars.