1 2006-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3 * text.C (getPossibleLabel): get a sensible prefix inside figure and
4 tabular floats (bug 1999).
6 2006-03-16 John Spray <spray@lyx.org>
8 * lyxfunc.C (getStatus): disable LFUN_MENUWRITE when document is
11 2006-03-15 Martin Vermeer <martin.vermeer@hut.fi>
13 * CutAndPaste.C (pasteSelectionHelper): comments
14 * paragraph_funcs.C (mergeParagraph): fix Juergen's cut&paste bug
16 * paragraph.C (stripLeadingSpaces): remove unnecessary setChange
17 * text.C (backspace): allow deletion of inserted para break
18 Change tracking -related bug fixes (reported by Juergen) and
19 some documentation work
21 2006-03-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
23 * MenuBackend.C (expand): make sure the menu is empty before
26 * MenuBackend.h (clear): new method.
28 2006-03-13 Martin Vermeer <martin.vermeer@hut.fi>
30 * rowpainter.C (paintChangeBar): fix painting of change bar with
31 only paragraph break changed
33 2006-03-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
35 * lyx_cb.C (Reconfigure): run lib/configure.py, not lib/configure
36 * lyx_main.C (reconfigureUserLyXDir): run ditto
38 2006-03-12 Martin Vermeer <martin.vermeer@hut.fi>
40 * lyxtext.h: doxygen documentation fix
42 2006-03-11 Martin Vermeer <martin.vermeer@hut.fi>
44 * paragraph.[Ch] (write, lookupChange, lookupChangeFull;
46 * paragraph_pimpl.[Ch] (trackChanges, cleanChanges, acceptChange,
47 rejectChange, erase; added setChangeFull):
48 * CutAndPaste.C (eraseSelectionHelper):
50 * text.C (readParToken, readParagraph, breakParagraph,
51 acceptChange, rejectChange, backspace, currentState;
53 * paragraph_funcs.C (breakParagraphConservative, mergeParagraph):
54 * lyxfind.C (findChange, findNextChange): fix bug 880: Change
55 tracked paragraphs should still allow a paragraph split (and related
56 things, i.e., multi-paragraph change tracking)
58 2006-03-10 Martin Vermeer <martin.vermeer@hut.fi>
60 * BufferView_pimpl.C: fix bug 2212: First change is skipped is
61 "Merge changes..." dialog
63 2006-03-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
65 * bufferparams.C (writeLaTeX): define \labelitemi with \def. Fixes LaTeX
66 error if the class has not defined them yet (bug 2053).
68 2006-03-10 Martin Vermeer <martin.vermeer@hut.fi>
71 * BufferView_pimpl.[Ch]:
75 * text3.C: Inside-inset speedup, esp. for the Mac (bug 2195)
77 2006-03-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
79 * pch.h: fix nullstream.hpp location for boost 1.33.0
81 2006-03-05 Lars Gullik Bjønnes <larsbj@lyx.org>
85 * support/debugstream.h: Use the correct nullstream.
87 2006-02-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
89 * text3.C (mathDispatch): fix math inset creation from string (bug 2315)
91 2006-02-28 Martin Vermeer <martin.vermeer@hut.fi>
93 * cursor.C (niceInsert): fix (properly) insertion of
94 fonts/decorations around selection
96 2006-02-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
98 * lyxfont.C (lyxWriteChanges): Don't write \lang latex
100 2006-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
102 * text3.C (mathDispatch): fix crash when selection is not empty
103 but selectionAsString is empty (bug 2321).
105 2006-02-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
107 * text.C (changeCase): avoid crash in empty paragraph or on last
108 word of the paragraph. (buf 2323)
109 (cursorRightOneWord): fix the logic to stop at a beginning of a word.
111 2006-02-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
113 * buffer.C (readHeader): also erase params.preamble in advance
114 so that an empty preamble is actually recognized (bug 2317).
116 * rowpainter.C (paintFromPos): ditch applyOuterFont (bug 2308).
118 2006-02-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
120 * text2.C (deleteEmptyParagraphMechanism): 64bit compile fix
122 2006-02-05 Martin Vermeer <martin.vermeer@hut.fi>
132 * text3.C: Fix bug 2115: blue language lines (for default font)
133 popping up when the documnent font is different. This includes work
136 2006-02-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
138 * exporter.C (Backends): Add "lyx" backend
139 * exporter.C (Export): Handle "lyx" backend
140 * graph.C (getReachable): Don't exclude "lyx"
141 * MenuBackend.C (expandFormats): exclude "lyx" from export menu
143 2006-02-03 Martin Vermeer <martin.vermeer@hut.fi>
145 * cursor.C (bruteFind2): convert relative to absolute co-ordinates
146 for correct in-mathed positioning
148 2006-02-03 Martin Vermeer <martin.vermeer@hut.fi>
150 * rowpainter.C (paintForeignMark): fix foreign blue line under
153 2006-01-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
155 * * text2.C (deleteEmptyParagraphMechanism): fix off-by-one error of the start
156 pit of the uno range (bug 2022).
158 2006-01-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
160 * messages.C (get): Only warn once if setlocale fails (bug 2177)
162 2006-01-28 Martin Vermeer <martin.vermeer@hut.fi>
164 * text2.C (setCharFont): take inset's own font settings into account
165 when defining the font to reduce to, fixes 2019
167 2006-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
169 * bufferview_funcs.C (coordOffset): remove the check for
170 collapsed collapsables (fix for bug 2094). This is now done
171 on a more general level (cursor.C).
173 * dociterator.[Ch] (forwardPos): add an optional argument
174 bool "ignorecollapsed" (default false), which lets forwardPos
175 skip collapsed insets.
177 * cursor.C (bruteFind): use forwardPos(ignorecollapsed = true)
178 (fixes bug 2241 and 2094).
180 2006-01-26 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
182 * buffer.C: change tracking (dvipost) doesn't require
185 * LaTeXFeatures.C (getPackages): no need for the color
186 option "usenames" (bug 2169).
188 2006-01-23 Helge Hafting <helge.hafting@aitel.hist.no>
189 * buffer_funcs.C: Trivial fix - added {} around
190 the statements to be affected by a if-test. Now
191 label in a minipage in a float looks ok on screen again.
193 2006-01-23 Martin Vermeer <martin.vermeer@hut.fi>
195 * text2.C: fix bug 2015: on screen fonts in nested environments
198 2006-01-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
200 * converter.C (convert): handle unknown formats
202 2006-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
204 * cursor.C (goUpDown): comment out some debug messages.
206 * counters.C (newCounter): make error messages more explicit
207 (these appear with some textclasses like beamer)
209 2006-01-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
212 * lyxfunc.C (processKeySym): make sure new FuncRequest objects
213 have origin set to KEYBOARD. (bug 2221)
215 2006-01-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
217 * rowpainter.C (isCursorOnRow): do not exclude endpos().
219 2006-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
221 * cursor.C (macroModeClose): returns true if an inset actually got
222 inserted; revert faulty fix to bug 2034.
224 2006-01-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
226 * tabular.C (getLabelList): remove (not used anymore).
228 2006-01-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
230 * outputparams.[Ch]: add new flag inComment
232 2006-01-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
234 * text2.C (deleteEmptyParagraphMechanism): since we delete a
235 paragraph, recordUndo should span two paragraphs (bug 2155).
237 2006-01-01 Martin Vermeer <martin.vermeer@hut.fi>
239 * rowpainter.C (paintPar): always repaint the row with the
242 2006-01-01 Lars Gullik Bjønnes <larsbj@gullik.net>
248 * vspace.h: fix syntax error
250 2005-12-31 Martin Vermeer <martin.vermeer@hut.fi>
252 * text3.C (dispatch): Force refresh if typing into inset changes its
255 2005-12-30 Martin Vermeer <martin.vermeer@hut.fi>
260 * rowpainter.C: Speed up rendering by only re-painting rows that
261 have changed. When selection or whole-screen update active, all rows
262 are repainted, as are all rows within insets.
264 2005-12-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
266 * version.C.in: Use PACKAGE_VERSION instead of VERSION
268 2005-12-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
270 * tabular.C (toggleFixedWidth): Use default layout of text class
271 instead of hardcoded "Standard"
273 2005-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
275 * lyxfunc.C (dispatch): do not call getStatus again to determine
276 whether a lfun is disabled (bug 2172).
278 2005-12-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
280 * cursor.C (macroModeClose): set the cursor inside the new math
281 atom if relevant (think \frac{}{}) (bug 2034)
283 2005-12-19 Martin Vermeer <martin.vermeer@hut.fi>
287 * text3.C (Delete, backspace): force update when merging paragraphs
289 2005-12-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
291 * BufferView.C (mouseSetCursor): clear the selection properly (bug
294 2005-12-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
296 * text.C (redoParagraph): honor inset->noFontChange()
297 * rowpainter.C (paintInset): ditto
299 2005-12-15 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
301 * lyx_main.C (priv_exec): don't initialize Math on startup
302 (initMath() has been moved to math_hullinset).
304 2005-12-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
306 * lyxrc.C: set default_papersize to PAPER_DEFAULT;
307 handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
308 * paper.h: dispose dead PAPER_PACKAGES enum.
310 2005-12-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
312 * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
315 2005-12-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
317 * exporter.C (Export): Don't try to copy a file if it does not exist
320 2005-12-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
322 * text2.C (makeFontEntriesLayoutSpecific): remove.
325 * text.C (insertChar): remove bogus caching of fonts (did not do
328 * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
329 ALL_SANE). (bug 2146)
331 2005-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
333 * rowpainter.C (paintFirst): fix centering of
334 LABEL_CENTERED_TOP_ENVIRONMENT.
336 2005-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
338 * BufferView.C (mouseSetCursor): new method. Calls
339 deleteEmptyParagraphMechanism if necessary.
341 * lyxtext.h: make deleteEmptyParagraphMechanism public.
343 * text3.C (dispatch/LFUN_MOUSE_PRESS): use
344 BufferView::mouseSetCursor (bug 2109).
345 (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
347 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
349 * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
350 do not remove it (this inset behaves differently from the others).
352 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
356 * BufferView_pimpl.C (getStatus): it is only possible to insert a
357 file in a text inset.
359 * buffer.C (readDocument): remove pit argument and code releated
360 to it; set the inset owner correctly (unrelated, but useful).
361 (readFile): get rid of pit argument.
363 * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
364 textclass instead of a selection index.
365 (pasteParagraphList): new function.
366 (pasteSelection): make it a wrapper around pasteParagraphList.
368 * BufferView_pimpl.C (MenuInsertLyXFile): use
369 cap::pasteParagraphList to insert a file.
371 2005-11-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
373 * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
375 2005-11-17 Michael Gerz <michael.gerz@teststep.org>
377 * exporter.C: fix typo in text message
379 2005-11-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
381 * text2.C (setLayout): move recUndo call to other setLayout method
382 * tabular.C (toggleFixedWidth): new, handle cell width changes
383 * tabular.C (setColumnPWidth): move some code from insettabular.C here
384 and use toggleFixedWidth
385 * tabular.C (setMColumnPWidth): ditto
387 2005-11-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
389 * paragraph.C (asString): use new inset->textString method (fix
392 2005-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
394 * CutAndPaste.C (numberOfSelections): new helper function.
396 * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
398 * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
399 LyXFunc::getStatus; implement LFUN_PASTE.
401 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
403 * dociterator.[Ch]: new member realInset() that returns the cell
404 for tabulars and the inset for the rest (bug 1952).
405 * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
408 2005-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
410 * text.C (leftMargin): honor the NextNoIndent tag in layouts.
412 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
416 * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
419 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
421 * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
422 line after typing ctrl-enter
424 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
426 * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
427 math insets do not return a proper editable() state yet (bug 2124).
429 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
431 * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for
432 docs containing very large paragraphs.
434 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
436 * cursor.C (selectionBegin, selectionEnd):
437 * text.C (drawSelection): Fix bug 2115: assertion when anchor and
438 cursor at different depths.
440 2005-11-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
442 * bufferview_funcs.C (coordOffset): do not call cursorPos
443 for collapsed collapsables (fix bug 2094).
445 2005-11-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
447 * paragraph.C (fontSpan): make sure that the FontSpan does not
448 span across beginOfBody (bug 1947).
450 2005-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
452 * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
454 2005-11-03 Michael Gerz <michael.gerz@teststep.org>
456 * messages.C: fix crash and localization on MinGW/Windows platform
458 2005-11-02 Angus Leeming <leeming@lyx.org>
461 * lyxtextclass.C: trivial fixes to some MSVS warnings.
463 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
465 * text3.C (getStatus): re-enable disabled code. (bug 2081)
467 * BranchList.h (empty): constify.
469 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
471 * text3.C (getStatus):
472 * MenuBackend.C (expandBranches): take the branch list from the
473 master document (bug 2092).
475 * MenuBackend.C (expandBranches):
476 * bufferparams.C (writeFile): use BranchList type.
478 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
480 * text3.C (dispatch, getStatus):
481 * LyXAction.C (init):
482 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
484 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
486 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
488 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
490 * text.C (insertChar): do not reset boundary (bug 2061)
492 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
494 * dociterator.C (updateInsets): new method. Updates the inset_
495 cache of all the slices of the iterator.
497 * text2.C (deleteEmptyParagraphMechanism): compare also containing
498 insets when comparing pit/pos; pass the right cursor to
499 recordUndo; when a paragraph has been deleted, compare `old.top()' to
500 the right cursor slice of `cur'; use updateInsets on cur to make
501 sure that the inset caches are correct; general cleanup.
503 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
505 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
506 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
507 containg inset. If this does not work, the same command will be
508 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
510 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
513 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
515 * lyxtextclass.C (Read): convert layout file if the format is wrong
516 * lyxtextclass.C (layout2layout): new, needed for the above
518 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
520 * messages.C: do not forget to include <cerrno>.
522 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
524 * dociterator.h (StableDocIterator): add access to pos().
525 * undo.C (samePar): new method to check if two
526 iterators are in the same paragraph
527 * undo.C (recordUndo): check for samePar instead of cell identity
528 (which includes pos() and is too strict) (fixes bug 2097)
530 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
532 * text.C (setCursorFromCoordinates): return a bool telling whether
535 * text3.C (cursorPrevious): update if needed after
536 setCursorFromCoordinates (when dEPM triggered).
538 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
539 (otherwise the anchor may be completely wrong and make dEPM assert).
541 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
543 * buffer.C: version upgrade to 245.
544 * bufferparams.C: remove \quotes_times (bug 2090).
545 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
546 quotation marks as default.
548 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
550 * CutAndPaste.C (nrOfParagraphs): remove (unused)
551 * CutAndPaste.C (cutSelection): Remove debug message
552 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
553 undo information and only copy if this is a real cut
554 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
556 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
558 * CutAndPaste.C (eraseSelection): prevent cursor corruption
559 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
560 superflous cur.selection() setting
561 * CutAndPaste.[Ch] (grabSelection): take a const cursor
562 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
564 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
566 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
569 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
571 * BufferView_pimpl.C: comment layout change
573 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
577 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
578 by bibliography managers (bug 2071).
580 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
582 * BufferView_pimpl.C (update): choose arguments to update call so
583 that single-par update works most times
584 * text3.C (dispatch): carefully tune updating separately for
585 whole-screen and current-paragraph
586 * rowpainter.C (paintText): 1) replace painting by caching for
587 the two extra paragraphs, because we can;
588 2) suppress greying out of areas below/above drawn area in case of
590 * lyxfunc.C (dispatch): remove superfluous update
591 * LyXAction.[Ch]: introduce SingleParUpdate
593 2005-10-05 Angus Leeming <leeming@lyx.org>
595 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
596 always initialised before use.
598 * text.C (setHeightOfRow): squash warning about comparison
599 of signed and unsigned types.
601 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
603 * text.C (cursorX): two fixes involving RtL text drawing
605 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
607 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
608 items, not only large ones (part of bug 2057)
610 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
612 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
613 argument, use "newcommand".
615 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
617 * cursor.C (setSelection): do not open collapsable insets;
618 the insets do by themselves now (autoopen).
620 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
622 * buffer.C: format is up to 244.
624 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
626 * text.C (redoParagraph): fix calcultation of inset width wrt
627 leftMargin (bug 1957).
629 * text3.C (dispatch): leave inset to the right when hitting ESC
632 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
637 * messages.C: include <boost/current_function.hpp>
639 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
641 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
642 when command is internal. (bug 1941)
644 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
646 * text2.C (cursorRight): do not honor boundary when at the end of
647 a paragraph. (bug 2010 again)
649 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
651 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
653 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
655 * rowpainter.C (paintText): fix RtL space width display bug (2029)
657 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
659 * text2.C (setCursor): remove the unused 'boundary' parameter for
660 the CursorSlice version; adapt the LCursor version.
663 * paragraph_pimpl.C (markErased):
664 * cursor.C (bruteFind2, bruteFond3): fix warnings.
666 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
668 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
669 as is already done for "chapter".
671 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
673 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
674 textclass; do not record undo if nothing is changed.
676 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
678 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
680 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
682 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
684 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
686 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
687 combox, it is necessary to search for the topmost paragraph in the
688 cursor stack (bug 1926)
690 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
692 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
693 end of paragraph. (bug 2010)
695 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
697 * text.C (leftMargin): check for inInset == 0
699 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
701 * text.C (leftMargin): test for insetbase's new neverIndent()
702 bool instead of listing each and every inset that does not
703 wish par indendation.
705 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
707 * buffer_funcs.C (setCounter): put the code to compute enum label
708 here (where it belongs).
710 * counters.C (enumLabel): move code to buffer_funcs.C.
712 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
714 * outputparams.[Ch]: store local_font instead of local_language
715 * paragraph.C (simpleTeXOnePar): adapt to the change above
717 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
720 * counters.[Ch]: clean up special code for Hebrew.
722 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
724 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
727 2005-09-08 Angus Leeming <leeming@lyx.org>
730 * lyxrc.C: correct grammar describing invocation of the
733 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
735 * text.C (read): remove unused variable.
736 (readParToken): remove static Change variable (never good in
737 recursive settings...); add it as a parameter instead.
739 * paragraph_pimpl.C (acceptChange): make debug info conditional.
741 * metricsinfo.C (PainterInfo): add new member erased_.
743 * rowpainter.C (RowPainter): add erased_ member, initialized from
745 (paintInset): pass erased_ to Inset::draw.
747 * lyxfunc.C (lookupChange): new function. Tells whether change
748 tracking is disabled at a given postion.
749 (getStatus): disable some actions when in deleted text with change
752 2005-08-03 John Levon <levon@movementarian.org>
754 * tabular.C (appendColumn, setMultiColumn): adapt to change to
757 * paragraph_pimpl.C (markErased): add bool argument and handle it.
758 Also make sure to mark insets recursively.
759 (rejectChange, erase): be recursive
761 * paragraph.C (markErased): add bool argument.
762 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
764 * lyxfind.C (findNextChange): tiny cleanup.
766 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
767 change tracking with the cursor in an inset; make sure the first
768 change is not skipped.
770 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
772 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
773 tabularStackDirty to work around bug 1919 (tabular needs
774 to know whether its own cell paste buffer or the one of
776 * CutAndPaste.C: mark tabular_stack_ clean after copy.
778 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
780 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
782 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
784 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
785 use old deleteion algorithm when changetracking is on.
787 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
789 * messages.C (get): add debug output.
791 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
793 * text.C (cursorX): fix bug 1965: cursor movement at
794 line end broken in RtL.
795 (drawSelection): fix bug 1970: drawing of single-line
796 selection broken for RtL.
798 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
802 * dociterator.h (clear, push_back, pop_back): change from
805 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
806 and changed to just return the value of the item depth; take a
807 ParIterator as argument; take the itemdepth at outer nesting level
808 in account if necessary; cleanup and comment the code.
809 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
810 and changed to just return true if reset is needed; take a
811 ParIterator as argument; cleanup and comment the code.
812 (setCounter): adapt to above changes.
814 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
816 * text3.C (dispatch): make debug message optional
818 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
820 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
823 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
825 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
827 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
829 * text.C (insertChar):
830 * text2.C (deleteEmptyParagraphMechanism): take care whether
831 a blank has been deleted (in change tracking mode) (bug 1254).
833 2005-07-20 John Levon <levon@movementarian.org>
835 * text2.C (insertStringAsLines): remove old dubious code,
838 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
840 * MenuBackend.C (expandToc): use Floating::listName() as title of
843 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
845 * toc.[Ch]: Do not use translatable strings (bug 1870).
847 2005-07-20 John Levon <levon@movementarian.org>
849 * tabular.C: fix 1748 - setting multicolumn adds
850 left line to the first cell
852 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
855 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
858 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
860 * messages.C: supress some lyxerr messages
862 2005-07-18 Juergen Vigna <jug@lyx.org>
864 * text.C (drawSelection): honor boundary when asking for cursorX.
866 2005-07-17 José Matos <jamatos@fc.up.pt>
868 * tabular.C (recalculateMulticolumns): fix handling of one column
871 2005-07-17 Juergen Vigna <jug@lyx.org>
873 * text.C (Delete, backspace): fixed so that paragraph with the
874 same layout can be merged by Delete/Backspace.
876 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
878 * text.C (readParToken): fix spelling.
880 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
882 * text2.C: fix counter update for DEPM problem reported by
885 2005-07-17 Juergen Vigna <jug@lyx.org>
887 * BufferView_pimpl.C (setBuffer): save/restore the
888 cursor/selection when switching buffers
891 * buffer.C (saveCursor): add saveDocumentIterators to save the
892 cursor when switching buffer.
894 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
897 * buffer.C: clarify message
899 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
901 * dociterator.C (DocIterator): fix initialization order
903 2005-07-17 Juergen Vigna <jug@lyx.org>
905 * text2.C (cursorHome):
906 * text.C (drawSelection, cursorX):
907 * dociterator.C (textRow): add boundary to getRow() call
909 * paragraph.C (getRow): implementation of below
911 * paragraph.h: add parameter boundary for getRow() function
913 2005-07-17 José Matos <jamatos@fc.up.pt>
917 * tex-strings.[Ch]: new file format, remove support for a4.sty,
918 a4wide.sty and a4widemargins.
920 2005-07-17 Juergen Vigna <jug@lyx.org>
922 * text2.C (cursorLeft): fix one of error
924 2005-07-17 Juergen Vigna <jug@lyx.org>
926 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
928 more fixes for boundary handling
930 * text3.C (dispatch): don't reset cursor if boundary has changed
933 2005-07-16 Juergen Vigna <jug@lyx.org>
935 * text2.C (getColumnNearX): hopefully got it right now,
936 check if we are on column 0 for special case.
938 2005-07-16 Juergen Vigna <jug@lyx.org>
940 * text2.C (getColumnNearX): handle special case Newline Inset
942 * text.C (singleWidth): Just remove bogus check
944 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
946 * funcrequest.C (split): avoid reading uninitialized char c
948 2005-07-16 José Matos <jamatos@fc.up.pt>
954 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
955 single papersize variable.
957 2005-07-16 Juergen Vigna <jug@lyx.org>
959 * text3.C (dispatch): honor boundary when checking if a cursor
960 movement has been done
962 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
963 (setCursor, setCursorIntern): fix cursor movement with boundary
965 2005-07-16 Juergen Vigna <jug@lyx.org>
967 * text.C (currentState): output the actual Boundary
969 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
971 * factory.C (createInset): fix bad logic for tabular creation
973 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
975 * lyx_main.C (init): change some reLyX reference to tex2lyx
977 2005-07-16 Juergen Vigna <jug@lyx.org>
979 * dociterator.C (DocIterator): initialize boundary
981 2005-07-16 Juergen Vigna <jug@lyx.org>
983 * text2.C (getColumnNearX): Consider rows without trailing blank.
985 2005-07-16 André Pönitz <poenitz@gmx.net>
987 * lyxfont.h: Change order of declarations to give the compiler
988 a better chance to inline things
990 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
991 questions on unsaved docs for better scritability
993 2005-07-16 André Pönitz <poenitz@gmx.net>
995 * paragraph.h (getChar): remove asserts as the same kind of security
996 can be achieved by using a suitable standard library implementation
997 and the function was in the critical path (25.9% in profiler)
999 2005-07-16 Juergen Vigna <jug@lyx.org>
1001 * cursor.C (bruteFind2):
1002 * bufferview_funcs.C (coordOffset):
1003 * text.C (cursorX,cursorY): Handle cursor position after last char
1004 in row before a inset which uses a whole row.
1006 2005-07-15 José Matos <jamatos@lyx.org>
1008 * output_plaintext.[Ch] (writeFileAscii): control reference title
1010 (asciiParagraph): noparbreak was already deal and was incorrectly
1013 2005-07-15 Juergen Vigna <jug@lyx.org>
1015 * lyxfunc.C (dispatch): save and restore the cursor after a
1018 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
1020 * text.C (backspace): bug 806 for empty keepempty paragraphs we
1021 change the layout to default before letting DEPM do its thing.
1023 * paragraph_funcs.C (breakParagraph): dont reset the layout on
1024 keepEmpty paragraphs
1026 * text.C (setCursorFromCoordinates): add a debug statement
1028 * text2.C (getColumnNearX): bug 1825 make sure that we don't
1029 return a pos that is not on the row
1031 * output_latex.C (TeXDeeper): get rid of potential dereferencing
1032 of past the end iterator
1034 2005-07-14 André Pönitz <poenitz@gmx.net>
1036 * undo.C (recordUndoFullBuffer): implement undo for
1039 2005-07-14 André Pönitz <poenitz@gmx.net>
1041 * cursor.C (setSelection): open insets when selection is set there
1042 to avoid crashs with cold coord cache
1044 2005-07-14 André Pönitz <poenitz@gmx.net>
1046 * trans_mgr.C (insert): move cursor to the right after inserting
1049 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1051 * BufferView_pimpl.C (update): dampen some of the debug blabbering
1052 * factory.C (readInset): ditto
1053 * text.C, text2.C: ditto
1055 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1057 * buffer.C: format incremented to 242. There is no file format per
1058 se, but the "frenchb" language has been removed from lib/language
1059 and has to be translated to "french" by lyx2lyx.
1061 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1063 * cursor_slice.h, dociterator.h: add some documentation
1064 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
1066 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1068 * text.C (leftMargin): do not add identation to display() style
1069 insets, because they are always centered (bug 1293).
1071 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1073 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
1074 formatted_time methods in support/lyxtime.
1076 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1078 * toc.[Ch]: new method getGuiName, which is used by the frontends
1079 to set the toc combo (fixes bug 1870). Make TOC string translatable.
1081 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1083 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
1084 StableDocIterator const &)
1085 * undo.C (recordUndo): use the above instead of cell.size() comparison
1086 (fixes bug 1808; instructed by Andr�.
1088 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
1091 * dociterator.h: Fix the assert when copying rows/cols in math
1093 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1095 * BufferView_pimpl.C:
1097 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
1099 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
1100 (findInset): new functions, refactored from goto Inset that return
1101 the position of a certain inset without setting the buffer's cursor
1103 (gotoInset): rewrite to call findInset and then set the cursor
1106 2005-06-16 Angus Leeming <leeming@lyx.org>
1108 * lyxrc.C (output, read): wrap all input and output of paths with
1109 calls to os::internal_path and os::external_path, respectively.
1110 (output): wrap bind_file inside quotes.
1112 * format.C (view): enable the viewer to use the '$$s' placeholder.
1114 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1116 * LColor.[Ch] (getFromLaTeXName): new
1118 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
1120 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
1122 2005-06-14 Angus Leeming <leeming@lyx.org>
1124 * lyx_main.C (init): ensure that the LyX binary dir is the first
1125 element in the PATH on non-POSIX builds.
1127 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1129 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
1131 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1133 * rowpainter.C (paintInset, paintHebrewComposeChar)
1134 (paintArabicComposeChar, paintChars): add a LyXFont argument.
1135 (paintChars): use getFontSpan to reduce calls to getFont to a
1136 minimum; use Paragraph::lookupChange instead of isXXXText.
1137 (paintForeignMark): rename LyXFont argument.
1138 (paintFromPos): pass a LyXFont object to the various paintXXX
1141 * FontIterator.C (FontIterator, operator++): use
1142 Paragraph::getFontSpan
1144 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
1145 version that returns the font span as a pair.
1147 2005-06-09 Angus Leeming <leeming@lyx.org>
1149 * converter.C (convert): Don't forget "outfile = real_outfile" as
1150 the final step in a conversion where the input and output file names
1151 are the same. Otherwise, future conversion steps won't work...
1153 2005-06-09 Angus Leeming <leeming@lyx.org>
1155 * lyxsocket.C: remove stub code as it isn't needed by
1156 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
1158 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1160 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
1161 effectively disabled -x
1163 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1165 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
1166 when it actually makes sense.
1168 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
1170 * BufferView_pimpl.C: revert to showCursor in connection with
1171 Lars's front-end stack
1173 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1175 * text.C (redoParagraph): move cursor right after a bibitem
1178 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
1180 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1182 * buffer_funcs.C (bufferErrors): fix computation of the end of an
1185 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
1187 * BufferView.[Ch] (update):
1188 * BufferView_pimpl.[Ch] (update, metrics):
1189 * dimension.h (operator==):
1190 * lyxfunc.C (dispatch):
1191 * metricsinfo.h (ViewMetricsInfo):
1192 * rowpainter.C (paintText):
1194 * text.C (redoParagraph):
1195 * text3.C (dispatch): Make LyX only repaint current paragraph in
1196 case of character insert --> speedup. Also fix cursor draw
1199 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1201 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1202 avoid a crash (bug 1891)
1204 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1208 * text2.C (getStringToIndex): constify cur argument.
1210 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1211 argument has been given
1212 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1213 try to invoke LFUN_INSET_APPLY).
1215 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1216 if no inset was created by doInsertInset
1217 (doInsertInset): return true if an inset has been inserted.
1219 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1221 * vspace.C (asGUIName): new method. A version of the space
1222 suitable for showing on screen.
1224 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
1227 * lyxrc.C: rename "ASCII" to "Plain Text"
1229 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1231 * buffer_funcs.C (expandLabel): take a Buffer as argument;
1232 translate the labelstring.
1233 (setCounter): translate labelstring as needed.
1235 * output_docbook.C (makeCommand): fix expandLabel invokation
1237 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
1239 * BufferView.C: fix dialog title
1241 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1243 * lyx_main.C (priv_exec): fix logic error with help from Angus
1244 * lyx_main.C (parse_execute): set is_gui = false and remove now
1245 obsolete comment about a segfault
1247 2005-05-18 Angus Leeming <leeming@lyx.org>
1249 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1251 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
1253 * tabular.[hC]: added setCellInset to fix tabular paste.
1255 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1257 * buffer.C (save): check if destination is writable before trying
1260 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
1262 * BufferView_pimpl.C (update): fix processEvents -caused update
1265 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1267 * buffer_funcs.C (setCounter): fix test for numbering of
1270 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1271 depth correctly; use optional argument when it exists
1273 * lyxtextclass.C: remove unused MaxCounterTags enum
1274 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1275 (max_toclevel, min_toclevel): new methods.
1277 * MenuBackend.C (expandToc2): fix case where depth is smaller than
1278 the smallest depth in toc.
1280 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1281 layouts that should not appear in a table of contents.
1283 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1285 * cursor.h (undispatched, noUpdate): add comments from Andr�
1286 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
1290 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1292 2005-05-07 André Pönitz <poenitz@gmx.net>
1294 * cursor.[Ch] (leaveInset): new function
1296 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1298 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1300 2005-05-04 Angus Leeming <leeming@lyx.org>
1302 * lyxfunc.C (getStatus): disable the spell checker dialog if
1303 none of USE_[AIP]SPELL are defined.
1305 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1307 * tabular.C (setWidthOfCell): remove obsolete comment
1309 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1311 * paragraph.C (bibitem):
1312 * buffer_funcs.C (setCounter):
1313 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1315 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1317 * text3.C (getStatus): immediately return after setOnOff
1319 * rowpainter.C: fix drawing of appendix start
1321 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1323 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1324 SwitchBetweenClasses and remove the unused return value.
1325 Handle character styles, too
1327 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
1329 * factory.C (createInset): handle undefined character styles
1331 2005-05-02 Angus Leeming <leeming@lyx.org>
1333 * buffer.C: protect the #include of utime.h with a preprocessor
1336 2005-05-02 Angus Leeming <leeming@lyx.org>
1338 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1339 function so that auto-saving works, albeit in a blocking manner.
1341 * Makefile.am: make compilation of the client sub directory, of
1342 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1343 on conditionals set at configure time.
1345 * SpellBase.[Ch]: no longer an abstract base class. Instead,
1346 it can be compiled in its own right but has no-op functionality.
1348 * aspell.C, pspell.C: remove preprocessor guards. The files should
1349 be compiled only if the necessary functionality exists.
1351 * lyxserver.C, lyxsocket.C: disable on Windows.
1353 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
1355 * text.C (leftMargin): Fix the parindent use bug (1764)
1358 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
1360 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1363 2005-04-25 Angus Leeming <leeming@lyx.org>
1371 include <config.h> in .C files, not .h ones.
1373 protect headers inside preprocessor guards.
1375 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1377 * FuncStatus.h (StatusCodes): document
1379 2005-04-21 André Pönitz <poenitz@gmx.net>
1381 * FuncStatus.h (enabled, onoff): document
1383 2005-04-19 Angus Leeming <leeming@lyx.org>
1385 * BufferView_pimpl.C (cursorToggle): no longer test whether
1386 any child processes have been reaped before calling
1387 handleCompletedProcesses().
1389 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
1391 * text3.C (dispatch): fix, finally fix, the language problem in
1392 new lyxtexts, without disabling on-the-fly font changes (Helge's
1395 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1397 * text3.C (dispatch): set cursor on double/triple click events
1400 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1402 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1403 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1405 * rowpainter.C (paintFirst): simplify the code a little bit. In
1406 particular, remove the test for secnumdepth.
1407 * text.C (setHeightOfRow): only allocate space for chapter number
1408 when updateCounters provided an actual label, instead of looking
1409 at secnumdepth directly.
1411 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1413 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1414 paragraphs when secnumdepth is large enough or, for environments,
1415 when they are not the first in a sequence.
1417 2005-04-17 Angus Leeming <leeming@lyx.org>
1419 * buffer.C (makeLaTeXFile): replace code to manipulate a path
1420 containing space and '~' characters with a call to latex_path().
1422 2005-04-17 Angus Leeming <leeming@lyx.org>
1424 * converter.C (convert): protect all args of convertDefault.sh
1427 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1429 * text3.C (dispatch): change the layout to "Caption" after inserting
1432 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1434 * text3.C (dispatch): fix language problem in newly created
1435 textinsets (and main text) in non-english docs
1437 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1439 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1440 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1441 * text3.C (getStatus): disable LFUN_INSET_MODIFY
1443 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1447 * text2.C (getFont):
1448 * rowpainter.C (getFont): Fix metrics bug introduced by inset
1451 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1453 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1454 output of \item arguments without trailing text.
1456 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1458 * FontIterator.C (operator*): avoid a copy of the font.
1460 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1462 * rowpainter.C (getFont): fix language bug from previous fix
1464 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1466 * rowpainter.C (RowPainter, getFont): fix font inside inset
1469 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1471 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1472 preventing inserted font, deco, delim insets jumping to start of
1475 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1477 * lyxfunc.C (dispatch): translate message before sending it to the
1480 2005-03-29 Angus Leeming <leeming@lyx.org>
1482 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1483 to LyX on the command line.
1485 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1487 * vc-backend.C: use QuoteName to protect file names wherever
1490 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1493 * BranchList.h: fix bugs 1844,1845: document settings don't
1496 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1498 * lyxrc.C (setDefaults, read, output, getDescription): add support
1499 for tex_allows_spaces.
1501 * exporter.C (Export): allows files in directory containing spaces
1502 if tex_allows_spaces is true.
1504 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1505 output it in double quotes.
1507 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1509 * rowpainter.C: use default text height for drawing change tracker
1512 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1514 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1516 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1518 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1519 directory is missing.
1521 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1523 * text2.C: fixed the fix, extended to other case.
1525 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1527 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1529 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1531 * text2.C (cursorUp): get rid of a crash
1532 * text.C (x2pos): add an assert
1534 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1536 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1540 * dociterator.C: include <boost/current_function.hpp>, which is
1541 needed when assertions are disabled.
1543 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1545 * text2.C: fix for stuck cursor when traversing two
1546 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1548 2005-02-25 Andreas Vox <avox@arcor.de>
1550 * output_docbook.C (makeParagraph): suppress trailing newline
1551 after a run of paragraphs
1553 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1555 * paragraph.C: fix for confused change tracker when pasting
1556 text that begins with a lineseparator. [bug 1827]
1557 (setChange(0, Change::INSERTED);)
1559 * paragraph_funcs.C: fix for lost changes on triple-paste
1560 in change tracking mode [bug 1827] (par.setChange()).
1562 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1564 * text2.C (updateCounters, setCounter, expandLabel): move to
1567 * buffer_funcs.C (updateCounters): turn into a free standing
1568 function and add a buffer parameter. Remove dead code for tracking
1570 (setCounter): change into a free-standing function which gets a
1571 dociterator as argument. Use this iterator to fix captions in a
1572 simple way. When no float is found above the caption, use the
1573 labelstring of the caption layout as default.
1575 * text.C (breakParagraph, backspace):
1576 * text2.C (init, setLayout, changeDepth):
1577 * text3.C (dispatch):
1578 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1581 * dociterator.C (forwardPar): make it much faster by calling
1582 forwardPos() only when really necessary.
1584 * output_docbook.C (makeCommand): adapt to expandLabel move.
1586 * cursor.C: remove unused variable
1588 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1590 * paragraph_funcs.C: fix crash when pasting insets in change
1591 tracking mode [bug 1277] (honour change type in moveItem).
1593 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1595 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1597 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1599 * BufferView.C (setCursor): change to use a DocIterator.
1600 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1601 (putSelectionAt): adapt to BufferView::setCursor change.
1603 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1604 moved here from LyXText and rewritten to use proper cursor
1605 methods. Fixes bug 1787, 616 and 835.
1607 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1608 when inside an inset (part of bug 781).
1609 (dispatch): adapt to change of BufferView::setCursor.
1610 (getStatus, dispatch): handle LFUN_GOTOERROR,
1611 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1613 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1614 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1615 * text3.C (gotoNextInset, gotoInset): removed.
1617 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1619 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1621 2005-02-15 Angus Leeming <leeming@lyx.org>
1623 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1624 can be used meaningfully in a comparison.
1626 2005-02-13 André Pönitz <poenitz@gmx.net>
1628 * bufferview_funcs.C (coordOffset): improve cursor drawing
1630 2005-02-13 André Pönitz <poenitz@gmx.net>
1632 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1633 * Cursor.C (dispatch): use fixIfBroken
1634 * lyxfunc.C (getStatus): use fixIfBroken
1636 2005-02-15 Angus Leeming <leeming@lyx.org>
1638 * lyx_main.C (error_handler):
1640 * lyxrc.C (setDefaults):
1642 #include "environment.h".
1644 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1646 2005-02-15 Angus Leeming <leeming@lyx.org>
1648 * lyxserver.C (startPipe): squash MSVC warning "local variable
1649 'fd' used without having been initialized".
1651 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1653 * BufferView_pimpl.C: revert accidental commit.
1655 2005-02-14 André Pönitz <poenitz@gmx.net>
1657 * dociterator.[Ch]: new member forwardPosNoDescent(),
1658 which doesn't enter nested insets.
1659 * text2.C (setFont): use forwardPosNoDescent() instead
1660 of ForwardPos() (fixes crash on font change).
1662 2005-02-13 Angus Leeming <leeming@lyx.org>
1664 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1665 only if lyxrc.path_prefix is not empty.
1667 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1669 * bufferparams.C (readGraphicsDriver): prevent crash
1671 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1673 * text2.C (setCounter): check for inInset() == 0
1675 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1677 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1678 but use update() to get correct screen display; use convert
1679 instead of istringstream.
1680 (getStatus): handle LFUN_GOTO_PARAGRAPH
1682 * lyxfunc.C (dispatch, getStatus): do not handle
1683 LFUN_GOTO_PARAGRAPH here.
1685 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1687 * text3.C (dispatch): size() -> depth()
1689 * text2.C: remove some debug output
1691 * paragraph.C: ws changes only
1693 * lyxfunc.C (getStatus): size() -> depth()
1695 * dociterator.h (clear, push_back, pop_back, internalData,
1696 operator[], resize, empty): new functions
1697 Make StableDocIterator and operator== be friends. Don't inherit
1698 from std::vector use a privat class variable slices_ instead.
1701 * dociterator.C: update because of not inheriting from std::vector
1702 anymore. Call explictly to slices_ instead. Use depth() instead of
1703 size() and top() instead of back()
1705 * cursor.C: chagne size() -> depth and back() -> top(). Also
1706 remove some direct operator[](i) calls in favour of foo[i]
1707 (getFont): remove some dead code
1709 * bufferview_funcs.C (coordOffset): size() -> depth()
1711 * buffer.C: ws changes only
1713 * CutAndPaste.C (eraseSelection): back() -> top()
1715 * BufferView_pimpl.C (selectionRequested): back() -> top()
1717 * BufferView.C (setCursor): size() -> depth()
1719 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1721 * text3.C (cursorPrevious): return true if depm changed something
1723 (dispatch): rename sl to oldTopSlice, remove moving use the new
1724 NoUpdate func attrib instead. Make sure that needsUpdate is set
1725 for function that have NoUpdate, but where depm might have changed
1728 * text2.C (cursorLeft): make us return true if depm changed
1730 (cursorRight): ditto
1731 (cursorUpParagraph): ditto
1732 (curosrDownParagraph): ditto
1733 (cursorUp, cursorDown): ditto, make sure to read comments in code
1734 (deleteEmptyParagraphMechanism): remove an assert, also return
1735 true if just a single char was deleted.
1737 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1738 cursor that we modify, to avoid modifying an active cursor before
1739 we call setCursor. This allows depm to run. Also return true if
1740 depm deleted something.
1742 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1743 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1744 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1745 something was changed in the buffer because of them (ie. depm run)
1747 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1748 debug messages. Make update by default be false. Make sure that
1749 the result of update is retained throught several calls down to
1752 * LyXAction.h: add a new func_attrib: NoUpdate
1754 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1755 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1756 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1758 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1760 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1762 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1763 bv_->owner(), bv_->buffer() by direct references to the private
1765 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1766 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1767 (fitCursor): center() is in BufferView::Pimpl.
1768 (getStatus, trackChanges, dispatch): no need for a temporary buf
1770 (fitCursor, workAreaDispatch): use workarea().workheight()
1772 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1774 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1776 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1778 * buffer.C: format up to 241.
1779 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1780 break if pasting into ERT
1781 * lyxfunc.C (getStatus): suppress mathpanel and
1782 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1784 2005-02-01 Angus Leeming <leeming@lyx.org>
1786 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1788 2005-02-01 Angus Leeming <leeming@lyx.org>
1790 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1791 calling fs::is_directory().
1793 2005-01-31 Angus Leeming <leeming@lyx.org>
1795 * lyx_main.C (priv_exec): specify explicitly the relative location
1796 of the top level build directory when run in-place.
1798 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1800 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1801 LyXText containing the cursor, not the top-level one.
1803 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1805 (insertStringAsLines): rename par to pit; use temporary variable
1806 par to hold a Paragraph; do not store par.layout() in a variable,
1807 since the pointer may die when breaking paragraphs; pass pars to
1808 breakParagraph() instead of Buffer::paragraphs().
1810 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1812 * lyxlex_pimpl.h: #include <fstream>.
1814 * BufferView.[Ch] (getLyXText): add a const version.
1816 * BufferView_pimpl.C: add debug aids.
1821 * paragraph_funcs.h: add commentary explaining what the class does.
1824 * coordcache.[Ch]: add lots of commentary.
1825 (startUpdating, doneUpdating): debug aids.
1826 (arrays, insets, parPos, getParPos): accessors to private data.
1828 * cursor_slice.[Ch] (text): add a const version.
1829 * dociterator.[Ch] (text, innerText): add const versions.
1831 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1834 * paragraph.C (getRow, pos2ros): add asserts.
1836 * paragraph.h: add commentary. Lots of.
1838 * paragraph.[Ch] (metrucs, draw): removed.
1841 * rowpainter.[Ch]: const-correct changes.
1843 * text.C: various obvious clean-ups. Removal of ancient cruft.
1846 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1848 * vc-backend.C (find_file): rewrite to use boost.filesystem
1851 * main.C (main): set default name check for boost.filesystem to
1854 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1857 (actOnUpdatedPrefs): ditto
1859 * lyx_main.C (init): rewrite to use boost.filesystem
1860 (queryUserLyXDir): ditto
1862 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1863 (getContentsOfAsciiFile): ditto
1865 * lastfiles.C (readFile): rewrite to use boost.filesystem
1867 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1869 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1870 (loadLyXFile): ditto
1872 * buffer.C (Buffer): adjust for destroydir
1873 (getLogName): rewrite to use boost.filesystem
1874 (setFileName): ditto
1875 (save): use fs::copy_file (from fs_extras)
1877 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1879 * LaTeX.C (run): rewrite to use boost.filesystem
1880 (scanAuxFiles): ditto
1881 (handleFoundFile): ditto
1883 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1885 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1887 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1889 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1891 * lyxlayout.[Ch]: change some vars from float to double
1893 * buffer.C (readFile): make a local var const
1895 * Several files: use convert<> instead of atoi,strToXXX and friends
1897 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1899 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1900 holds the contents of packages.lst. New functions getAvailable
1901 and isAvailable to parse and check that list, resp.
1905 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1907 * bufferparams.[Ch]: new param output_changes.
1909 * Buffer.C: increase file format to 240.
1910 Use output_changes and isVailable.
1914 * paragraph_pimpl.C: Use output_changes and isVailable.
1916 2005-01-23 Angus Leeming <leeming@lyx.org>
1918 * output_latex.C: #include "insetbibitem.h", rather than
1919 forward declare function bibitemWidest.
1921 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1923 * lyx_main.C (init): make it compile on the Mac.
1925 2005-01-20 Angus Leeming <leeming@lyx.org>
1927 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1928 (setLyXMisc): (char string literal) != (char string literal) is
1929 performing a comparison on the addresses. Convert one operand
1930 explicitly to string to guarantee expected behaviour.
1933 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1936 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1938 * output_plaintext.C: remove unneeded #include gzstream.h.
1940 2005-01-20 Angus Leeming <leeming@lyx.org>
1942 * SpellBase.h: rename some of the elements of the Result enum.
1949 * pspell.C (check): ditto
1951 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1953 * buffer.C: add #include <fstream>.
1955 * lyx_main.C (init): Compile fix.
1957 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1959 2005-01-20 Angus Leeming <leeming@lyx.org>
1961 * mover.h: change commentary to reflect the changed meaning of
1962 the $$s placeholder.
1964 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1966 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1968 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1970 2005-01-20 Angus Leeming <leeming@lyx.org>
1972 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1973 printing diagnostic data by not dereferecing an iterator past the
1976 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1978 * buffer.C (readHeader): use "&&" rather than "and".
1980 * lyxserver.h (inPipeName, outPipeName): make these const.
1982 2005-01-19 Angus Leeming <leeming@lyx.org>
1984 * lyx_main.C (error_handler, init): protect SIGHUP with
1985 #ifdef SIGHUP guards.
1987 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1989 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1991 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1993 * text.C (setHeightOfRow): add a margin at the top and bottom of
1994 the document (bug 1761)
1996 2005-01-17 Angus Leeming <leeming@lyx.org>
1998 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1999 with "python ". Workaround for a brain-dead Windows.
2001 2005-01-16 Angus Leeming <leeming@lyx.org>
2003 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
2004 for MacOSX and Windows to use prependEnvPath.
2005 Strip out the hard-coded block to add elements to the PATH for
2006 MacOSX and replace it with a call to prependEnvPath using the
2007 contents of LyXRC::path_prefix.
2008 (queryUserLyXDir): strip out the code to run reconfigure, instead
2009 returning a boolean indicating the necessity to do so.
2010 (reconfigureUserLyXDir): contains the code to reconfigure the
2011 user support directory. Is now called after the various LyXRC data
2012 files have been read.
2014 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
2016 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2018 * converter.[Ch] (convert): take a new parameter try_default. Use
2019 a default converter (imagemagick) if try_default is true.
2021 2005-01-13 Angus Leeming <leeming@lyx.org>
2023 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
2024 os::cygwin_path_fix.
2025 (write): output LyXRC::cygwin_path_fix as necessary.
2027 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
2030 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
2032 2005-01-12 Angus Leeming <leeming@lyx.org>
2034 * lyx_main.C (init): set the PATH variable to include the
2035 directory containing the LyX binary when running on Mac or Windows.
2037 2005-01-12 Angus Leeming <leeming@lyx.org>
2039 * lyx_main.C (init): remove cruft that purports to set the locale
2040 dir. It doesn't and is not needed anyway.
2042 2005-01-10 Angus Leeming <leeming@lyx.org>
2044 * Makefile.am: remove the lyx_main.C special casing.
2046 * BufferView_pimpl.C:
2052 * messages.C: use support/package.h to provide the paths to the
2053 various directories used by LyX.
2055 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2057 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
2058 layout if pasting into an empty paragraph)
2060 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2062 * tex-accent.C: add <string>
2064 2005-01-06 José Matos <jamatos@lyx.org>
2066 * ParagraphParameters.C (write): put every parameter in its own line.
2067 * paragraph.C (write): reduce number of consecutive empty lines exported.
2068 * buffer.C (LYX_FORMAT): increase file format to 239.
2070 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2072 * everywhere: change support/tostr.h -> support/convert.h
2074 * tabular.C: make all write_attributes templates, tostr -> convert
2076 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
2077 (emptyTag): and -> &&, and fix type for ret from getChar
2078 (getFirstWord): fix type for ret from getChar
2079 (onlyText): and -> &&
2080 (simpleDocBookOnePar): and not -> && !, fix type for ret from
2083 * toc.C (goTo, action):
2084 * text3.C (dispatch):
2085 * text.C (currentState):
2086 * tex-accent.C (DoAccent):
2089 * lyxfunc.C (menuNew):
2090 * lyxfinc.C (replace):
2091 * counters.C (laberItem):
2092 * bufferview_funcs.C (font2string):
2093 * bufferparams.C (writeFile):
2094 * buffer.C (readFile):
2096 * MenuBackend.C: tostr -> convert
2098 * LaTeX.C (runMessage): fix format
2099 (scanAuxFiles): tostr -> convert
2101 * BufferView_pimpl.C (savePosition): fix format
2102 (restorePosition): ditto
2105 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2107 * Spacing.[Ch]: New method getValueAsString().
2111 * ParagraphParameters.C:
2114 * text3.C: store/read spacing value as string.
2116 * rowpainter.C: change float value (spacing_val) to double.
2118 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
2119 broken custom document spacing).
2121 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2123 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
2124 namespace, also more use of temp references and const
2126 * cursor.[Ch] (getStatus): move to lyxfunc.C
2128 * bufferparams.C: reformat slightly
2130 * bufferview_funcs.C (font2string): constify arg
2136 * buffer_funcs.C: (many funcs): constify arg on function
2137 definitions, also make more local vars const, also add ASSERTS on
2140 * buffer.C (LYX_FORMAT): put const in correct place
2141 (many funcs): constify arg on function definitions, also make
2142 more local vars const
2144 * aspell_local.h: remove "struct" from typdef setup
2146 * aspell.C (check): make word_ok const
2147 (nextMiss): simplify slightly
2150 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2152 * lyxrc.[Ch]: store all float values as strings.
2153 use int (not float) for lyxrc.dpi.
2155 2005-01-04 Angus Leeming <leeming@lyx.org>
2157 * lyx_cb.C (Reconfigure):
2158 * lyx_main.C (queryUserLyXDir):
2159 to run the <system_lyxdir>/configure correctly on Windows, prefix
2160 the path to the script with "sh " when generating the string that
2161 is passed to system().
2163 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2165 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
2167 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2169 * lyxlength.C (asLatexString): get rid of setprecision
2171 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2173 * text2.C (setLayout): remove unused variable endpit.
2174 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
2176 * paragraph.C (onlyText): remove unused variable style.
2178 * cursor.C (bruteFind): remove unused variables beg and end.
2180 * Makefile.am (dist_noinset_DATA): not needed anymore
2182 * cheaders/*: remove.
2184 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2186 * text3.C: fix LFUN_MATH_MODE.
2188 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2190 * buffer_funcs.C (countWords): new function. Counts words between
2193 * BufferView_pimpl.C (getStatus, dispatch): handle
2196 * LyXAction.C (init):
2197 * lfuns.h: add LFUN_WORDS_COUNT.
2199 2004-12-19 Angus Leeming <leeming@lyx.org>
2201 * buffer.C (save): s/slashify_path/internal_path/.
2203 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2205 * lyxfind.C (findChange): do not search for end of pars, because
2206 the change tracker cannot handle this (fixes bug 1719).
2208 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
2210 * paragraph.[Ch] (autoBreakRows): remove
2212 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2214 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2215 avoid using the paragraph one
2217 * text2.C (LyXText, insertStringAsLines): adjust
2219 2004-12-16 Angus Leeming <leeming@lyx.org>
2223 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2225 2004-12-14 Angus Leeming <leeming@lyx.org>
2227 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2229 * bufferlist.C (emergencyWrite):
2230 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2233 2004-12-14 Angus Leeming <leeming@lyx.org>
2235 * main.C: (main): no longer pass pointers to os::init.
2237 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2239 * undo.C (textUndoOrRedo): simplify logic, fix a crash
2240 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2242 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2245 * text3.C: remove selection_possible global flag
2247 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2249 * text2.C (getSelectionSpan): remove
2250 (changeDepth, changeDepthAllowed): adjust
2252 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
2254 * Makefile.am (BOOST_LIBS): use boost variables
2256 2004-12-03 José Matos <jamatos@lyx.org>
2258 * buffer.C: format up to 238.
2260 2004-12-03 José Matos <jamatos@lyx.org>
2262 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2264 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2266 * cursor.C (goUpDown): remove call to idxUpDown2
2268 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2270 * tabular.[Ch]: use size_t-like types for cell, row and column
2273 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2275 * lyxfunc.C (getStatus): do not lose previous information when
2276 calling BufferView::getStatus; do not set a default "Command
2277 disabled" message at the beginning, but just before returning.
2279 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2281 * cursor.h (getStatus): add better comment from src/cursor.C
2283 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2285 * text3.C (getStatus): return false when the lfun is not handled
2287 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2289 * broken_headers.h: remove
2291 * Makefile.am (lyx_SOURCES): remove broken_headers.h
2293 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2295 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2296 offset_ref accessors
2298 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2299 top_y_, merge fitcursor with update
2300 (updateScrollbar, scrollDocView, fitCursor, center, update): new
2302 (metrics): introduce
2303 (workAreaDispatch): adapt to new coord scheme
2304 (redoCurrentBuffer): remove
2306 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2308 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2311 * coordcache.[Ch]: add paragraph cache and helpers
2313 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2316 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2317 (targetX, setTargetX): introduce
2319 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2320 baseline -> ascent, as the rest of lyx
2322 * lyxtext.h: remove redoParagraphs, updateParPositions,
2323 fullRebreak, redoParagraphInternal. move dist to anon namespace in
2324 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2325 have ascent/descent (ascent is ascent of first par)
2327 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2330 * paragraph.[Ch]: unify dimension handling with the rest of lyx
2332 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2334 * pariterator.C: fix infinite loop introduced in par->pit renaming
2336 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2337 in insets and LyXText, draw two off-screen paragraphs using
2338 NullPainter, and adapt to new coord scheme
2342 * text3.C: adapt lfun handlers to the new coord scheme, which
2343 means: there's only guaranteed coord information for onscreen pars
2344 plus one above and one below. This implies that one can do search
2345 from y coordinates in the range [-1,workHeight]
2347 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2349 * rename a lot of InsetOld to InsetBase
2351 2004-11-25 Angus Leeming <leeming@lyx.org>
2353 * BufferView_pimpl.C:
2355 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2357 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2359 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2360 call BufferView::getStatus if LCursor::getStatus did nothing
2361 (setStatusMessage, getStatusMessage): removed.
2363 * FuncStatus.C (message): new methods. Used to provide an error
2364 message indicating why a command is disabled.
2365 (clear, |=, FuncStatus): update for message.
2367 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2369 * lyxfunc.C (dispatch): always call sendDispatchMessage
2371 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2374 * BufferView_pimpl.C:
2379 * cursor_slice.[Ch]:
2382 * paragraph_funcs.C:
2388 * undo.C: par->pit renaming
2390 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2392 * tabular.C (cellstruct): use initialization, store a shared_ptr
2393 to insettext instead of the insettext directly, adjust to fit.
2394 (operator=): new function
2395 (swap): new function
2396 (rowstruct): use initialization
2397 (columnstruct): use initialization
2398 (ltType): use initialization
2401 * lyxlength.h (swap): new function
2403 * LColor.[Ch] (operator=): use the common semantics
2405 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2407 * lyxfind.C (findNextChange): update the bufferview after setting
2410 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2412 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2413 number of InsetOptArgs has already been inserted.
2415 * output_latex.C (latexOptArgInsets): new method. This outputs all
2416 the optarg insets, up to the limit defined in the layout file.
2417 (optArgInset): removed
2418 (TeXOnePar): call latexOptArgInsets; correctly update texrow
2420 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2422 * paragraph.C (isLetter): remove special spellchecker-related
2423 code; return true also for digits
2424 (isWord, isKomma): remove
2426 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2427 * lyxfind.C (MatchString()): use isLetter instead of isWord
2429 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2431 * pariterator.h (operatir=): comment out un-implemented member
2434 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2437 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2439 * lyxfont.h: include LColor.h to satisfy concept checks.
2441 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2443 * pariterator.h: add typdefs for value_type, difference_type,
2444 pointer and reference to satisfy concept checks. Also add default
2445 constructor for same reason.
2447 * pariterator.C (operator++): add post-increment operator to
2448 satisfy concept checks.
2450 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2453 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2455 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2456 checks. Also rename base_type to BaseType to follow naming
2459 * FloatList.h: include Floating.h to satisfy concept checks.
2461 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2463 * lyxfunc.C (getStatus): when the origin of the request is menu or
2464 toolbar, and the LyXView does not have focus, do as if there was
2465 no buffer (bug 1720)
2467 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2468 FuncRequest to individual entries of LFUN_SEQUENCE
2470 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2472 * output_latex.C (TeXOnePar): override runparams.moving_arg
2473 according to the needprotect value of the current paragraph (bug
2476 * paragraph.C (simpleTeXOnePar): no need to override
2477 runparams.moving_args here
2479 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2481 * vspace.C: fix off-by-one-error, related to fix #1682
2483 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2485 * lengthcommon.C: a more general fix for bug 1682
2487 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2489 * text.C (backspace): fix crash
2491 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2493 * format.[Ch] (getFormatFromFile): new method
2494 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2496 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2498 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2500 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2502 * lyxfunc.C (dispatch): remove the verbose argument
2503 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2506 * kbmap.C (defkey): set the origin of func to KEYBOARD
2508 * MenuBackend.C (MenuItem):
2509 * ToolbarBackend.C (add): set the origin of func to UI
2511 * funcrequest.[Ch]: add origin member, which indicates which part
2512 of LyX requests an action
2514 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2516 * converter.C (move): don't lie in the error message
2517 * converter.h (isReachable, move): document
2519 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2521 * buffer.C: remove unused using lyx::support::atoi
2522 * paragraph_funcs.C: ditto
2524 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2526 * bufferlist.C (exists): use bind and equal_to instead of
2529 * lyxtextclasslist.C (NumberOfClass): ditto
2531 * cursor.C (insert): use for_each instead of explicit for loop
2533 * bufferlist.C (getFileNames): use std::transform and
2534 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2536 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2539 * buffer.C (changeLanguage): use for_each instead of explicit for
2541 (hasParWithID): implement using getParFromID
2543 * LaTeXFeatures.C: ws change only
2545 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2548 * BufferView_pimpl.C (trackChanges): use for_each instead of
2551 2004-11-04 André Pönitz <poenitz@gmx.net>
2554 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2556 * dociterator.C (asDocIterator): use hard assert again.
2558 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2560 * lyxlength.C (asLatexString): rewrite so that it does not use
2563 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2565 * text3.C (specialChar, dispatch): make sure cursor moves to the
2566 right after inserting an inset
2568 2004-11-02 José Matos <jamatos@lyx.org>
2570 * output_docbook.C (docbook):
2571 * paragraph.C (getID):
2572 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2573 garantee that the output is always legal.
2575 * tabular.C (docbook):
2576 * outputprams.[Ch]: remove mixed contents.
2578 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2580 * text2.C (setCounter): prevent endless loop
2582 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2584 * exporter.C (copyFile): use the mover instead of support::copy()
2585 * exporter.C (Export): pass format and latex name to copyFile()
2586 * exporter.h (addExternalFile): document
2587 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2589 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2591 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2593 2004-10-30 José Matos <jamatos@lyx.org>
2595 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2596 text and no inset or font change. This allows to use CDATA
2597 sections just for the whole paragraph.
2599 2004-10-30 José Matos <jamatos@lyx.org>
2601 * paragraph.C (getFirstWord): remove unused variable.
2603 2004-10-30 José Matos <jamatos@lyx.org>
2605 * paragraph.C (getFirstWord): the content should always be escaped
2607 (simpleDocBookOnePar):
2608 * output_docbook.C (makeEnvironment): replace reference to CDATA
2611 2004-10-30 José Matos <jamatos@lyx.org>
2613 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2615 2004-10-30 José Matos <jamatos@lyx.org>
2617 * output_docbook.C (makeParagraphs):
2618 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2619 standard paragraph has only a given type of content drop the wrapper.
2621 2004-10-29 José Matos <jamatos@lyx.org>
2623 * output_docbook.C (makeEnvironment):
2625 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2627 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2629 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2630 (cleanID): sanitize any id.
2632 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2634 * buffer.C, lyxlex_pimpl.C:
2635 * lyxlex_pimpl.C (setFile):
2636 s/getExtFromContents/getFormatFromContents/
2638 2004-10-28 José Matos <jamatos@lyx.org>
2640 * output_docbook.C (makeEnvironment): move id to broadest possible
2643 * sgml.C (openTag): apply substitution of <> for all attributes.
2645 2004-10-28 José Matos <jamatos@lyx.org>
2647 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2648 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2649 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2651 * sgml.[Ch]: new version for open and closeTag for paragraph and
2652 for strings. Now they handle the ids of paragraphs.
2654 2004-10-26 Angus Leeming <leeming@lyx.org>
2656 * Makefile.am: add mover.[Ch].
2658 * converter.C (convert, move): use the new Movers to move external
2659 files to the temp directory.
2661 * lyx_main.C (init): ensure that the global system_movers data
2664 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2667 * mover.[Ch]: new files, defining a Mover as a utility to move an
2668 external file between directories and, if necessary, manipulate this
2669 file using a helper script.
2671 2004-10-25 José Matos <jamatos@lyx.org>
2673 * output_docbook.C (makeCommand): merge two if's that tested the
2676 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2678 * sgml.C (escapeString): fix warning in a better way
2680 2004-10-25 José Matos <jamatos@lyx.org>
2682 * sgml.C (escapeString): import the require boosts header file for
2683 tie, and avoid a signed unsigned comparison.
2685 2004-10-25 José Matos <jamatos@lyx.org>
2687 * sgml.h: add #include <string>
2689 2004-10-25 José Matos <jamatos@lyx.org>
2691 * sgml.[Ch] (escapeString): new function to escape all the string.
2693 2004-10-24 José Matos <jamatos@lyx.org>
2695 * paragraph.[Ch] (getFirstWord): new function to get the first
2696 word. Useful for description.
2697 (simpleDocBookOnePar): remove depth argument, add another that
2698 says where to start the paragraph.
2700 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2701 use the new functions to fix cleanly the support for descriptions.
2703 2004-10-24 José Matos <jamatos@lyx.org>
2705 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2706 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2707 * output_linuxdoc.C (linuxdocParagraphs):
2708 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2709 add buffer as argument.
2711 2004-10-24 José Matos <jamatos@lyx.org>
2713 * output_docbook.C (makeEnvironment, searchEnvironment): place
2714 CDATA inside paragraphs and fix scope for listitems.
2716 2004-10-24 José Matos <jamatos@lyx.org>
2718 * output_docbook.C: remove using statement for stack.
2720 2004-10-23 José Matos <jamatos@lyx.org>
2722 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2723 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2724 docbook. The new scheme is recursive and makes use of iterators, the
2725 same as latex export works.
2726 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2727 directly with the paragraph contents. This code was moved up to
2728 output_docbook.C (docbookParagraphs).
2729 * sgml.C (openTag, closeTag): removed unneeded newlines.
2730 (closeEnvTags) removed.
2732 2004-10-23 André Pönitz <poenitz@gmx.net>
2734 * undo.C (textUndoOrRedo):
2735 * dociterator.C (asDocIterator): work around crash
2737 * cursor.C (getStatus): replace ASSERT by more verbose error message
2738 and manual correction of the problem. Should increase stability
2739 while providing more sensible information.
2741 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2743 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2745 * bufferlist.C (previous, next): new methods
2748 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2750 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2752 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2753 entities to preamble.
2755 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2757 * messages.C (Pimpl): strip off translation context information
2759 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2761 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2762 the cursor is correct (bug 1694)
2764 2004-10-13 José Matos <jamatos@lyx.org>
2766 * output_docbook.C (docbookParagraphs): fix closing tags in the
2767 end of the document.
2769 2004-10-09 José Matos <jamatos@lyx.org>
2771 * buffer.C: format up to 237.
2772 * bufferparams.C (write): use tostr to convert booleans to strings.
2774 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2776 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2778 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2780 * LaTeX.C: implement use of babel language in xindy.
2782 2004-10-05 José Matos <jamatos@lyx.org>
2784 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2785 Add new translators to help reading and writing the lyx file.
2787 2004-10-05 José Matos <jamatos@lyx.org>
2789 * ParagraphParameters.C (read):
2790 * text.C (readParToken): replace nexToken by more appropriate lex
2793 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2795 * LaTeX.C (runMakeIndex):
2796 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2797 (usually 'makeindex') configurable.
2799 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2800 with a variable rather than with a number.
2802 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2804 * output_latex.C (TeXOnePar): make sure font setting is the first
2805 thing that gets output (and the last at the end). Should fix bug
2808 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2810 * pch.h: use proper signal include
2812 * LaTeX.h: Use preferred calling of Boost.Signal
2815 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2817 * pch.h: dont include <boost/function/function0.hpp>
2819 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2821 * paragraph_pimpl.h: remove usage of ShareContainer
2823 * paragraph_pimpl.C: remove initialization of ShareContainer.
2825 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2829 * BufferView.C (putSelectionAt): change the semantics when
2830 backwards == true: now, this just swaps cursor and anchor wrt the
2833 * BufferView.h (putSelectionAt): add some documentation
2835 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2836 make sure backwardChar is done at least once (to avoid getting
2838 (findNextChange): use putSelectionAt in the forward direction
2839 (operator()): use Paragraph::isWord
2841 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2843 * Spacing.C (set): c_str fix
2845 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2847 * lyx_cb.C (Reconfigure): quote the name of configure script in
2848 case it contains spaces
2850 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2854 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2855 (BOOST_LIBS): use top_buildir when looking for the file
2857 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2859 * pch.h: do not use include boost/format.hpp, multiple symbols
2860 will result (gcc bug)
2863 2004-08-23 José Matos <jamatos@lyx.org>
2865 * bufferparams.C (readToken): fix reading of the author field.
2867 2004-08-20 José Matos <jamatos@lyx.org>
2869 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2871 2004-08-20 José Matos <jamatos@lyx.org>
2873 * lyxlex.[Ch] (findToken): remove function.
2875 * ParagraphParameters.C (findToken):
2876 * bufferparams.C (findToken): replace call for previous function
2877 with local copy. This local function has one more argument, the
2878 read string argument.
2880 2004-08-16 José Matos <jamatos@lyx.org>
2882 * ParagraphParameters.C (write):
2883 * Spacing.C (writeFile):
2884 * bufferparams.C (writeLaTeX):
2885 * lyx_cb.C (Reconfigure):
2886 * paragraph.C (write):
2887 * tabular.C (write): remove unnecessary space at end of line.
2890 2004-08-16 José Matos <jamatos@lyx.org>
2892 * text.C (readParagraph): remove debug message.
2894 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2896 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2899 * output_plaintext.C (asciiParagraph): set depth correctly
2901 * outputparams.h: add member depth
2903 * paragraph_funcs.C (ownerPar): remove.
2905 * text2.C (setCounter): remove first_pit; comment out some
2906 non-working code that uses ownerPar
2908 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2911 2004-08-16 José Matos <jamatos@lyx.org>
2913 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2914 For the same level of importance use the same chanel to report problems.
2915 (read): add code to deal with \begin_body and \end_body.
2918 2004-08-15 José Matos <jamatos@lyx.org>
2920 * lyxlex.C (getString): fix comment, buffer::readBody is now
2921 buffer:readDocument.
2923 * tex-strings.C (string_papersize): Default -> default,
2924 Custom -> custom, for consistency with other options.
2926 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2930 * Makefile.am: support pch
2932 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2934 * text.C (readParToken): remove the static LyXFont variable and
2935 pass it as a parameter instead. This fixes a nasty bug where an
2936 inset will be inserted with a bad font in some situations
2937 (readParagraph): adapt
2939 * text2.C (setCounter): reduce number of calls to pars_[pit]
2941 * text.C (singleWidth): add an assert, fix a test
2943 * rowpainter.C (paintText): reduce number of calls to singleWidth
2945 * paragraph.C (isHfill):
2946 (isNewline): ws only
2948 2004-08-14 André Pönitz <poenitz@gmx.net>
2953 * lyxtext.h (several functions): use a Paragraph & argument
2956 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2958 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2960 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2962 * text.C (singleWidth): remove useless test
2964 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2966 * tabular.h: remove bogus comments
2968 * tabular.C (getDescentOfRow):
2969 (isPartOfMultiColumn): add assertions
2971 * lyxlength.C (inPixels): remove #warning
2973 2004-08-14 André Pönitz <poenitz@gmx.net>
2975 * paragraph.h: inline getChar()
2977 * BufferView.h: remove unused declarations
2979 2004-08-14 José Matos <jamatos@lyx.org>
2981 * Buffer.[Ch] (readDocument): new name for old readBody.
2982 * Buffer.C: new file format, new keywords: \begin_document,
2983 \begin_header, \begin_body, \end_body.
2985 * bufferparams.C (readToken): replace all calls to lex.nextToken
2986 by lex.next(). Do the same to eatLine except where really needed.
2988 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2989 line when writing to the lyx file.
2991 * output_plaintext.C (asciiParagraph): fix Bibliography style
2994 * text.C (read): fix end of file handling.
2996 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2998 * MenuBackend.C (Menu::operator[]): new method to access
2999 individual menu items
3000 (Menu::hasFunc): new method. search for an item that corresponds
3002 (MenuBackend::specialMenu): new method
3003 (MenuBackend::expand): if a special menu has been set, skip
3004 entries whose func() appears in this menu
3006 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
3008 * text3.C: use Debug::DEBUG a bit more
3010 * text.C (leftMargin): try to simplify a tiny bit change var x to
3011 l_margin. Dont output the wide margins always.
3012 (rightMargin): no margin in inner texts
3014 * rowpainter.h (nestMargin): new func
3015 (changebarMargin): new func
3016 (rightMargin): new func
3018 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
3022 * factory.C (createInset): modify setDrawFrame
3024 * cursor.C: use Debug::DEBUG a bit more
3026 2004-08-14 André Pönitz <poenitz@gmx.net>
3029 * Makefile.am: new files to accomodate an 'external' (x,y)-position
3030 cache for all insets in (at least partially) visible (top-level)
3033 * BufferView_pimpl.C: reset external coord cache before every update.
3034 This means the coord cache only contains valid entries.
3036 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
3039 * BufferView_pimpl.C (getInsetByCode): move function out of class
3040 and change in to a template in anon namespace. Also fix to do what
3043 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
3046 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
3048 (breakParagraph): rename par to par_offset and use a local
3049 reference. Add code to keep the language over a rebreak.
3050 (breakParagraphConservative): rename par to par_offset, use a
3052 (mergeParagraph): ditto
3054 (isFirstInSequence): ditto
3055 (outerFont): rename pit to par_offset
3057 * paragraph.C: ws change
3058 * paragraph.h: ditto
3062 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3064 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
3067 * paragraph.C (simpleTeXOnePar): when we have a \item with
3068 optional argument, enclose the argument with curly brackets (in
3069 case it contains a closing square bracket)
3073 * text3.C (checkInsetHit): constify
3075 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3077 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
3078 documents (bug 1629)
3080 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3082 Fix toggling of collapsable insets with the mouse (bug 1558)
3084 * lyxfunc.C (dispatch): adapt to LCursor changes
3086 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
3087 make sure that dispatch is not invoked twice
3089 * cursor.C (needsUpdate): new method
3090 (dispatch): return void
3091 (result): new method, to access the DispatchResult of the cursor.
3093 2004-08-13 José Matos <jamatos@lyx.org>
3095 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
3097 2004-08-13 André Pönitz <poenitz@gmx.net>
3099 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
3101 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
3104 2004-08-12 André Pönitz <poenitz@gmx.net>
3106 * text3.C: take out the 'cursor right' form insertInset and only
3107 do it in those places when it is really needed. Fixes crash on
3110 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3112 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
3114 * BufferView_pimpl.C (setBuffer): initialize the current font of
3115 the underlying LyXText
3117 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3119 * kbsequence.C (print): use UI native formatting for menu
3122 * text.C (insertChar): call Paragraph::insertChar with a font
3125 * paragraph.C (insertInset, insertChar): the version that takes a
3126 LyXFont argument is now a wrapper around the other one (the
3127 opposite used to be true).
3129 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
3130 argument. Font setting is done in Paragraph now.
3132 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3134 * outputparams.h: add new members intitle and lang.
3136 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
3137 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
3139 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3141 * text3.C (dispatch): remove special handling of button 4 and 5,
3142 it is now taken care of in the frontend code.
3144 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3146 * Spacing.h: add <string> (STLPort compile fix)
3148 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3150 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
3152 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3154 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
3157 * converter.C (showMessage): inherit from unary_function, make
3160 * buffer.C (writeFile): initialize retval
3162 * InsetList.h: rename private variable list to list_
3163 * InsetList.[Ch]: adjust accordingly.
3165 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3167 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
3168 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
3169 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
3170 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
3171 * ParagraphParameters.C, LaTeXFeatures.C: replace
3172 "support/std_sstream.h" with <sstream>
3174 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3176 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
3177 * lyxsocket.C (LyXServerSocket): ditto
3178 (serverCallback): ditto
3180 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3182 * LaTeXFeatures.C: check release date when loading jurabib.
3184 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3186 * lyxserver.C (startPipe): call register_socket_callback
3187 (endPipe): call unregister_socket_callback
3189 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3191 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3192 (LyXServerSocket): register the callback
3193 (LyXServerSocket): unregister the callback
3194 (fd): delete function
3195 (serverCallback): improve error checking and setup the callbacks.
3196 (dataCallback): change arg to fd.
3197 (writeln): new func (copied fro the client socket) used for server
3199 (LyXDataSocket): simplify
3200 (~LyXDataSocket): close ann unregiser callback
3201 (server): delete function
3202 (fd): delete function
3203 (readln): small changes, improve some std::string usage
3204 (writeln): constify a bit
3206 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3208 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3211 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3213 * BufferView_pimpl.C (setBuffer): set the layout combox value only
3214 after it has been populated
3216 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3218 * text2.C (insertInset): move cursor when inserting inset.
3220 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3222 * kbmap.C (findbindings): a couple of new methods. returns a
3223 container of kb_sequence objects. The real work is done by the
3224 private recursive version
3225 (printbindings): uses findbindings to print out a bracketed list
3226 of bindings (renamed from findbinding).
3228 * MenuBackend.C (binding): use kb_keymap::findbindings
3230 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3232 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3234 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3236 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3238 * paragraph.C (isWord): return true on insets that report
3241 * text.C (getWord): use Paragraph::isWord to decide what is in a
3242 word and what is not; fix bug 1609.
3244 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3246 * tex-strings.C: add "none" to string_paperpackages[], fixes
3247 off-by-one-error in the paperpackage selection.
3250 * tex-strings.[Ch]: char const * string[n]
3251 -> char const * const string[]
3253 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3255 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3256 command, return early.
3258 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3260 * debug.h: add DEBUG to enum and fix size of ANY.
3262 * debug.C: add support for Debug::DEBUG
3263 (showTags): cast errorTags.level to unsigned int
3265 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3266 (redoCurrentBuffer): ditto
3267 (updateScrollbar): ditto
3268 * cursor.C (dispatch): ditto
3269 * text2.C (setLayout): ditto
3271 (updateCounters): ditto
3273 (deleteEmptyParagraphMechanism): ditto
3275 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3277 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3278 annotations to cleanup the Makefile slightly.
3280 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3282 * lyxrc.C: do not set user_email to a default value but use empty
3283 instead. The entry used to be translated, which does not work
3284 since at the point where lyxrc is constructed there is no
3285 translation service available
3287 * messages.C (getLocaleDir): remove and use directly
3288 lyx_localedir() instead
3290 2004-06-02 Angus Leeming <leeming@lyx.org>
3292 Fix crash caused by dereferencing null pointer 'exportdata' in
3293 OutputParams by creating a new ExportData variable on the heap,
3294 storing it in a boost::shared_ptr.
3295 The crash was triggered when generating an Instant Preview
3296 of an external inset.
3298 * Makefile.am: add outputparams.C
3300 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3301 (c-tor): allocate memory to it.
3303 * exporter.C (c-tor): associated changes.
3305 2004-06-01 Angus Leeming <leeming@lyx.org>
3307 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3308 contains data before calling isInset(0). (Bug 1513.)
3310 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3312 * exporter.C (checkOverwrite): new method
3313 * exporter.C (copyFile): new method
3314 * exporter.C (Export): copy referenced files to the document dir
3315 * exporter.[Ch]: new class ExportedFile
3316 * exporter.[Ch]: new class ExportData. Contains currently the
3317 names of referenced external files
3318 * outputparams.h: add exportdata member.
3320 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3322 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3325 2004-05-19 Angus Leeming <leeming@lyx.org>
3330 * lyxfunc.C: small changes due to the introduction of namespace
3331 lyx::frontend and the moving of namespace biblio to lyx::biblio.
3333 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
3335 * text3.C (dispatch): supress update when only moving the cursor
3336 * cursor.C (selHandle): remove commented code
3338 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3340 * paragraph.C (startTeXParParams): correct column count
3341 * CutAndPaste.C (pasteSelection): remove const_cast
3342 * output_docbook.C (docbookParagraphs): remove const_cast
3343 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3344 const_cast and return ParagraphList::const_iterator
3345 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3346 * output_plaintext.C (writeFileAscii): remove const_cast
3347 * paragraph.[Ch] (simpleTeXOnePar): make const
3348 * paragraph_funcs.C (outerPar): use const iterators
3349 * paragraph_pimpl.C (validate): use const iterators
3350 * text.C (setHeightOfRow): use const iterators
3352 2004-05-17 Angus Leeming <leeming@lyx.org>
3355 * LyXAction.C (init): new LFUN_INSET_REFRESH.
3357 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3358 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3359 if the citation engine has changed.
3361 2004-05-14 José Matos <jamatos@lyx.org>
3363 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3364 if the textclass does not provide it. Have it different for sgml and
3366 support the language of document.
3367 * output_docbook.C (docbookParagraphs):
3368 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3369 first anchor as the id of the paragraph, remove special case code.
3370 * sgml.C (escapeChar): escape only < & >.
3372 2004-05-14 Angus Leeming <leeming@lyx.org>
3374 * bufferparams.h: move biblio::CiteEngine enum here to minimize
3375 dependencies on src/frontends/controllers/biblio.h. Define a
3376 CiteEngine_enum wrapper class to enable the enum to be forward
3379 2004-05-12 Angus Leeming <leeming@lyx.org>
3381 * buffer.C: up LYX_FORMAT to 234.
3382 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3383 use_numerical_citations with a single biblio::CiteEngine cite_engine
3385 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3387 2004-05-13 José Matos <jamatos@lyx.org>
3390 * converter.C (Converter, readFlags): add xml member.
3391 * outputparams.h: add XML flavor.
3392 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3394 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3396 * lyxfunc.C (dispatch):
3397 (getStatus): fix handling of LFUN_SEQUENCE
3399 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3401 * debug.C (showLevel): do not forget the end-of-line marker
3403 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3405 * kbmap.C (read): do not stop parsing a bind file when an error
3408 2004-04-29 Angus Leeming <leeming@lyx.org>
3413 * text2.C: wrap a bunch of #warning statements
3414 inside #ifdef WITH_WARNINGS blocks.
3416 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3418 * buffer.C: increment format to 233.
3420 2004-04-28 Angus Leeming <leeming@lyx.org>
3422 * BufferView_pimpl.C:
3425 s/updateToolbar()/updateToolbars()/
3426 s/Toolbar.h/Toolbars.h/
3428 2004-04-28 Angus Leeming <leeming@lyx.org>
3430 * BufferView.[Ch] (c-tor):
3431 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3432 No longer passes these data to the WorkArea generator.
3434 2004-04-28 Angus Leeming <leeming@lyx.org>
3436 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3438 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3440 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3442 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3444 * output_latex.C (TeXEnvironment): make sure that there is a line
3445 break before \end{foo} for the last paragraph of a document
3446 (TeXOnePar): if the paragraph is at the end of the document (or
3447 inset) and the language has to be reset, then make sure that the
3448 line break is _before_ the language command, not after (fixes bug
3449 1225); also make sure that the language reset command is the first
3450 thing after the paragraph (to ensure proper nesting of
3451 environments and thus fix bug 1404)
3453 2004-04-21 John Levon <levon@movementarian.org>
3456 * ToolbarBackend.C: make "name" be a programmatic name
3457 and a gui_name field.
3459 * lyxfunc.C: display the minibuffer on M-x
3461 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3463 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3466 2004-04-19 Angus Leeming <leeming@lyx.org>
3468 * BufferView_pimpl.C (setBuffer): changed preview interface.
3470 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3473 2004-04-19 John Levon <levon@movementarian.org>
3475 * BufferView_pimpl.C:
3476 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3478 2004-04-05 Angus Leeming <leeming@lyx.org>
3480 * text.C (redoParagraphs): add call to updateCounters(), thereby
3481 fixing the missing "Figure #:" label from the caption of a
3484 2004-04-13 Angus Leeming <leeming@lyx.org>
3486 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3487 cursor is clicked out of an inset.
3489 2004-04-13 Angus Leeming <leeming@lyx.org>
3491 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3492 than an InsetOld one.
3494 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3496 * format.[Ch]: add editor to Format
3497 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3498 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3500 2004-04-08 André Pönitz <poenitz@gmx.net>
3502 * metricsinfo.h: remove PainterInfo::width member
3504 2004-04-08 Angus Leeming <leeming@lyx.org>
3506 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3507 "\providecommand" rather than "\newcommand", thereby preventing
3508 clashes with packages that define "\boldsymbol" themselves.
3511 2004-04-08 Angus Leeming <leeming@lyx.org>
3513 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3514 thereby squashing an unnecessary warning.
3516 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3518 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3521 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3523 * BufferView.C (setCursor): call redoParagraph (some insets could
3525 (putSelectionAt): remove the 'double update' trick
3527 * BufferView_pimpl.C (fitCursor): call refreshPar
3528 (workAreaDispatch): remove an uneeded update call
3529 (dispatch): remove some manual update calls
3531 * cursor.[Ch]: remove cached_y_, updatePos
3532 (selHandle): set noUpdate when appropriate
3534 * lyxfunc.C (dispatch): track if we need an update
3536 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3538 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3539 (paintSelection): cheap optimization, do not call cursorX when not
3541 (paintPars): change signature
3544 (paintTextInset): adjust
3548 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3550 * lengthcommon.C: compilation fix: remove explicit array size from
3551 unit_name[] and friends
3553 2004-04-05 Angus Leeming <leeming@lyx.org>
3555 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3557 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3558 present only for the preferences dialog.
3559 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3561 2004-04-05 Angus Leeming <leeming@lyx.org>
3563 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3564 to enable the frontends to export changes to lyxrc correctly.
3566 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3568 2004-04-07 André Pönitz <poenitz@gmx.net>
3570 * cursor.[Ch] (selClear, adjust): remove math
3572 * cursor_slice.C: more agressive assert
3575 * BufferView_pimpl.C: rework mouse event dispatch
3582 2004-04-05 André Pönitz <poenitz@gmx.net>
3584 * cursor.[Ch] (valign, halign...): remove unneeded functions
3586 2004-04-05 Angus Leeming <leeming@lyx.org>
3588 * lyxlength.[Ch] (unit_name et al.): const-correct.
3590 2004-04-05 Angus Leeming <leeming@lyx.org>
3592 * BufferView_pimpl.C:
3601 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3603 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3605 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3607 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3609 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3610 * BufferView_pimpl.[Ch] (getStatus)
3611 * BufferView.[Ch] (getStatus): add
3612 * lyxfunc.C (getStatus): move lfuns handled in
3613 BufferView::dispatch to te function above
3614 * Cursor.C (setSelection): set selection() = true
3616 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3618 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3620 2004-03-31 Angus Leeming <leeming@lyx.org>
3622 * lyxfunc.C (dispatch): Fall through to the generic
3623 Dialogs::show("preamble").
3625 2004-03-31 Angus Leeming <leeming@lyx.org>
3627 * lyxfunc.C (dispatch): Fall through to the generic
3628 Dialogs::show("spellchecker").
3630 2004-03-31 Angus Leeming <leeming@lyx.org>
3632 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3635 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3640 * insetiterator.[Ch]:
3645 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3647 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3649 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3650 insets where we are putting the cursor.
3652 2004-03-31 Angus Leeming <leeming@lyx.org>
3655 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3657 * lyxrc.[Ch] (read, write): overloaded member functions taking
3658 a std::[io]stream arguments.
3660 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3662 2004-03-31 Angus Leeming <leeming@lyx.org>
3664 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3665 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3667 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3668 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3670 2004-03-31 Angus Leeming <leeming@lyx.org>
3672 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3673 the LFUN_ALL_INSETS_TOGGLE code.
3675 2004-03-30 Angus Leeming <leeming@lyx.org>
3677 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3678 has died. Fall through to the generic Dialogs::show("document").
3680 2004-03-30 Angus Leeming <leeming@lyx.org>
3683 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3684 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3686 * lyxfunc.C (getStatus, dispatch): define the actions for these
3687 lfuns. Little more than a cut and pste job from ControlDocument.C
3689 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3691 2004-03-30 Angus Leeming <leeming@lyx.org>
3694 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3695 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3697 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3698 open/closed state of ollapsable insets. Usage:
3700 all-inset-toggle <state> <name>, where
3701 <state> == "open" || "closed" || "toggle" and
3702 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3704 * lyxtext.h, text2.C (toggleInset): removed.
3706 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3707 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3708 now passes LFUN_INSET_TOGGLE to the found inset.
3710 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3711 is now invoked as "all-insets-toggle toggle branch".
3713 2004-03-30 Angus Leeming <leeming@lyx.org>
3717 * pariterator.[Ch]: added/corrected header blurb.
3719 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3721 * dociterator.[Ch]: add an inset_ member
3722 (backwardPos): implemented
3723 (backwardPos, forwardPos): use inset_ when the stack is empty.
3724 (doc_iterator_begin, doc_iterator_end): implemented
3725 * pariterator.[Ch]: adjust, add begin, end
3726 * insetiterator.[Ch]: adjust, add begin, end
3730 * BufferView_pimpl.C:
3731 * CutAndPaste.C: adjust
3733 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3735 * buffer.C: increment file format to 232.
3736 * LaTeXFeatures.C: add bibtopic package.
3737 * bufferparams.[Ch]: param \use_bibtopic.
3739 * lyxrc.[Ch]: add lyxrc bibtex_command
3740 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3742 * buffer.C: increment file format to 231.
3744 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3746 * dociterator.C: implement forwardPar
3747 * iterators.[Ch]: remove, replaced by
3748 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3750 * BufferView_pimpl.C:
3753 * bufferview_funcs.C:
3759 * Makefile.am: adjust
3761 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3763 * CutAndPaste.C (pasteSelection): fix 2 crashes
3764 (eraseSelection): fix a crash
3765 * paragraph_funcs.C: remove a warning
3767 2004-03-28 Angus Leeming <leeming@lyx.org>
3770 * LyXAction.C (init): new LFUN_PRINT.
3772 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3774 2004-03-27 Angus Leeming <leeming@lyx.org>
3777 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3779 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3781 2004-03-27 Angus Leeming <leeming@lyx.org>
3783 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3784 insetlist always contains non-null pointers to insets.
3786 2004-03-26 Angus Leeming <leeming@lyx.org>
3788 * src/BufferView_pimpl.C:
3789 * src/CutAndPaste.C:
3792 * src/output_plaintext.C:
3793 * src/outputparams.h:
3794 * src/paragraph_funcs.C:
3798 * src/frontends/controllers/ControlErrorList.C:
3799 * src/frontends/gtk/FileDialogPrivate.C:
3800 * src/frontends/gtk/GPainter.C:
3801 * src/frontends/gtk/GToolbar.C:
3802 * src/frontends/qt2/QRef.C:
3803 * src/mathed/math_scriptinset.C: squash compiler warnings.
3805 2004-03-26 Angus Leeming <leeming@lyx.org>
3807 * ispell.C (LaunchIspell::start):
3808 * lyx_cb.C (AutoSaveBuffer::start):
3809 invoke run(DontWait) rather than runNonBlocking().
3811 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3813 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3815 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3817 * kbsequence.C (print): adjust
3819 * kbmap.C (printKeySym): rename and change signature
3820 (printKey): use LyXKeySym::print()
3822 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3824 * undo.C: add using std::advance to compile for stlport
3826 2004-03-24 Angus Leeming <leeming@lyx.org>
3828 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3829 it leads to a crash when no buffer is present.
3831 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3832 Martin Vermeer <martin.vermeer@hut.fi>
3834 * lyxfunc.C (dispatch):
3835 * bufferparams.C (readToken): use the new LColor::setColor
3837 * LColor.[Ch] (setColor): new version that takes two strings as
3838 argument and creates a new color entry if necessary
3840 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3842 * buffer.C (makeLaTeXFile): if the main latex file that is
3843 processed is usually a subdocument of some master, then pretend
3844 for a while that it is actually the master
3846 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3848 * buffer.C (getLabelList):
3849 (getBibkeyList): use getMasterBuffer()
3850 (getMasterBuffer): new method. Returns the main document in the
3851 case where one is using included documents.
3853 2004-03-25 André Pönitz <poenitz@gmx.net>
3857 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3859 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3861 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3862 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3864 * ParameterStruct.h: merge with ParagraphParameters
3866 * lyxtext.h: remove LyXText::parOffset() and getPar()
3868 * text3.C: Remove all 'manual' update calls. We do now one per user
3869 interaction which is completely sufficient.
3873 * BufferView_pimpl.C:
3874 * FontIterator.[Ch]:
3876 * ParagraphParameters.[Ch]:
3881 * cursor_slice.[Ch]:
3888 * output_docbook.[Ch]:
3889 * output_latex.[Ch]:
3890 * output_linuxdoc.[Ch]:
3891 * output_plaintext.[Ch]:
3893 * paragraph_funcs.[Ch]:
3894 * paragraph_pimpl.[Ch]:
3902 * frontends/controllers/ControlDocument.C:
3903 * frontends/controllers/ControlErrorList.C:
3904 * frontends/controllers/ControlSpellchecker.C:
3907 * insets/insetbase.h:
3908 * insets/insetbibitem.C:
3909 * insets/insetbox.C:
3910 * insets/insetbranch.C:
3911 * insets/insetcaption.C:
3912 * insets/insetcharstyle.C:
3913 * insets/insetcharstyle.h:
3914 * insets/insetcollapsable.C:
3915 * insets/insetcollapsable.h:
3916 * insets/insetert.C:
3917 * insets/insetfloat.C:
3918 * insets/insetfoot.C:
3919 * insets/insetmarginal.C:
3920 * insets/insetnote.C:
3921 * insets/insetoptarg.C:
3922 * insets/insettabular.C:
3923 * insets/insettext.C:
3924 * insets/insettext.h:
3925 * insets/insetwrap.C:
3926 * mathed/math_mboxinset.C:
3927 * mathed/math_nestinset.C:
3928 * mathed/math_scriptinset.C:
3929 * mathed/math_scriptinset.h:
3932 2004-03-24 Angus Leeming <leeming@lyx.org>
3934 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3935 deal with any child processes that have finished but are waiting to
3936 communicate this fact to the rest of LyX.
3938 2004-03-24 Angus Leeming <leeming@lyx.org>
3940 64-bit compile fixes.
3942 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3943 (c-tor): pass lyx::pos_types rather than ints.
3945 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3948 * text.C (Delete): compile fix.
3949 (getPar): ensure that function declaration is the same as that in
3952 2004-03-23 Angus Leeming <leeming@lyx.org>
3954 * ispell.C (LaunchIspell):
3955 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3956 a boost::shred_ptr rather than a std::auto_ptr.
3958 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3960 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3961 handle LFUN_FILE_INSERT_*
3963 * lyxrc.C (setDefaults, getDescription, output, read):
3964 * lyxrc.h: remove ps_command
3966 2004-03-22 Angus Leeming <leeming@lyx.org>
3968 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3969 Ensure that error_handler is processed once only and that all data
3970 is saved before attempting to output any warning messages.
3972 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3974 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3976 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3978 2004-03-19 André Pönitz <poenitz@gmx.net>
3980 * cursor.[Ch] (reset): take main text inset as argument
3982 * BufferView: adjust
3983 * BufferView_pimpl.C: adjust
3985 * paragraph.[Ch]: fix completely broken operator=()
3987 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3989 * LColor.C (getFromLyXName): make sure that the color name is used
3992 2004-03-17 Angus Leeming <leeming@lyx.org>
3995 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3997 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3998 dialog and to kill a forked process.
4000 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
4002 * text2.C (setCursorFromCoordinates): fix font problem
4004 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
4006 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
4007 bogus "rebuild cursor" code
4009 2004-03-11 André Pönitz <poenitz@gmx.net>
4011 * buffer.[Ch]: use InsetText instead of LyXText as container for
4014 * dociterator.[Ch]: drop the BufferView * member which is not needed
4015 anymore after the change to buffer.C
4017 * paragraph_funcs.C:
4021 * BufferView_pimpl.[Ch]:
4023 * cursor_slice.[Ch]: adjust
4025 * text3.C: fix bug in mathDispatch
4027 2004-03-08 André Pönitz <poenitz@gmx.net>
4029 * undo.[Ch]: use 'StableDocumentIterator' as base for
4032 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4035 * bufferparams.[Ch]: add jurabib support and param.
4037 * LaTeX.C: add FIXME/comment.
4039 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4041 * buffer.C: increment file format to 230.
4043 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
4045 * cursor.C (dispatch): avoid infinite loops
4047 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4049 * rowpainter.C (paintSelection): fix x coordinates
4051 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4053 * text.C (rowBreakPoint): fix breaking before displayed insets
4055 2004-03-01 André Pönitz <poenitz@gmx.net>
4057 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
4059 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
4063 * BufferView_pimpl.C:
4071 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4077 * BufferView_pimpl.C: rename textwidth -> maxwidth,
4078 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
4080 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4082 * Bidi.[Ch] (computeTables): const correctness
4083 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
4084 fill_hfill, fill_label_hfill and x from Row
4085 * lyxtext.h: prepareToPrint returns a RowMetrics
4086 * rowPainter.C: adjust
4087 * text.C (prepareToPrint): use width, not textWidth. adjust
4088 (redoParagraphInternal, cursorX): adjust
4089 * text2.C (getColumnNearX): adjust
4090 (init): put a default value to the top LyXText::width
4092 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4094 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
4096 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4098 * lyxtext.h: add FontIterator class
4100 * text.C (FontIterator, operator*, operator->, operator++): add
4101 (rowBreakPoint, setRowWidth): adjust (fixing a
4104 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4106 * BufferView_pimpl.C (workAreaDispatch): allow also
4107 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
4109 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
4111 * text.C (rowBreakPoint): fix a bug showing with very large insets
4113 2004-02-25 André Pönitz <poenitz@gmx.net>
4116 * cursor.[Ch]: move some mathed specific code to mathed
4118 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4120 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
4121 use_tempdir in preferences
4122 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
4124 * lyx_main.C: ensure that tempdir is valid
4125 * lyxlex.h: correct typo
4126 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
4127 * paragraph.[Ch] (isMultiLingual): make const
4128 * cursor.[Ch] (openable): make const
4130 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4132 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
4134 2004-02-20 André Pönitz <poenitz@gmx.net>
4136 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
4138 * cursor.[Ch]: prepare for localized getStatus()
4144 * text3.C: streamlines the LyXText cursor movement handlers a bit.
4146 2004-02-20 André Pönitz <poenitz@gmx.net>
4148 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
4150 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
4152 * text2.C (setCursorFromCoordinates): switch to absolute coords
4154 (cursorDown): adjust
4155 * text3.C (dispatch): adjust
4157 2004-02-16 André Pönitz <poenitz@gmx.net>
4159 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
4162 * cursor_slice.[Ch]: remove unneeded acessor function
4164 * lyxtext.h: rename rtl() to isRTL()
4172 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
4174 * rowpainter.C (paintSelection): coord fix
4176 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4178 * Spacing.C: compile fix
4180 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
4182 * cursor.C (dispatch): restore current_ before returning
4184 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
4186 * text2.C (cursorUp, cursorDown): fix coords
4189 2004-02-12 André Pönitz <poenitz@gmx.net>
4194 * text3.C: add LCursor & parameter to most cursor movement functions
4195 remove usage of LyXText::cursorRow() and cursorPar()
4197 * cursor.[Ch]: add textRow() needed members
4200 * BufferView_pimpl.C:
4203 * BufferView_pimpl.C: adjust
4205 2004-02-11 André Pönitz <poenitz@gmx.net>
4209 * BufferView_pimpl.C: shift undo/redo handling
4211 * cursor.[Ch]: fix mathed crash
4214 * lyxtext.h: move selectionAsText to LCursor
4222 * rowpainter.C: fix excessive drawing
4224 2004-02-06 André Pönitz <poenitz@gmx.net>
4227 * BufferView_pimpl.[Ch]:
4228 * text3.C: move some text specific LFUN handling
4230 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
4232 * text3.C (checkInsetHit): adjust coords
4233 * text2.C (getColumnNearX): adjust coords
4234 (edit): adjust coords
4235 * text.C (getRowNearY): add two asserts
4237 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
4240 * format.C: add using std::distance to compile on gcc 2.95/stlport
4242 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
4244 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4246 2004-02-04 André Pönitz <poenitz@gmx.net>
4248 * BufferView.[Ch] (insertInset):
4249 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4254 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4256 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4257 on the default clause of the switch
4258 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4259 wasn't catched by LCursor::dispatch
4261 2004-02-03 André Pönitz <poenitz@gmx.net>
4264 * cursor.[Ch]: some additional asserts
4266 * undo.[Ch]: remove LyXText dependency in interface
4270 * lyxtext.h (firstPar, lastPar): remove dead functions
4275 * paragraph.[Ch]: adjust
4277 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4279 * lyxfind.C (find): fix argument order in call to ::find
4281 2004-02-02 André Pönitz <poenitz@gmx.net>
4283 * cursor.[Ch]: remove direct access to anchor
4285 * text.C: remove findText() hack
4287 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4289 * iterators.[Ch] (lockPath): remove in favour of...
4290 * BufferView.[Ch] (setCursor): this addition
4291 * BufferView.C (putSelectionAt): adjust
4292 * undo.C (performUndoOrRedo): adjust
4293 * lyxfunc.C (dispatch): adjust
4295 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4297 * iterators.C (lockPath): add a missing slice
4298 * undo.C (performUndoOrRedo): remove redundant positioning code
4300 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4302 * vc-backend.C (scanMaster): ";" -> ';'
4304 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4306 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4307 std::binary_function
4309 * lyxtextclass.C (compare_name): rename to...
4310 (LayoutNamesEqual): ...this
4312 * lyxlex_pimpl.C (compare_tags): inherit from
4313 std::binary_function, put back into anon namespace
4315 * lyxfind.C (MatchString): inherig from std::binary_function
4316 (findChange): use empty() istead of !size()
4318 * format.C (FormatNamesEqual): new functor
4325 * converter.C (compare_Converter): rename to...
4326 (ConverterEqual): ...this, and fixup a bit.
4327 (getConverter): use it, and make function const
4328 (getNumber): use it, and make function const
4332 * bufferlist.C: add using boost::bind
4334 * MenuBackend.C (MenuNamesEqual): new functor
4335 (hasMenu): use it, and make function const
4336 (hasSubmenu): use nested bind to get rid of compare_memfun.
4338 2004-01-30 André Pönitz <poenitz@gmx.net>
4340 * BufferView_pimpl.C:
4343 * cursor_slice.[Ch]:
4346 * paragraph_funcs.C:
4347 * paragraph_funcs.h:
4351 * text3.C: move some of the edit(x,y) handling to the insets
4352 some coordinate changes.
4354 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4356 * text.C: add using statements for std::advance and std::distance
4358 * paragraph.C: add using statement for std::distance
4360 * lyxfind.C: add using statement for std::advance
4362 * cursor.C (region): remove std:: from swap
4363 (openable): use nucleus in stead of operator->
4365 * BufferView.C: add using statements for std::distance and std::swap
4367 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4369 * iterators.C: Remove the pimple, move the needed structures to
4370 the header file. Create accessor for the positions stack.
4371 (asPosIterator): remove function
4373 * PosIterator.C (PosIterator): move constructors to top of file
4374 (PosIterator): reimplement the constructor taking a ParIterator in
4376 (setFrom): new function
4377 (operator!=): inline it
4379 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4381 * lyxfind.C (replaceAll): use std::advance
4383 * iterators.h: inherit from std::iterator.
4385 * PosIterator.C (advance, distance): remove
4386 * PosIterator.h: interit from std::iterator.
4388 2004-01-26 André Pönitz <poenitz@gmx.net>
4391 * BufferView_pimpl.[Ch]:
4395 * bufferview_funcs.C:
4405 * output_linuxdoc.C:
4406 * output_plaintext.C:
4408 * paragraph_funcs.[Ch]:
4409 * paragraph_pimpl.[Ch]:
4415 * text3.C: more IU: dumps most of the rest of the mathcursor
4416 implementation into cursor.[Ch]; "globalize" a bit of it.
4418 2004-01-25 Angus Leeming <leeming@lyx.org>
4420 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4422 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4424 * LaTeXFeatures.h: add nice_ and nice() const
4425 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4427 2004-01-20 André Pönitz <poenitz@gmx.net>
4430 * BufferView_pimpl.C:
4432 * bufferview_funcs.C:
4434 * cursor_slice.[Ch]:
4445 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4446 LCursor and mathcursor parts to LCursor and InsetBase.
4448 2004-01-15 André Pönitz <poenitz@gmx.net>
4450 * cursor_slice.[Ch]: add a few covienience functions
4452 * funcrequest.[Ch]: remove BufferView * member
4454 * BufferView_pimpl.C:
4461 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4463 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4465 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4466 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4468 2004-01-13 André Pönitz <poenitz@gmx.net>
4471 * lyxtext.h: hide cursor and selection anchor behind accessor function
4474 * BufferView_pimpl.[Ch]:
4476 * bufferview_funcs.C:
4486 * cursor_slice.[Ch]: some integer type changes for inset unification
4488 * lyxcursor.[hC]: remove, it's CursorSlice now.
4491 * BufferView_pimpl.[Ch]:
4492 * bufferview_funcs.C:
4498 * textcursor.[Ch]: adjust
4500 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4502 * text2.C (undoSpan): add and use
4503 * text.C (breakParagraph): use undoSpan (fix bug 578)
4506 2004-01-08 Angus Leeming <leeming@lyx.org>
4508 * BufferView_pimpl.C (MenuInsertLyXFile):
4509 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4510 * lyxfunc.C (menuNew, open, doImport):
4511 FileFilterList change to the FileDialog open and save functions.
4513 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4515 * ShareContainer.h: make isEqual and isUnique adaptable
4517 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4519 2004-01-07 Angus Leeming <leeming@lyx.org>
4522 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4524 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4526 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4527 functions replacing find, replace and replaceAll.
4529 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4530 LFUN_WORDFIND(FORWARD|BACKWARD).
4532 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4534 * text.C (breakParagraph): remove an outdated #warning
4536 2004-01-07 André Pönitz <poenitz@gmx.net>
4538 * lyxfind.C: somewhat clearer logic
4540 * text.C: prevent crash in cursorX on unitialized row cache
4542 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4544 * lyxcursor.[Ch] (operator>): add
4545 * textcursor.C (selStart, selEnd): use std::min and std::max
4547 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4549 * Chktex.C: include boost/format.hpp
4551 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4553 * InsetList.C: replace functor MathcIt with adaptable functor
4555 (insetIterator): modify accordingly
4557 * BranchList.h: move the BranchNamesEqual functor here from...
4558 * BranchList.C: ... to here
4560 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4562 (add): replace a finding loop with std::find_if.
4564 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4566 * output_docbook.C: moving LatexParam functionality into
4569 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4571 * buffer.C: increment format to 229.
4573 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4576 * lyx_sty.[Ch]: remove minipageindent_def
4582 * text3.C: remove LFUN_INSET_MINIPAGE
4584 2003-12-28 Angus Leeming <leeming@lyx.org>
4586 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4588 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4590 * text2.C (setParagraph): fix off-by-one crash
4592 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4594 * output_docbook.C: header stuff for AGU
4596 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4598 * text2.C (redoCursor): remove
4601 * BufferView_pimpl.C: remove calls to redoCursor and
4602 setCursor(cursor.par(), cursor.pos()) all around
4604 2003-12-15 Angus Leeming <leeming@lyx.org>
4606 * buffer.C: up the format to 228.
4608 2003-12-15 André Pönitz <poenitz@gmx.net>
4610 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4615 * BufferView_pimpl.C:
4624 2003-12-15 Angus Leeming <leeming@lyx.org>
4626 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4627 than getFromGUIName to manipulate the color.
4629 2003-12-14 Angus Leeming <leeming@lyx.org>
4631 * BranchList.[Ch]: minimize the API.
4632 (Branch::getBranch, getColor): now return a 'const &'.
4633 (Branch::setSelected) now returns a bool set to true if the
4634 selection status changes.
4635 (BranchList::clear, size, getColor, setColor, setSelected,
4636 allBranches, allSelected, separator): removed.
4637 (BranchList::find): new functions, returning the Branch with
4639 (BranchList::add, remove): return a bool indicating that
4640 the operation was successful.
4642 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4643 new InsetBranch::isBranchSlected member function.
4645 * LColor.[Ch]: mimimize the API.
4646 (fill): renamed as addColor and made private.
4647 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4648 versions of these functions taking a string arg have been removed.
4650 * bufferparams.C (readToken):
4651 * lyxfunc.C (dispatch):
4652 * lyxrc.C (read): changes due to the altered BranchList and
4655 * factory.C (createInset, readInset): changes due to altered
4658 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4661 * lyxfunc.C: remove insetminipage. "minipage-insert"
4662 now produces a frameless minipage box inset.
4664 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4666 * textcursor.[Ch] (selStart,selEnd): add new methods
4667 remove selection::start, end, use LyXCursor::operator<
4668 * lyxcursor.[Ch] (operator<): add
4669 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4670 * BufferView.[Ch] (unsetXSel): add
4671 * text2.C (clearSelection): use unsetXSel,adjust
4674 * rowpainter.C: adjust
4675 * bufferview_funcs.C (put_selection_at): adjust
4677 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4679 * BufferView_pimpl.C: small coord. correction
4681 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4683 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4684 dragging over the splash screen.
4686 2003-12-11 Angus Leeming <leeming@lyx.org>
4688 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4689 as it is now handled in LyXText::dispatch.
4691 * text3.C (doInsertInset): remove a level of nesting.
4693 2003-12-11 Angus Leeming <leeming@lyx.org>
4695 * factory.C (createInset): changes due to the changed interface to
4696 InsetCommandMailer::string2params.
4698 2003-12-10 Angus Leeming <leeming@lyx.org>
4700 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4701 'dialog-show-new-inset <inset name>'
4703 2003-12-10 Angus Leeming <leeming@lyx.org>
4705 * buffer.C: up the format to 227.
4707 * factory.C: the box inset is now identified simply by 'Box'.
4709 2003-12-10 Angus Leeming <leeming@lyx.org>
4711 * buffer.C: up the format to 226.
4713 * factory.C: the note inset is now identified simply by 'Note'.
4715 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4717 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4718 when a pit is enough. Standarize a couple of loops.
4720 2003-12-05 Angus Leeming <leeming@lyx.org>
4722 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4723 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4724 data to the re-worked "log" dialog.
4726 2003-12-03 André Pönitz <poenitz@gmx.net>
4732 * paragraph_funcs.C:
4734 * text2.C: use Inset::getText instead of Inset::getParagraph
4736 2003-12-03 André Pönitz <poenitz@gmx.net>
4740 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4741 InsetText::read() as LyXText::read()
4743 2003-12-02 Angus Leeming <leeming@lyx.org>
4745 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4746 type. Add a comment in the implementation that the function uses
4747 the stream's bad() function rather than fail() as the std::streams
4750 2003-12-02 André Pönitz <poenitz@gmx.net>
4752 * lyxlex.[Ch]: make interface more similar to std::stream
4754 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4756 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4758 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4760 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4762 * vspace.[Ch]: remove VSpace::NONE
4764 2003-12-01 André Pönitz <poenitz@gmx.net>
4767 * lyxtext.h: move ParagraphList member to LyXText
4768 rename LyXText::ownerParagraphs to LyXText::paragraph
4771 * bufferview_funcs.C:
4781 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4783 * undo.C: fix cursor positioning
4785 2003-12-01 John Levon <levon@movementarian.org>
4787 * BufferView_pimpl.C: fix a crash on exit with
4790 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4792 * BranchList.C: fix setSelected() method.
4794 2003-11-28 André Pönitz <poenitz@gmx.net>
4796 * ParagraphParameters.[Ch]:
4797 * ParameterStruct.h: remove space above/below from Paragraph to
4800 * BufferView_pimpl.C:
4806 * paragraph_funcs.C:
4812 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4814 * factory.C: Syntax change for CharStyles
4816 2003-11-28 André Pönitz <poenitz@gmx.net>
4821 * buffer.[Ch]: move LyXText member
4823 2003-11-28 André Pönitz <poenitz@gmx.net>
4825 * BufferView.[Ch]: make LyXText * text a private member
4827 * BufferView_pimpl.C:
4838 * output_plaintext.C: cleanup
4840 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4843 * lyxtextclass.[Ch]: parametrize SGML document header
4845 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4848 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4851 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4853 * text2.C (setFont): rework using PosIterator (no more recursive)
4854 (setCharFont): no more needed
4855 (setLayout): no more selection cursors fiddling (done by redoCursor)
4856 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4857 destroy remaining ones)
4859 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4861 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4863 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4866 * text3.C: adjust + re-allow multi par depth changes
4867 * textcursor.C: simplify a bit
4869 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4875 * src/output_docbook.C:
4876 * src/output_latex.C:
4881 * src/text2.C: Introducing a number of tags parametrizing various
4882 XML formats that we may want to support
4884 2003-11-25 André Pönitz <poenitz@gmx.net>
4886 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4888 * lyxtext.h (leftMargin/rightMargin): simplify interface
4895 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4897 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4898 master file to any child files. Fixes bug 546.
4900 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4902 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4904 2003-11-24 André Pönitz <poenitz@gmx.net>
4906 * rowpainter.C: simplification
4908 * text2.C (updateCounters): remove call to redoParagraph on
4909 changed labels as this is far too expensive.
4911 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4913 * converter.C (convert): fix a crash: this function gets
4914 called with buffer == 0 from importer code.
4916 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4918 * text3.C (cursorPrevious): make sure that we do not compare
4919 iterators form different containers.
4922 * rowpainter.C (paintSelection): make sure that we do not compare
4923 iterators from different containers.
4925 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4926 iterators from different ParagraphList containers.
4929 * text2.C (LyXText): change order of initialization slightly
4930 (operator=): new function. copy all variables except cache_par_
4931 (moveUp): make sure that we do not compare iterators from
4932 different ParagraphList constainers.
4935 * text.C (firstPar): new function
4936 (lastPar): new function
4937 (endPar): new function
4939 * lyxtext.h: move things around and group public functions, public
4940 variables, private functions, private variables
4942 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4944 * factory.C: change call to InsetERT constructor to avoid
4945 additional invocation of method status
4946 * text2.C (toggleInset): remove redundant update() call
4947 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4948 instead of a Bufferview pointer
4950 2003-11-21 André Pönitz <poenitz@gmx.net>
4952 * rowpainter.C: simplification
4954 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4956 * text3.C (dispatch): make possible to extend a word/row selection
4959 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4961 * lyxtext.h: x0_,y0_ -> xo_,yo_
4962 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4963 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4964 * rowpainter.C (paintRows): paint full paragraphs
4966 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4968 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4971 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4973 * lyxtext.h: add x0_, y0_
4974 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4975 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4977 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4979 * text2.C (setCursorIntern): move the x_target update here *
4980 * text3.C: change some bv() to true/false in calls to
4981 cursorUp/Down/Right/Left
4982 * cursor.C: use helper function.
4984 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4986 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4987 * paragraph_funcs.[Ch]: correct comment
4988 * rowpainter.C: do not paint selections away from bv->cursor()
4989 Fix a long standing selection painting bug.
4990 * text3.C: generalize mouse-selection code to LyXTexts other that
4992 * textcursor.C: do not use y coords if we can use par offsets
4994 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4996 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4997 cursor position after e.g. inset insert)
4999 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
5001 * lyxfind.C (replace): adjust to locking removal + some
5004 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
5006 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
5009 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
5012 * output_docbook.C: XML sanitation: new layout
5013 parameters InnerTag and CommandDepth
5015 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
5017 * BufferView_pimpl.C:
5019 * text3.C: Fix the insertion and modification of button-style
5022 2003-11-13 André Pönitz <poenitz@gmx.net>
5024 * InsetList.[Ch]: remove deleteLyXText
5026 * paragraph.[Ch]: cache beginOfBody position
5031 * text3.C: remove superfluous update() calls
5035 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
5037 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
5038 * BufferView.C (fitLockedInsetCursor): remove
5039 * cursor.[Ch] (getDim): add
5040 * text.C (getRowNearY): add faster version
5041 * text3.C: remove some update calls
5043 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
5055 * text3.C: The Character Style /XML short element patch.
5057 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
5060 * factory.C: Small step to solving 'unable to insert some insets'
5063 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
5065 * cursor.[Ch] (updatePos): new function for updating the y
5066 position of the tip inset
5067 * bufferview_funcs.C (put_selection_at):
5068 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
5070 2003-11-11 André Pönitz <poenitz@gmx.net>
5072 * text.C: remove big comment on invalid Paragraph pointers as it is
5075 2003-11-11 André Pönitz <poenitz@gmx.net>
5077 * text_funcs.[Ch]: merge with ...
5085 * Makefile.am: remove text_funcs.[Ch]
5087 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
5089 * cursor.C (getPos): return absolute cached y coord
5091 * BufferView_pimpl.C (fitCursor): new simplistic code
5092 (workAreaDispatch): add a fitCursor call
5094 2003-11-10 André Pönitz <poenitz@gmx.net>
5097 * BufferView_pimpl.[Ch]: merge update() and updateInset()
5099 2003-11-10 André Pönitz <poenitz@gmx.net>
5101 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
5102 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
5103 indicate that the cursor needs to leave an inset
5105 * lyxtext.h: remove inset locking
5107 * cursor.[Ch]: re-implement functionality provided by inset locking
5110 * BufferView_pimpl.[Ch]:
5112 * bufferview_funcs.[Ch]:
5124 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
5126 * PosIterator.[Ch]: replace the stack with a vector, add inset
5128 * iterators.[C]: adjust
5130 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
5132 * lyxfind.C (replaceAll): mark the buffer dirty if something was
5134 * paragraph_funcs.C (readParToken): put the correct id in the
5135 error item, not the id of the top paragraph
5137 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
5139 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
5140 * bufferview_funcs.C (put_selection_at): use the above
5142 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5144 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
5146 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5148 * output_linuxdoc.h:
5149 * output_plaintext.h:
5151 * output_docbook.h: add #include statements
5153 2003-11-05 José Matos <jamatos@lyx.org>
5155 * output_docbook.[Ch]:
5156 * output_latex.[Ch]:
5157 * output_linuxdoc.[Ch]:
5158 * output_plaintext.[Ch]: New files for output formats.
5159 * output.[Ch]: New file for helper functions.
5162 * paragraph_funcs.[Ch]: output functions moved to new files.
5164 * outputparams.h: rename of latexrunparams.h
5172 * paragraph_funcs.[Ch]:
5173 * paragraph_pimpl.[Ch]:
5174 * tabular.[Ch]: rename ascii to plaintext
5175 and LatexRunParams to OutputParams.
5177 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5179 * iterators.[Ch] (text): require bv argument
5180 * undo.C (recordUndo):
5181 * lyxfunc.C (dispatch):
5182 * bufferview_funcs.C (put_selection_at): adjust
5184 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
5186 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
5188 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5190 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
5193 2003-11-04 André Pönitz <poenitz@gmx.net>
5195 * cursor.[Ch]: restructure
5198 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5200 * iterators.[Ch] (asCursor): remove
5202 * lfuns.h: remove LFUN_INSET_EDIT
5208 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5210 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5212 * lyxfind.[Ch]: complete overhaul
5213 * BufferView_pimpl.C:
5215 * paragraph.[Ch] (insert): add
5217 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5221 * text.C: remove dead spellcheck code
5223 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5225 * dispatchresult.h: add a val setter
5227 * cursor.C (dispatch): use a tempvar for data_[i]
5229 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5231 * PosIterator.[Ch]: compile fix
5233 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5235 * text.C (cursorPar): deactivate the cursor cache
5237 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5239 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5241 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5243 * text3.C (dispatch): adjust for new DisptchResult semantics.
5245 * lyxfunc.C (dispatch): handle update when return from
5246 Cursor::dispatch, adjust for new DispatchResult semantics.
5248 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5249 DispatchResult(true) mean to not update. Add class functions for
5250 setting dispatched and update, as well as reading.
5252 * cursor.C (dispatch): don't handle update here
5254 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5256 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5257 * trans_mgr.C: adjust
5259 * paragraph_funcs.C (readParToken): exception safety
5261 * lyxvc.h: store the vcs pointer in a scoped_ptr
5264 * lyxsocket.C (serverCallback): exception safety
5266 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5268 * ispell.C (clone): make it return a auto_ptr
5270 * factory.C (createInset): exception safety
5271 (readInset): exception safety
5273 * bufferlist.C (newBuffer): exception safety
5275 * Thesaurus.C (Thesaurus): use initialization for aik_
5277 * MenuBackend.C (expandToc): exception safety.
5279 2003-11-03 André Pönitz <poenitz@gmx.net>
5283 * bufferview_funcs.C: remove getInsetFromId()
5286 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5292 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5294 * PosIterator.C (distance, advance): new
5295 * bufferview_funcs.[Ch] (put_selection_at): new
5296 * iterators.[Ch] (lockPath): new
5298 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
5300 * iterators.[Ch] (asPosIterator): added
5301 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5302 * PosIterator.[Ch]: added
5304 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5308 * cursor.C (dispatch):
5309 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5311 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5312 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5313 contructor, add a class function dispatched. Remove operator>=
5315 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5317 * debug.C: only use the default constructor for debugstream
5320 * main.C (main): include debug.h and setup the lyxerr streambuf
5323 2003-10-31 José Matos <jamatos@lyx.org>
5325 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5327 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5328 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5329 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5330 * paragraph_pimpl.C (simpleTeXSpecialC):
5331 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5332 add LatexRunParams argument.
5334 * exporter.C (Export): change call accordingly.
5336 * latexrunparams.h: add new member to take care of the other backends.
5337 2003-10-30 José Matos <jamatos@lyx.org>
5339 * buffer.C (makeLinuxDocFile, makeDocBookFile):
5340 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5341 factorise code for paragraph output.
5343 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5346 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5348 * text3.C (dispatch):
5349 * lyxfunc.C (dispatch):
5350 * cursor.C (dispatch):
5351 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5353 * dispatchresult.h: make the dispatch_result_t ctor explicit
5355 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
5358 * buffer.C: small refactoring of docbook stuff
5360 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5362 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5365 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5367 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5368 operator dispatch_result_t, and operators for == != and >=
5370 * cursor.C (dispatch): adjust for operator dispatch_result_t
5371 removal. comment out call to update
5373 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5375 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5383 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5386 * dispatchresult.h: new file, DispatchResult broken out of
5389 * Makefile.am (lyx_SOURCES): add dispatchresult.h
5391 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5393 * text.C (rowBreakPoint): put a hack inside #if 0
5395 2003-10-28 André Pönitz <poenitz@gmx.net>
5399 * paragraph_funcs.C:
5402 * text2.C: general cleanup (lots of small stuff)
5404 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5406 * text2.C (cursorEnd): simple fix to the "end key goes to one
5407 before the end on last row" bug
5409 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5411 * text.C (backspace): fix the "zombie characters"
5413 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5415 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5417 2003-10-27 André Pönitz <poenitz@gmx.net>
5419 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5421 * factory.C: handle new InsetPagebreak, InsetLine
5423 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5424 and move handling into new InsetPagebreak, InsetLine
5426 * BufferView_pimpl.C:
5428 * ParagraphParameters.C:
5429 * ParameterStruct.h:
5434 * paragraph_funcs.C:
5435 * paragraph_pimpl.C:
5441 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5444 * lyxrow_funcs.[Ch]:
5450 * text3.C: remove lastPos uses in favour of Row::endpos
5452 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5454 * undo.C (performUndoOrRedo): fix two crashes by setting a
5455 cursor by hand and reordering some calls. Use bv->lockInset instead
5456 of inset->edit because the latter loses cursor information
5458 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5460 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5462 (rowBreakPoint): fix width. change point to point + 1.
5463 Add a missing check.
5465 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5468 * lyxfunc.C: fix (at least partly) the problems
5469 with the Nav menu and headers inside branch insets
5472 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5474 * paragraph.C (getChar): add strong asserts
5476 * lyxrow_funcs.C (lastPos): remove hideous hack
5478 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5479 (fill): adjust to that (avoid an infinite loop)
5481 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5483 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5485 2003-10-23 André Pönitz <poenitz@gmx.net>
5487 * RowList_fwd.h: change list<> to vector<> to gain speed
5488 after suggestion from Alfredo
5490 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5492 * lyxtext.h: move the bidi stuff from here...
5495 * Bidi.[Ch]: ... to here
5497 2003-10-23 André Pönitz <poenitz@gmx.net>
5500 * text.C (isLastRow, isFirstRow): new functions
5502 * paragraph.h: new width cache member
5504 * rowpainter.C: replace RowList::iterator with Row & where possible
5506 * lyxfunc.C: replace several view()->text with a single call
5508 * toc.C: fix 'unused' warning
5510 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5512 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5513 when woring with stream::pos_type
5514 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5516 2003-10-22 André Pönitz <poenitz@gmx.net>
5519 * text.C: use Row & instead of RowList::iterator
5521 * lyxrow.h: rename end() to endpos()
5527 2003-10-22 Angus Leeming <leeming@lyx.org>
5529 * buffer.[Ch] (fully_loaded): new member function, returning true
5530 only when the file has been loaded fully.
5531 Used to prevent the premature generation of previews and by the
5532 citation inset to prevent computation of the natbib-style label.
5534 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5535 templates are all set up.
5537 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5539 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5541 * text.C: fixed an "oops" in the "is a bit silly"
5544 2003-10-21 André Pönitz <poenitz@gmx.net>
5546 * FuncStatus.[Ch]: small stuff, whitespace
5548 * lyxfont.[Ch]: operator<<() for debug reasons
5552 * lyxtext.h: whitespace, spelling
5554 * paragraph.C: naming of variables
5557 * text2.C: small stuff
5560 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5562 * text.C: (1) finish off the inset display() work;
5563 (2) fix the "is a bit silly" bug (accessing char
5566 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5568 * text.C: re-introduce display() for insets, fixing the
5569 various bugs (stretch of line above, math inset
5572 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5574 * text.C (rightMargin): remove spurious semicolon
5576 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5579 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5581 * text3.C: fix one crash due to wrong cursor def
5583 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5585 * vc-backend.C (scanMaster): make the regex static
5587 * LaTeX.C (scanAuxFile): make the regexs static
5589 * text3.C (doInsertInset, dispatch, dispatch):
5590 * text2.C (cursorUp, cursorDown):
5591 * text.C (selectNextWordToSpellcheck):
5592 * BufferView_pimpl.C (dispatch):
5593 * lyxfunc.C (dispatch): localDispatch -> dispatch
5595 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5597 * lyxsocket.C: include <cerrno>
5599 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5601 * lyxfunc.C (dispatch): remove textcache stuff
5603 * bufferlist.C (release): remove textcache stuff
5606 * TextCache.C: delete file
5607 * TextCache.h: delete file
5609 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5611 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5612 delete of the bv_->text.
5613 (resizeCurrentBuffer): remove texcache stuff
5614 (workAreaResize): ditto
5616 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5618 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5621 2003-10-16 André Pönitz <poenitz@gmx.net>
5628 * text3.C: speed up by storing y positions per paragraph plus per-row
5629 offset instead of having a 'full' y position in the row.
5631 2003-10-15 André Pönitz <poenitz@gmx.net>
5635 * undo.[Ch]: make undo aware of inner insets
5637 2003-10-14 Angus Leeming <leeming@lyx.org>
5639 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5640 static member functions LyX::ref() and LyX::cref.
5641 (lastfiles): new accessor functions for the new lastfiles_ member var.
5642 (addLyXView, views_): add a new LyXView to the list of views_.
5643 (updateInset): loop over all LyXViews to call their own updateInset
5644 member function, returning a pointer to the Buffer owning the inset.
5646 * BufferView_pimpl.C (loadLyXFile):
5647 * MenuBackend.C (expandLastfiles):
5648 * bufferlist.C (MenuWrite, QuitLyX):
5649 lastfiles is no longer a global variable.
5650 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5652 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5653 static function. Access through LyX::cref().emergencyCleanup().
5655 2003-10-14 André Pönitz <poenitz@gmx.net>
5657 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5659 * undo.[Ch]: restoring part of 'undo in insets'
5662 * undo_funcs.[Ch]: merge with undo.[Ch]
5664 * tabular.C: small cleansing stuff
5666 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5668 * paragraph_funcs.C (readParToken): report unknown insets as error
5669 boxes. Use the outer paragraph as location (also for unknown
5672 * factory.C (readInset): do not abort on reading an unknown inset.
5673 Eat it and return 0.
5675 2003-10-13 Angus Leeming <leeming@lyx.org>
5677 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5679 * lyxrc.C: displayTranslator is now a function,
5680 declared in GraphicsTypes.h.
5682 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5684 * format.C: new placeholder $$a to pass the socket address.
5686 * bufferlist.[Ch]: new function getBufferFromTmp.
5688 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5689 files in the temporary dir.
5691 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5693 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5695 * Makefile.am: add lyxsocket.[Ch].
5697 * lyx_main.C (error_handler): handle SIGPIPE.
5699 2003-10-13 André Pönitz <poenitz@gmx.net>
5701 * BufferView_pimpl.C:
5706 * undo_funcs.[Ch]: use paroffset_type instead of
5707 ParagraphList::iterators to prevent multiple conversion
5708 (and get a more robust interface)
5710 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5712 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5714 * text3.C (dispatch): ditto
5716 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5718 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5719 move the onlyfile, use onlyfile instead of foundfile in a couple
5722 * DepTable.C (update): flush the error stream a bit more
5724 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5726 * lyxserver.C (callback): adjust
5728 * lyxfunc.C (getStatus): add a missing brace in commented code
5729 (ensureBufferClean): reindent
5730 (dispatch): delete version taking a string
5732 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5734 * LaTeX.C (deplog): move found file handlig from here...
5735 (handleFoundFile): .. to new function here.
5736 (deplog): make sure to discover several files mentioned on the
5739 2003-10-10 André Pönitz <poenitz@gmx.net>
5746 * text3.C: fix some of the tabular crashes
5748 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5750 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5752 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5754 2003-10-09 André Pönitz <poenitz@gmx.net>
5756 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5759 * BufferView_pimpl.C:
5760 * bufferview_funcs.C:
5771 * undo_funcs.C: adjust
5773 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5775 * text2.C (incrementItemDepth): new function, use a backtracking
5776 algorithm to discover the correct item depth.
5777 (resetEnumCounterIfNeeded): new function, use a backtracking
5778 algorithm to discover if counter reset is needed.
5779 (setCounter): use them. Simplify a bit. Add different labels for
5780 different item depths for itemize.
5782 * paragraph.C (Paragraph): remove initialization of enumdepth
5785 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5786 enumerate and itemize. Change the type of itemdepth to signed char.
5788 2003-10-08 André Pönitz <poenitz@gmx.net>
5790 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5795 * tabular.[Ch]: fix crash after 'row-insert'
5797 2003-10-08 Angus Leeming <leeming@lyx.org>
5799 Fix doxygen warnings.
5801 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5802 Remove CutAndPaste:: prefix from header file declaration.
5804 * LColor.h (fill): remove LColor:: prefix from declaration.
5806 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5807 use lyx::depth_type rather than Paragraph::depth_type so that
5808 header file and .C file match.
5810 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5812 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5813 * aspell.C: \file aspell_local.C -> \file aspell.C
5814 * gettext.C: \file gettext.C -> \file src/gettext.C
5815 * gettext.h: \file gettext.h -> \file src/gettext.h
5816 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5817 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5818 * text.C: \file text.C -> \file src/text.C
5820 * toc.C: move comment so that doxygen is not confused.
5822 2003-10-07 Angus Leeming <leeming@lyx.org>
5824 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5826 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5829 * aspell_local.h: add forgotten std::string's.
5831 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5838 * text3.C: The Box patch. Fancybox support, minipage, parbox
5840 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5846 * ParagraphParameters.h:
5856 * lyxtextclasslist.h:
5859 * paragraph_pimpl.C:
5860 * textcursor.h: add <string> and other small fixes to make Lars'
5861 std::string patch compile with STLport.
5863 2003-10-06 Angus Leeming <leeming@lyx.org>
5865 * LColor.h: Add missing #include <string>.
5867 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5869 * All most all file in all subdirs: Make <string> be the prefered
5870 way of getting to std::string, add using declarations.
5872 2003-10-06 André Pönitz <poenitz@gmx.net>
5874 * metricsinfo.C: initialize LyXFont before changing attribute.
5875 (fixes the 'math in \emph is upright' bug)
5877 2003-10-06 André Pönitz <poenitz@gmx.net>
5879 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5881 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5884 * paragraph_pimpl.C: Small fixes to build using STLport
5886 2003-10-02 André Pönitz <poenitz@gmx.net>
5889 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5891 2003-10-01 André Pönitz <poenitz@gmx.net>
5893 * factory.C: assert early
5895 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5897 * lyx_main.C: remove the global debug object
5899 * debug.h: adjust for new debugstream
5901 * debug.C: adjust for new debugstream and keep the global debug
5904 2003-09-22 Angus Leeming <leeming@lyx.org>
5906 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5907 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5908 an incomplete class LyXFont.
5910 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5912 * factory.C: bug fix in branches
5914 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5916 * lyxfunc.C (processKeySym): adjust
5918 (dispatch): change arg name from ev to func, adjust
5919 (sendDispatchMessage): ditto
5921 * lyx_main.C (defaultKeyBindings): adjust keybindings
5922 (deadKeyBindings): ditto
5924 * kbsequence.C (addkey): return a FuncRequest
5926 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5928 * kbmap.C (bind): take a FuncRequest as arg, adjust
5931 (defkey): change to take a FuncRequest as arg, adjust
5932 (findbinding): take a FuncRequest as arg, adjust.
5934 * funcrequest.h (operator=): added
5936 * funcrequest.C (FuncRequest): default kb_action changed from
5937 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5939 * buffer.C (dispatch): simplify
5940 (dispatch): adjust to take a FuncRequest as arg, adjust
5942 * boost.C (assertion_failed): change assertion message slightly
5944 * ToolbarBackend.C (read): simplify
5946 * MenuBackend.C (binding): adjust call to findbinding, add a
5947 message if no binding is found.
5949 (expandToc): correct by adding a empty FuncRequest
5951 * LyXAction.C: include <boost/assert.hpp>
5952 (isPseudoAction): delete function
5953 (LookupFunc): change name to...
5954 (lookupFunc): this. change return type to FuncRequest.
5955 (getActionName): take kb_action as arg, simplify
5956 (funcHasFlag): add an assert, simplify.
5958 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5960 * toc.C (action): return a FuncRequest, simplify
5962 * lyxfunc.C (processKeySym): adjust
5963 (getStatus): delete version that takes an int.
5965 (dispatch): delete version that takes action as int
5967 (sendDispatchMessage): simplify and adjust
5969 * funcrequest.C (getArg): take unsigned int as arg
5971 * ToolbarBackend.C (read): adjust
5972 (add): delete version that takes func as a string.
5973 (getIton): take a FuncRequest as arg
5975 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5978 * MenuBackend.C (MenuItem): add a new construct that only takes a
5979 Kind, simplify the constructor use for submenus.
5981 (expandLastfiles): adjust
5982 (expandDocuments): adjust
5983 (expandFormats): adjust
5984 (expandFloatListInsert): adjust
5985 (expandFloatInsert): adjust
5986 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5988 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5989 Remove class variables lyx_pseudo_map and lyx_arg_map
5991 * LyXAction.C (searchActionArg): delete function
5992 (getPseudoAction): delete function
5993 (retrieveActionArg): delete function
5994 (LookupFunc): make it return kb_action, simplify.
5995 (getActionName): simplify
5997 * factory.C (createInset): fix new bug
5999 2003-09-19 Angus Leeming <leeming@lyx.org>
6001 * CutAndPaste.C (pasteSelection): remove fudge used to set the
6002 masterFilename_ parameter in the include inset.
6004 * factory.C (createInset): changes due to the changes to InsetInclude.
6006 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6008 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
6010 2003-09-18 Angus Leeming <leeming@lyx.org>
6013 * BufferView.C: pass the buffer when calling Inset::getLabelList,
6014 Inset::fillWithBibKeys.
6015 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
6017 2003-09-18 Angus Leeming <leeming@lyx.org>
6019 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
6021 (ctor): pass and store a 'Buffer const &'
6022 (buffer): new member function.
6024 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
6025 '*this' to the LaTeXFeatures ctor.
6027 2003-09-18 Angus Leeming <leeming@lyx.org>
6033 * text.C: rename EnumLColor as LColor_color.
6035 2003-09-18 Angus Leeming <leeming@lyx.org>
6037 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
6038 remove #include "insets/insetbase.h" from cursor.h.
6040 2003-09-18 Angus Leeming <leeming@lyx.org>
6042 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
6043 InsetOld_code to remove #include "inset.h".
6045 * iterators.C: add #include "insets/inset.h"
6047 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
6049 * BufferView.C: remove more locking stuff that apparently doesn't
6050 do anything sensible.
6052 2003-09-16 André Pönitz <poenitz@gmx.net>
6055 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
6058 2003-09-16 Angus Leeming <leeming@lyx.org>
6060 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
6062 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
6065 * paragraph.h: remove #include "lyxfont.h". Forward declare
6068 2003-09-16 Angus Leeming <leeming@lyx.org>
6070 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
6071 of support/textutils.h.
6072 (isWord): move the contents of support/textutils.h's IsWordChar here.
6078 * text2.C: add #include "paragraph.h".
6081 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
6083 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6089 * LaTeX.C: use namespace alias for lyx::support::os
6091 2003-09-16 Angus Leeming <leeming@lyx.org>
6094 * bufferview_funcs.C:
6097 * paragraph_pimpl.C:
6099 * text.C: add #include "LColor.h".
6101 2003-09-16 Angus Leeming <leeming@lyx.org>
6103 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
6104 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
6106 Store the FontBits::color variable as an int rather than as an
6107 LColor::colorso that we can move LColor.h out of the lyxfont.h header
6110 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
6111 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
6112 string calls together.
6114 * lyxrc.C: add #include "LColor.h".
6116 2003-09-15 Angus Leeming <leeming@lyx.org>
6118 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
6121 2003-09-15 Angus Leeming <leeming@lyx.org>
6123 * LColor.h: add an EnumLColor wrapper for LColor::color.
6125 * lyxfont.[Ch] (color, setColor, realColor):
6126 * lyxtext.h, text.C (backgroundColor):
6127 pass EnumLColor args to/from the functions, rather than LColor::color
6131 * lyxtext.h: forward declare EnumLColor.
6133 * lyx_main.C: add #include "LColor.h".
6135 2003-09-15 Angus Leeming <leeming@lyx.org>
6137 * .cvsignore: add lyx-gtk.
6139 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6144 * ParagraphParameters.C
6148 * bufferview_funcs.C
6158 * vc-backend.C: remove usage of STRCONV
6160 2003-09-15 Angus Leeming <leeming@lyx.org>
6162 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
6163 explicitly define the color passed to the painter.
6165 2003-09-15 Angus Leeming <leeming@lyx.org>
6167 * bufferparams.C (BufferParams): reorder member initializers to avoid
6170 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
6172 * CutAndPaste.C (pasteSelection): remove an outdated #warning
6173 * text.C (updateRowPositions): remove an unusual nop
6175 2003-09-12 André Pönitz <poenitz@gmx.net>
6177 * BufferView_pimpl.C:
6186 * Counters.[Ch]: finish the 'automatic counters' job
6188 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6190 * aspell.C: include <boost/assert.cpp> (compile fix)
6192 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
6194 * boost.C (assertion_failed): use lyx::support::abort instead of
6197 2003-09-10 Angus Leeming <leeming@lyx.org>
6199 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6200 with their _fwd progeny.
6202 2003-09-09 Angus Leeming <leeming@lyx.org>
6204 134 files throughtout the source tree: replace 'using namespace abc;'
6205 directives with the appropriate 'using abc::xyz;' declarations.
6207 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
6209 * boost.C (emergencyCleanup): moved here from LAssert.c
6210 (assertion_failed): new function, called by BOOST_ASSERT
6212 * several files: change Assert to BOOST_ASSERT
6214 2003-09-09 Angus Leeming <leeming@lyx.org>
6216 * buffer.[Ch]: Add an Impl class and move Buffer's member
6217 variables into it. As a result move several header files out of
6220 Add header files to lots of .C files all over the tree as a result.
6222 2003-09-09 Angus Leeming <leeming@lyx.org>
6224 * buffer.[Ch]: make Buffer's member variables private. Add
6227 Lots of changes all over the tree as a result.
6229 2003-09-08 Angus Leeming <leeming@lyx.org>
6231 * graph.C: #include <config.h>.
6233 2003-09-08 Angus Leeming <leeming@lyx.org>
6237 * BufferView_pimpl.C:
6266 * toc.C: remove redundant using directives.
6268 2003-09-07 Angus Leeming <leeming@lyx.org>
6270 * LaTeXFeatures.h: remove #include "support/types.h".
6271 * ToolbarBackend.h: remove #include <algorithm>.
6272 * changes.h: remove #include <ctime>.
6273 * debug.h: remove #include <iosfwd>.
6274 * graph.h: remove #include "support/std_string.h".
6275 * lyx_main.h: remove #include <csignal>.
6276 * lyxlex_pimpl.h: remove #include <fstream>.
6277 * sgml.h: remove #include <algorithm>, <utility>.
6278 * toc.h: remove #include "support/std_ostream.h".
6279 Add #include <iosfwd>.
6281 2003-09-07 Angus Leeming <leeming@lyx.org>
6283 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6285 * converter.h: forward declare LatexRunParams.
6286 * encoding.h: remove #include "lyxrc.h".
6287 * lyxtext.h: remove #include "LColor.h".
6288 * lyxtextclass.h: remove #include "support/types.h".
6289 * trans.h: remove #include "tex-accent.h".
6290 * trans_mgr.h: remove #include "tex-accent.h".
6291 * insets/inset.h: remove #include "support/types.h", <vector>.
6292 * insets/insetcollapsable.h: remove #include "LColor.h".
6293 * insets/insetinclude.h: remove #include "dimension.h".
6294 * insets/insetlatexaccent.h: remove #include "dimension.h".
6295 * insets/insetoptarg.h:: remove #include "insettext.h".
6296 * insets/insettext.h: remove #include "dimension.h",
6297 <boost/shared_ptr.hpp>
6299 * insets/renderers.h: add #include "dimension.h".
6300 * insets/updatableinset.h: add #include "support/types.h".
6302 * many .C files: Associated changes.
6304 2003-09-06 Angus Leeming <leeming@lyx.org>
6306 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6307 one, inside testInvariant.
6309 * PrinterParams.C: new file.
6310 * PrinterParams.[Ch]: move the function bodies out of line.
6312 2003-09-06 Angus Leeming <leeming@lyx.org>
6314 * ParagraphParameters.h: forward declare ParameterStruct rather than
6315 including its header file.
6316 (depth): moved out-of-line.
6318 2003-09-06 Angus Leeming <leeming@lyx.org>
6320 * BufferView_pimpl.h:
6323 * lyxfunc.h: forward declare LyXKeySym rather than
6324 #include "frontends/LyXKeySym.h".
6326 * BufferView_pimpl.C:
6329 * lyxfunc.C: associated changes.
6331 2003-09-06 Angus Leeming <leeming@lyx.org>
6333 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6334 As a result, can remove the #include "insets/inset.h" from BufferView.h
6336 2003-09-06 Angus Leeming <leeming@lyx.org>
6338 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6339 As a result, can remove the #include "insets/inset.h" from BufferView.h
6341 2003-09-06 Angus Leeming <leeming@lyx.org>
6347 * bufferview_funcs.C:
6348 * BufferView_pimpl.C:
6353 * ParagraphParameters.C:
6358 * frontends/controllers/ControlDocument.C:
6359 * insets/insetcaption.C: rearrange the #includes into some sort of
6362 * buffer.h: remove #includes ErrorList.h, undo.h
6364 2003-09-06 Angus Leeming <leeming@lyx.org>
6366 * support/types.h: add a 'depth_type' typedef, used to store the
6367 nesting depth of a paragraph.
6370 * ParameterStruct.h: use this lyx::depth_type typedef rather than
6371 defining explicitly.
6374 * paragraph_funcs.h:
6375 * ParagraphParameters.h:
6376 * sgml.h: use lyx::depth_type rather than Paragraph or
6377 ParameterStruct's depth_type.
6380 * paragraph_funcs.h: no need to #include paragraph.h anymore.
6383 * BufferView_pimpl.C:
6385 * ParagraphParameters.C:
6388 * bufferview_funcs.C:
6395 * frontends/LyXView.C:
6396 * frontends/controllers/ControlDocument.C:
6397 * frontends/controllers/ControlErrorList.C:
6398 * insets/insetbibitem.C:
6399 * insets/insetbranch.C:
6400 * insets/insetcaption.C:
6401 * insets/insetcollapsable.C:
6402 * insets/insetenv.C:
6403 * insets/insetert.C:
6404 * insets/insetfloat.C:
6405 * insets/insetfoot.C:
6406 * insets/insetfootlike.C:
6407 * insets/insetnewline.C:
6408 * insets/insetquotes.C:
6409 * insets/insettabular.C:
6410 * insets/insettext.C:
6411 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6413 * frontends/controllers/ControlChanges.C: #include "changes.h".
6415 2003-09-06 Angus Leeming <leeming@lyx.org>
6417 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6418 than #including paragraph.h.
6421 * RowList.h: deleted. Superfluous.
6431 * insets/insettext.h: use ParagraphList_fwd.h rather than
6434 * paragraph.h: don't forward declare ParagraphList.
6437 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6438 rather than ParagraphList.h. paragraph.h is still needed for the
6439 Paragraph::depth_type parameters.
6441 * textcursor.h: enable it to compile stand-alone in light of the
6444 * bufferview_funcs.C:
6456 * frontends/controllers/ControlParagraph.C:
6457 * frontends/controllers/ControlTabular.C:
6458 * insets/insetmarginal.C:
6459 * insets/insetminipage.C:
6460 * insets/insetnote.C:
6461 * insets/insetoptarg.C: add header files needed to compile again.
6463 2003-09-06 Angus Leeming <leeming@lyx.org>
6465 * RowList_fwd.h: new file, forward-declaring Row rather than
6466 #including lyxrow.h.
6471 * insets/insettext.h: use it instead of RowList.h
6473 * bufferview_funcs.C:
6480 * text3.C: #include "RowList.h".
6482 2003-09-05 Angus Leeming <leeming@lyx.org>
6484 * factory.C (createInset):
6485 * vspace.C (c-tor): replace sscanf call with an istringstream.
6486 * ispell.C: re-add missing HP/UX headers.
6487 * lyxserver.C: re-add missing os2 headers.
6489 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6498 * text3.C: re-add missing system headers, needed for 2.95.2.
6500 2003-09-05 Angus Leeming <leeming@lyx.org>
6502 Changes most place everywhere due to the removal of using directives
6503 from support/std_sstream.h.
6505 2003-09-05 Angus Leeming <leeming@lyx.org>
6507 Replace LString.h with support/std_string.h,
6508 Lsstream.h with support/std_sstream.h,
6509 support/LIstream.h with support/std_istream.h,
6510 support/LOstream.h with support/std_ostream.h.
6512 Changes resulting throughout the tree.
6514 2003-09-05 Angus Leeming <leeming@lyx.org>
6516 * sgml.h: ensure that the header file can be compiled stand-alone.
6517 * *.C: strip out redundant #includes. (320 in total.)
6519 2003-09-04 Angus Leeming <leeming@lyx.org>
6521 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6522 here (from getPackages).
6524 * debug.[Ch]: add a new EXTERNAL tag.
6526 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6528 * text2.C (cursorEnd): simplify
6530 (getColumnNearX): adjust
6532 * text.C (computeBidiTables): adjust
6535 * rowpainter.C (paintChars): adjust
6536 (paintSelection): adjust
6537 (paintChangeBar): adjust
6540 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6542 (numberOfSeparators): adjust
6544 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6550 * text3.C: Restricts the mouse click functionality
6551 of insets like bibtex, include, toc and floatlist to the visible
6552 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6553 up the dialogs. Cursor has to be in front of the inset (i.e.
6554 start of row) for this to function.
6556 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6558 * bufferview_funcs.C (currentState): output row information
6560 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6562 * bufferview_funcs.C (currentState): output paragraph position
6564 2003-09-04 Angus Leeming <leeming@lyx.org>
6566 * FloatList.h: move out #include "Floating.h".
6567 * LaTeX.h: move out #include "DepTable.h".
6568 * LyXAction.h: move out #include "funcrequest.h".
6569 * buffer.h: move out #include "author.h", "iterators.h".
6570 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6571 * lyx_main.h: move out #include "errorlist.h".
6572 * lyxfunc.h: move out #include "FuncStatus.h".
6573 * lyxtext: move out #include "lyxcursor.h".
6574 * paragraph_pimpl.h: move out #include "counters.h".
6576 2003-09-03 Angus Leeming <leeming@lyx.org>
6578 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6579 preamble_snippets list, enabling us to add snippets to the preamble
6580 only if the snippet was not there already.
6582 2003-09-04 Angus Leeming <leeming@lyx.org>
6584 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6586 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6588 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6591 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6593 * BranchList.C: point fix, earlier forgotten
6595 2003-09-02 Angus Leeming <leeming@lyx.org>
6597 * box.C (contains): renamed from 'contained' after a fantastic
6600 2003-09-02 John Levon <levon@movementarian.org>
6606 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6608 2003-09-02 John Levon <levon@movementarian.org>
6610 * text2.C: simplification of cursorEnd(), including partial
6613 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6615 * buffer.C (readFile): add a space
6617 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6619 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6621 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6623 * buffer.C (readFile): new function, take a filename and a
6624 ParagraphList::iterator
6626 (readFile): adjust, make it private. don't use setStream, make
6627 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6628 always contain the filename.
6630 * BufferView.C (insertLyXFile): simplify and make it work for
6633 2003-08-30 John Levon <levon@movementarian.org>
6635 * Makefile.am: fix dist (from Kayvan)
6637 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6639 * most files: change to use const Buffer refs
6641 2003-08-27 André Pönitz <poenitz@gmx.net>
6643 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6644 on top of ownerPar().
6646 2003-08-27 John Levon <levon@movementarian.org>
6648 * funcrequest.C: properly initialise POD members
6650 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6652 * lyxtext.h (top_y): move top_y from here
6657 * BufferView_pimpl.[Ch]: to here
6658 * frontends/screen.C:
6659 * insets/insettabular.C:
6660 * insets/insettext.C: adjust
6661 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6663 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6666 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6668 2003-08-26 André Pönitz <poenitz@gmx.net>
6670 * paragraph_func.[Ch] (outerPar): new function
6673 * paragraph_funcs.C:
6674 * paragraph_funcs.h:
6675 * paragraph_pimpl.C:
6676 * text2.C: remove Inset::par_owner
6678 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6683 * text2.C: eliminates the needFullRow/display() stuff
6684 altogether, putting the logic in metrics/draw in the insets.
6686 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6688 * text2.C (redoParagraphInternal, redoParagraphs):
6689 * text.C (redoParagraph): add a call to updateRowPositions at the
6690 end of each 'metrics-like' call. Remove all others.
6691 (getRow): remove the 'y-computing' version.
6692 (getRowNearY): do not compute nor return the real y. Solve the
6693 'y < 0' problem and simplify.
6695 2003-08-22 Angus Leeming <leeming@lyx.org>
6697 * *.[Ch]: clean-up of licence and author blurbs.
6698 Also move config.h out of a few .h files and into a few .C files.
6700 2003-08-22 André Pönitz <poenitz@gmx.net>
6702 * lyxrow.[Ch]: add x_ and *fill_ members
6707 * text2.C: adjust/remove prepareToPrint() calls
6709 2003-08-22 André Pönitz <poenitz@gmx.net>
6711 * lyxrow.[Ch]: add end_ member
6713 * lyxrow_funcs.C: use LyXRow::end_
6715 * lyxtext.h (singleWidth): add LyXFont parameter
6718 * text2.C: adjust LyXText::singleWidth() calls
6720 * text.C (redoParagraph): simplify row breaking logic
6723 2003-08-19 André Pönitz <poenitz@gmx.net>
6725 * funcrequest.C: initialize button_ member
6728 * rowpainter.[Ch]: interface consolidation
6730 2003-08-18 André Pönitz <poenitz@gmx.net>
6733 * BufferView_pimpl.C:
6735 * paragraph_funcs.C:
6737 * text3.C: remove LyXScreen::draw() and fitCursor calls
6739 * BranchList.h: remove spurious semicolons
6741 * MenuBackend.C: fix branchlist related crash
6743 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6751 * bufferparams.[Ch]:
6755 * text3.C: implements the 'branch inset'
6756 idea. This allows the output of various versions of a document
6757 from a single source version, selectively outputing or suppressing
6758 output of parts of the text.
6759 This implementation contains a 'branch list editor' in a separate
6760 tab of the document settings dialog. Branches are user definable
6761 and have a "display colour" to distinguish them on-screen.
6763 ColorHandler was somewhat cleaned up.
6764 (1) make possible a dynamically growing LColor list by allowing
6765 the graphic context cache to grow along (vector);
6766 (2) eliminate an IMHO unnecessary step in colour allocation.
6768 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6770 * BufferView_pimpl.C: compile fix
6772 2003-08-15 André Pönitz <poenitz@gmx.net>
6774 * rowpainter.C: remove extra metrics calls
6776 * lyxtext.h: merge the two constructors into a single one,
6777 pass reference to owner's par list
6779 * BufferView_pimpl.C:
6783 2003-08-15 André Pönitz <poenitz@gmx.net>
6785 * lyxrow_funcs.[Ch]:
6788 * paragraph_funcs.C:
6793 * text_funcs.C: split LyXText::rowlist_ into individual
6794 Paragraph::rows_ chunks
6797 * BufferView_pimpl.[Ch]:
6800 * text3.C: remove toggleSelection()
6802 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6804 * bufferlist.C: beautify two alerts (shorter text of buttons)
6805 * buffer.C: Remove redundant ' ' from message
6807 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6808 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6809 rename VALIGN_CENTER to VALIGN_MIDDLE
6811 2003-08-11 André Pönitz <poenitz@gmx.net>
6813 * lyxtext.h (getPar):
6814 * text.C: new function
6816 2003-08-11 André Pönitz <poenitz@gmx.net>
6819 * tracer.[Ch]: remove unneeded files
6821 * InsetList.[Ch]: remove resizeInsetsLyXText()
6826 * text3.C: merge insertParagraphs() and appendParagraph()
6827 remove breakAgain(), update()
6829 * BufferView_pimpl.[Ch]:
6830 * bufferview_funcs.[Ch]:
6834 * tabular.C: adjust after text & InsetList changes.
6836 2003-08-08 André Pönitz <poenitz@gmx.net>
6838 * text.C (insertChar, backspace): replace rowlist fiddling
6839 with rebreak of full par
6842 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6843 checkParagraph, updateInset): removed
6845 2003-08-07 André Pönitz <poenitz@gmx.net>
6848 * text3.C: merge some LFUN handlers, remove dead code
6850 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6852 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6854 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6856 * text2.C (DEPM): fix part of bug 1255 and 1256
6858 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6860 * BufferView_pimpl.C (workAreaDispatch): change to use
6861 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6862 that are no mouse related.
6864 2003-08-05 André Pönitz <poenitz@gmx.net>
6867 * BufferView_pimpl.[Ch]:
6868 * bufferview_funcs.C:
6870 * text3.C: rip out "deep update"
6872 * textcursor.[Ch] (last_sel_cursor): remove unused member
6874 2003-08-04 André Pönitz <poenitz@gmx.net>
6877 * BufferView_pimpl.[Ch]:
6878 * ParagraphParameters.C:
6879 * bufferview_funcs.C:
6885 * text3.C: replace "complicated" BufferView::update(...) calls with
6888 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6890 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6892 * Makefile.am (lyx_SOURCES): add paper.h
6894 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6896 * Makefile.am: move things around so that both lyx-qt and
6897 lyx-xforms can be built (according to --with-frontend). Then lyx
6898 is a symbolic link to lyx-[firstfrontend]
6900 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6902 * Always use std::endl with lyxerr
6904 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6906 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6908 2003-08-01 André Pönitz <poenitz@gmx.net>
6911 * BufferView_pimpl.[Ch]:
6913 * text3.C: merge BufferView::repaint() and BufferView::update()
6915 2003-08-01 José Matos <jamatos@lyx.org>
6917 * buffer.[Ch]: file_format is no longer a buffer data element.
6919 2003-08-01 André Pönitz <poenitz@gmx.net>
6924 * text2.C: make redoParagraph more independent of current cursor
6926 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6928 * text2.C: remove unneeded members
6930 2003-07-30 André Pönitz <poenitz@gmx.net>
6932 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6934 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6935 create a single function...
6937 * paragraph_funcs.C (moveItem): ... here.
6940 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6942 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6944 * LColor.[Ch]: Add comment and greyedout logical colors.
6946 2003-07-30 André Pönitz <poenitz@gmx.net>
6948 * tabular.C: don't use Assert too heavily. This crashes where it
6951 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6953 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6954 is disabled (bug 1232)
6956 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6958 * factory.C: limited 'arg' scope
6960 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6962 * factory.C: fixed Note submenu issues
6964 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6966 * factory.C: submenu for Note/Comment/Greyedout
6968 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6971 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6973 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6976 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6977 greyedout. Patch provided by Jürgen Spitzmüller.
6979 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6981 * kbmap.C (read): fix error message when reading bind files
6983 2003-07-29 Angus Leeming <leeming@lyx.org>
6985 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6986 certainly does not do what it purports to do. I am doing it, and
6987 us, a favour by killing it.
6989 2003-07-28 José Matos <jamatos@lyx.org>
6991 * buffer.C (readBody, do_writeFile):
6992 * paragraph.C(readParagraph): \end_document replaces \the_end.
6994 2003-07-29 André Pönitz <poenitz@gmx.net>
6997 * BufferView_pimpl.[Ch]:
7001 * textcursor.[Ch]: remove toggleToggle & Co
7003 2003-07-28 José Matos <jamatos@fep.up.pt>
7005 * buffer.C (readParagraph):
7006 * params_func (readParToken, readParagraph):
7007 * paragraph.C (write): \layout -> \begin_layout.
7009 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7011 * lyxlex_pimpl.C (setFile): clean up slightly.
7013 * bufferparams.h: add compressed var
7015 * buffer_funcs.C (readFile): adjust for LyXLex change
7016 (newFile): ditto + simplify
7018 * buffer.C (writeFile): handle writing of compressed files
7020 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
7021 Check if the file is compressed and set a bufferparm if so.
7023 * Makefile.am (lyx_LDADD): remove explicit -lz
7025 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7027 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
7028 makeDocBookFile): put the real LyX version in the first line of
7032 * version.C.in: remove lyx_docversion
7034 * tabular.C (write_attribute): add a template-based version to
7035 write enums properly
7037 2003-07-28 André Pönitz <poenitz@gmx.net>
7042 * text3.C: use doubles again for x-coordinates. They are needed.
7044 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7046 * messages.C (getLocaleDir): use lyx_localedir()
7048 * lyxlex_pimpl.C (setFile): compress stuff
7050 * buffer.C (writeFile): add some compression stuff
7051 (do_writeFile): new func, dont call expliti close... will this
7054 * Makefile.am (lyx_LDADD): add -lz
7056 2003-07-28 José Matos <jamatos@fep.up.pt>
7058 * buffer.C: increment file format.
7059 * paragraph_funcs (readParagraph, readParToken):
7060 * paragraph.C (readParagraph): add \end_layout.
7062 2003-07-27 Angus Leeming <leeming@lyx.org>
7064 * Makefile.am: remove special casing for configure-time setting of
7065 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
7067 * lyx_main.C (init): remove all Jean-Marc's magic setting of
7068 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
7070 2003-07-26 André Pönitz <poenitz@gmx.net>
7072 * paragraph_func.[Ch]:
7073 * paragraph.C (realizeFont): inline it whereever it is used
7078 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
7081 2003-07-26 André Pönitz <poenitz@gmx.net>
7085 * text2.C: get rid of LyXText::need_break_row
7087 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7089 * toc.[Ch]: put namespace toc inside namespace lyx
7091 * MenuBackend.C (expandToc2): adjust for lyx::toc
7094 * lyxfunc.C (dispatch): adjust for lyx::find
7096 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
7097 lyx::find instead. Reorganize a bit.
7098 (LyXReplace): rename to replace
7099 (LyXFind): rename to find
7101 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
7104 2003-07-26 André Pönitz <poenitz@gmx.net>
7106 * text.C (setHeightOfRow): restrict scope of temporary variable
7108 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
7109 code (never has been used?)
7111 2003-07-27 Asger Alstrup <alstrup@local>
7113 * text.C (fill): Optimise algorithm to exploit that we can reuse
7114 the LyXFont for many characters.
7115 (setHeightOfRow): Same thing.
7116 (rowBreakPoint): Same thing.
7118 2003-07-26 Asger Alstrup <alstrup@local>
7120 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
7122 * text.C (singleWidth): Spurious font copying in hot-spot
7123 singleWidth avoided. Reorder tests for arabic for efficiency.
7125 * text.C (fill): handle empty paragraphs better.
7127 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7130 * encoding.h: add includes
7132 * lyxrc.C: remove reading of bind files
7134 * lyx_main.C (init): setup bindings and menus only if we have a
7137 * kbmap.C (read): new method. Do the actual reading of bind
7140 * converter.C (dvipdfm_options):
7143 (output): adapt PAPER_* enums.
7145 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
7147 * bufferparams.h: remove paper-related enums from there
7149 * paper.h: New file. A trivial header file to hold paper-related
7150 enums. It should later expand to contain many paper-related
7153 * lyxrc.C: declare extern displayTranslator
7155 2003-07-27 José Matos <jamatos@fep.up.pt>
7157 * tabular.[Ch] (linuxdoc): add support for tables and figures
7160 2003-07-27 José Matos <jamatos@fep.up.pt>
7162 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
7163 consistency in both functions.
7164 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
7166 2003-07-26 Asger Alstrup <alstrup@local>
7168 * rowpainter.C (paintRows): Change algorithm to work directly on
7169 the insets rather than asking every character in the document
7170 whether its an inset.
7172 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
7174 * buffer.C (openFileWrite): factorize some code
7176 2003-07-26 Angus Leeming <leeming@lyx.org>
7179 * lyx_main.[Ch]: replace occurances of system_tempdir with
7182 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7184 * rename Inset to InsetOld
7186 2003-07-25 Asger Alstrup <alstrup@diku.dk>
7188 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
7189 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
7190 which I think is a bit clearer. EDIT is gone, since it was
7191 premature optimisation, and broken for mathed anyway.
7192 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7193 with cursor positioning in insets as well (math insets still do not
7194 work, but that's a different story anyway.) It mysteriously
7195 crashes sometimes with undo in the first paragraph, but I'm fairly
7196 confident that this is a compiler bug.
7198 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7200 * paragraph.C (Paragraph): adjust for new clone return type
7202 (copyIntoMinibuffer): ditto
7204 2003-07-25 Asger Alstrup <alstrup@lyx.org>
7206 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7207 by not having a special case, and always doing a full rebreak of
7208 the document after undo.
7210 2003-07-23 Angus Leeming <leeming@lyx.org>
7212 * factory.C (createInset): InsetExternal::setParams now takes a
7215 2003-07-23 Angus Leeming <leeming@lyx.org>
7217 * factory.C (createInset): changed interface to the external and
7218 graphics mailers' string2params functions.
7220 2003-07-23 Angus Leeming <leeming@lyx.org>
7222 * factory.C (createInset): pass a
7223 Buffer const * parameter to InsetExternalMailer's string2params.
7225 2003-07-22 John Levon <levon@movementarian.org>
7227 * Thesaurus.h: include the right aiksaurus header
7229 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7231 * MenuBackend.C (expand): check menu shortcuts unconditionally
7233 2003-07-21 Angus Leeming <leeming@lyx.org>
7235 * factory.C (createInset): pass a
7236 buffer_path parameter to InsetGraphicsMailer's string2params.
7238 2003-07-21 Angus Leeming <leeming@lyx.org>
7240 * BufferView_pimpl.C (buffer):
7243 * lyxfunc.C (dispatch):
7244 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7245 rather than the grfx shortcut.
7247 2003-07-21 André Pönitz <poenitz@gmx.net>
7249 * rowpainter.C: remove unused variables
7252 * tabular_funcs.h: move to tabular.C
7253 * Makefile.am: adjust
7255 * tabular.[Ch]: basic optical cleaning
7257 * author.h: pass references, not values
7259 2003-07-18 André Pönitz <poenitz@gmx.net>
7267 * text3.C: two-phase drawing for InsetText and InsetTabular
7268 some float -> int changes.
7270 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7272 * lyx_main.C: fix the fix
7274 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7276 * lyx_main.C: fix a crash in batch mode if no files specified
7279 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
7281 * format.[Ch] (papersize): moved to BufferParams
7282 * converter.[Ch] (dvips_options): moved to BufferParams
7283 (dvipdfm_options): moved to anon namespace
7284 * bufferparams.[Ch]: added above functions.
7286 2003-07-17 André Pönitz <poenitz@gmx.net>
7290 * text2.C: don't call inset->update() anymore
7292 * metricsinfo.[Ch]: add convenience constructor
7294 2003-07-16 André Pönitz <poenitz@gmx.net>
7299 * text2.C: replace the LyXCursor::irow_ member with
7300 on-demand computation of the value
7302 2003-07-16 John Levon <levon@movementarian.org>
7304 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7306 2003-07-15 André Pönitz <poenitz@gmx.net>
7309 * text2.C: remove no more needed refresh_row
7311 2003-07-15 André Pönitz <poenitz@gmx.net>
7316 * text3.C: refresh_status tristate -> need_update bool
7318 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
7320 * lyxtext.h (init): remove reinit argument (act as if always true)
7321 * text2.C: adjust to that
7323 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7325 * bufferview_funcs.[Ch]: introduce function replaceSelection()
7326 * text3.C: use it to delete selections in some cases
7327 (bugs 441, 673, 702, 954).
7329 2003-07-14 André Pönitz <poenitz@gmx.net>
7331 * rowpainter.[Ch]: reduce interface
7333 2003-07-14 André Pönitz <poenitz@gmx.net>
7335 * BufferView_pimpl.C:
7336 * text2.C: adjust after removing unused BufferView * argument
7338 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
7340 * text2.C (init): fix a crash fired on resize
7342 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
7344 * buffer.[Ch]: added new closing signal
7345 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7346 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7347 BufferView::Pimpl via the closing the signal
7349 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
7351 * buffer.[Ch]: take out all bv-related from buffer
7353 * BufferView_pimpl.[Ch]: connect to new signals
7354 * CutAndPaste.C: removed useless asserts
7355 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7358 * lyxfunc.C: moved view-related funciontality from vc here
7359 * paragraph.C: removed outdated comments
7362 2003-07-10 André Pönitz <poenitz@gmx.net>
7364 * BufferView_pimpl.C:
7368 * text2.C: remove InsetText::InnerCache, clean up consequences
7370 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7372 * ispell.C: fix two typos in error messages
7374 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
7376 * Extend Note inset to other forms of annotation like Comment
7377 and Greyedout. Right button click gives dialog.
7379 Files modified or added (+):
7383 * ControlNote.[Ch] +
7385 * Makefile.am in frontends/xforms, frontends/xforms/forms,
7386 frontends/controllers
7390 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7392 * aspell.C: add missing namespace lyx::support
7394 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
7396 * BufferView.[Ch] (newFile): Add
7397 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7398 * LaTeX.[Ch] (message): added this signal and use it
7399 * buffer.[Ch] (busy, message): added these signals and use them
7400 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7404 * importer.C: use buffer signals instead of direct bv calling
7405 * lyx_cb.[Ch] (ShowMessage): removed
7408 * paragraph_funcs.C:
7409 * text2.C: use buffer signals
7411 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7413 * introduce namespace lyx::graphics
7415 2003-07-02 André Pönitz <poenitz@gmx.net>
7417 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7419 2003-07-01 André Pönitz <poenitz@gmx.net>
7426 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7427 text*.C to text_func.C
7429 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7431 * introduce namespace lyx::support
7433 2003-06-30 André Pönitz <poenitz@gmx.net>
7438 * text.C: re-enable --with-included-string
7440 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7442 * textcursor.C: add <config.h>
7444 * text.C (getWord): remove const from word_location arg
7446 * lyxvc.C (getLogFile): fix const type order
7448 * lyxtext.h: remove const from word_location arg, add arg name
7450 * lyxlayout.h: currect type on labeltype.
7452 * importer.C: correct \file
7454 * converter.C (intToFormat): use std:: on ret val, ws changes
7456 * bufferlist.h: correct \file
7458 * buffer.C (makeLinuxDocFile): fix const type order
7459 (makeDocBookFile): ditto
7460 (fillWithBibKeys): use std:: on stdlib args.
7462 * CutAndPaste.C: fix authors.
7463 (availableSelections): use std:: on return vector
7465 2003-06-27 André Pönitz <poenitz@gmx.net>
7467 * BufferView_pimpl.C:
7468 * bufferview_funcs.C:
7476 * text3.C: remove LyXCursor::row_ member
7479 * text.C: rename fullRebreak() to partialRebreak() and implement
7480 a fullRebreak() that really bereks fully
7482 * textcursor.h: new struct for cursor-related data
7484 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7486 * lyx_main.C (LyX): get full path of document loaded on the
7489 2003-06-26 André Pönitz <poenitz@gmx.net>
7491 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7492 remove unused/broken operator>,<,>=.
7494 * text.C: remove only use of broken operator<= in an Assert().
7496 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7498 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7499 moved errorlist_.clear to showErrorList
7501 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7503 * converter.C (scanLog, runLaTeX):
7504 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7505 move the bv->showErrorList call to the callers
7506 * lyxfunc.C: i.e. here...
7508 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7509 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7510 namespace, the second to...
7511 * buffer_funcs (BufferFormat, parseErrors): added
7512 * errorlist.C (ErrorList(TeXErrors const &)): removed
7514 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7516 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7518 2003-06-24 "Garst R. Reese" <reese@isn.net>
7522 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7524 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7526 * version.C.in: change docversion to 1.4
7528 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7530 * buffer.C: fix a bug just introduced
7532 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7534 * buffer.[Ch]: added the parseError signal and use it, removed
7536 * BufferView.[Ch] (addError): moved to ...
7537 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7538 to the Buffer::parseError signal to catch (guess what) parse errors
7539 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7541 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7543 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7544 ability to create a buffer and to return an existing one from
7545 the list. Moved these functions to...
7546 * buffer_funcs.[Ch]: added
7547 * BufferView.[Ch] (loadLyXFile): added
7548 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7549 job removed from bufferlist::loadLyXFile.
7550 * buffer.C (setReadOnly): make it work without view
7551 (i.e added an if (users))
7553 2003-06-19 Angus Leeming <leeming@lyx.org>
7556 * LyXAction.C (init):
7557 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7558 with LFUN_DIALOG_SHOW <name> <data>.
7560 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7562 * CutAndPaste.C (availableSelections): small compilation fix for
7563 ancient (gcc 2.9x) compilers
7565 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7567 * text3.C (cursorNext): add tmp var
7569 * text2.C (updateCounters): for function calling out of for clause
7570 (replaceSelectionWithString): ditto
7571 (insertStringAsParagraphs): ditto
7572 (getColumnNearX): add tmp var
7573 (setCursorFromCoordinates): add tmp var
7574 (cursorDownParagraph): add tmp var
7575 (deleteEmptyParagraphMechanism): add tmp var
7577 * text.C (insertChar): add tmp var
7579 * rowpainter.C (paintDepthBar): add tmp var
7581 * CutAndPaste.C (availableSelections): potentially check all
7582 paragraphs in a cut to fill the shown strings.
7584 2003-06-18 André Pönitz <poenitz@gmx.net>
7586 * kbmap.[Ch]: use vector<> instead of list<>
7588 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7590 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7591 pasteSelection with index
7593 * text2.C (pasteSelection): modify, call pasteSelection with index
7595 * paragraph.C (asString): reimplement version with no interval to
7596 call the one with interval.
7598 * lyxtext.h: add index arg to pasteSelection
7600 * MenuBackend.C (MenuItem): handle PasteRecent
7601 (Menu::read::Menutags): add md_pasterecent
7603 (expandPasteRecent): new function
7606 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7608 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7610 (availableSelections): new function
7612 2003-06-17 Angus Leeming <leeming@lyx.org>
7614 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7616 2003-06-17 Angus Leeming <leeming@lyx.org>
7619 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7621 * lyxfunc.C (dispatch): invoke it.
7623 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7625 * iterators.C (operator++, ParPosition): reintroduce some
7626 const_cast for the benefit of older compilers.
7628 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7630 * text3.C (dispatch): do not modify clipboard when doing
7631 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7632 LFUN_DELETE_SKIP on a selection selection
7634 2003-06-16 André Pönitz <poenitz@gmx.net>
7640 * tabular.[Ch]: IU of clone() and getLabelList();
7642 2003-06-13 André Pönitz <poenitz@gmx.net>
7644 * tabular.h: compactification
7646 2003-06-12 André Pönitz <poenitz@gmx.net>
7650 * tabular_funcs.h: some renaming plus whitespace
7652 2003-06-12 André Pönitz <poenitz@gmx.net>
7655 * BufferView_pimpl.C:
7661 * toc.C: Return a Paragraph & for ParIterator::operator*()
7663 2003-06-11 John Levon <levon@movementarian.org>
7667 * ToolbarBackend.C: add "Toolbars" section and
7670 2003-06-10 Angus Leeming <leeming@lyx.org>
7673 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7675 * lyxfunc.C (dispatch): invoke it.
7677 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7679 * main.C: protect <ios> with HAVE_IOS
7680 (main): protect sync_with_stdio with HAVE_IOS
7682 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7684 * text2.C (cutSelection): adjust
7685 (pasteSelection): adjust
7687 * messages.C: handle get of empty string
7689 * main.C (main): use sync_with_stdio(false)
7691 * lyxfunc.C (dispatch): adjust
7693 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7694 (WriteAs): remove unneeded BufferView arg.
7696 * bufferparams.h: use correct types on papersize, papersize2 and
7699 * bufferparams.C (readToken): adjust for type
7700 (writeLaTeX): add missing cases to switch.
7702 * bufferlist.C (quitWriteBuffer): adjust
7705 * buffer.C (asciiParagraph): remove some commented code.
7707 * CutAndPaste.C: remove current_view extern variable.
7708 (cutSelection): add BufferParams arg.
7709 (eraseSelection): add BufferParams arg.
7710 (pasteSelection): add Buffer const & arg
7712 2003-06-07 John Levon <levon@movementarian.org>
7715 * paragraph_funcs.C:
7716 * paragraph_pimpl.C:
7720 * paragraph.C: allow InsetERT to freely space lines,
7721 and some consolidation of code
7723 2003-06-06 José Matos <jamatos@fep.up.pt>
7725 * buffer.C (makeDocBookFile): fix bug #821
7727 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7729 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7731 2003-06-04 Angus Leeming <leeming@lyx.org>
7733 * buffer.C: bump format to 224.
7735 2003-06-05 André Pönitz <poenitz@gmx.net>
7737 * text2.C (redoParagraphs): remove two const_cast<>
7739 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7741 * ParagraphList.h: remove last remnants of NO_STD_LIST
7743 2003-06-03 Angus Leeming <leeming@lyx.org>
7745 * factory.C (createInset): small change to the way InsetExternal's params
7748 2003-06-04 André Pönitz <poenitz@gmx.net>
7750 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7752 * paragraph_pimpl.h:
7753 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7755 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7757 * undo_funcs.C: make some simple cases of undo work again
7759 2003-06-03 John Levon <levon@movementarian.org>
7761 * ispell.C: HPUX doesn't have sys/select.h
7764 2003-06-03 John Levon <levon@movementarian.org>
7766 * CutAndPaste.C: update tabular and include inset
7771 * paragraph.C: remove owningBuffer(), don't pass Buffer
7774 * factory.C: insetGraphicsParams changed
7776 2003-06-02 John Levon <levon@movementarian.org>
7782 * text3.C: remove insetparent
7784 2003-06-02 John Levon <levon@movementarian.org>
7787 * buffer.C: fix inset_iterator.end(), move out of line
7790 2003-06-01 John Levon <levon@movementarian.org>
7792 * text3.C: use a proper cut/paste when doing inset
7793 insert (from Jürgen Spitzmüller)
7795 2003-06-01 John Levon <levon@movementarian.org>
7797 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7799 2003-05-30 André Pönitz <poenitz@gmx.net>
7801 * rowpainter.C: unify second drawing phase
7803 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7805 * trans_mgr.C: remove one case of current_view
7807 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7809 * paragraph_funcs.h: remove paragraph.h include
7811 * paragraph.h: delete NO_STD_LIST stuff
7813 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7815 * buffer.h: remove paragraph.h include
7817 * ParagraphList.C: delete file
7819 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7821 * toc.C (getTocList): adjust
7823 * paragraph_pimpl.C (validate): adjust
7825 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7827 * paragraph.C (Paragraph): adjust
7828 (getPositionOfInset): use const_iterator, adjust
7829 (bibitem): use const_iterator, adjust
7830 (setInsetOwner): adjust
7832 * iterators.C (operator++): adjust
7834 * InsetList.[Ch]: Replace selfmade iterator with standard
7835 vector::iterator also introduce const_iterator. Remove getPos,
7836 getInset and setInset from InsetTable. Adjust accordingly.
7838 * BufferView.C (lockInset): adjust
7839 (ChangeInsets): adjust
7841 * tabular.[Ch]: delete commented same_id functions
7843 2003-05-28 John Levon <levon@movementarian.org>
7845 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7847 2003-05-28 André Pönitz <poenitz@gmx.net>
7849 * metricsinfo.[Ch]: remove 'fullredraw' member
7851 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7853 * lyxtextclass.C (operator): remove caching.
7855 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7859 * text2.C (cursorBottom): adjust
7860 (setCounter): use ParagraphList::find, adjust
7862 * text.C (workWidth): use ParagraphList::find, adjust
7864 * lyxcursor.C (LyXCursor): adjust
7866 * buffer.C (inset_iterator): adjust
7868 * ParagraphList.h: make iterator(value_type) private, make
7869 ParagraphList a friend of iterator.
7871 * ParagraphList.C (find): new function
7873 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7875 2003-05-27 André Pönitz <poenitz@gmx.net>
7877 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7879 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7881 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7883 2003-05-26 John Levon <levon@movementarian.org>
7885 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7887 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7889 * remove same_id from function signatures, adjust.
7891 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7893 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7895 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7897 * paragraph.C (Paragraph): get rid of same_ids parameter
7899 * ParagraphList.C (insert): adjust
7902 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7904 * paragraph_funcs.C (breakParagraph): adjust
7905 (breakParagraphConservative): adjust
7907 * buffer.C (readParagraph): adjust
7909 * ParagraphList.C (insert): take a reference instead of a pointer
7912 * paragraph.[Ch] (id): new function
7914 * bufferlist.C (newFile): adjust
7916 * ParagraphList.C (ParagraphList): adjust
7918 (push_back): take a reference instead of a pointer.
7920 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7922 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7925 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7926 set else use old code.
7928 * ParagraphList.C: remove all NO_NEXT code and only compile this
7929 code of NO_STD_LIST is set.
7931 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7933 * BufferView_pimpl.C:
7943 * graphics/GraphicsConverter.C:
7944 * graphics/PreviewLoader.C: header adjustment
7946 2003-05-23 Angus Leeming <leeming@lyx.org>
7948 * LaTeXFeatures.[Ch] (useBabel): new method.
7949 * bufferparams.C (writeLaTeX): use it.
7951 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7953 * ParagraphList.h (set): remove unused function.
7955 2003-05-23 André Pönitz <poenitz@gmx.net>
7958 * BufferView_pimpl.C:
7962 * undo_funcs.C: setUndo reworked
7964 * iterators.[Ch]: add access to topmost ParagraphList
7966 * lyxtext.[Ch] (workWidth): add a const
7968 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7970 * texrow.[Ch] (increasePos): remove function
7971 * exporter.C (export): removed unused var and outdated comment
7973 2003-05-23 Angus Leeming <leeming@lyx.org>
7975 * latexrunparams.h: rename fragile as moving_arg.
7976 * paragraph.C (simpleTeXOnePar): ditto.
7977 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7979 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7981 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7983 (textUndoOrRedo): comment out a currently unused var.
7985 * paragraph.h (NO_NEXT): enable NO_NEXT
7987 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7989 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7991 * exporter.C (Export): adjust for removeAutoInsets removal.
7993 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7995 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7997 * BufferView.[Ch] (removeAutoInsets): delete function
7999 2003-05-22 Angus Leeming <leeming@lyx.org>
8001 * latexrunparams.h: add a free_spacing variable.
8003 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
8004 to pass moving_arg, as the data is stored in runparams.fragile.
8006 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
8007 to Inset::latexOptional or to simpleTeXOnePar.
8009 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
8010 free_spacing arg to Inset::latexOptional.
8012 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
8015 2003-05-22 Angus Leeming <leeming@lyx.org>
8017 * latexrunparams.h: add fragile and use_babel variables.
8019 * bufferparams.[Ch] (writeLaTeX): return use_babel.
8020 * buffer.C (makeLaTeXFile): store this returned value in
8021 runparams.use_babel, thus passing it to the inset::latex methods.
8023 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
8024 simpleTeXSpecialChars as it is now stored in runparams.fragile.
8026 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
8027 longer has a fragile arg, as it is stored in runparams.fragile.
8029 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
8030 moving_arg parameter as the data is stored in runparams.fragile.
8032 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
8033 a fragile parameter as the data is stored in runparams.fragile.
8035 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8037 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
8039 2003-05-22 Angus Leeming <leeming@lyx.org>
8041 * latexrunparams.h: add a 'bool nice' which defaults to false.
8043 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
8044 now encapsulated within runparams.
8046 * bufferlist.C (updateIncludedTeXfiles):
8047 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
8049 2003-05-22 Angus Leeming <leeming@lyx.org>
8051 * latexrunparams.h: new file containing struct LatexRunParams.
8052 * Makefile.am: add new file.
8054 * LaTeX.[Ch] (c-tor, run):
8055 * buffer.[Ch] (makeLaTeXFile):
8056 * bufferlist.[Ch] (updateIncludedTeXfiles):
8057 * converter.C (convert, scanLog):
8058 * converter.[Ch] (runLaTeX):
8059 * exporter.C (Export):
8060 * paragraph.[Ch] (simpleTeXOnePar):
8061 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
8062 * paragraph_funcs.[Ch] (latexParagraphs):
8063 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
8064 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
8065 pass around a LatexRunParams parameter.
8067 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8069 * paragraph.[Ch]: remove unused constructor
8071 * ParagraphList.C (erase): new function, taking two iterators
8073 2003-05-22 André Pönitz <poenitz@gmx.net>
8075 * undo_funcs.C: remove duplicated code
8077 * iterator.[Ch]: operator=
8079 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8081 * tabular.C (SetMultiColumn): ws changes
8083 * rowpainter.C (paintFirst): get rid of a ->previous
8085 * lyx_cb.C (getPossibleLabel): parlist simplification
8087 * BufferView.C (ChangeInsets): simplify slightly.
8089 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8091 * LyXAction.C: new lfun space-insert, kill protected-space-insert
8092 * lfuns.h: new LFUN_SPACE
8093 * lyxfunc.C: protected space has a new lfun
8094 * paragraph_funcs.C: read new space insets
8096 * factory.C: handle new space insets
8098 2003-05-22 André Pönitz <poenitz@gmx.net>
8101 * BufferView_pimpl.C:
8104 * undo_funcs.C: return a ParIterator from getParFromID.
8106 * iterators.[Ch]: add two const's
8108 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8110 * toc.C (getTocList): adjust
8112 * iterators.[Ch]: rework for parlist
8114 * buffer.C (par_iterator_begin): adjust
8115 (par_iterator_end): adjust
8117 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
8119 * BufferView.C (removeAutoInsets): adjust
8120 (ChangeInsets): adjust
8122 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
8124 * text.C (top_y): fix bug 1110
8126 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
8128 * errorlist.[Ch]: added
8131 * BufferView_pimpl.C:
8132 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
8135 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8137 * Makefile.am: ensure that lyx is relinked upon changes to the
8138 various "convenience" libs.
8140 2003-05-20 Angus Leeming <leeming@lyx.org>
8142 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
8143 files are compiled in alphabetical order again.
8145 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
8147 2003-05-19 Angus Leeming <leeming@lyx.org>
8149 * gettext.[Ch]: remove "char const * _(char const *)".
8151 2003-05-19 André Pönitz <poenitz@gmx.net>
8153 * dimension.[Ch]: promote from mathed/dimension.[Ch]
8162 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
8164 2003-05-19 André Pönitz <poenitz@gmx.net>
8168 * lyxtextclass.[Ch]:
8170 * paragraph_funcs.[Ch]:
8172 * text3.C: more insetenv work
8174 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
8176 * ParagraphParameters.C (params2string): small bug fixed
8178 2003-05-16 André Pönitz <poenitz@gmx.net>
8181 * bufferview_funcs.C: patch from Kornel Benko to prevent
8182 crash when _(...) is called twice in a statement
8184 2003-05-16 André Pönitz <poenitz@gmx.net>
8191 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8193 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
8195 * lyx_main.C (init): remove spurious static_cast
8197 2003-05-14 André Pönitz <poenitz@gmx.net>
8199 * BufferView.C: fix format string
8201 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
8203 * BufferView.[Ch] (insertErrors): removed
8204 * BufferView.[Ch] (showErrorList): added
8205 * buffer.C (runChkTeX):
8206 * converter.C (scanLog): call showErrorList instead of inserterrors
8208 2003-05-13 André Pönitz <poenitz@gmx.net>
8210 * BufferView_pimpl.C:
8212 * bufferview_func.C:
8219 * tabular_funcs.h: tostr() from its own header
8221 * ParagraphParameters.C:
8226 * text3.C: STRCONV()
8228 2003-05-12 André Pönitz <poenitz@gmx.net>
8231 * BufferView_pimpl.C:
8235 * ParagraphParameters.C:
8239 * bufferview_funcs.C:
8252 * paragraph_funcs.C:
8256 * text3.C: boost::format -> bformat all over the place
8259 2003-05-09 André Pönitz <poenitz@gmx.net>
8261 * LColor.[Ch]: Pimpl the #include <map> away
8263 2003-05-09 John Levon <levon@movementarian.org>
8265 * bufferlist.C: never remove emergency saves
8267 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8269 * Makefile.am: better lib building
8271 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
8273 * texrow.[Ch]: remove dependency on Paragraph and just store a id
8275 * paragraph_pimpl.C (simpleTeXBlanks): adjust
8276 (simpleTeXSpecialChars): adjust
8277 (simpleTeXSpecialChars): adjust
8278 * paragraph.C (simpleTeXOnePar): adjust
8279 * buffer.C (makeLaTeXFile): adjust
8281 * Makefile.am (BOOST_LIBS): allow boost as system lib.
8283 * text2.C (changeDepth): parlist cleanup
8284 (getColumnNearX): ditto
8286 * rowpainter.C (getLabelFont): parlist cleanup
8288 * bufferlist.C (newFile): parlist cleanup
8290 * CutAndPaste.C (eraseSelection): parlist cleanup
8292 * BufferView_pimpl.C (trackChanges): parlist cleanup
8295 * BufferView.C (lockInset): parlist cleanup.
8296 (ChangeInsets): ditto
8298 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8300 * CutAndPaste.h: Update file header.
8302 * CutAndPaste.C: Update file header.
8303 Store the parts cut out of the Document in a limited_stack.
8304 (copySelection): adjust
8305 (pasteSelection): new function, takes the index in the limited stack.
8306 (nrOfParagraphs): adjust
8307 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8308 simplify error inset insertion.
8309 (checkPastePossible): adjust
8311 2003-05-06 John Levon <levon@movementarian.org>
8313 * text2.C: don't cast wrap inset to float
8315 2003-05-05 André Pönitz <poenitz@gmx.net>
8318 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8320 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8321 few naked Paragraph *.
8323 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
8325 * bufferparams.C: Output warning if a document with missing
8326 TeX document class is loaded
8327 * exporter.C: Disable TeX exports if the document class is missing
8330 * lyxtextclasslist.C: Handle new textclass.lst format; new method
8331 isTeXClassAvailable()
8333 2003-05-03 John Levon <levon@movementarian.org>
8336 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8337 explicit cursor show/hide
8339 * BufferView_pimpl.h:
8340 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8341 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8343 * lyxfunc.C: hide cursor before dispatching.
8348 * text3.C: remove explicit cursor hides
8350 2003-05-02 André Pönitz <poenitz@gmx.net>
8352 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8355 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8358 * text2.C: tiny whitespace
8360 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8362 * undo_funcs.C: almost only ws changes.
8364 * ParagraphList.C (splice): just return if pl is empty.
8366 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8368 * ParagraphList.C (splice): new function.
8370 * CutAndPaste.C (pasteSelection): use it
8372 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8374 * CutAndPaste.C (pasteSelection): remove the last next and
8375 previous from this file.
8377 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8379 * CutAndPaste.C (pasteSelection): more clean up, user proper
8380 ParagraphList functions for pasteing.
8382 * ParagraphList.C (insert): new function, three arg insert
8384 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8386 * ParagraphList.C (insert): new function, three arg insert
8388 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8391 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8393 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8395 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8397 * CutAndPaste.C (pasteSelection): remove some unneeded code.
8399 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8401 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8402 (copySelection): clean up a bit.
8403 (pasteSelection): use make_pair
8405 * ParagraphList.C (ParagraphList): implement copy constructor
8406 (operator=): implement, base on copy constructor.
8409 * paragraph.C (erase): return a bool
8411 * paragraph_pimpl.C (erasePos): remove function, move contents...
8412 (erase): ... here. Return a bool.
8413 (erase): call erase instead of erasePos.
8415 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
8417 * ParagraphList.h: define PitPosPair
8418 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8419 ParagraphList, fix a bug on pasting multiple pars
8420 * text2.C: change interface to C&P
8422 2003-04-30 André Pönitz <poenitz@gmx.net>
8424 * undo_func.C: revert part of yesterday's patch 2
8426 2003-04-30 John Levon <levon@movementarian.org>
8428 * LColor.C: s/tabular/table/
8430 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8432 * text3.C (dispatch): do not convert iterator -> pointer
8433 * undo_funcs.C (setCursorParUndo): ditto
8434 * text_funcs.C (transposeChars): ditto
8436 * text2.C (setLayout): ws changes only
8438 * text.C (breakParagraph): do not convert iterator -> pointer
8440 (acceptChange): ditto
8441 (rejectChange): ditto
8446 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8449 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8451 * text3.C (gotoInset): YABG (yet another bad getChar)
8453 2003-04-29 André Pönitz <poenitz@gmx.net>
8455 * paragraph.h: make operator= private unimplemented as long as
8458 * ParagraphList.C: whitespace
8461 * paragraph_pimpl.[Ch]:
8462 * paragraph_funcs.C:
8464 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8467 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8469 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8471 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8472 * paragraph.[Ch] (erase):
8473 * paragraph_pimpl.[Ch] (erase): change return type and value
8474 * text2.C (cutSelection): some rework
8476 2003-04-28 John Levon <levon@movementarian.org>
8478 * bufferlist.C: changes for unsaved changes dialog
8480 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8482 * bufferlist.C (newFile): set language (messages_) for new
8485 * buffer.C (readFile): ws changes only.
8487 2003-04-28 André Pönitz <poenitz@gmx.net>
8492 * BufferView_pimpl.C:
8493 * BufferView.C: getParFromID related ParagraphList::iterator changes
8495 2003-04-28 André Pönitz <poenitz@gmx.net>
8497 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8500 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8502 * messages.C: remove one more localedir class variable.
8504 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8506 * messages.C (getLocaleDir): singleton generation function
8508 (Messages): add a default constructor.
8510 * main.C (main): do not setup localedir here, do not call
8513 * gettext.C (_): use it.
8514 (gettext_init): delete funciton
8516 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8518 * gettext.C (getLyXMessages): new singleton generating function.
8520 * buffer.C (updateDocLang): adjust
8522 * Makefile.am (messages.o): add target
8523 (main.o): remove target
8525 2003-04-27 John Levon <levon@movementarian.org>
8530 * lyxvc.C: specify cancel button in Alert::prompt
8532 2003-04-26 John Levon <levon@movementarian.org>
8537 * LyXAction.C: add LFUN_INSET_SETTINGS
8539 * lyxfunc.C: don't enable tabular-feature when there's
8540 just any locking inset
8542 2003-04-26 John Levon <levon@movementarian.org>
8544 * bufferlist.C: re-add Cancel to buffer close question
8546 * lyxfunc.C: fix import UI a bit
8548 2003-04-25 John Levon <levon@movementarian.org>
8550 * gettext.C: remove the broken asserts for now
8552 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8554 * messages.C: make case where setlocale cannot comply work better.
8556 * buffer.C (updateDocLang): new function
8557 (changeLanguage): use it
8560 * text2.C (setCounter): use B_ a bit.
8562 * lyxlayout.C (Read): be sure to trim the label strings.
8564 * messages.C (Messages): fix typo in comment
8566 * buffer.C (readFile): set message_ after file is loaded.
8567 (makeDocBookFile): remove double return
8568 (changeLanguage): reset message_ upon language change.
8569 (B_): new func, use this to get translated buffer strings.
8571 * main.C: add myself and Jean Marc as authors.
8573 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8575 * messages.[hC]: pimplify Messages, and three different pimpls to be
8576 used in different circumstances.
8578 * gettext.[Ch]: change for use with new message code.
8580 2003-04-24 André Pönitz <poenitz@gmx.net>
8582 * factory.C: support for eqref
8584 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8586 * messages.[Ch]: add missing char
8588 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8590 * messages.[Ch]: New files
8592 2003-04-18 John Levon <levon@movementarian.org>
8596 * BufferView_pimpl.C:
8600 * text2.C: remove layout-copy/paste (bug 778)
8602 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8604 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8606 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8608 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8609 if they succeed. Act accordingly.
8611 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8613 * text2.C (setCharFont): adjust
8614 (setCounter): adjust
8615 (insertStringAsLines): adjust
8617 * text.C (leftMargin): adjust
8618 (setHeightOfRow): adjust
8620 * rowpainter.C (paintFirst): adjust
8623 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8625 (isFirstInSequence): ditto
8626 (getEndLabel): ditto
8629 * paragraph.C (getParLanguage): comment out some hard stuff.
8631 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8633 (simpleDocBookOnePar): ditto
8634 (makeDocBookFile): use ParagraphList::iterator
8636 * CutAndPaste.C (pasteSelection): adjust
8638 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8640 * text2.C (getFont): adjust
8641 (getLayoutFont): adjust
8642 (getLabelFont): adjust
8644 * paragraph_funcs.C (TeXOnePar): adjust
8646 * buffer.C (simpleLinuxDocOnePar): adjust
8647 (simpleDocBookOnePar): adjust
8649 * CutAndPaste.C (pasteSelection): adjust
8651 * BufferView.C (getEncoding): adjust
8653 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8655 2003-04-16 John Levon <levon@movementarian.org>
8657 * lyxfind.C: use parlist stuff for search/changes
8659 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8661 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8663 * text2.C (deleteEmptyParagraphMechanism): adjust
8665 * text2.[Ch] (ownerParagraph): delete func (both of them
8667 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8669 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8671 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8673 * ParagraphList.C: prepare for NO_NEXT
8675 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8677 * text2.C (getFont): adjust
8678 (getLayoutFont): adjust
8679 (getLabelFont): adjust
8681 * paragraph.C (getFont): adjust
8682 (getLabelFont): adjust
8683 (getLayoutFont): adjust
8685 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8687 2003-04-15 John Levon <levon@movementarian.org>
8691 * lyx_main.C: handle Include in .ui files
8693 2003-04-15 John Levon <levon@movementarian.org>
8695 * MenuBackend.C: make the doc files length shorter
8698 * ToolbarBackend.C: handle toolbar placement flags,
8701 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8703 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8706 * paragraph_funcs.C (TeXOnePar): adjust
8708 * paragraph.C (getLabelFont): add outerfont arg, adjust
8709 (getLayoutFont): ditto
8710 (simpleTeXOnePar): adjust
8712 * paragraph_pimpl.C (realizeFont): delete func
8714 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8716 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8717 row argument, constify cur argument.
8719 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8721 * text2.C (getFont): adjust
8722 (getLayoutFont): adjust
8723 (getLabelFont): adjust
8725 * paragraph_funcs.C (TeXOnePar): adjust
8726 (outerFont): new func...
8727 (realizeFont): ...moved out from here, changed this to facilitate
8730 * paragraph.C (getFont): take outerfont as arg, adjust
8731 (simpleTeXOnePar): add outerfont arg, adjust
8733 * buffer.C (simpleLinuxDocOnePar): adjust
8734 (simpleDocBookOnePar): adjust
8736 * CutAndPaste.C (pasteSelection): adjust
8738 * BufferView.C (getEncoding): adjust
8740 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8742 * text2.C (setCharFont): adjust
8743 (setCounter): adjust
8745 * text.C (leftMargin): adjust
8746 (setHeightOfRow): adjust
8748 * rowpainter.C (paintFirst): adjust
8751 * paragraph_pimpl.C (realizeFont): adjust
8753 * paragraph.C (isFirstInSequence): move from here...
8754 * paragraph_funcs.C (isFirstInSequence): ...to here
8756 * paragraph.C (outerHook): move from here...
8757 * paragraph_funcs.C (outerHook): ...to here
8759 * paragraph.C (depthHook): move from here...
8760 * paragraph_funcs.C (depthHook): ...to here
8762 * paragraph.C (getEndLabel): move from here...
8763 * paragraph_funcs.C (getEndLabel): ...to here
8765 * text2.C (realizeFont): move from here...
8766 * paragraph_funcs.C (realizeFont): ...to here
8768 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8770 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8772 2003-04-14 Angus Leeming <leeming@lyx.org>
8774 * LColor.[Ch]: scrap LColor mathcursor.
8776 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8778 * lyxlex.[Ch] (text): delete function
8779 * trans.C (Load): adjust
8780 * paragraph_funcs.C (readParToken): adjust
8782 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8784 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8785 vector<char> instead of a char[].
8787 * lyxlex_pimpl.C (getString): adjust
8789 (lex): use getString
8793 * lyxlex.C (text): use pimpl_->getString()
8797 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8799 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8800 (makeFontEntriesLayoutSpecific): temp var for par.size()
8801 (setLayout): temp var for ownerParagraphs().end()
8802 (fullRebreak): temp var for rows().end()
8803 (selectionAsString): temp var for boost::next(startpit), realize
8804 that the while really is a regular for loop.
8805 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8806 setCursor in one place.
8807 (setParagraph): temp vr for ownerParagraphs().end()
8808 (updateCounters): make the while loop a for loop
8809 (cutSelection): temp var for ownerParagraphs().end()
8810 (updateInset): make the do {} while() a regular for loop
8811 (getCursorX): use temp vars
8812 (setCurrentFont): use temp vars
8813 (getColumnNearX): use temp vars
8815 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8817 * text.C (transformChar): use temp var for getChar
8818 (computeBidiTables): use temp var for row->par()
8819 (fill): move temp vars for row->par() and pit->layout() earlier in
8821 (labelFill): use temp var for row->par()
8822 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8823 asc and desc, realize that pit never changes and that firstpit is
8824 just a duplicate and not needed. Exchange rit->par() with pit in a
8826 (breakAgain): use a temp var for boost::next(rit)
8827 (breakAgainOneRow): ditto
8828 (breakParagraph): use a temp var for rows().begin()
8829 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8830 (cursorRightOneWord): use temp var for cursor.par() and
8831 cursor.pos(), remove usage of tmpcursor.
8832 (cursorLeftOneWord): use temp var for cursor.par() and
8833 cursor.pos() only set cur at end of function.
8835 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8837 * text.C, text2.C: exchange all usage of Paragraph::next with
8838 boost::next(ParagraphList::iterator)
8840 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8842 * text2.C (cursorTop): simplify implementation
8843 (cursorBottom): ditto
8844 (setParagraph): use ParagraphList::iterator
8845 (setCurrentFont): adjust
8846 (getColumnNearX): adjust
8847 (cursorRight): adjust
8848 (cursorLeft): remove usage of Paragraph::previous
8849 (cursorUpParagraph): ditto
8850 (deleteEmptyParagraphMechanism): slight cleanup
8852 * text.C (isBoundary): take a Paragraph const & instead of a
8854 (addressBreakPoint): ditto
8855 (leftMargin): remove usage of Paragraph::previous.
8856 (setHeightOfRow): ditto
8857 (cursorLeftOneWord): ditto
8858 (selectNextWordToSpellcheck): ditto
8861 (breakParagraph): remove one usage of Paragraph::next
8862 (redoParagraph): ditto
8863 (acceptChange): ditto
8864 (insertChar): adjust
8865 (rowBreakPoint): adjust
8867 * bufferview_funcs.C (toggleAndShow): adjust
8869 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8871 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8872 methods to access it.
8874 * text.C: Added updateRowPositions to compute all row positions.
8875 Make top_y and getRowNearY() to use the cached y position
8877 2003-04-11 John Levon <levon@movementarian.org>
8879 * text.C (rowBreakPoint): reintroduce the labelEnd
8880 checks, code copied from the row fill stuff. Deep voodoo.
8882 * text.C (fill): add a comment and debugging for the
8885 2003-04-11 John Levon <levon@movementarian.org>
8887 * text.C: make sure fullrow insets get wrapped to the next line,
8888 even when they're in a manual label
8890 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8892 * text2.C (insertParagraph): make it take ParagraphList::iterator
8894 (setLayout): make it return ParagraphList::iterator
8895 (redoParagraphs): ditto
8897 (checkParagraph): ditto
8899 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8901 * text2.C: adjust several funcs.
8902 (realizeFont): take a ParagraphList::iterator as arg.
8903 (getLayoutFont): ditto
8904 (getLabelFont): ditto
8905 (setCharFont): ditto
8907 * text.C: adjust several funcs.
8909 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8911 * text.C (selectNextWordToSpellcheck): don't accidentally
8914 2003-04-10 John Levon <levon@movementarian.org>
8916 * ToolbarBackend.C (getIcon): special handling for
8919 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8921 * text2.C (cursorRight): a getChar assert fixed
8923 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8925 * text2.C (getFont): change to take a ParagraphList::iterator
8926 instead of Paragraph*
8927 Adjust several functions.
8929 * text.C (transformChar): change to take a ParagraphList::iterator
8930 instead of Paragraph*
8931 (singleWidth): ditto
8932 Adjust several functions.
8934 * rowpainter.C: adjust several functions
8935 * rowpainter.h:store a ParagraphList::iterator and not a
8939 2003-04-09 John Levon <levon@movementarian.org>
8944 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8945 and the "help" bits as well
8947 2003-04-09 John Levon <levon@movementarian.org>
8950 * ToolbarBackend.C: allow multiple toolbars
8952 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8954 * undo_funcs.C (setCursorParUndo): adjust
8956 * text_funcs.C (transposeChars): adjust
8958 * text3.C (gotoNextInset): adjust
8961 * text2.C (setLayout): adjust
8962 (changeDepth): adjust
8964 (redoParagraphs): adjust
8965 (selectionAsString): adjust
8966 (setParagraph): adjust
8967 (insertInset): adjust
8968 (cutSelection): adjust
8969 (copySelection): adjust
8970 (pasteSelection): adjust
8971 (insertStringAsLines): adjust
8972 (updateInset): adjust
8973 (setCursor): change to take a ParagraphList::iterator parameter
8974 (setCursorIntern): change to take a ParagraphList::iterator parameter
8975 (setCurrentFont): adjust
8976 (cursorLeft): adjust
8977 (cursorRight): adjust
8978 (deleteEmptyParagraphMechanism): adjust
8980 * text.C (breakParagraph): adjust
8981 (insertChar): adjust
8982 (acceptChange): adjust
8983 (rejectChange): adjust
8984 (selectNextWordToSpellcheck): adjust
8985 (changeCase): adjust
8989 * lyxfind.C (SearchForward): adjust
8990 (SearchBackward): adjust
8991 (nextChange): adjust
8993 * lyxcursor.C (par): adjust
8995 * lyxcursor.h: store a ParagraphList::iterator instead of a
8998 * lyx_cb.C (getPossibleLabel): adjust
9000 * bufferview_funcs.C (toggleAndShow): adjust
9002 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
9005 * BufferView.C (removeAutoInsets): adjust
9006 (lockedInsetStoreUndo): adjust
9008 2003-04-09 John Levon <levon@movementarian.org>
9010 * ToolbarBackend.C: try icon without argument
9011 if with argument fails
9013 2003-04-08 John Levon <levon@movementarian.org>
9016 * ToolbarBackend.C: add getIcon(), handle tooltip,
9017 and change from "Icon" to "Item".
9019 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
9021 * BufferView.C (lockInset): another bad getchar crunched
9023 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
9025 * text2.C (changeDepth): do not setUndo on test_only (make undo work
9028 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
9030 * lyxfind.C (searchForward, searchBackwards): bug 782
9032 2003-04-07 John Levon <levon@movementarian.org>
9034 * paragraph.C: remove dead comment
9036 * text.C: remove troublesome depth-fiddling code
9037 in leftMargin() and rightMargin() (bug 1017)
9039 * text.C: fix breaking of rows in nested lists
9042 * text2.C (updateCounters): fix up depth values
9045 2003-04-07 John Levon <levon@movementarian.org>
9047 * BufferView_pimpl.C: clear message when doc finishes resizing,
9048 and after a mouse event
9050 * lyxfunc.C: clear message after exiting inset
9052 2003-04-07 John Levon <levon@movementarian.org>
9054 * bufferview_funcs.C: show math status not outside
9055 status in the statusbar
9057 2003-04-07 John Levon <levon@movementarian.org>
9059 * lyxfunc.C: note status changed after a depth change
9061 2003-04-04 Angus Leeming <leeming@lyx.org>
9063 * LaTeX.h: move AuxInfo operator==, != out of line.
9064 Remove LaTeX virtual destructor; nothing derives from it.
9065 Move operator()() out of public area and rename it startscript().
9066 Change protected for private.
9068 2003-04-04 Angus Leeming <leeming@lyx.org>
9071 * text2.C: remove unneeded #includes.
9073 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
9075 * text2.C (dEPM): fix the heigth of the next row
9077 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
9079 * text.C: squashed an invalid getChar requester + some ws changes
9081 2003-04-03 John Levon <levon@movementarian.org>
9083 * bufferview_funcs.h:
9084 * bufferview_funcs.C:
9087 * text2.C: make getStatus work for the env depth lfuns
9089 2003-04-03 John Levon <levon@movementarian.org>
9091 * bufferview_funcs.h:
9092 * bufferview_funcs.C:
9095 * text2.C: parlistize decDepth(), by merging it with incDepth()
9097 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9099 * lyxrow.h: store a ParagraphList::iterator instead of a
9100 Paragraph* and adjust other class functions to suit.
9102 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
9105 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
9107 * text2.C (setCursor): do not anchor to cursor row for the time being
9109 2003-04-02 John Levon <levon@movementarian.org>
9116 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
9118 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9120 * paragraph.h: make ParagraphList and ParagraphList::iterator
9121 friends of Paragraph.
9123 * buffer.C (makeLinuxDocFile): move towards ParagraphList
9125 * ParagraphList.C: Use the private next_ and previous_ from
9128 2003-04-01 John Levon <levon@movementarian.org>
9132 * Makefile.am: rename, remove defaults gunk
9135 * MenuBackend.C: remove defaults gunk
9138 * Languages.C: remove defaults gunk
9141 * lyx_main.C: error out if files couldn't be found.
9143 2003-04-02 John Levon <levon@movementarian.org>
9145 * text2.C: make incDepth() use parlist
9147 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9149 * undo_funcs.C (firstUndoParagraph): adjust
9151 * text3.C (gotoInset): adjust
9152 (dispatch): adjust, and rewrite loop.
9154 * text2.C (init): adjust, and rewrite loop.
9155 (redoParagraphs): adjust
9156 (updateInset): adjust, and rewrite loop.
9157 (deleteEmptyParagraphMechanism): adjust
9159 * tabular.C (LyXTabular): adjust
9160 (SetMultiColumn): adjust
9163 * lyxtext.[Ch] (ownerParagraph): delete function
9164 (ownerParagraphs): new function returns a ParagraphList.
9166 * BufferView.C (removeAutoInsets): adjust
9167 (insertErrors): adjust
9168 (setCursorFromRow): adjust
9170 2003-04-01 Angus Leeming <leeming@lyx.org>
9172 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
9175 2003-04-02 John Levon <levon@movementarian.org>
9181 * text_funcs.C: make transposeChars a free function
9183 * lyxrow_funcs.C: remove wrong comment
9185 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9188 * rowpainter.C: adjust
9193 * lyxrow_funcs. [Ch]: new files
9195 * lyxrow.[Ch]: remove next and previous pointers
9196 (next,previous): remove accessor functions
9197 (isParEnd): move to lyxrow_funcs
9198 (lastPos): move to lyxrow_funcs
9199 (nextRowIsAllInset): move to lyxrow_funcs
9200 (lastPrintablePos): move to lyxrow_funcs
9201 (numberOfSeparators): move to lyxrow_funcs
9202 (numberOfHfills): move to lyxrow_funcs
9203 (numberOfLabelHfills): move to lyxrow_funcs
9204 (hfillExpansion): move to lyxrow_funcs
9208 * bufferview_funcs.C (toggleAndShow): adjust
9210 * RowList.h: Remove class RowList from file leave just a
9213 * RowList.C: delete file
9215 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9218 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9220 * text3.C (cursorPrevious): adjust
9221 (cursorNext): adjust
9224 * text2.C (redoHeightOfParagraph): adjust
9225 (redoDrawingOfParagraph): adjust
9228 * text.C (breakParagraph): adjust
9229 (insertChar): adjust
9232 * rowpainter.C (RowPainter): adjust
9233 (leftMargin): simplify and adjust
9234 (most rowpainter functions): adjust.
9236 * rowpainter.h: store the row as RowList::iterator not as Row*
9238 * lyxcursor.C (row): taka RowList::iterator as arg
9241 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9244 2003-04-01 Angus Leeming <leeming@lyx.org>
9246 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9247 stuff like bool Bool.
9249 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
9251 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9254 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9256 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9259 * lyxtext.h (rows): drop one version and leve a const variant that
9260 returns a RowList::iterator.
9262 2003-03-31 Angus Leeming <leeming@lyx.org>
9264 * text.C (fill): ensure that the signature is the same as that in the
9267 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
9269 * text2.C (redoParagraphs): adjust
9270 (updateCounters): adjust
9271 (checkParagraph): adjust
9272 (getColumnNearX): adjust and reformat a bit.
9274 * text.C (top_y): adjust
9276 (leftMargin): adjust
9277 (prepareToPrint): adjust
9279 (getRowNearY): adjust
9281 * lyxtext.h: make rowlist_ mutable.
9283 * RowList.h: add const_iterator
9284 * RowList.C: adjust for RowList::const_iterator.
9286 * text2.C (getCursorX): make it take a RowList::iterator as arg,
9289 2003-03-31 John Levon <levon@movementarian.org>
9292 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9294 * lyx_main.C: set default fonts from using lyx_gui funcs
9296 * exporter.C: pdf_mode moved from lyxrc
9299 * lyxfunc.C: changes from above
9301 2003-03-31 John Levon <levon@movementarian.org>
9303 * lyx_main.C: fix to the last fix
9305 2003-03-31 John Levon <levon@movementarian.org>
9307 * bufferlist.C: "Load original" -> "Load Original"
9313 * format.C: more Alert cleanups
9315 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9317 * text2.C (removeParagraph): make it take a RowList::iterator as
9319 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9320 (postRowPaint): make it take a RowList::iterator as arg, adjust.
9322 * text.C (anchor_row): make it take a RowList::iterator as arg,
9324 (computeBidiTables): make it take a const reference to Row instead
9325 of Row pointer, adjust.
9326 (leftMargin): make it take a RowList::iterator as arg, adjust.
9327 (rowBreakPoint): adjust
9328 (breakAgainOneRow): make it take a RowList::iterator as arg,
9330 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9332 * bufferview_funcs.C (toggleAndShow): adjust
9334 2003-03-30 John Levon <levon@movementarian.org>
9338 * boost-inst.C: moved to support
9340 * several files: changes as a result
9342 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9344 * text2.C (LyXText): adjust.
9346 (removeRow): make it take a RowList::iterator as arg, adjust.
9347 (fullRebreak): adjust
9348 (deleteEmptyParagraphMechanism): adjust
9349 (clearPaint): adjust
9352 * text.C (top_y): adjust
9353 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9354 (breakAgain): make it take a RowList::iterator as arg, adjust.
9355 (breakParagraph): adjust
9356 (insertChar): adjust
9359 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9360 need_break_row, and refresh_row.
9362 * text3.C (dispatch): adjust
9364 * text2.C (checkParagraph): adjust
9366 (setCursorFromCoordinates): adjust
9368 * text.C (top_y): adjust
9370 (getRow): make it return a RowList::iterator, adjust
9371 (getRowNearY): make it return a RowList::iterator, adjust
9373 * text2.C (init): adjust
9374 (insertRow): remove function
9375 (insertParagraph): adjust
9376 (redoParagraphs): adjust
9377 (fullRebreak): adjust
9378 (updateCounters): adjust
9380 * text.C (top_y): rewrite to use RowList iterators.
9382 (setHeightOfRow): rewrite to sue RowList iterators.
9383 (appendParagraph): adjust
9384 (breakAgain): adjust
9385 (breakAgainOneRow): adjust
9386 (breakParagraph): adjust
9388 (getRowNearY): adjust, and remove commented code.
9390 * lyxtext.h (firstRow): delete function
9391 (lastRow): delete function
9392 (rows): new function (const and non-const versions.)
9393 (insertRow): delete function
9395 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9397 2003-03-29 John Levon <levon@movementarian.org>
9399 * BufferView_pimpl.C: always update scrollbar top
9400 because pasting text when we're anchored could mean we
9401 miss an update altogether
9403 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9405 * text2.C (init): use rowlist_.end() and not 0.
9406 (insertRow): change to take a RowList::iterator as arg, adjust
9408 (insertParagraph): change to take a RowList::iterator as arg,
9410 (redoParagraphs): remove some debug msgs.
9412 * text.C (appendParagraph): change to take a RowList::iterator
9413 arg, adjust for this.
9414 (breakAgain): add an assert
9415 (breakAgainOneRow): ditto
9417 2003-03-29 John Levon <levon@movementarian.org>
9419 * text2.C: do not clear selection after inc/decDepth
9422 2003-03-29 John Levon <levon@movementarian.org>
9425 * buffer.C: fix broken strerrors according to Lars
9427 2003-03-29 John Levon <levon@movementarian.org>
9429 * converters.C: more Alert cleanups
9431 2003-03-29 John Levon <levon@movementarian.org>
9433 * bufferview_funcs.C: remove pointless Alert
9435 * buffer.C: fix confusing error message when
9436 a template is chmoded 000
9438 2003-03-29 John Levon <levon@movementarian.org>
9442 * BufferView_pimpl.C: Alert fixes
9446 * tabular-old.C: remove unused table compat reading
9448 2003-03-29 John Levon <levon@movementarian.org>
9453 * lyx_cb.C: more Alert cleanups
9455 * lyxfunc.C: don't allow chktex if not latex document
9457 2003-03-29 John Levon <levon@movementarian.org>
9461 * buffer.C: warnings pushed down from support/,
9464 2003-03-29 John Levon <levon@movementarian.org>
9466 * lyxfunc.C: safety check for C-r (revert)
9468 2003-03-29 John Levon <levon@movementarian.org>
9471 * bufferlist.C: several UI fixes using Alert::prompt.
9472 Fix the pointless looping quit code. Fix stupid revert
9477 * lyx_cb.C: use Alert::prompt
9479 * lyx_main.C: remove a silly question
9481 * lyxfunc.C: remove a couple of silly questions,
9484 2003-03-28 John Levon <levon@movementarian.org>
9486 * text2.C: fix bug 974 (End on empty par)
9488 2003-03-28 John Levon <levon@movementarian.org>
9490 * BufferView_pimpl.C:
9492 * lfuns.h: remove do-nothing math greek lfuns
9494 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9496 * lyxgluelength.h (isValidGlueLength): add default arg on
9497 parameter 2. Remove default arg from friend in class.
9499 * lyxlength.h (isValidLength): add default arg on parameter 2.
9500 Remove default arg from friend in class.
9502 * text2.C (LyXText): adjust, initialize refresh_row.
9506 (insertParagraph): adjst
9507 (redoParagraphs): adjust
9508 (fullRebreak): adjust
9509 (updateCounters): adjust
9510 (deleteEmptyParagraphMechanism): first attempt at fixing a
9513 * text.C (top_y): adjust
9514 (setHeightOfRow): adjust
9516 (getRowNearY): adjust
9518 * lyxtext.h: include RowList.h
9519 (~LyXText): not needed anymore, deleted.
9520 (firstRow): modify for RowList
9521 (lastRow): new function
9522 Delete firstrow and lastrow class variables, add a Rowlist
9523 rowlist_ class variable.
9525 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9528 * RowList.C (insert): fix case where it == begin().
9530 2003-03-26 Angus Leeming <leeming@lyx.org>
9532 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9533 the thesaurus dialog.
9535 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9537 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9539 * RowList.[Ch]: new files
9541 * ParagraphList.C (erase): handle the case where it == begin
9544 2003-03-25 John Levon <levon@movementarian.org>
9548 * aspell.C: add new aspell support
9551 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9554 2003-03-25 Angus Leeming <leeming@lyx.org>
9557 * LyXAction.C (init): new LFUN_INSET_INSERT.
9559 * BufferView_pimpl.C (dispatch): split out part of the
9560 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9562 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9565 2003-03-25 Angus Leeming <leeming@lyx.org>
9567 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9569 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9572 * text3.C: remove useless row->height(0)
9574 2003-03-25 John Levon <levon@movementarian.org>
9578 * text3.C: rename the refreshing stuff to better names
9580 2003-03-24 John Levon <levon@movementarian.org>
9582 * BufferView_pimpl.h:
9583 * BufferView_pimpl.C: update layout choice on a mouse
9586 2003-03-23 John Levon <levon@movementarian.org>
9588 * Makefile.am: fix commandtags.h reference
9590 2003-03-22 John Levon <levon@movementarian.org>
9592 * BufferView_pimpl.C:
9597 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9599 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9602 * text.C: take the rtl methods out of line
9604 2003-03-21 André Pönitz <poenitz@gmx.net>
9606 * metricsinfo.[Ch]: new files containing structures to be passed around
9607 during the two-phase-drawing...
9609 2003-03-21 André Pönitz <poenitz@gmx.net>
9611 * lyxtextclass.C: read 'environment' tag.
9613 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9615 * text2.C (removeRow): fix bug 964
9617 2003-03-20 John Levon <levon@movementarian.org>
9621 * text2.C: paint cleanups. Inset::update() dropped font
9624 2003-03-19 John Levon <levon@movementarian.org>
9626 * lyxfunc.C: only fitcursor/markDirty if available()
9628 2003-03-19 John Levon <levon@movementarian.org>
9630 * commandtags.h: rename to ...
9632 * lfuns.h: ... this, and renumber / cleanup
9634 2003-03-19 John Levon <levon@movementarian.org>
9636 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9637 fit the cursor after an lfun
9641 * BufferView_pimpl.h:
9642 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9644 * LyXAction.C: layout-character should have ReadOnly
9646 * ParagraphParameters.C:
9648 * bufferview_funcs.C:
9655 * undo_funcs.C: changes from above
9657 2003-03-18 John Levon <levon@movementarian.org>
9659 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9660 remove it from update()
9662 * lyxfunc.C: update layout choice after an lfun
9664 * text3.C: remove extra updateLayoutChoice()s
9666 2003-03-18 John Levon <levon@movementarian.org>
9668 * text.C: top_y change means full repaint, fix
9669 a drawing bug with cursor movement
9671 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9675 * text2.C: anchor row on setCursor
9677 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9679 * lyxtext.h: remove almost all mutable keywords
9682 * text3.C: remove const keywords accordingly
9684 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9686 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9688 (TeXEnvironment): ditto
9691 2003-03-17 John Levon <levon@movementarian.org>
9693 * text.C (rowBreakPoint): remove attempt to fix displayed
9694 math insets inside a manual label
9696 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9698 * lyxtext.h: remove BufferView* as first arg from almost all class
9700 * other files: adjust.
9702 2003-03-17 John Levon <levon@movementarian.org>
9706 * text2.C: more paint cleanups
9708 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9711 * rowpainter.C: remove "smart" background painting code
9713 2003-03-16 John Levon <levon@movementarian.org>
9718 * text3.C: add helper functions for setting refresh_row/y
9720 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9722 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9723 newline inset which *can* get inserted in the pass_thru layouts.
9724 This is primarily for literate documents.
9726 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9728 * buffer.C: increment LYX_FORMAT to 223
9730 2003-03-14 André Pönitz <poenitz@gmx.net>
9732 * textclass.h: prepare for environment handling, ws changes
9733 * lyxlayout.C: read latexheader and latexfooter tags
9735 2003-03-14 John Levon <levon@movementarian.org>
9737 * text2.C: rewrite ::status() a bit
9739 2003-03-13 John Levon <levon@movementarian.org>
9741 * lyxtext.h: add some docs
9743 2003-03-13 John Levon <levon@movementarian.org>
9748 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9750 2003-03-13 John Levon <levon@movementarian.org>
9752 * text3.C: fix appendix redrawing
9754 2003-03-13 John Levon <levon@movementarian.org>
9756 * text.C (setHeightOfRow):
9758 * rowpainter.C: make appendix mark have the text
9759 "Appendix" so the user knows what it is
9762 * LColor.C: s/appendixline/appendix/ from above
9764 2003-03-13 John Levon <levon@movementarian.org>
9766 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9768 * text.C: fix a getChar(pos) bug properly
9770 2003-03-13 Angus Leeming <leeming@lyx.org>
9773 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9774 Probably only temporary. Let's see how things pan out.
9776 * BufferView.C (unlockInset):
9777 * BufferView_pimpl.C (fitCursor):
9778 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9780 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9781 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9783 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9784 new functions that convert ParagraphParameters to and from a string.
9786 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9787 BufferView::Pimpl's dispatch.
9788 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9790 2003-03-13 André Pönitz <poenitz@gmx.net>
9794 * factory.C: make it aware of InsetEnv
9796 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9798 * text2.C (setCursor): never ask for one past last
9799 (setCursor): add some debugging messages.
9801 * text.C (singleWidth): never ask for one past last
9802 (singleWidth): ditto
9804 (rightMargin): ditto
9805 (rowBreakPoint): ditto
9806 (setHeightOfRow): ditto
9807 (prepareToPrint): ditto
9809 * rowpainter.C (paintBackground): never ask for one past last
9810 (paintText): never ask for one past last
9812 * paragraph_pimpl.C (getChar): make the assert stricter, never
9813 allow the one past last pos to be taken
9815 * paragraph.C (getChar): ws changes only
9817 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9818 (numberOfSeparators): ditto
9819 (numberOfHfills): ditto
9821 2003-03-12 John Levon <levon@movementarian.org>
9827 * paragraph_funcs.C: fix per-buffer authorlists
9829 2003-03-12 John Levon <levon@movementarian.org>
9831 * text.C: fix newline in right address
9833 2003-03-12 Angus Leeming <leeming@lyx.org>
9835 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9836 duplicate those in LyXFunc::dispatch.
9840 * ToolbarDefaults.C:
9841 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9842 Add LFUN_FONTFREE_UPDATE.
9844 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9845 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9847 * bufferview_func.[Ch]: several new functions to facilliate
9848 transfer of data to and from the character dialog.
9850 2003-03-12 John Levon <levon@movementarian.org>
9855 * paragraph_funcs.C:
9856 * paragraph_pimpl.C:
9860 * text3.C: remove META_NEWLINE in favour of an inset
9863 * rowpainter.C: remove paintNewline (done by inset)
9865 2003-03-12 John Levon <levon@movementarian.org>
9867 * paragraph_pimpl.C: complain about bad getChar()s
9868 for a while at least
9870 2003-03-12 John Levon <levon@movementarian.org>
9873 * buffer.C: move paragraph read into a separate function,
9874 a little renaming to reflect that.
9877 * bufferparams.C: remove the author_ids map, not necessary now
9880 * factory.C: moved Buffer::readInset to here
9882 * paragraph_funcs.h:
9883 * paragraph_funcs.C: readParagraph free function moved from
9886 * tabular.C: name change
9888 2003-03-12 John Levon <levon@movementarian.org>
9891 * ParagraphParameters.C: move par params input to
9894 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9895 behave like a normal read from the stream wrt reading
9896 a line vs. a \\token
9898 2003-03-12 John Levon <levon@movementarian.org>
9901 * ParagraphParameters.h:
9902 * ParagraphParameters.C: move output code to a
9905 2003-03-12 John Levon <levon@movementarian.org>
9907 * BufferView.C (insertLyXFile):
9910 * tabular.C: use a parlist iterator for creating the
9913 2003-03-12 John Levon <levon@movementarian.org>
9915 * buffer.C: make current_change static local not
9918 2003-03-12 John Levon <levon@movementarian.org>
9920 * buffer.C: fix insertStringAsLines for change tracking
9922 2003-03-12 John Levon <levon@movementarian.org>
9929 * bufferparams.C: move author list into params. Rename some
9930 functions. Move the header reading into a separate token
9931 loop. Move the header token reading into BufferParams.
9933 2003-03-12 John Levon <levon@movementarian.org>
9935 * changes.C: put debug inside lyxerr.debugging() checks
9937 2003-03-11 André Pönitz <poenitz@gmx.net>
9939 * factory.C: make it aware of InsetHFill
9941 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9943 * buffer.C (latexParagraphs): move function from here...
9944 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9947 2003-03-10 Angus Leeming <leeming@lyx.org>
9949 * LyXAction.C (init): fix bug in poplating array with multiple entries
9950 with the same LFUN (spotted by JMarc).
9952 2003-03-10 John Levon <levon@movementarian.org>
9955 * text2.C: move getColumnNearX() near its
9958 2003-03-10 John Levon <levon@movementarian.org>
9960 * text.C: fix break before a minipage
9962 2003-03-10 John Levon <levon@movementarian.org>
9964 * text.C: fix the last commit
9966 2003-03-09 John Levon <levon@movementarian.org>
9970 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9971 bug 365 (don't break before insets unless needed). Don't
9972 return a value > last under any circumstances.
9974 2003-03-09 Angus Leeming <leeming@lyx.org>
9976 * BufferView_pimpl.C (trackChanges, dispatch): call
9977 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9979 2003-03-09 Angus Leeming <leeming@lyx.org>
9981 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9982 than Dialogs::showAboutlyx().
9984 2003-03-09 Angus Leeming <leeming@lyx.org>
9986 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9987 than Dialogs::showTabularCreate().
9989 2003-03-09 John Levon <levon@movementarian.org>
9993 * text2.C: 3rd arg to nextBreakPoint was always the same.
9996 2003-03-08 John Levon <levon@movementarian.org>
10003 * text2.C: Remove the "main" bit from the "main body"
10006 2003-03-08 John Levon <levon@movementarian.org>
10008 * text.C (leftMargin): The left margin of an empty
10009 manual label paragraph should not include the label width
10012 * text.C (prepareToPrint): don't attempt to measure hfills
10013 for empty manual label paragraphs - the answer should be 0
10015 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10017 * CutAndPaste.C: remove commented code and reindent.
10019 2003-03-08 John Levon <levon@movementarian.org>
10022 * lyxfunc.C: move reloadBuffer()
10025 * BufferView.C: to here
10027 * lyxvc.C: add comment
10030 * vc-backend.C: call bv->reload() to avoid
10031 getStatus() check on MENURELOAD
10033 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
10035 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
10036 to an old format .dep file.
10038 2003-03-07 Angus Leeming <leeming@lyx.org>
10040 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
10041 when the LFUN_MOUSE_RELEASE should have been handled by
10042 inset->localDispatch.
10044 2003-03-07 Angus Leeming <leeming@lyx.org>
10046 * BufferView_pimpl.C (dispatch):
10047 * LyXAction.C (init):
10048 * ToolbarDefaults.C (init):
10050 * lyxfunc.C (getStatus):
10051 remove LFUN_INSET_GRAPHICS.
10053 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
10055 2003-03-07 Angus Leeming <leeming@lyx.org>
10058 * LyXAction.C (init):
10059 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
10061 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
10064 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
10066 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
10067 localDispatch method LFUN_INSET_DIALOG_UPDATE.
10069 2003-03-07 Angus Leeming <leeming@lyx.org>
10071 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
10074 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10076 * ParagraphList.C (front): new function
10079 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
10081 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
10082 and top_row_offset_. removed var first_y.
10084 * text2.C (LyXText, removeRow):
10086 * BufferView_pimpl.C:
10087 use these methods instead of using first_y
10089 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10091 * text2.C (pasteSelection): adjust for checkPastePossible
10093 * CutAndPaste.C: remove Paragraph * buf and replace with
10094 ParagraphList paragraphs.
10095 (DeleteBuffer): delete
10096 (cutSelection): change the tc type to textclass_type
10097 (copySelection): change the tc type to textclass_type
10098 (copySelection): adjust for ParagraphList
10099 (pasteSelection): change the tc type to textclass_type
10100 (pasteSelection): adjust for Paragraphlist
10101 (nrOfParagraphs): simplify for ParagraphList
10102 (checkPastePossible): simplify for ParagraphList
10103 (checkPastePossible): remove unused arg
10105 * ParagraphList.C (insert): handle the case where there are no
10108 * CutAndPaste.h: make CutAndPaste a namespace.
10110 * text3.C (dispatch): adjust
10112 * text.C (breakParagraph): add a ParagraphList as arg
10114 * paragraph_funcs.C (breakParagraph): change to take a
10115 BufferParams and a ParagraphList as args.
10116 (breakParagraphConservative): ditto
10117 (mergeParagraph): ditto
10118 (TeXDeeper): add a ParagraphList arg
10119 (TeXEnvironment): ditto
10122 * buffer.C (readLyXformat2): adjust
10123 (insertStringAsLines): adjust
10124 (latexParagraphs): adjust
10126 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
10127 (cutSelection): adjust
10128 (pasteSelection): adjust
10130 * BufferView_pimpl.C (insertInset): adjust
10132 2003-03-05 Angus Leeming <leeming@lyx.org>
10135 * LyXAction.C (init):
10136 * BufferView_pimpl.C (dispatch):
10137 * lyxfunc.C (getStatus):
10138 remove LFUN_CHILD_INSERT.
10140 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
10142 2003-03-05 Angus Leeming <leeming@lyx.org>
10145 * LyXAction.C (init):
10146 * src/factory.C (createInset):
10147 * lyxfunc.C (getStatus):
10148 * text3.C (dispatch):
10149 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
10151 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
10153 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10155 * ParagraphList.C (insert): handle insert right before end()
10156 (erase): fix cases where it can be first or last paragraph.
10158 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10160 * paragraph_funcs.C (TeXEnvironment): remove all usage of
10161 Paragraph::next and Paragraph::previous
10164 * text.C (breakParagraph): adjust
10166 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
10167 BufferParams& as arg.
10168 (breakParagraph): use ParagraphList::insert
10169 (breakParagraphConservative): take a Buffer* instead of a
10170 BufferParams& as arg.
10171 (breakParagraphConservative): use ParagraphList::insert.
10173 * buffer.C (insertStringAsLines): un-const it
10174 (insertStringAsLines): adjust
10176 * ParagraphList.C (insert): new function
10178 * CutAndPaste.C (pasteSelection): adjust
10180 * text.C (backspace): adjust
10182 * tabular.C (SetMultiColumn): adjust
10184 * CutAndPaste.C (cutSelection): adjust
10185 (pasteSelection): adjust
10187 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
10188 Buffer const * as arg
10190 * ParagraphList.C (erase): new function
10191 * paragraph_funcs.C (mergeParagraph): use it
10192 (mergeParagraph): make it take a Buffer* instead of a
10193 BufferParams* as arg
10195 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10197 (breakParagraphConservative): ditto
10199 * paragraph.h: remove the breakParagraph friend
10201 * paragraph.C (eraseIntern): new function
10202 (setChange): new function
10204 * paragraph_funcs.C (mergeParagraph): make it take a
10205 ParagraphList::iterator instead of a Paragraph *, adjust
10208 * paragraph.h: move an #endif so that the change tracking stuff
10209 also works in the NO_NEXT case.
10211 2003-03-04 Angus Leeming <leeming@lyx.org>
10214 * LyXAction.C: new LFUN_INSET_MODIFY.
10216 * BufferView_pimpl.C (dispatch): if an inset is found to be open
10217 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10219 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10221 * several files: ws changes only
10223 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10224 (TeXEnvironment): ditto
10227 * buffer.C (makeLaTeXFile): adjust
10228 (latexParagraphs): make it take ParagraphList::iterator as args
10230 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
10232 * buffer.C (latexParagraphs): adjust
10234 * paragraph.C (TeXOnePar): move function...
10235 (optArgInset): move function...
10236 (TeXEnvironment): move function...
10237 * paragraph_pimpl.C (TeXDeeper): move function...
10238 * paragraph_funcs.C: ...here
10240 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10242 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10244 * buffer.C (readInset): remove compability code for old Figure and
10247 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10249 * buffer.C: ws changes
10252 * BufferView_pimpl.C: ditto
10255 * bufferlist.h: ditto
10259 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
10261 * converter.[Ch]: split into itself +
10264 * Makefile.am: += graph.[Ch] + format.[Ch]
10271 * lyxrc.C: added #include "format.h"
10273 2003-02-27 Angus Leeming <leeming@lyx.org>
10275 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10278 * factory.C (createInset): add "label" to the factory.
10280 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10281 string and do no more.
10283 2003-02-27 Angus Leeming <leeming@lyx.org>
10286 * LyXAction.C (init):
10287 * factory.C (createInset):
10288 * BufferView_pimpl.C (dispatch):
10289 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10291 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10293 * lyxfunc.C (dispatch):
10294 * text3.C (dispatch): pass name to params2string.
10296 2003-02-26 Angus Leeming <leeming@lyx.org>
10298 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10300 Rearrange the ~includes. Strip out the unnecessary ones.
10302 * factory.C (createInset): reformat.
10303 create new insets for the various LFUN_XYZ_APPLY lfuns.
10305 2003-02-26 John Levon <levon@movementarian.org>
10308 * lyxrow.C: add isParStart,isParEnd helpers
10310 * paragraph.h: make isInserted/DeletedText take refs
10312 * paragraph_funcs.h:
10313 * paragraph_funcs.C: remove #if 0'd code
10318 * text.C: use lyxrow helpers above.
10319 Move draw and paint routines to RowPainter.
10320 Make several methods use refs not pointers.
10321 Make backgroundColor() const.
10322 Add markChangeInDraw(), isInInset().
10323 Merge changeRegionCase into changeCase.
10324 Make workWidth() shouldn't-happen code into an Assert.
10327 * rowpainter.C: new class for painting a row.
10330 * vspace.C: make inPixels take a ref
10332 2003-02-26 Angus Leeming <leeming@lyx.org>
10334 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10337 2003-02-25 John Levon <levon@movementarian.org>
10339 * ispell.C: give the forked command a more accurate name
10341 2003-02-22 John Levon <levon@movementarian.org>
10344 * toc.C: make TocItem store an id not a Paragraph *
10347 2003-02-21 Angus Leeming <leeming@lyx.org>
10349 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10350 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10351 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10352 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10353 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10354 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10356 * BufferView_pimpl.C (dispatch):
10357 * LyXAction.C (init):
10358 * factory.C (createInset):
10359 * lyxfunc.C (getStatus, dispatch):
10360 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10362 2003-02-21 Angus Leeming <leeming@lyx.org>
10364 * BufferView_pimpl.C (MenuInsertLyXFile):
10365 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10366 * lyxfunc.C (menuNew, open, doImport):
10367 no longer pass a LyXView & to fileDlg.
10369 2003-02-21 Angus Leeming <leeming@lyx.org>
10371 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10372 * LyXAction.C: change, BIBKEY to BIBITEM.
10373 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10374 Change InsetBibKey to InsetBibitem.
10375 Change BIBKEY_CODE to BIBITEM_CODE.
10376 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10377 * factory.C: replace insetbib.h with insetbibitem.h.
10378 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10379 * paragraph.C: replace insetbib.h with insetbibitem.h.
10380 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10381 Change bibkey() to bibitem().
10382 * text.C: remove insetbib.h.
10383 * text2.C: replace insetbib.h with insetbibitem.h.
10384 change bibkey() to bibitem().
10385 * text3.C: remove insetbib.h.
10386 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10388 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10390 * lyxrc.C (output): enclose user email in quotes (in case there are
10393 2003-02-18 John Levon <levon@movementarian.org>
10395 * buffer.h: add std::
10397 2003-02-17 John Levon <levon@movementarian.org>
10403 * pspell.C: reworking. Especially in ispell, a large
10404 number of clean ups and bug fixes.
10406 * lyxfunc.C: fix revert to behave sensibly
10408 2003-02-17 André Pönitz <poenitz@gmx.net>
10411 * commandtags.h: new LFUN_INSERT_BIBKEY
10421 * paragraph_func.C: remove special bibkey handling
10423 2003-02-17 John Levon <levon@movementarian.org>
10425 * text.C (Delete): fix case where delete at the end of
10426 the very first paragraph would not merge the pars
10428 2003-02-17 John Levon <levon@movementarian.org>
10430 * lyxrow.C: fix lastPrintablePos()
10432 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10434 * bufferparams.C (writeLaTeX): add a std:here
10436 * buffer.C: and remove a using directive there
10438 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10440 * buffer.C (makeLaTeXFile): move the code that generates the
10443 * bufferparams.C (writeLaTeX): ... in this new method
10445 * LaTeXFeatures.C (getEncodingSet): make const
10446 (getLanguages): make const
10448 * MenuBackend.C (binding): returns the binding associated to this
10450 (add): sets the status of each item by calling getStatus. Adds
10452 (read): add support for OptSubMenu
10453 (expand): remove extra separator at the end of expanded menu
10455 2003-02-15 John Levon <levon@movementarian.org>
10458 * BufferView_pimpl.C:
10460 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10461 inset code that had no actual effect. Remove unneeded status
10464 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10466 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10469 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10471 * text.C (drawLengthMarker): also draw an arrow marker for
10472 symbolic lengths (medskip...)
10474 2003-02-14 John Levon <levon@movementarian.org>
10477 * tabular.C: better method names
10479 2003-02-14 John Levon <levon@movementarian.org>
10481 * BufferView_pimpl.C:
10486 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10487 it's a more accurate name. Remove some pointless uses.
10489 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10491 * text2.C (LyXText): change order of initilizers to shut off
10494 2003-02-14 John Levon <levon@movementarian.org>
10496 * buffer.C: use ParIterator for getParFromID()
10500 * paragraph_pimpl.h:
10501 * paragraph_pimpl.C: remove unused getParFromID()
10503 2003-02-14 John Levon <levon@movementarian.org>
10505 * buffer.C: remove some very old #if 0'd parse code
10507 2003-02-13 John Levon <levon@movementarian.org>
10511 * text2.C: move hfillExpansion(), numberOfSeparators(),
10512 rowLast(), rowLastPrintable(), numberofHfills(),
10513 numberOfLabelHfills() ...
10516 * lyxrow.C: ... to member functions here.
10521 * text.C: remove LyXText::beginningOfMainBody(), and call
10522 p->beginningOfMainBody() directly. Move the check for
10523 LABEL_MANUAL into the latter.
10530 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10536 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10537 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10539 2003-02-13 John Levon <levon@movementarian.org>
10541 * CutAndPaste.C: remove debug
10543 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10545 * paragraph.C (asString): remove two unused variables
10547 * lyxtextclass.C (readTitleType):
10549 (LyXTextClass): handle new members titletype_ and titlename_
10551 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10553 2003-02-09 John Levon <levon@movementarian.org>
10556 * buffer.C: replace hand-coded list with a map for the dep clean
10558 2003-02-08 John Levon <levon@movementarian.org>
10560 * LaTeX.C: consolidate code into showRunMessage() helper
10562 2003-02-08 John Levon <levon@movementarian.org>
10567 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10568 and pass the size in explicitly
10570 * BufferView_pimpl.h:
10571 * BufferView_pimpl.C:
10573 * BufferView.C: add getCurrentChange()
10575 * BufferView_pimpl.h:
10576 * BufferView_pimpl.C: handle change lfuns
10578 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10579 for changes. Mark pasted paragraphs as new.
10581 * support/lyxtime.h:
10582 * support/lyxtime.C:
10583 * DepTable.C: abstract time_t as lyx::time_type
10586 * LColor.C: add colours for new text, deleted text, changebars
10588 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10589 package use "usenames" option.
10593 * LyXAction.C: add change lfuns
10597 * author.C: author handling
10600 * buffer.C: add a per-buffer author list, with first entry as
10601 current author. Handle new .lyx tokens for change tracking. Output
10602 author list to .lyx file. Output dvipost stuff to .tex preamble.
10603 Bump lyx format to 222.
10606 * bufferlist.C: add setCurrentAuthor() to reset current author details
10610 * bufferparams.C: add param for tracking
10612 * bufferview_funcs.C: output change info in minibuffer
10616 * changes.C: add change-tracking structure
10619 * debug.C: add CHANGES debug flag
10622 * lyxfind.C: add code for finding the next change piece
10625 * lyxrc.C: add user_name and user_email
10628 * lyxrow.C: add a metric for the top of the text line
10631 * text.C: implement accept/rejectChange()
10634 * text.C: paint changebars. Paint new/deleted text in the chosen
10635 colours. Strike through deleted text.
10639 * paragraph_pimpl.h:
10640 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10641 in the current change to the insert functions. Rework erase to
10642 mark text as deleted, adding an eraseIntern() and a range-based
10643 erase(). Implement per-paragraph change lookup and
10646 * paragraph_funcs.C: Fixup paste for change tracking.
10648 * tabular.C: mark added row/columns as new.
10650 * text.C: fix rowLast() to never return -1. Don't allow
10651 spellchecking of deleted text. Track transpose changes. Don't
10652 allow paragraph break or merge where appropriate.
10654 * text2.C: leave cursor at end of selection after a cut.
10656 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10658 * text.C (getLengthMarkerHeight):
10659 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10660 visible on screen too.
10662 2003-02-07 John Levon <levon@movementarian.org>
10664 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10666 2003-02-05 Angus Leeming <leeming@lyx.org>
10668 * lyxserver.C (read_ready): revert my patch of 11 September last year
10669 as it sends PC cpu through the roof. Presumably this means that
10670 the lyxserver will no longer run on an Alpha...
10672 2003-01-30 Angus Leeming <leeming@lyx.org>
10674 * factory.C (createInset): create an InsetCommandParam of type "index"
10675 and use it to 'do the right thing'.
10677 * text2.C (getStringToIndex): ensure that cursor position is always
10678 reset to the reset_cursor position.
10680 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10682 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10685 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10689 * lyxfunc.C: Output messages with identical spelling, punctuation,
10692 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10694 * MenuBackend.C (expandFormats): List only viewable export formats
10697 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10700 * lyxfunc.C (getStatus): Make sure that formats other than
10701 "fax" can also be disabled
10703 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10705 * text3.C (dispatch): put the lfuns that insert insets in 3
10706 groups, and call doInsertInset with appropriate arguments.
10707 (doInsertInset): new function, that creates an inset and inserts
10708 it according to some boolean parameters.
10710 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10712 * buffer.C (readFile): remember to pass on 'par' when calling
10713 readFile recursively.
10715 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10717 * MenuBackend.C (expandFormats): add "..." to import formats.
10719 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10721 * paragraph.C (asString): Remove XForms RTL hacks.
10723 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10724 * buffer.C: fix typo
10726 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10728 * Makefile.am (LIBS): delete var
10729 (lyx_LDADD): add @LIBS@ here instead.
10731 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10733 * Clarify the meaning of "wheel mouse jump"
10735 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10737 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10740 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10742 * importer.C (Loaders): do not preallocate 3 elements in the
10743 vector, since one ends up with 6 elements otherwise
10745 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10747 * DepTable.C (write): write the file name as last element of the
10748 .dep file (because it may contain spaces)
10749 (read): read info in the right order
10751 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10753 * paragraph_pimpl.C (simpleTeXBlanks):
10754 (simpleTeXSpecialChars):
10755 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10757 * tabular.C (latex): add some missing case statements. Reindent.
10759 * MenuBackend.C (expandToc): remove unused variable.
10761 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10770 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10773 2003-01-05 John Levon <levon@movementarian.org>
10776 * BufferView.C: add getEncoding()
10779 * kbsequence.C: do not store last keypress
10782 * lyxfunc.C: store last keypress here instead. Pass encoding
10785 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10787 * lyx_main.C (init): remove annoying error message when following
10788 symbolic links (bug #780)
10790 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10792 * text.C (insertChar):
10793 * lyxrc.C (getDescription): remove extra spaces
10795 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10797 * lyxrc.C (getDescription): remove extra spaces
10799 2002-12-20 John Levon <levon@movementarian.org>
10801 * text3.C: hack fix for page up/down across tall rows
10803 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10805 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10808 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10810 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10811 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10812 thesaurus is not compiled in
10814 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10816 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10818 2002-12-16 Angus Leeming <leeming@lyx.org>
10821 * lyx_main.C (init): remove override_x_deadkeys stuff.
10823 2002-12-12 John Levon <levon@movementarian.org>
10825 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10826 insert. Only remove shift modifier under strict
10829 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10831 * MenuBackend.C (expandToc): fix crash.
10833 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10835 * MenuBackend.C (expandToc): gettext on float names.
10837 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10839 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10840 implement bool empty() [bug 490]
10842 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10844 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10846 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10848 * several files: ws changes
10850 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10852 * text2.C (setCounter): clean up a bit, use boost.format.
10853 (updateCounters): initialize par upon declaration.
10855 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10856 if the layout exists. We do not just store the layout any more.
10857 (SwitchLayoutsBetweenClasses): use boost.format
10859 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10861 * converter.C (convert): if from and to files are the same, use a
10862 temporary files as intermediary
10864 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10867 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10869 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10871 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10873 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10875 * tabular.C (asciiPrintCell): use string(size, char) instead of
10878 * sgml.C (openTag): fix order of arguments to string constructor
10881 * lyxfunc.C (dispatch): use boost.format
10883 * lots of files: change "c" -> 'c'
10885 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10887 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10889 2002-11-25 Angus Leeming <leeming@lyx.org>
10891 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10893 * lyx_main.C (init): compile fix.
10895 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10897 * lyx_cb.C (start): boost.formatify
10898 do not include <iostream>
10900 * lengthcommon.C: ws only
10902 * boost-inst.C,BoostFormat.h: add more explict instantations
10904 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10906 * lots of files: handle USE_BOOST_FORMAT
10908 2002-11-21 John Levon <levon@movementarian.org>
10910 * pspell.C: fix compile
10912 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10914 * lyxfunc.C (dispatch): use boost::format
10918 * lyxfont.C (stateText): use boost::format
10920 * lyx_main.C (LyX): use boost::format
10922 (queryUserLyXDir): ditto
10923 (readRcFile): ditto
10925 (typedef boost::function): use the recommened syntax.
10927 * importer.C (Import): use boost::format
10929 * debug.C (showLevel): use boost::format
10931 * converter.C (view): use boost::format
10936 * bufferview_funcs.C (currentState): use boost::format
10938 * bufferlist.C (emergencyWrite): use boost::format
10940 * buffer.C (readLyXformat2): use boost::format
10941 (parseSingleLyXformat2Token): ditto
10943 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10945 * LaTeX.C (run): use boost::format
10947 * Chktex.C (scanLogFile): use boost::format
10949 * BufferView_pimpl.C (savePosition): use boost::format
10950 (restorePosition): ditto
10951 (MenuInsertLyXFile): ditto
10953 * BoostFormat.h: help file for explicit instation.
10955 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10957 * tabular.C (latex): Support for block alignment in fixed width
10960 2002-11-17 John Levon <levon@movementarian.org>
10962 * BufferView_pimpl.C:
10964 * lyxfunc.C: split filedialog into open/save
10966 2002-11-08 Juergen Vigna <jug@sad.it>
10968 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10969 by my last patch (hopefully).
10971 2002-11-08 John Levon <levon@movementarian.org>
10980 * toc.C: ParConstIterator, and use it (from Lars)
10982 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10984 * lyxtextclass.[Ch]: revise and add doxygen comments
10986 2002-11-07 John Levon <levon@movementarian.org>
10988 * text.C: fix progress value for spellchecker
10990 * toc.C: fix navigate menu for insetwrap inside minipage
10992 * paragraph_funcs.C: added FIXME for suspect code
10994 2002-11-07 John Levon <levon@movementarian.org>
10996 * BufferView_pimpl.C: fix redrawing of insets
10999 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11001 * text2.C (updateCounters): fix bug 668
11003 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
11005 * text3.C (dispatch): Do not make the buffer dirty when moving the
11008 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
11010 * vc-backend.C: STRCONV
11011 (scanMaster): ditto
11013 * text2.C (setCounter): STRCONV
11015 * paragraph.C (asString): STRCONV
11017 * lyxlength.C (asString): STRCONV
11018 (asLatexString): ditto
11020 * lyxgluelength.C (asString): STRCONV
11021 (asLatexString): ditto
11023 * lyxfunc.C (dispatch): STRCONV
11026 * lyxfont.C (stateText): STRCONV
11028 * importer.C (Import): STRCONV
11030 * counters.C (labelItem): STRCONV
11031 (numberLabel): ditto
11032 (numberLabel): remove unused ostringstream o
11037 * bufferview_funcs.C (currentState): STRCONV
11039 * buffer.C (readFile): STRCONV
11040 (asciiParagraph): ditto
11041 (makeLaTeXFile): ditto
11043 * Spacing.C (writeEnvirBegin): STRCONV
11045 * LaTeXFeatures.C (getLanguages): STRCONV
11046 (getPackages): ditto
11048 (getBabelOptions): ditto
11049 (getTClassPreamble): ditto
11050 (getLyXSGMLEntities): ditto
11051 (getIncludedFiles): ditto
11055 (scanAuxFile): ditto
11058 * LString.h: add the STRCONV macros
11060 * BufferView_pimpl.C (savePosition): STRCONV
11061 (restorePosition): ditto
11062 (MenuInsertLyXFile): ditto
11064 * vc-backend.C (scanMaster): change from submatch[...] to
11067 * funcrequest.C: include config.h
11069 * factory.C: include config.h
11071 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
11073 * box.C: include config.h
11075 * LaTeX.C (scanAuxFile): change from submatch[...] to
11079 2002-10-25 Angus Leeming <leeming@lyx.org>
11081 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
11083 * ispell.[Ch] (setError): new method.
11084 * ispell.C (c-tor): move out child process into new class LaunchIspell.
11085 Use setError() insetead of goto END.
11087 * lyx_cb.C (AutoSave): move out child process into new class
11090 2002-10-30 John Levon <levon@movementarian.org>
11092 * text3.C: make start appendix undoable
11094 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
11096 * lyxlength.C (inPixels): Fix returned value.
11098 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
11101 2002-10-24 Angus Leeming <leeming@lyx.org>
11103 * lyxgluelength.h: no need to forward declare BufferParams
11104 or BufferView, so don't.
11106 2002-10-21 John Levon <levon@movementarian.org>
11108 * BufferView.C: menuUndo ->undo, redo
11110 * BufferView.h: document, remove dead, make some methods private
11112 * paragraph_funcs.h:
11113 * paragraph_funcs.C:
11114 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
11119 * sgml.C: move sgml open/close tag into sgml.C
11121 * bufferview_funcs.h: unused prototype
11124 * lyxfunc.C: remove unused
11127 * text.C: remove unused
11129 2002-10-21 John Levon <levon@movementarian.org>
11133 * BufferView_pimpl.h:
11134 * BufferView_pimpl.C: fix mouse wheel handling based on
11135 patch from Darren Freeman
11137 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
11139 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
11141 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
11143 * lyxlength.C (inPixels): Fix hanfling of negative length.
11144 Fix LyXLength::MU case.
11146 2002-10-16 John Levon <levon@movementarian.org>
11148 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
11150 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11152 * converter.C (view): add support for $$i (file name) and $$p
11153 (file path) for the viewer command. If $$i is not specified, then
11154 it is appended to the command (for compatibility with old syntax)
11156 2002-10-14 Juergen Vigna <jug@sad.it>
11158 * undo_funcs.C (textHandleUndo): alter the order in which the
11159 new undopar is added to the LyXText, as we have to set first
11160 the right prev/next and then add it as otherwise the rebuild of
11161 LyXText is not correct. Also reset the cursor to the right paragraph,
11162 with this IMO we could remove the hack in "redoParagraphs()".
11164 2002-10-09 Angus Leeming <leeming@lyx.org>
11166 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
11167 to turn off an optimisation if a new inset is to be inserted.
11169 2002-10-11 André Pönitz <poenitz@gmx.net>
11171 * lyxtext.h: make some functions public to allow access
11172 from inset/lyxtext for handling LFUN_PRIOR/NEXT
11174 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11176 * text3.C (dispatch): when changing layout, avoid an infinite loop
11179 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11181 * lyxrc.C (read): treat a viewer or converter command of "none" as
11184 * MenuBackend.C (expandFormats): for an update, also allow the
11185 formats that are not viewable
11187 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
11188 script if it is newer than the lyxrc.defaults in user directory
11190 2002-10-07 André Pönitz <poenitz@gmx.net>
11192 * text.C: Vitaly Lipatov's small i18n fix
11194 2002-09-25 Angus Leeming <leeming@lyx.org>
11196 * ispell.h: doxygen fix.
11198 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
11200 * buffer.h (readFile): Add a new argument to the method, to allow
11201 reading of old-format templates.
11203 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
11205 * toc.C (getTocList): Get TOC from InsetWrap.
11207 2002-09-16 John Levon <levon@movementarian.org>
11209 * lyxfunc.C: check tabular for cut/copy too
11211 2002-09-12 John Levon <levon@movementarian.org>
11213 * LyXAction.C: tidy
11216 * factory.C: add header
11218 * paragraph_funcs.h:
11219 * paragraph_funcs.C: cleanup
11221 2002-09-11 John Levon <levon@movementarian.org>
11223 * PrinterParams.h: odd/even default to true
11225 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
11227 * PrinterParams.h: update printer parameters for new xforms dialog
11229 2002-09-11 Angus Leeming <leeming@lyx.org>
11231 * lyxserver.C (read_ready): re-write to make it more transparent
11232 and to make it work in coherent fashion under Tru64 Unix.
11234 2002-09-11 André Pönitz <poenitz@gmx.net>
11238 * text3.C: implement LFUN_WORDSEL
11240 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11242 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11243 make floatlist_ a boost::shared_ptr<FloatList>
11245 * lyxtextclass.C: include FloatList.h
11246 (LyXTextClass): initialize floatlist_
11247 (TextClassTags): add TC_NOFLOAT
11248 (Read): match "nofloat" to TC_NOFLOAT and use it.
11249 (readFloat): modify call to floatlist_
11253 * FloatList.[Ch] (FloatList): remove commented out float
11255 (erase): new function
11257 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11259 * MenuBackend.C (expandToc): fix crash when there is no document
11262 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
11264 * many files: Add insetwrap.
11266 2002-09-09 John Levon <levon@movementarian.org>
11268 * text2.C: remove confusing and awkward depth wraparound
11270 2002-09-09 John Levon <levon@movementarian.org>
11272 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11275 * buffer.C: remove getIncludeonlyList()
11278 * lyxfunc.C: remove headers
11280 2002-09-09 Juergen Vigna <jug@sad.it>
11282 * text.C (getColumnNearX): fix form Michael this is most
11283 probably a cut&paste bug.
11285 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
11287 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11289 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11290 references, ws changes.
11292 * text2.C (init): update counters after init
11293 (insertParagraph): no need to set counter on idividual paragraphs.
11294 (setCounter): access the counters object in the textclass object
11295 on in the buffer object.
11296 (updateCounters): ditto
11298 * lyxtextclass.C: include counters.h, add variable ctrs_ as
11299 shared_ptr<Counters> to avoid loading counters.h in all
11301 (LyXTextClass): initialize ctrs_
11302 (TextClassTags): add TC_COUNTER, and ...
11303 (Read): use it here.
11304 (CounterTags): new tags
11305 (readCounter): new function
11306 (counters): new funtion
11307 (defaultLayoutName): return a const reference
11309 * counters.C (Counters): remove contructor
11310 (newCounter): remove a couple of unneeded statements.
11311 (newCounter): simplify a bit.
11312 (numberLabel): some small formatting changes.
11314 * buffer.[Ch]: remove all traces of counters, move the Counters
11315 object to the LyXTextClass.
11317 2002-09-06 Alain Castera <castera@in2p3.fr>
11319 * tabular.C: uses \tabularnewline; uses >{...} construct from array
11320 package to set the horizontal alignment on fixed width columns.
11323 * lyx_sty.h: added tabularnewline macro def.
11325 * LaTeXFeatures.C: added NeedTabularnewline macro feature
11327 2002-09-06 John Levon <levon@movementarian.org>
11329 * LyXAction.C: tooltips for sub/superscript
11331 * MenuBackend.C: a bit more verbose
11333 * lyxfunc.C: tiny clean
11335 * undo_funcs.C: document undo_frozen
11337 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
11339 * counters.C (Counters): add missing algorithm counter.
11341 * text2.C (setCounter): lookup the counter with layouts latexname
11342 instead of by section number.
11343 (setCounter): use a hackish way to lookup the correct enum
11345 a float name->type change
11346 reset enum couners with counter name directly instead of depth value.
11348 * counters.C (Counters): remove the push_backs, change to use the
11349 float type not the float name.
11350 (labelItem): remove unused string, float name->type change
11352 * counters.h: don't include vector, loose the enums and sects vectors
11354 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
11356 * lyxtextclass.C (TextClassTags): add TC_FLOAT
11357 (Read): add float->TC_FLOAT to textclassTags
11358 (Read): and handle it in the switch
11359 (readFloat): new function
11361 * FloatList.C (FloatList): comment out the hardcoded float
11364 * lyxlayout.h: ws change.
11366 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
11368 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11370 2002-09-03 Angus Leeming <leeming@lyx.org>
11372 * BufferView_pimpl.h: qualified name is not allowed in member
11373 declaration: WorkArea & Pimpl::workarea() const;
11375 * factory.C: added using std::endl directive.
11377 * text3.C: added using std::find and std::vector directives.
11379 2002-08-29 André Pönitz <poenitz@gmx.net>
11382 * text2.C: remove unused member number_of_rows
11385 * BufferView2.C: remove file, move contents to...
11386 * BufferView.C: ... here
11388 * BufferView_pimpl.C:
11389 * factory.C: move more inset creation to factory
11391 * vspace.C: avoid direct usage of LyXText, ws changes
11394 don't provide direct access to WorkArea, use two simple
11395 acessors haveSelction() and workHeight() instead
11398 2002-08-29 John Levon <levon@movementarian.org>
11400 * BufferView_pimpl.C (dispatch): do not continue when
11403 2002-08-28 André Pönitz <poenitz@gmx.net>
11405 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11408 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11410 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
11412 * buffer.C: increment LYX_FORMAT to 221
11414 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11415 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11417 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11419 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11421 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11423 * factory.C (createInset): use LyXTextClass::floats
11425 * MenuBackend.C (expandFloatListInsert):
11426 (expandFloatInsert):
11429 * text2.C (setCounter):
11431 * LaTeXFeatures.C (useFloat):
11432 (getFloatDefinitions):
11434 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11436 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11437 floatlist_, with accessor floats().
11439 * FloatList.h: remove global FloatList
11441 2002-08-26 André Pönitz <poenitz@gmx.net>
11443 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11447 * BufferView_pimpl.C:
11448 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11450 2002-08-25 John Levon <levon@movementarian.org>
11452 * LyXAction.C: fix margin note description
11454 2002-08-24 John Levon <levon@movementarian.org>
11458 * bufferview_funcs.C:
11460 * undo_funcs.C: cleanups
11462 * lyxfunc.C: disable CUT/COPY when no selection
11464 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11466 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11467 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11469 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11470 Add backward compatibility to "mono", "gray" and "no".
11472 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11474 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11475 (and file_format >= 200).
11477 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11479 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11481 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11483 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11485 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11487 * BufferView_pimpl.C:
11494 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11495 inset and code to make it work with the paragraph code. The inset
11496 can be anywhere in the paragraph, but will only do the expected
11497 thing in LaTeX if the layout file contains the parameter line
11499 (or more generally, a nonzero value) for that layout.
11501 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11503 * paragraph.h: remove the declaration of undefined counters class
11506 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11508 * text2.C (setCounter): fixed enumeration mis-count as reported by
11509 Dr. Richard Hawkins.
11511 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11513 * paragraph_funcs.h: remove some unneeded includes
11515 * text.C (backspace): pasteParagraph now in global scipe
11517 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11518 (pasteSelection): ditto
11520 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11521 * paragraph_funcs.C (pasteParagraph): ... here
11523 2002-08-20 André Pönitz <poenitz@gmx.net>
11525 * commandtags.h: new LFUNs for swapping/copying table row/colums
11528 * lyxfunc.C: support for new lfuns
11530 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11533 * buffer.[Ch]: remove NO_COMPABILITY stuff
11535 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11537 * boost.C (throw_exception): new file, with helper function for
11538 boost compiled without exceptions.
11543 * ParameterStruct.h:
11544 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11546 * bufferlist.C (emergencyWriteAll): use boost bind
11548 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11550 * text.C: include paragraph_funcs.h
11551 (breakParagraph): breakParagraph is now in global scope
11553 * paragraph_funcs.[Ch]: new files
11555 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11558 * buffer.C: include paragraph_funcs.h
11559 (insertStringAsLines): breakParagraph is now in global scope
11561 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11564 * CutAndPaste.C: include paragraph_funcs.h
11565 (cutSelection): breakParagraphConservative is now in global scope
11566 (pasteSelection): ditto
11568 * buffer.h: declare oprator== and operator!= for
11569 Buffer::inset_iterator
11571 * bufferlist.C (emergencyWrite): don't use fmt(...)
11573 * text3.C: add using std::endl
11575 * BufferView.C (moveCursorUpdate): remove default arg
11577 2002-08-20 André Pönitz <poenitz@gmx.net>
11579 * buffer.[Ch]: move inline functions to .C
11582 * BufferView_pimpl.C:
11584 * buffer.[Ch]: use improved inset_iterator
11587 * paragraph.[Ch]: write one paragraph at a time
11589 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11591 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11592 style if style is not specified.
11594 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11596 * text2.C (setCounter): when searching for right label for a
11597 caption, make sure to recurse to parent insets (so that a caption
11598 in a minipage in a figure float works) (bug #568)
11600 2002-08-20 André Pönitz <poenitz@gmx.net>
11602 * text3.C: new file for LyXText::dispatch() and helpers
11604 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11606 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11608 2002-08-19 André Pönitz <poenitz@gmx.net>
11611 * text.C: new LyXText::dispatch()
11613 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11615 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11617 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11619 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11622 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11624 * Makefile.am: use $(variables) instead of @substitutions@
11626 2002-08-15 André Pönitz <poenitz@gmx.net>
11629 * BufferView_pimpl.C: streamlining mathed <-> outer world
11633 * LyXAction.C: remove unused LFUN_MATH
11635 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11637 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11639 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11641 * paragraph.C (Paragraph): reformat a bit
11642 (cutIntoMinibuffer): use builtin InsetList function instad of
11646 * buffer.C: include boost/bind.hpp, add using std::for_each
11647 (writeFileAscii): use ParagraphList iterators
11648 (validate): use for_each for validate traversal of paragraphs
11649 (getBibkeyList): use ParagraphList iterators
11650 (resizeInsets): use for_each to resizeInsetsLyXText for all
11652 (getParFromID): use ParagraphList iterators
11654 * BufferView2.C (lockInset): use paragraph list and iterators
11656 2002-08-14 John Levon <levon@movementarian.org>
11658 * lyxserver.C: remove spurious xforms include
11660 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11662 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11664 2002-08-13 André Pönitz <poenitz@gmx.net>
11667 * lyxfunc.C: further cleaning
11669 2002-08-13 André Pönitz <poenitz@gmx.net>
11671 * funcrequest.h: new constructor
11673 * funcrequest.C: move stuff here from .h
11676 * BufferView_pimpl.C:
11679 * lyxfunc.C: subsequent changes
11681 * lyxfunc.h: new view() member function
11683 * lyxfunc.C: subsequent changes
11685 2002-08-13 Angus Leeming <leeming@lyx.org>
11688 * BufferView_pimpl.C:
11696 changes due to the changed LyXView interface that now returns references
11697 to member variables not pointers.
11699 2002-08-13 Angus Leeming <leeming@lyx.org>
11701 * WordLangTuple (word, lang_code): return references to strings,
11706 * lyxtext.h: forward-declare WordLangTuple.
11711 * text.C: #include "WordLangTuple.h".
11714 * text.C: (selectNextWordToSpellcheck): constify return type.
11716 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11722 * paragraph_pimpl.h:
11725 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11726 suggested by Angus.
11727 Made updateCounter always count from start of buffer, and removed
11728 second argument (par).
11729 Reverted floats number display to '#'. Perhaps I'll try again when the
11730 code base is sanitized a bit.
11732 2002-08-12 Angus Leeming <leeming@lyx.org>
11734 * buffer.[Ch] (getLabelList): constify.
11736 2002-08-07 André Pönitz <poenitz@gmx.net>
11738 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11740 * funcrequest.h: extension to keep mouse (x,y) position
11742 2002-08-12 Juergen Vigna <jug@sad.it>
11744 * BufferView2.C (insertErrors): forbid undo when inserting error
11747 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11749 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11751 * ParagraphList.[Ch]: new files
11753 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11755 * BufferView2.C (lockInset): ParagraphList changes
11758 * bufferlist.C: ditto
11762 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11764 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11765 unused class variable counter_,
11767 * paragraph.[Ch] (getFirstCounter): delete unused function
11769 * counters.C: include LAssert.h
11770 (reset): add a new function with no arg, change other version to
11771 not have def. arg and to not allow empty arg.
11773 * text2.C (setCounter): remove empty arg from call to Counters::reset
11775 2002-08-11 John Levon <levon@movementarian.org>
11777 * Makefile.am: add WordLangTuple.h
11779 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11781 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11782 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11784 * insets/insettext.C: InsetList changes
11786 * graphics/GraphicsSupport.C (operator()): InsetList changes
11788 * toc.C (getTocList): InsetList changes
11790 * paragraph_pimpl.[Ch]: InsetList changes
11792 * paragraph.[Ch]: InsetList changes
11794 * buffer.C (inset_iterator): InsetList changes
11795 (setParagraph): ditto
11796 * buffer.h (inset_iterator): ditto
11797 * iterators.C (operator++): ditto
11798 * iterators.h: ditto
11800 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11802 * InsetList.[Ch]: new files, most InsetList handling moved out of
11805 * BufferView2.C (removeAutoInsets): InsetList changes
11807 (ChangeInsets): ditto
11809 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11811 * paragraph_pimpl.h (empty): new function
11813 * paragraph.[Ch] (empty): new function
11815 * other files: use the new Paragraph::empty function
11817 2002-08-09 John Levon <levon@movementarian.org>
11819 * lyxtext.h: remove unused refresh_height
11821 2002-08-09 John Levon <levon@movementarian.org>
11828 * paragraph.C: move sgml char escaping out of paragraph
11831 * paragraph.C: remove id setter
11835 * paragraph_pimpl.C: remove dead tex_code_break_column
11837 * bufferview_funcs.C: small cleanup
11839 * lyxfunc.C: remove dead proto
11841 * lyxtext.h: make some stuff private. Remove some dead stuff.
11843 * lyxgluelength.C: make as[LyX]String() readable
11845 2002-08-08 John Levon <levon@movementarian.org>
11850 * ToolbarDefaults.C:
11853 * toc.C: lyxaction cleanup
11855 2002-08-08 John Levon <levon@movementarian.org>
11857 * BufferView2.C: small cleanup
11860 * lyxfind.C: move unnecessary header into the .C
11862 2002-08-08 John Levon <levon@movementarian.org>
11864 * funcrequest.h: just tedious nonsense
11867 * lyx_main.C: cleanups
11870 * vspace.C: remove dead header lyx_main.h
11872 2002-08-07 Angus Leeming <leeming@lyx.org>
11875 * paragraph_pimpl.h:
11876 Forward declare class Counters in paragraph.h by moving the ctrs member
11877 variable into Paragraph::Pimpl.
11878 (counters): new method, returning a reference to pimpl_->ctrs.
11880 * text2.C: ensuing changes.
11882 2002-08-07 John Levon <levon@movementarian.org>
11884 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11886 * BufferView_pimpl.C: announce X selection on double/triple
11889 * lyx_main.C: use correct bool in batch dispatch
11891 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11893 2002-08-07 André Pönitz <poenitz@gmx.net>
11895 * funcrequest.h: new class to wrap a kb_action and its argument
11898 * BufferView_pimpl[Ch]:
11902 * lyxrc.C: subsequent changes
11905 2002-08-07 John Levon <levon@movementarian.org>
11907 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11908 document options change.
11910 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11915 * makefile.am: move counters functionality over from
11916 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11918 2002-08-06 John Levon <levon@movementarian.org>
11920 * WordLangTuple.h: new file for word + language code tuple
11931 * BufferView2.C: use WordLangTuple
11934 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11936 2002-08-06 John Levon <levon@movementarian.org>
11938 * lyx_main.C: fix cmdline batch handling
11940 2002-08-06 André Pönitz <poenitz@gmx.net>
11942 * lyxrc.C: set default for show_banner to true
11944 2002-08-06 John Levon <levon@movementarian.org>
11946 * pspell.C: fix a crash, and allow new aspell to work
11948 2002-08-06 John Levon <levon@movementarian.org>
11951 * kbmap.C: small cleanup
11954 * vspace.C: add const
11956 2002-08-05 John Levon <levon@movementarian.org>
11958 * LyXAction.C: back to tabular-insert
11960 2002-08-04 John Levon <levon@movementarian.org>
11963 * BufferView.C: cosmetic change
11965 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11975 * BufferView2.C: purge all "Lyx" not "LyX" strings
11978 * lyxcursor.C: attempt to add some documentation
11983 * ToolbarDefaults.C:
11984 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11985 merge with LFUN_TABULAR_INSERT
11992 * pspell.C: split up i/pspell implementations into separate
11993 files, many cleanups
11995 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11997 * text2.C: some cleanup
11999 * lyxfunc.C: don't check for isp_command == "none" any more, it
12000 didn't make any sense
12002 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
12007 * makefile.am: move counters functionality over
12008 from text2.C/paragraph.[Ch] to counters.[Ch], and
12010 2002-08-02 John Levon <levon@movementarian.org>
12012 * buffer.C: s/lyxconvert/lyx2lyx/
12014 2002-08-02 Angus Leeming <leeming@lyx.org>
12016 * lyxlex.C: revert John's change as it breaks reading of the user
12019 2002-08-02 Angus Leeming <leeming@lyx.org>
12021 * importer.C (Import):
12022 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
12023 changes due to LyXView::view() now returning a boost::shared_ptr.
12025 2002-08-02 John Levon <levon@movementarian.org>
12027 * lyxlex.C: small cleanup
12029 2002-08-02 John Levon <levon@movementarian.org>
12031 * text2.C (status): small cleanup, no logic change
12033 2002-08-01 John Levon <levon@movementarian.org>
12036 * buffer.C (writeFile): don't output alerts, caller
12040 * lyx_cb.C: from above
12042 * lyxfunc.C: allow to open non-existent files
12044 2002-07-31 John Levon <levon@movementarian.org>
12046 * lyxserver.C: don't let incidental errors get
12049 2002-07-30 John Levon <levon@movementarian.org>
12051 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
12053 2002-07-30 John Levon <levon@movementarian.org>
12056 * lyxserver.C: remove I/O callback too
12058 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12060 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
12063 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
12065 * many files: strip,frontStrip -> trim,ltrim,rtrim
12067 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
12069 * PrinterParams.h: remove extern containsOnly, and include
12070 support/lstrings.h instead.
12072 * LaTeX.C (scanAuxFile): modify because of strip changes
12074 * buffer.C (makeLaTeXFile): ditto
12075 * bufferparams.C (writeFile): ditt
12076 * lyxfont.C (stateText): ditto
12077 * lyxserver.C (read_ready): ditto
12078 * vc-backend.C (scanMaster): ditto
12080 * BufferView_pimpl.h: ws changes
12082 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
12084 2002-07-26 André Pönitz <poenitz@gmx.net>
12086 * kb_sequence.C: remove unnedred usings
12088 2002-07-26 Juergen Vigna <jug@sad.it>
12090 * lyxfind.C (LyXReplace): we have to check better if the returned
12091 text is not of theLockingInset()->getLockingInset().
12093 2002-07-25 Juergen Vigna <jug@sad.it>
12095 * lyxfind.C (LyXReplace): don't replace if we don't get the
12098 * undo_funcs.C (createUndo): remove debugging code.
12100 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
12102 * buffer.C (parseSingleLyXformat2Token): Use default placement
12103 when reading old floats.
12105 * FloatList.C (FloatList): Change the default placement of figure
12106 and tables to "tbp".
12108 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
12110 * MenuBackend.C: using std::max
12112 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12114 * MenuBackend.C (expandToc):
12115 (expandToc2): code moved from xforms menu frontend. It is now
12116 generic and TOCs are transparent to menu frontends.
12118 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12120 * toc.C (getTocList): protect against buf=0
12122 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
12123 Menu as first parameter. Now, this calls itself recursively to
12124 expand a whole tree (this will be useful for TOC handling)
12125 (expandFloatInsert): remove 'wide' version of floats
12127 * MenuBackend.h (submenuname): returns the name of the submenu.
12128 (submenu): returns the submenu itself, provided it has been
12129 created by MenuBackend::expand
12131 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12133 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
12134 insets which have noFontChange == true. (bug #172)
12136 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12138 * BufferView_pimpl.C: add connection objects and use them...
12141 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12143 * MenuBackend.C (expandLastfiles):
12146 (expandFloatListInsert):
12147 (expandFloatInsert):
12148 (expand): split expand in parts
12150 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12152 * lyx_gui.C: use lyx_gui::exit()
12154 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12156 * LyXAction.C: show the failing pseudo action
12158 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
12160 * buffer.C (readFile): Run the lyxconvert script in order to read
12163 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12167 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
12169 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12173 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
12175 2002-07-22 Herbert Voss <voss@lyx.org>
12178 * lyxlength.[Ch]: add support for the vertical lengths
12180 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
12182 * toc.[Ch]: std:: fixes
12184 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12186 * lyxrc.C: do not include lyx_main.h
12188 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
12194 * BufferView2.C: include "lyxlex.h"
12197 * bufferparams.h: do not #include "lyxlex.h"
12199 * lyxtextclasslist.C (Add): remove method
12200 (classlist): renamed to classlist_
12202 * paragraph_pimpl.C:
12206 * bufferview_funcs.C:
12211 * toc.C (getTocList): use BufferParams::getLyXTextClass
12213 * toc.C (getTocList): use InsetFloat::addToToc
12215 * toc.[Ch]: new files, containing helper functions to handle table
12218 * lyxfunc.C (dispatch): no need to remove spaces around command
12220 (getStatus): handle LFUN_SEQUENCE by returning the status of the
12221 first command of the sequence; it is not very clever, but I do not
12222 have a better idea, actually
12224 * LyXAction.C (LookupFunc): make sure to remove space at the
12225 beginning and end of the command
12227 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12229 * MenuBackend.C (getMenubar): new method: return the menubar of
12231 (read): treat differently reading of menu and menubar (in
12232 particular, the menubar has no name now)
12233 (Menu::menubar): remove
12235 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12238 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
12240 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12241 a bibitem inset in a RTL paragraph.
12243 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
12245 * paragraph_pimpl.C: constify
12247 * BufferView_pimpl.C:
12249 * lyxfunc.C: fix dispatch in a nicer way
12251 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12253 * lyxfunc.C (dispatch):
12254 * BufferView_pimpl.C:
12255 * BufferView_pimpl.h:
12257 * BufferView.h: rename Dispatch() to dispatch()
12259 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12261 * lyxlayout.C (Read): honor DependsOn tag
12263 * lyxlayout.[Ch] (depends_on): new method
12265 * version.C.in: update lyx_docversion
12267 * LaTeXFeatures.C (getMacros): only define \LyX when needed
12269 * paragraph.C (validate): remove from here...
12270 * paragraph_pimpl.C (validate): ... and move here
12271 (isTextAt): make it const
12273 * buffer.C (getLists): ws cleanup
12275 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
12277 * language.C (read): Use iso8859-1 encoding in latex_lang
12278 (this prevents LyX from crashing when using iso10646-1 encoding).
12280 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12282 * text2.C (toggleInset): if cursor is inside an inset, close the
12283 inset and leave cursor _after_ it
12285 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12287 * lyxfunc.C: move minibuffer completion handling out of here
12289 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12291 * BufferView_pimpl.C:
12292 * LaTeX.C: fix dispatch calls
12294 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
12296 * text.C (drawChars): Fix Arabic text rendering.
12298 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
12302 * lyxfunc.C: remove message-push/pop
12306 * lyxfunc.C: rationalise some code by removing verboseDispatch
12307 in favour of a bool argument to dispatch()
12309 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12311 * lyx_main.C (init): make sure to read symlinks as absolute paths
12313 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12316 * lyxfunc.C: no need for commandshortcut to be a member
12318 2002-07-15 André Pönitz <poenitz@gmx.net>
12320 * converter.C: add support for $$s (scripts from lib/scripts dir)
12321 * lyx_main.C: white space
12323 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12327 * lyxrc.C: remove second exit confirmation
12329 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12334 * BufferView_pimpl.h:
12335 * BufferView_pimpl.C:
12336 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12338 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12340 * MenuBackend.C (expand): add numeric shortcuts to document menu
12342 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12344 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12346 * lyxfont.C (setLyXFamily):
12353 * buffer.C (asciiParagraph): use ascii_lowercase
12355 2002-07-15 Mike Fabian <mfabian@suse.de>
12357 * lyxlex_pimpl.C (search_kw):
12358 * lyxlex.C (getLongString):
12359 * converter.h (operator<):
12360 * converter.C (operator<):
12361 * buffer.C (parseSingleLyXformat2Token):
12363 * ToolbarDefaults.C (read):
12364 * MenuBackend.C (checkShortcuts):
12366 * LColor.C (getFromGUIName):
12367 (getFromLyXName): use the compare_ascii_no_case instead of
12368 compare_no_case, because in turkish, 'i' is not the lowercase
12369 version of 'I', and thus turkish locale breaks parsing of tags.
12371 2002-07-16 Angus Leeming <leeming@lyx.org>
12373 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12374 now takes a Buffer const & argument.
12376 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
12378 * BufferView.C (resize): check there's a buffer to resize
12380 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
12382 * lyxfunc.C: remove dead code
12385 * lyxserver.C: use lyx_guii::set_read_callback
12387 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
12389 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12390 an inset in a RTL paragraph.
12392 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12394 * lyxfunc.C: repaint after a font size update
12396 2002-07-15 André Pönitz <poenitz@gmx.net>
12398 * lyxlength.C: inBP should be able to return negative values
12400 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12402 * lyxfunc.C: use lyx_gui::update_fonts()
12404 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12406 * lyxfunc.C: use lyx_gui::update_color()
12408 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12414 * lyxrc.C: remove file->new asks for name option, and let
12415 buffer-new take an argument
12417 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12419 * BufferView_pimpl.C: remove unneeded extra repaint()
12421 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
12423 * LyXAction.C: allow command-sequence with NoBuffer
12425 * lyxfunc.C: don't insist on trailing ';' for command-sequence
12427 2002-07-10 Angus Leeming <leeming@lyx.org>
12429 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12431 2002-07-09 Angus Leeming <leeming@lyx.org>
12433 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12435 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12437 * lengthcommon.h: whitespace
12439 * lyxfunc.C: update scrollbar after goto paragraph
12441 * lyxtext.h: factor out page break drawing, and fix it so
12442 page break/added space paints as selected nicely
12444 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12446 * BufferView_pimpl.C: add FIXMEs, clean up a little
12448 2002-07-09 André Pönitz <poenitz@gmx.net>
12450 * lyxfont.[Ch]: support for wasy symbols
12452 2002-07-08 André Pönitz <poenitz@gmx.net>
12454 * BufferView_pimpl.C: apply John's patch for #93.
12456 2002-07-05 Angus Leeming <leeming@lyx.org>
12458 * BufferView_pimpl.C (buffer): generate previews if desired.
12460 * LColor.h: add "preview" to the color enum.
12462 * LColor.C (LColor): add a corresponding entry to the items array.
12464 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12467 2002-07-05 Angus Leeming <leeming@lyx.org>
12469 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12470 The body of the code is now in the method that is passed an ostream &
12471 rather than a file name.
12472 Pass an additional only_preamble parameter, useful for the forthcoming
12475 2002-07-03 André Pönitz <poenitz@gmx.net>
12477 * lyxfunc.C: simplify getStatus() a bit for math stuff
12479 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12481 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12483 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12485 * text.C (changeRegionCase): do not change case of all the
12486 document when region ends at paragraph end (bug #461)
12488 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12490 * paragraph.C (startTeXParParams):
12491 (endTeXParParams): add \protect when necessary
12493 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12495 * BufferView_pimpl.C (workAreaExpose): remove warning
12497 2002-06-27 Angus Leeming <leeming@lyx.org>
12499 * Makefile.am: add lyxlayout_ptr_fwd.h.
12501 2002-06-26 André Pönitz <poenitz@gmx.net>
12503 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12505 2002-06-25 Angus Leeming <leeming@lyx.org>
12507 * lyxfunc.C (dispatch): Comment out the call to
12508 grfx::GCache::changeDisplay. The method no longer exists now that the
12509 pixmap generation part of the graphics loader has been moved into
12512 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12514 * text2.C: layout as layout
12516 * text.C: layout as layout
12518 * tabular.C (OldFormatRead): layout as layout
12520 * paragraph_pimpl.C (TeXDeeper): layout as layout
12521 (realizeFont): layout as layout
12523 * paragraph.C (writeFile): layout as layout
12524 (validate): layout as layout
12525 (getFont): layout as layout
12526 (getLabelFont): layout as layout
12527 (getLayoutFont): layout as layout
12528 (breakParagraph): layout as layout
12529 (stripLeadingSpaces): layout as layout
12530 (getEndLabel): layout as layout
12531 (getMaxDepthAfter): layout as layout
12532 (applyLayout): layout as layout
12533 (TeXOnePar): layout as layout
12534 (simpleTeXOnePar): layout as layout
12535 (TeXEnvironment): layout as layout
12536 (layout): layout as layout
12537 (layout): layout as layout
12539 * lyxtextclass.C (compare_name): new functor to work with
12540 shared_ptr, layout as layout
12541 (Read): layout as layout
12542 (hasLayout): layout as layout
12543 (operator): layout as layout
12544 (delete_layout): layout as layout
12545 (defaultLayout): layout as layout
12547 * lyxlayout_ptr_fwd.h: new file
12549 * lyxlayout.C (Read): layout as layout
12551 * lyx_cb.C (MenuInsertLabel): layout as layout
12553 * bufferlist.C (newFile): layout as layout
12555 * buffer.C (readLyXformat2): layout as layout
12556 (parseSingleLyXformat2Token): layout as layout
12557 (insertStringAsLines): layout as layout
12558 (asciiParagraph): layout as layout
12559 (latexParagraphs): layout as layout
12560 (makeLinuxDocFile): layout as layout
12561 (simpleLinuxDocOnePar): layout as layout
12562 (makeDocBookFile): layout as layout
12563 (simpleDocBookOnePar): layout as layout
12564 (getLists): layout as layout
12566 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12568 * CutAndPaste.C (cutSelection): layout as layout
12569 (pasteSelection): layout as layout
12570 (SwitchLayoutsBetweenClasses): layout as layout
12572 * BufferView_pimpl.C (Dispatch): layout as layout
12573 (smartQuote): layout as layout
12575 * BufferView2.C (unlockInset): layout as layout
12577 2002-06-24 André Pönitz <poenitz@gmx.net>
12579 * lyxfunc.C: fix #487
12581 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12585 * lyxfunc.C: remove display_shortcuts, show_banner
12587 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12589 * Buffer_pimpl.C: oops, update on resize
12591 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12598 * BufferView.C: use repaint()
12600 * BufferView_pimpl.h:
12601 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12602 as it's a clearer description. Remove superfluous
12605 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12607 * text.C: fix bug 488. Not ideal, but getting
12608 getWord() to work properly for the insets that
12609 matter is more difficult ...
12611 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12613 * BufferView_pimpl.C:
12616 * lyxfunc.C: remove the six million index lyxfuncs to just
12617 one, and DTRT (bug 458)
12619 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12623 * BufferView_pimpl.h:
12624 * BufferView_pimpl.C: clean up resize() stuff,
12625 and unnecessary updateScreen()s
12627 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12631 * BufferView_pimpl.h:
12632 * BufferView_pimpl.C:
12635 * minibuffer.C: remove focus management of workarea,
12636 not needed. Use screen's greyOut()
12638 2002-06-17 Herbert Voss <voss@lyx.org>
12640 * converter.C: (convert) do not post a message, when converting
12641 fails, let the calling function decide what to do in this case
12643 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12645 * lyxfunc.C: tidy up a little
12647 2002-06-16 <alstrup@diku.dk>
12649 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12650 Got rid of FORMS_H_LOCATION include. Now we are
12653 2002-06-15 LyX Development team <lyx@rilke>
12655 * buffer.[Ch] (sgmlOpenTag):
12656 (sgmlCloseTag): Added support for avoiding pernicious mixed
12657 content. Return number of lines written.
12659 (makeLinuxDocFile):
12660 (makeDocBookFile): Fixed calls to sgml*Tag.
12661 Simple white space clean.
12663 (simpleDocBookOnePar): Simple white space clean.
12665 * tabular.[Ch] (docBook): Renamed to docbook and got another
12666 argument to related with the pernicious mixed content.
12668 (docbookRow): Fixed calls for docbook inset method.
12670 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12672 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12673 so it's X11 independent.
12677 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12679 2002-06-15 Lyx Development team <lyx@electronia>
12681 * intl.h: Renamed getTrans to getTransManager.
12683 2002-06-14 Angus Leeming <leeming@lyx.org>
12685 * Makefile.am: nuke forgotten stl_string_fwd.h.
12687 2002-06-12 Angus Leeming <leeming@lyx.org>
12689 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12691 2002-06-13 Angus Leeming <leeming@lyx.org>
12694 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12696 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12698 * kbmap.C (getiso): add support for cyrillic and greek
12700 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12704 * BufferView_pimpl.h:
12705 * BufferView_pimpl.C: move bogus scrolling logic
12708 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12711 * BufferView_pimpl.C: view->resize() change
12713 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12715 * BufferView_pimpl.C: topCursorVisible
12718 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12722 * lyx_gui.C: move to frontends/
12726 * lyx_main.C: changes from above
12728 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12735 * lyx_main.C: minor tidy
12737 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12739 * BufferView_pimpl.h:
12740 * BufferView_pimpl.C:
12742 * BufferView.C: make painter() const,
12745 * BufferView2.C: use screen() accessor
12748 * lyx_main.C: some minor cleanup
12750 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12752 * BufferView_pimpl.h:
12753 * BufferView_pimpl.C: remove enter/leaveView,
12756 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12761 * BufferView_pimpl.h:
12762 * BufferView_pimpl.C: only construct screen once,
12765 * lyxrc.C: remove pointless comment
12767 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12770 * BufferView.C: remove active() and belowMouse()
12772 * BufferView_pimpl.h:
12773 * BufferView_pimpl.C: use workarea() not workarea_,
12774 and make it use a scoped_ptr instead
12776 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12778 * lyx_gui.C: add debug message on BadWindow
12780 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12782 * sp_spell.C: fdopen is not part of the C++ standard.
12784 * paragraph.C (InsetIterator): use >= instead of ==
12786 2002-06-07 Angus Leeming <leeming@lyx.org>
12788 Fixes needed to compile with Compaq cxx 6.5.
12789 * BufferView_pimpl.C:
12796 * lyxtextclasslist.C:
12801 all c-library variables have been moved into namespace std. Wrap
12802 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12807 Add a using std::abs declaration.
12809 * kbmap.h (modifier_pair):
12810 * paragraph.h (InsetTable, InsetList):
12811 * lyxfont.h (FontBits):
12812 type definition made public.
12814 * bufferlist.C (emergencyWriteAll): the compiler complains that
12815 there is more than one possible lyx::class_fun template to choose from.
12816 I re-named the void specialisation as lyx::void_class_fun.
12818 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12820 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12821 the compiler is is unable to find tostr in write_attribute.
12823 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12825 * buffer.C (sgmlError): hide #warning
12827 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12829 * xtl/*: get rid of xtl, which is not in use anyway
12831 * LyXAction.C (init):
12832 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12833 were unimplemented xtl experimentation
12835 2002-06-04 André Pönitz <poenitz@gmx.net>
12837 * lyxfunc.C: disable array operation on simple formulae
12839 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12841 * converter.C: constify a bit
12843 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12845 * lyx_gui.C: check xforms version correctly
12847 2002-04-30 Herbert Voss <voss@lyx.org>
12849 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12852 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12854 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12855 attempt to register it with a VCS)
12857 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12859 * lyx_main.C (init): honor variables LYX_DIR_13x and
12862 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12866 * lyx_main.C: fix a crash on bad command line,
12867 and give a useful exit status on error
12869 * lyxfunc.C (doImport): allow -i lyx to work
12871 2002-03-30 André Pönitz <poenitz@gmx.net>
12873 * lyxfunc.C: mathed font changes
12875 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12890 * trans_mgr.h: srcdocs, and some minor cleanups
12892 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12894 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12895 call getFont all the time)
12897 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12899 * switch from SigC signals to boost::signals
12901 2002-05-29 André Pönitz <poenitz@gmx.net>
12903 * paragraph_pimpl.C (getChar): don't call size() too often...
12905 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12907 * paragraph_pimpl.C (insertChar): do not try to update tables when
12908 appending (pos == size())
12910 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12911 in order to reduce drastically the number of comparisons needed to
12912 parse a large document
12914 2002-05-29 André Pönitz <poenitz@gmx.net>
12920 * textclasslist.[Ch]:
12921 * sp_ispell.h: whitespace change
12923 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12925 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12926 lyxaction directly now.
12928 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12932 * lyxvc.C: remove unused headers
12934 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12941 * undo_funcs.C: some cleanups. Use shared_ptr
12942 and a template for the undo stacks.
12944 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12946 * BufferView_pimpl.h:
12947 * BufferView_pimpl.C:
12954 * text2.C: use key_state/mouse_state
12956 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12958 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12961 * chset.C: change include order
12962 (loadFile): use boost regex and get rid of LRegex and LSubstring
12964 * Makefile.am (BOOST_LIBS): new variable
12965 (lyx_LDADD): use it
12967 * LaTeX.C: change include order.
12968 (scanAuxFile): use boost regex and get rid of LRegex and
12972 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12977 * FontInfo.C: moved to frontends/xforms/
12980 * FontLoader.C: moved into frontends for GUIIzation
12985 * lyxfunc.C: changes from above
12987 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12989 * LColor.C: remove spurious X include
12991 * BufferView_pimpl.C:
12996 * text2.C: move font metrics to frontends/
12998 2002-05-24 Juergen Vigna <jug@sad.it>
13000 * undo_funcs.C (textHandleUndo): fix the cursor selection after
13001 setting the undo_cursor.
13003 * ParagraphParameters.h: include local includes first.
13005 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
13007 * BufferView_pimpl.C:
13008 * BufferView_pimpl.h:
13012 * screen.C: move WorkArea into frontends/
13018 * BufferView2.C: move LyXScreen into frontends/
13022 * lyx_gui.C: move lyxlookup into frontends/xforms/
13024 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
13027 * BufferView_pimpl.C:
13037 * bufferview_funcs.C:
13050 * vc-backend.C: move LyX/XFormsView into frontends/
13052 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
13064 * text2.C: move Painter to frontends/
13066 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
13068 * buffer.C: comment out some some code that depend upon lyx_format
13071 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
13072 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
13074 * buffer.h (NO_COMPABILITY): turn off compability
13076 * ColorHandler.C: include scoped_array.hpp
13078 * font.C: Use more specific smart_ptr header.
13081 * ShareContainer.h: ditto
13082 * lyx_main.h: ditto
13084 * FontInfo.h: ditto
13085 * BufferView_pimpl.h: ditto
13086 * ColorHandler.h: ditto
13088 * kbmap.C (defkey): change call to shared_ptr::reset
13090 2002-05-21 Juergen Vigna <jug@sad.it>
13092 * buffer.C (insertErtContents): fix to insert ert asis if it is
13093 non empty. Skip it completely if it contains only whitespaces.
13095 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
13097 * BufferView_pimpl.C:
13098 * BufferView2.C: clear selection on paste (bug 393)
13100 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13102 * DepTable.C: include ctime
13104 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
13106 * buffer.C (latexParagraphs): Add new argument (moving_arg).
13108 2002-05-14 Juergen Vigna <jug@sad.it>
13110 * text.C (breakParagraph): fixed function to honor the keepempty
13111 layout in the right maner and also to permit the right breaking
13112 algorithm on empty or non empyt keepempty paragraphs.
13114 * paragraph.C (breakParagraph): we have to check also if the par
13115 is really empty (!size()) for isempty otherwise we do the wrong
13118 2002-05-10 Juergen Vigna <jug@sad.it>
13120 * buffer.[Ch] : The following are only changes to the ert
13121 compatibility read reading old LaTeX layout and font stuff and
13122 convert it to ERTInsets.
13124 * buffer.h: added isErtInset().
13126 * buffer.C (struct ErtComp): add a fromlayout bool to check
13127 if we're inside a LaTeX layout.
13128 (isErtInset): new helper function.
13129 (insertErtContents): look for other ert insets before this one
13130 and insert the contents there, so that we don't have subsequent
13131 ERT insets with nothing between them. This way we create only one
13132 inset with multiple paragraphs. Also check if we don't insert only
13133 spaces ' ' as they are ignored anyway afterwards in the .tex file
13134 so if we have only spaces we will ignore this latex part in the
13136 (parseSingleLyXformat2Token \\layout): better compatibility when
13137 reading layout-latex stuff.
13138 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
13140 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
13141 stuff after reading the inset only get the information back from
13144 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
13146 * buffer.C (makeLaTeXFile): Put language options after loading babel.
13148 * LaTeXFeatures.C (getBabelOptions): New method.
13150 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13152 * BufferView_pimpl.C (Dispatch): work around missing argument for
13155 2002-05-08 Juergen Vigna <jug@sad.it>
13157 * text.C (leftMargin): handle paragraph leftindent.
13159 * paragraph.C (writeFile): write the new \\leftindent tag.
13160 (validate): handle leftindent code.
13161 (TeXEnvironment): handle paragraphleftindent code again.
13163 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
13165 * buffer.C (parseSingleLyXformat2Token): added compatibility code
13166 for paragrap_extra indent code and new token \\leftindent.
13167 (latexParagraphs): handle the leftindent as environment.
13169 * ParameterStruct.h: added leftindent support.
13171 * ParagraphParameters.C (leftIndent): added support functions for
13172 the paragraph left indent.
13174 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
13177 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
13179 * paragraph.C (isRightToLeftPar): Return false for a paragraph
13182 * text.C (computeBidiTables): No bidi in insetERT.
13184 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
13187 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13189 * version.C.in: pre 5
13191 2002-05-02 José Matos <jamatos@fep.up.pt>
13192 * buffer.C (makeDocBookFile): white space changes, add newline to
13194 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13196 * tabular.C (docBook): fix typo.
13198 2002-05-03 Juergen Vigna <jug@sad.it>
13200 * screen.C (drawFromTo): recalculate the rowpointer if we had a
13201 change in LyXText as we can not be sure it was not freed.
13202 (drawOneRow): remove unused code.
13204 * text.C (drawInset): redo the calculation of the need_break_row as
13205 it could have a row which was already freed.
13206 (draw): look at the return value of drawInset and return false if
13207 it also returned false.
13208 (paintRowText): look at the return value of draw and return false if
13209 it also returned false.
13211 * lyxtext.h: added bool return type to drawInset() and draw() so that
13212 if we have a change in the row so that the rowbreak has to be redone
13213 we abort drawing as it will be called again.
13215 2002-05-02 Juergen Vigna <jug@sad.it>
13217 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13218 a change in the maintext also if we're inside an inset.
13219 (Dispatch): set the cursor again after a break line and after the
13220 screen has been updated as it could be we're in a different row.
13222 * text2.C (fixCursorAfterDelete): check to make sure we don't request
13223 to set the cursor behind the pargraph with > size().
13224 (setCursor): check also for the same paragraph when checking where
13225 to put the cursor if we have a NFR inset.
13227 * buffer.C (parseSingleLyXformat2Token): move the compatibility
13228 parts of layout read further up as it still was in the wrong
13231 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13233 * screen.C (drawFromTo): change sine fullRebreak always return
13236 * buffer.C (parseSingleLyXformat2Token): reindent some
13238 * BufferView_pimpl.C (update): change since fullRebreak always
13240 (Dispatch): git rid of the last hardcoded "Standard"s.
13242 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13244 * text2.[Ch] (fullRebreak): make it return void now that we always
13247 2002-04-30 Juergen Vigna <jug@sad.it>
13249 * buffer.C (parseSingleLyXformat2Token): reset the font before the
13250 ert compatibility check for "latex" layout.
13252 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
13254 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13255 minipages: use col% instead of p%, and also use the current font.
13256 (makeLaTeXFile): Fix use babel condition.
13257 (parseSingleLyXformat2Token): Correct font when reading old floats.
13259 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
13261 * BufferView_pimpl.C (Dispatch): Check that float type exists when
13262 inserting list of floats.
13264 2002-04-25 Herbert Voss <voss@lyx.org>
13266 * MenuBackend.C (expand): don't add the graphics extensions to the
13269 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13271 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13272 non-existing layout, do not complain if it was the default layout
13273 of the original class (bug #342)
13275 2002-04-24 Juergen Vigna <jug@sad.it>
13277 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13278 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13280 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
13282 * buffer.C (getBibkeyList): If using \bibliography, return the
13283 option field with the reference itself. Enables us to provide natbib
13284 support when using \bibliography.
13286 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
13288 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13290 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13291 natbib is provided by the LaTeX class.
13293 2002-04-23 Juergen Vigna <jug@sad.it>
13295 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13298 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13300 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13302 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13304 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13305 ensuremath around textordmasculine, textordfeminine and
13308 2002-04-19 Juergen Vigna <jug@sad.it>
13310 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13311 reinitializing the buffer otherwise row-dimensions may be wrong.
13312 (update): reset also the selection cursors if they do exits otherwise
13313 their x/y positions may be wrong.
13315 * text2.C (cursorDown): don't enter the inset if we came from a row
13316 above and are one row over the inset.
13318 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13319 really leaving an inset.
13321 2002-04-18 Juergen Vigna <jug@sad.it>
13323 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13324 of the selected paragraph does not have the selected layout also if
13327 * text2.C (setLayout): fixed bug which did not change last selected
13330 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13331 changed the read and substituted \\end_float with \\end_inset!
13333 * BufferView_pimpl.C (cursorPrevious):
13334 (cursorNext): fixed to make it work with rows heigher than the work
13335 area without moving the cursor only the draw of the row.
13336 (workAreaMotionNotify): fix jumping over high rows.
13338 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13340 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13343 2002-04-16 Juergen Vigna <jug@sad.it>
13345 * text2.C (setCursor): set also the irow().
13346 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13348 (cursorDown): support for locking an inset if the x_fix value goes
13349 inside it. That way I can transverse insets too with cursor up/down.
13351 * lyxrow.h: added irow helper function same as other (i) functions.
13353 * BufferView_pimpl.C (cursorPrevious):
13354 (cursorNext): fixed for insets!
13356 2002-04-15 Juergen Vigna <jug@sad.it>
13358 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13359 position otherwise it is wrong in some cases.
13361 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13362 inside the inset before the call.
13364 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
13366 * buffer.[Ch] (getBibkeyList): make it const.
13368 2002-04-12 Juergen Vigna <jug@sad.it>
13370 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13372 * text2.C (getCursorX): new helper function
13373 (setCursor): compute also ix_
13374 (setCursorFromCoordinates): set also ix.
13376 * lyxcursor.h: added ix_ and helper functions.
13378 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13380 * buffer.C (insertStringAsLines): dont break paragraph if the this
13381 paragraph is inside an inset which does not permit it!
13383 * text.C (breakParagraph): honor keepempty flag and break the paragraph
13384 also with no chars on this paragraph.
13385 (paintRowText): only paint stuff if it's inside the workarea!
13387 * paragraph.C (breakParagraph): honor keepempty flag and break the
13388 paragraph always below not above.
13390 * BufferView2.C (unlockInset): update the paragraph layout on inset
13391 unlock as we changed paragraph in such a case.
13393 * lyxfind.C (LyXFind): clear the former selection if not found!
13395 * text2.C (insertInset): freeze Undo after setUndo so that it is not
13396 again called in insertChar().
13398 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13399 an inset which uses the whole row!
13400 (rightMargin): ditto.
13401 (insertChar): force a rebreak if we inserted an inset!
13403 2002-03-28 Herbert Voss <voss@lyx.org>
13405 * lyxlength.[Ch]: add inBP() to get the right PS-point
13406 units (BigPoint). With inPixels we have rounding errors
13408 2002-04-11 Juergen Vigna <jug@sad.it>
13410 * text2.C (setCursorFromCoordinates): set iy to the right value.
13411 (setCursor): add check if row->previous exists!
13413 * buffer.C (parseSingleLyXformat2Token): reset font after read of
13414 an old float_type as this was the case in the old code!
13416 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13418 * BufferView2.C (showLockedInsetCursor): use iy
13419 (fitLockedInsetCursor): ditto
13421 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13422 locked insets as there we have the right value now.
13424 * lyxcursor.C: added iy_ variable and iy functions to set to the
13425 baseline of cursor-y of the locked inset.
13427 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13428 (setCursor): fixed for insets which need a full row.
13430 * text.C (rowLastPrintable): don't ignore the last space when before
13431 an inset which needs a full row.
13432 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13433 as last character of a row when before a inset which needs a full row.
13435 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13437 * version.C.in: update date
13439 * text2.C (fullRebreak): try to always return true and see what
13442 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13444 * MenuBackend.C (expand): use Floating::listName
13446 * FloatList.C (FloatList): add listName argument to the built-in
13449 * Floating.[Ch]: add listName member, which is the 'List of XXX'
13450 text associated with the float.
13452 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13454 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13456 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13458 * ShareContainer.h: add a couple of missing typenames.
13460 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13462 * lyxrc.C (getDescription): use _() correctly rather than N_().
13464 2002-03-28 Herbert Voss <voss@lyx.org>
13466 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13467 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13469 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13471 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13472 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13474 2002-03-29 Juergen Vigna <jug@sad.it>
13476 * lyxfunc.C (dispatch): add a missing fitCursor call.
13478 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13479 it was scrolled by a cursor move, so return the bool status.
13481 * BufferView.C (fitCursor): return the bool flag also to the outside
13482 world as this is needed.
13484 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13486 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13487 call the edit() as it is not needed (and wrong) IMO.
13488 (workAreaButtonPress): set the screen_first variable before evt.
13489 unlock the inset as this may change screen_first and then we have
13490 a wrong y position for the click!
13492 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13494 * MenuBackend.C (expand): another translation that I missed
13496 2002-03-28 Juergen Vigna <jug@sad.it>
13498 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13500 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13502 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13504 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13506 * MenuBackend.C (expand): fix export/view/update when there is no
13509 2002-03-27 Herbert Voss <voss@lyx.org>
13511 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13514 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13516 * bufferview_funcs.C (currentState): only show paragraph number
13517 for is DEVEL_VERSION is set.
13519 * lyxfunc.C (dispatch): put warning in INFO channel
13521 * MenuBackend.C (expand): translate the name of floats
13523 * FloatList.C (FloatList): mark the float names for translation
13525 * converter.C (convert): use LibScriptSearch
13527 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13529 * MenuBackend.C (defaults): fix default menu (we might as well get
13532 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13534 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13537 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13539 * lyxvc.C: reorder includes.
13541 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13543 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13546 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13548 * CutAndPaste.C: change layouts earlier on paste
13549 to avoid crashing when calling getFont()
13551 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13553 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13556 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13558 * WorkArea.C: remove 'Pending' debug message.
13560 * most files: ws cleanup
13562 * buffer.[Ch]: ws changes
13564 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13566 2002-03-21 Juergen Vigna <jug@sad.it>
13568 * tabular.C (SetMultiColumn): collapse also the contents of the
13569 cells and set the last border right. Added a Buffer const * param.
13571 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13573 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13576 2002-03-19 Juergen Vigna <jug@sad.it>
13578 * text2.C (clearSelection): reset also xsel_cache.
13580 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13581 where it needs to be called (John tells us to do so too :)
13582 (selectionLost): reset sel_cache.
13584 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13586 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13588 * text2.C (setCursorIntern): put debuging code in INSETS channel
13590 2002-03-19 André Pönitz <poenitz@gmx.net>
13592 * lyxfunc.C: tiny whitespace change
13594 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13596 * ToolbarDefaults.C (init):
13597 * LyXAction.C (init):
13599 * BufferView_pimpl.C (Dispatch):
13600 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13602 2002-03-19 Allan Rae <rae@lyx.org>
13604 * exporter.C (Export): removeAutoInsets before doing anything else.
13605 While I've just introduced a dependency on BufferView this really is
13606 the best place to clean the buffer otherwise you need to cleanup in
13607 a dozen places before calling export or cleanup in a dozen functions
13610 * converter.C (runLaTeX):
13611 (scanLog): Better handling of removeAutoInsets and screen updates.
13613 * lyxfunc.C (dispatch): small whitespace changes
13615 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13617 * WorkArea.C (C_WorkAreaEvent): return a value.
13618 (event_cb): return 1 if we handled the event, 0 otherwise.
13620 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13622 2002-03-18 Juergen Vigna <jug@sad.it>
13624 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13625 (GetAdditionalWidth): ditto.
13626 (RightLine): ditto.
13629 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13630 inset if we're there actually (probably not used right now but this
13631 is the direction to go for unifying code).
13632 (paste): disable code to clear the selection.
13634 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13635 inside an InsetText and move the check further up as it is in the
13638 * text2.C (pasteSelection): set a selection over the pasted text.
13640 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13642 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13643 and libgraphics to build on Cygwin.
13645 2002-03-15 Juergen Vigna <jug@sad.it>
13647 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13648 inserting an Inset into the paragraph. I know this is not the best
13649 fix but we already use current_view in CutAndPaste so we will remove
13650 all of it's using at the same time.
13652 * buffer.C (sgmlError): deactivated function till it is rewritten in
13653 the right mode, now it can create problems.
13655 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13656 before accessing it.
13658 2002-03-14 Juergen Vigna <jug@sad.it>
13660 * undo_funcs.C (textHandleUndo): do the right thing when updating
13661 the inset after the undo/redo.
13663 * text2.C (setCursor): just some testcode for #44 not ready yet.
13665 * undo_funcs.C (textHandleUndo): set the next() and previous()
13666 pointers of the paragraph to 0 before deleting otherwise we have
13667 problems with the Paragraph::[destructor].
13669 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13670 on a paragraph insertion.
13672 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13674 * buffer.C (asciiParagraph): use += operator for char append to
13677 * paragraph.C (getFontSettings): compare >= not just >
13678 (highestFontInRange): ditto
13681 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13683 * paragraph.C: change several algorithm to be more appripriate for
13684 the problem domain. This is lookip in FontList and in the InsetList.
13686 2002-03-13 André Pönitz <poenitz@gmx.net>
13689 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13691 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13696 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13698 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13700 * Painter.C (display): anon helper function, adjust code for this
13702 (pixmap): remove function.
13704 * Painter.h: remove private display variable.
13706 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13708 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13710 * WorkArea.[Ch]: remove figinset_canvas cruft.
13712 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13714 * lyxtextclass.C (operator): add one item cache optimization.
13716 * bufferlist.h: doxy changes
13718 * bufferlist.C: ws changes
13720 * DepTable.[Ch] (ext_exist): place const in the right spot.
13722 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13724 (workAreaExpose): call resizeInsets when the with BufferView changes.
13725 (Dispatch): adjust for protectedBlank removal
13726 (specialChar): call updateInset if the insert went ok.
13728 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13729 specialChar instead.
13731 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13733 * BufferView.h: doxy change
13735 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13737 * lyxtextclass.C (operator[]): remove non-const version
13738 (defaultLayout): remove non-const version
13740 2002-03-12 Juergen Vigna <jug@sad.it>
13742 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13743 did resize the LyXText too.
13745 * buffer.C (readLyXformat2): set layout information on newly allocated
13748 * tabular.C (OldFormatRead): set layout information on the paragraph.
13750 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13752 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13754 2002-03-11 Juergen Vigna <jug@sad.it>
13756 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13758 (resizeCurrentBuffer): force also the insets to resize themselfes.
13759 (moveCursorUpdate): fixed up for InsetText.
13761 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13764 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13765 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13766 value of Dialogs::tooltipsEnabled().
13767 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13769 2002-03-08 Juergen Vigna <jug@sad.it>
13771 * BufferView_pimpl.C (updateInset): update inset inside inset also
13772 if it isn't inside theLockingInset().
13774 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13776 * buffer.C (asciiParagraph): redo some of the word and line length
13778 (getLists): look for Caption instead of caption.
13780 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13782 * buffer.C (Buffer): initialize niceFile to true
13784 (makeLinuxDocFile):
13785 (makeDocBookFile): make sure niceFile is true on exit
13787 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13789 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13791 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13793 * LyXSendto.C: remove.
13794 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13795 * lyx_gui.C: remove now-redundant comment.
13796 * ColorHandler.h: remove forward declaration of class WorkArea.
13797 * lyxfunc.C: remove #include "WorkArea.h".
13799 2002-03-07 Juergen Vigna <jug@sad.it>
13801 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13802 got moved away with the DEPM and also set the inset_owner always
13803 right which before could have been omitted.
13805 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13807 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13808 wanted layout is not found.
13810 2002-03-07 Juergen Vigna <jug@sad.it>
13812 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13814 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13816 * paragraph.C (breakParagraph): use default layout not layout of
13818 (Paragraph): clear ParagraphParameters.
13820 2002-03-06 Juergen Vigna <jug@sad.it>
13822 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13823 otherwise it would not be a valid lenght. Fixed a special case in
13824 the minipage compatibility read where we end the document with a
13827 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13828 was set as it could be 0 for InsetTexts first entry.
13830 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13832 * paragraph.C (writeFile): if layout is empty write out
13833 defaultLayoutName().
13835 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13836 file without named layout we set layout to defaultLayoutName().
13838 2002-03-06 Juergen Vigna <jug@sad.it>
13840 * CutAndPaste.C (copySelection): set layout for new paragraph.
13842 * text.C (prepareToPrint): leave ERT inset left aligned
13843 (leftMargin): don't indent paragraphs inside ERT insets
13845 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13847 * paragraph.C (breakParagraph): dont call clear do the work manually
13849 * paragraph.[Ch] (clear): remove function
13851 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13853 * paragraph.C (Paragraph): dont call clear, the work has already
13856 * lyxtextclass.C (operator): assert if n is empty
13858 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13859 work manually instead.
13861 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13863 * BufferView_pimpl.C: protect selectionLost against text == 0
13865 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13867 * text.C (breakParagraph): fix a setting layout to '0' problem.
13869 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13871 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13872 final location of file, for the included files, and graphics.
13874 2002-03-05 Juergen Vigna <jug@sad.it>
13876 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13878 2002-03-04 Juergen Vigna <jug@sad.it>
13880 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13882 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13883 last column of multicolumn cells.
13884 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13886 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13888 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13889 file if it doesn't go to a temporary file.
13891 * buffer.C (sgmlOpenTag):
13892 (sgmlCloseTag): remove extra newline insertion.
13894 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13896 * text.C (getRowNearY): comment out debug msg
13898 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13900 * text2.C: first -> first_y
13902 * text.C (getRowNearY): add some attemts at a possible
13903 optimization, not working.
13905 * tabular.[Ch]: add BufferParams to several function so that newly
13906 created paragraph can be initialized to he default layotu for the
13909 * tabular-old.C (ReadOld): add buf->params to call of Init
13911 * screen.C: rename text->first to text->first_y
13913 * paragraph.C (breakParagraph): always set layout in the broken
13916 * lyxtextclass.C (Read): remove lowercase
13919 (delete_layout): ditto
13921 * lyxtext.h: rename first -> first_y
13923 * lyxlayout.C (Read): remove lowercase
13926 (obsoleted_by): ditto
13928 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13930 * buffer.C (insertErtContents): add params are to InsetERT
13931 (parseSingleLyXformat2Token): add code to check if a paragraphs
13932 layout really exist.
13933 (parseSingleLyXformat2Token): add params to several inset
13935 (asciiParagraph): remove lowercase, do the layout comparisons with
13938 * BufferView_pimpl.C (cursorNext): first -> first_y
13939 (resizeCurrentBuffer): first -> first_y
13940 (updateScrollbar): first -> first_y
13941 (scrollCB): first -> first_y
13942 (workAreaMotionNotify): first -> first_y
13943 (workAreaButtonPress): first -> first_y
13944 (checkInsetHit): first -> first_y
13945 (cursorPrevious): first -> first_y
13946 (cursorNext): first -> first_y
13947 (Dispatch): add buffer_->params to severl inset contructors
13949 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13951 * lyxlayout.C (Read): remove some debug info that I forgot.
13953 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13954 clean up the code slightly.
13955 (makeLinuxDocFile): ditto
13956 (makeDocBookFile): ditto
13958 * text2.C: layout as string
13960 * text.C: layout as string
13962 * paragraph_pimpl.C: layout as string
13964 * paragraph.[Ch]: layout as string
13966 * lyxtextclasslist.[Ch]: layout as string
13968 * lyxtextclass.[Ch]: layout as string
13970 * lyxtext.h: layout as string
13972 * lyxlayout.[Ch]: layout as string
13974 * lyx_cb.C: layout as string
13976 * bufferview_funcs.C: layout as string
13978 * bufferparams.C: layout as string
13980 * buffer.C: layout as string
13982 * LyXView.[Ch]: layout as string
13984 * LaTeXFeatures.[Ch]: layout as string
13986 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13988 * BufferView_pimpl.C: change current_layout to string, remove
13993 (workAreaButtonRelease): layout as string
13995 * BufferView2.C (unlockInset): adjust
13997 * vspace.C (asLatexCommand): use an explict temp variable.
13999 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
14001 * Makefile.am: use FRONTEND_*
14003 2002-03-01 Juergen Vigna <jug@sad.it>
14005 * tabular.C (SetWidthOfMulticolCell): changed to something better
14006 I hope but still work in progress.
14007 (recalculateMulticolumnsOfColumn): renamed function from
14008 recalculateMulticolCells as it is more appropriate now.
14009 (SetWidthOfCell): calculate multicols better.
14011 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14013 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
14015 * lyxfunc.C (processKeySym): print sequence also if it is
14016 `deleted' (complete)
14018 * kbsequence.C (print): print sequence even if it is deleted
14019 (complete would be a better word, actually).
14021 * lyxfunc.C (dispatch): print complete options after a prefix key
14023 * vspace.C (asLatexCommand): rewrite in a slightly different form.
14025 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
14027 * text2.C (setCharFont): eliminate setCharFont code duplication.
14029 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14031 * BufferView_pimpl.C (Dispatch): remove bogus handling of
14032 LFUN_TABULAR_FEATURE (bug #177)
14034 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
14036 * Makefile.am: remove figure.h
14038 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
14040 * Bufferview_pimpl.C:
14052 * text2.C: remove #include "lyx_gui_misc.h".
14054 * LaTeX.C: added #include <cstdio>
14056 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14058 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
14059 that the paragraph following this one can have.
14061 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
14063 * vspace.C (asLatexCommand): fix bogus gcc warning
14065 * Makefile.am (lyx_SOURCES): remove vms_defines.h
14067 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
14069 * text2.C (setLayout): get rid of redundant code
14071 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
14073 * text2.C (incDepth): make sure depth cannot be increased beyond
14076 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
14078 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
14079 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
14081 * PainterBase.h (image):
14082 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
14083 a LyXImage const *.
14085 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
14089 * BufferView_pimpl.C:
14090 * BufferView_pimpl.h:
14110 * sp_spell.C: remove fig inset, and the crap house of
14111 cards that follows it
14113 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
14118 * os2_errortable.h:
14119 * nt_defines.h: move .h into support/
14121 * vms_defines.h: remove
14123 * WorkArea.C: add space in debug output
14127 * buffer.C: add WITH_WARNINGS
14131 * bufferlist.C: s/retrive/retrieve/, add docs
14140 * chset.C: add docs
14142 * lyxgui.C: add ID to X error handler
14144 * lyxtestclass.c: fix typo
14146 2002-02-26 Juergen Vigna <jug@sad.it>
14148 * tabular_funcs.C (write_attribute): changed so that some default
14149 attributes are not written at all.
14150 (getTokenValue): set default values before trying to read the
14151 value so we have the return value always set as default if we don't
14152 find the token we search for.
14154 * tabular.C (Write): write bools as bools not as strings!
14156 2002-02-22 Juergen Vigna <jug@sad.it>
14158 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
14159 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
14161 * text.C (leftMargin): don't add an indent for paragraphs inside
14162 tabular cells (fix #208).
14164 2002-02-21 José Matos <jamatos@fep.up.pt>
14166 * tabular.C (docBook): fixed support for long tables.
14168 2002-02-20 Juergen Vigna <jug@sad.it>
14170 * text2.C (getFont): get the drawing font of the Inset if this
14171 paragraph is inside an inset (only important for InsetERT for now).
14173 * buffer.C (insertErtContents): use new lanugage params in ERT
14176 * CutAndPaste.C: commenting out seemingly uneeded code.
14178 2002-02-19 Allan Rae <rae@lyx.org>
14180 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
14181 Iterators might be simple to use but they also get invalidated.
14182 (removeAutoInsets): renamed saved cursor tracking variables and added
14183 some comments to clarify what everything does.
14185 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
14192 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14193 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14196 * vc-backend.h: remove #include "support/syscall.h"
14200 * converter.C: rearrange #includes in Lars' approved fashion.
14202 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14203 forward declare class Timeout in the header file.
14205 * XFormsView.C: changes due to the above.
14207 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14208 similar to LyXView.
14210 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14211 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14213 2002-02-18 José Matos <jamatos@fep.up.pt>
14215 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14218 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14220 * a lot of small ws changes
14221 * add a lot of using std::XXX
14222 * use std construcs some places where approp.
14223 * use some exisint stuff from lyxfunctional where approp.
14224 * Make file changes to use partial linking (lets test this now...)
14226 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
14230 remove #include "support/syscontr.h" as it's redundant. Always has been.
14238 change Systemcalls::System to Systemcalls::Wait and
14239 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14240 No change of functionality, just reflects the stripped down Systemcalls
14243 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
14245 * debug.[Ch]: add a GRAPHICS type to the enum.
14247 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14249 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14251 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14254 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14256 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14257 match the changes below.
14259 * text2.C (toggleInset): if there is not editable inset at cursor
14260 position, try to see if cursor is _inside_ a collapsable inset
14263 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14265 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14266 document menu has a nice checkbox
14268 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14270 * lyxlength.C (asLatexString): change PW to output as percent of
14273 * lengthcommon.C: change '%' to 't%'
14275 * lyxfunc.C (dispatch): a few comments from Martin
14277 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
14281 * BufferView_pimpl.h:
14282 * BufferView_pimpl.C: clear our selection when X tells us we've lost
14285 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14287 * vspace.C (inPixels): fix compiler warning
14289 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14291 * lyxfunc.C (getStatus): fix status message for disabled commands.
14293 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
14295 * BufferView_pimpl.C: fix crash on close buffer
14296 during selection (#227)
14298 2002-01-27 Herbert Voss <voss@lyx.org>
14300 * buffer.C: link old Figure to new graphic inset
14302 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
14304 * FontLoader.C (getFontinfo): Change the latex font names in order
14305 to match the names of type1inst.
14307 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
14309 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14311 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14312 (extchanged): ditto
14314 (remove_files_with_extension): ditto
14315 (remove_file): ditto
14318 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14319 document is smaller than the work area height. Do not initialize
14320 static variables to 0.
14322 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14324 * lyx_gui.C (init): give the toolbar tooltips a normal font.
14326 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14327 LFUN_LAYOUT_PARAGRAPHS.
14329 * tabular.C (GetCellFromInset): new method. Finds an inset in a
14330 tabular. It is possible to provide a possible cell, which will
14331 typically be the actcell from the corresponding insettabular
14333 * lyxfunc.C (getStatus): small cleanup; disable
14334 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14337 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14339 * tabular.C (Validate): remove broken optimization (fixes bug #201)
14341 * paragraph.C (startTeXParParams):
14342 (endTeXParParams): new methods. The LaTeX code to
14343 start/end paragraph formatting
14344 (simpleTeXOnePar): call startTeXParParams also when paragraph is
14345 empty (fixes bug #200)
14347 * vspace.C (inPixels): adapt to the change below
14348 (inPixels): [later] more cleanups (remove unused variables)
14350 * lyxlength.C (inPixels): change to use a width and a height as
14353 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14355 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14356 Replaced with \paperwidth
14358 * DepTable.C (insert): add std:: qualifier
14360 2002-01-18 Allan Rae <rae@lyx.org>
14362 * text2.C (removeRow): add comment. Should other refresh_?? vars be
14365 * text.C (drawInset): Turned out I didn't know enough about how
14366 rebreaking worked. This fixes most of the redraw problems. I see
14367 an occasional cursor trail when a line is broken now and the cursor
14368 placement can seem out by a few pixels also after a rebreak.
14370 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14372 * buffer.C (parseSingleLyXformat2Token): update because minipage
14373 width is now a LyXLength
14375 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14377 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14380 2002-01-17 Juergen Vigna <jug@sad.it>
14382 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14384 * BufferView2.C (lockInset): call edit() so that theLockingInset()
14385 is set correctly and the inset is updated correctly.
14387 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14389 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14390 the beginning of the loop.
14392 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
14394 * lyxrc.C: improve help for use_scalable_fonts
14396 2002-01-17 Allan Rae <rae@lyx.org>
14398 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14400 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14402 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14403 make sure to set their inset_owner to the right value (bug #171)
14405 2001-12-12 Ben Stanley <bds02@uow.edu.au>
14408 * DepTable.C: Implement mtime checking to reduce time spent doing
14411 2002-01-16 Juergen Vigna <jug@sad.it>
14413 * tabular.C (GetAdditionalHeight): one of error fixed.
14415 * lyxrc.C (output): small fix in writing use_pspell.
14417 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
14419 * sp_base.h: #include LString.h
14421 2002-01-16 Allan Rae <rae@lyx.org>
14423 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
14424 Can someone check this please?
14426 * text.C (drawInset): It was possible that p.row would be removed by
14427 breakAgainOneRow upsetting a few other settings. There may be another
14428 small tweak possible by setting need_break_row = 0 when p.row has been
14429 removed but I don't know enough about the logic here.
14431 2002-01-15 Allan Rae <rae@lyx.org>
14433 * text.C (insertChar): removed conditional truism.
14435 * BufferView2.C (removeAutoInsets): More tweaks.
14436 cur_par_prev could be a stray pointer. Check for trailing empty line
14437 in case last line was cur_par and only had an error inset on it.
14439 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14441 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14444 * vc-backend.C (most methods):
14445 * exporter.C (Export):
14446 * converter.C (convert):
14448 * LyXSendto.C (SendtoApplyCB):
14449 * lyxfunc.C (dispatch):
14453 * lyx_cb.C (AutoSave):
14455 * BufferView_pimpl.C (MenuInsertLyXFile):
14456 * buffer.C (runChktex): use Buffer::filePath().
14458 * buffer.h: rename filename to filename_; rename filepath to
14459 filepath_ and make it private
14460 (filePath): new method
14462 * buffer.C (writeFile): use fileName()
14465 * lyx_main.C (init): fix starting of LyX when the binary is a
14466 link from so,ewhere else.
14468 * minibuffer.C: include <cctype> for isprint
14470 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14472 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14473 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14474 name clash with InsetCollapsable's width function.
14476 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14478 * lastfiles.C: include <iterator>
14480 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14482 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14485 * buffer.C (makeLaTeXFile): ditto.
14486 Also make loop operation more transparent.
14488 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14490 * ToolbarDefaults.C: remove trailing comma closing namespace.
14492 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14494 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14497 * trans.C (Load): comment out unused variable, allowed.
14499 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14501 * minibuffer.[Ch] (append_char): new method to recieve input from the
14502 drop-down completion browser. If a key was pressed, then recieve this
14503 char and append it to the existing string.
14504 (peek_event): modify the positioning data passed to the completion
14505 browser so that it can be placed above the minibuffer rather than below.
14506 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14508 * LyXAction.C (init): alloe error-next for readonly documents.
14510 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14513 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14515 * bufferlist.C (readFile): create the buffer _after_ checking that
14518 * lyxfunc.C (verboseDispatch): fix handling of arguments
14520 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14522 * lyxrc.C: use string::erase() instead of initializing to "".
14525 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14527 * BufferView_pimpl.h:
14528 * BufferView_pimpl.C:
14531 * text2.C: tell X when we have made a selection for copying
14533 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14535 * BufferView_pimpl.C (MenuInsertLyXFile):
14536 * lyxfunc.C (menuNew):
14538 (doImport): add shortcuts to directory buttons
14540 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14543 * lyxfunc.C (setStatusMessage):
14544 (getStatusMessage): new methods
14545 (getStatus):use setStatusMessage instead of setErrorMessage
14546 (dispatch): when function is disabled, set error message here
14547 [instead of in getStatus previously]
14549 * BufferView_pimpl.C (workAreaButtonRelease): update
14550 toolbar/menubar here too.
14552 2002-01-13 Allan Rae <rae@lyx.org>
14554 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14555 Now seems indestructible. Remaining task is to audit all other
14556 code affected by deleteEmptyParagraphMechanism. One small quirk
14557 left is that an empty document with an error in the preamble can
14558 be made to report an error but no error box appears. I don't know
14560 (removeAutoInsets): Improved comments.
14562 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14565 * Thesaurus.C: update for Aiksaurus 0.14
14567 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14569 * text2.C (firstParagraph): removed member function, all uses
14570 replaces with ownerParagraph
14571 (redoParagraphs): here
14572 (updateInset): here
14573 (toggleAppendix): here
14574 * BufferView2.C (insertErrors): here
14575 (setCursorFromRow): here
14577 2002-01-13 Allan Rae <rae@lyx.org>
14579 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14580 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14581 There is still a way to segfault this although you may have to do this
14582 multiple times: Have an InsetERT with an unknown command in it.
14583 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14584 <down-arrow>, <Enter> again, View->DVI, BANG!
14586 * text2.C (setCursor):
14587 (deleteEmptyParagraphMechanism):
14588 * lyxtext.h (setCursor):
14589 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14590 Making use of the return value may help fix other bugs.
14592 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14594 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14596 * LyXView.C (updateMenubar): call MenuBar::update here
14597 (updateToolbar): but not here
14598 (showState): do not update toolbar/menubar
14600 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14601 should need to care about that.
14603 * lyxfunc.C (verboseDispatch): simplify a bit
14604 (getStatus): have a version which takes a pseudoaction, and
14605 another which requires a (kb_action,string).
14607 * LyXAction.C (retrieveActionArg): make it work also when action
14608 is not a pseudo-action.
14609 (getActionName): simplify a bit
14612 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14614 * lyxfunc.C (verboseDispatch): new families of methods with
14615 several ways to specify a command and a bool to indicate whether
14616 the command name and shortcut should be displayed in minibuffer
14617 (eventually, we could extend that to a finer bitmask like
14618 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14619 (dispatch): the pristine dispatch command which just, well,
14620 dispatchs! Note it still sets its result to minibuffer; I'm not
14623 * lyxfunc.h: remove setHintMessage
14625 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14627 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14629 * BufferView_pimpl.C (specialChar): delete new inset if we have
14630 not been able to insert it.
14632 * kbmap.C: revert to using int instead of kb_action, since all we
14633 are dealing with is pseudo-actions.
14635 * LyXAction.C (searchActionArg): change to return int instead of
14636 kb_action, since the result is a pseudoaction.
14638 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14640 * buffer.C (insertErtContents): Fix (partially) the font bug.
14642 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14644 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14645 as the other one is broken on my machine!
14647 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14650 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14652 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14654 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14655 reflect their actual use. Provide compatibility code for older lyxrc
14658 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14660 change names of popup font variables in line with the changes to lyxrc.C
14662 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14664 * buffer.C (asciiParagraph): avoid outputing a word twice after
14667 * lyxrc.C (getDescription): document that document_path and
14668 template_path can be empty.
14670 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14672 * LaTeXFeatures.C (getMacros):
14673 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14675 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14677 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14679 (getPackages): rename feature "floats" to "float". Use an array to
14680 iterate over 'simple' features (i.e. just a \usepackage). Add
14681 handling of "amsmath" (renamed from "amsstyle").
14683 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14685 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14688 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14690 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14691 FuncStaus::FuncStatus & FuncStaus::some_method().
14693 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14695 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14696 of the func_satus stuff. Edited and massaged in various ways by
14699 * lyxfunc.C (getStatus): use FuncStatus
14701 2002-01-08 Juergen Vigna <jug@sad.it>
14703 * text.C (nextBreakPoint): use function Inset::isChar().
14705 * paragraph.C (TeXOnePar): use function
14706 Inset::forceDefaultParagraphs.
14708 * buffer.C (latexParagraphs): use function
14709 Inset::forceDefaultParagraphs.
14711 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14713 * lyx_gui.C (init): set the style of the menu popups to
14714 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14716 2002-01-07 Juergen Vigna <jug@sad.it>
14718 * text.C (setHeightOfRow): small fix
14719 (prepareToPrint): don't look at alignment if we don't have the place
14722 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14724 * box.C: New file. Move the Box methods and functions out of box.h,
14725 following Lars' suggestion.
14727 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14729 * box.h: #include "support/LOstream.h", needed for inlined function.
14732 * lyxtextclasslist.C: added some using std declarations.
14734 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14736 * box.h: make signed dimensions to allow insets wider than
14737 the screen (bug #162)
14739 * BufferView_pimpl.C: add some insetHit debug
14741 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14743 * vc-backend.C: add FIXME
14745 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14747 * lyxfunc.C (getStatus): enable code for showing math font status
14750 2002-01-07 Juergen Vigna <jug@sad.it>
14752 * text.C (nextBreakPoint): removed debug output not needed anymore.
14754 2002-01-06 Juergen Vigna <jug@sad.it>
14756 * text.C (nextBreakPoint): fixed up this function we had this bug
14757 since ever but now hopefully we break row better.
14758 (insertChar): we have to check if an inset is the next char as it
14759 could now happen that a large inset is causing a break.
14761 2002-01-05 Juergen Vigna <jug@sad.it>
14763 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14764 if it doesn't like to be drawed.
14766 2002-01-04 Juergen Vigna <jug@sad.it>
14768 * BufferView2.C (lockInset): forgot to set a cursor.
14770 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14772 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14774 * FormMathsPanel.C:
14777 * form_maths_panel.C:
14778 * form_maths_panel.h:
14779 * form_maths_panel.fd: implemented sub- and super- buttons in math
14782 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14783 (or ^ space) to be used as in TeX (req'd by Andr�.
14785 * lyxfunc.C: Allow ^ and _ again to be used both as
14786 super/subscript (mathed) and as themselves (in text).
14788 2002-01-03 Allan Rae <rae@lyx.org>
14790 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14791 "LyX" or the filename of the current buffer if it has one. This is a
14792 modified form of John Levon's patch.
14794 * XFormsView.C (setWindowTitle): also set icon title.
14796 * LyXView.h (setWindowTitle): signature changed.
14797 * XFormsView.h (setWindowTitle): ditto.
14799 2002-01-02 Juergen Vigna <jug@sad.it>
14801 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14803 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14805 * screen.C (topCursorVisible): introduce a temp var for
14806 text->cursor.row(), handle the case where this row is null. (kindo
14809 * text2.C (setCursor): add a couple of asserts.
14811 * paragraph.h (inset_iterator): add -> operator
14813 * paragraph.[Ch] (autoDeleteInsets): remove member function
14815 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14816 cursor pos correctly and handle inset deletion by itself.
14817 (insertErrors): move iterator declaration out of for expression
14819 * lyxtextclass.C: add <algorithm>
14821 * Makefile.am: added the new files to sources, removed layout.C
14823 * layout.C: removed file
14825 * layout.h: remove LYX_DUMMY_LAYOUT
14827 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14831 * lyxtextclass.[Ch]:
14832 * lyxtextclasslist.[Ch]: new files
14834 * include order changes to a lot of files, also changes because of
14837 2001-12-27 Juergen Vigna <jug@sad.it>
14839 * buffer.C (asciiParagraph): more fixes.
14841 * tabular.C (ascii): make ascii export support export of only the
14842 data separated by a column-delimiter.
14843 (ascii): better support for ascii export.
14845 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14847 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14849 * tabular_funcs.C: use a "using std::getline" instead of the
14850 previous fix from Angus (necessary for cxx + lyxstring)
14852 2001-12-24 Juergen Vigna <jug@sad.it>
14854 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14856 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14857 problems. First check a minipage also if we have some ert-contents
14858 (not only on par->size(), second set the right depth of the paragraph
14859 on the relink to the root-paragraph-list!
14861 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14862 which then did not anymore update the main paragraphs on undo/redo!
14864 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14866 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14867 code. Support all font-changing funcs (even those which are not in
14868 menu currently). Support for reporting font settings in
14869 mathed (disabled until Andre provides a function on mathed's side).
14871 * func_status.h (toggle): small helper function to set toggle
14874 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14876 * tabular_funcs.C: getline -> std::getline
14878 2001-12-21 Juergen Vigna <jug@sad.it>
14880 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14881 accessed and could be 0 (I couldn't generate this but it seems
14884 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14886 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14887 * tabular_funcs.h: here and include iosfwd
14889 2001-12-20 Juergen Vigna <jug@sad.it>
14891 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14892 inside inset but undo_par was.
14894 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14896 * Thesaurus.C: always include <config.h> in sources.
14900 * box.h: do not include <config.h> in header files
14902 * text.C (paintLastRow): remove unused variable
14904 * text.C (transformChar):
14906 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14908 * Painter.C (text):
14909 * font.C (width): rewrite to use uppercase() instead of
14912 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14914 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14916 * lyxfind.C: clean up of find failure position change
14918 2001-12-20 Juergen Vigna <jug@sad.it>
14920 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14922 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14923 (TeXRow): added to LaTeX a single tabular row.
14924 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14925 (Latex): simplified and finally good LT-h/f support.
14926 (various_functions): just small adaptions for LT-h/f support.
14928 * tabular_funcs.[hC]: added and moved here all not classfunctions
14931 2001-12-19 Juergen Vigna <jug@sad.it>
14933 * tabular.[Ch]: better support for longtabular options (not finished
14936 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14938 * text.C (paintLastRow): use the label font instead of the font of
14939 the last character to compute the size of *_BOX. This makes more
14940 sense and avoids a crash with empty paragraphs.
14941 Use Painter::rectangle to draw EMPTY_BOX.
14943 2001-12-19 Juergen Vigna <jug@sad.it>
14945 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14946 the paragraphs if the replaced paragraph is not the first one!
14947 Tried to delete not used paragraphs but does not work yet so for
14948 now it's inside #ifdef's and by default off!
14950 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14952 * MenuBackend.C: include "lyx_main.h" instead of declaring
14953 lastfiles (actually was declared as LastFiles* instead of a
14956 2001-12-17 Juergen Vigna <jug@sad.it>
14958 * tabular.C (AppendColumn): applied John's fix
14960 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14964 * BufferView_pimpl.h:
14965 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14968 * box.h: new start of class for above
14970 * lyxfunc.C: ignore space-only minibuffer dispatches.
14971 Show the command name when it doesn't exist
14973 * minibuffer.C: don't add empty lines to the history
14975 * minibuffer.C: add a space on dropdown completion
14977 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14979 * text.C: fix line above/below drawing in insets
14981 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14983 * lyxlength.C (LyXLength): Initialize private variables.
14985 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14987 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14988 when inserting error insets.
14990 2001-12-13 Juergen Vigna <jug@sad.it>
14992 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14993 actually sometimes the before-paragraph.
14994 (setUndo): don't clear the redostack if we're not actually undoing!
14996 2001-12-06 Juergen Vigna <jug@sad.it>
14998 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14999 and fixed redoing of main paragraph, so we can use it now ;)
15001 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
15003 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15005 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
15008 2001-12-13 André Pönitz <poenitz@gmx.net>
15011 * undo_func.C: minor cleanup
15013 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15015 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
15016 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
15017 font in urw-fonts package which is marked as -urw-fontspecific and
15018 does not work (incidentally, changing the encoding in the
15019 fonts.dir of this package to -adobe-fontspecific fixes the
15022 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
15023 is a crash when undoing first paragraph (Juergen, please take a
15024 look). THis does not mean the undo fix is wrong, just that it
15027 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
15028 the (Paragraph*) version when needed instead of duplicating the
15031 * text.C (workWidth): use Inset::parOwner to find out where the
15032 inset has been inserted. This is a huge performance gain for large
15033 documents with lots of insets. If Inset::parOwner is not set, fall
15034 back on the brute force method
15036 * paragraph_pimpl.C (insertInset):
15037 * paragraph.C (Paragraph):
15038 (cutIntoMinibuffer): set parOwner of insets when
15039 inserting/removing them
15041 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
15043 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
15049 * mathed/formulabase.C:
15050 * mathed/math_cursor.[Ch]:
15051 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
15054 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15056 * lyxlength.[Ch] (operator!=): new function
15058 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15060 * text.C (workWidth): use Inset::parOwner to find out where the
15061 inset has been inserted. This is a huge performance gain for large
15062 documents with lots of insets. If Inset::parOwner is not set, fall
15063 back on the brute force method
15065 * paragraph_pimpl.C (insertInset):
15066 * paragraph.C (Paragraph):
15067 (cutIntoMinibuffer): set parOwner of insets when
15068 inserting/removing them
15070 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
15072 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15074 * tabular-old.C (getTokenValue):
15075 * tabular.C (getTokenValue):
15076 (write_attribute): new versions for LyXLength
15077 (everywhere): adjust the use of widths
15079 * tabular.h: change the type of widths from string to LyXLength
15081 2001-12-11 Ben Stanley <bds02@uow.edu.au>
15083 * paragraph.C: fixed missing line number count when exporting
15084 Environments to LaTeX file
15086 * buffer.C: added informational message for checking line numbers.
15088 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15090 * text2.C (deleteEmptyParagraphMechanism): if there is only one
15091 paragraph, do the 'double space' part, but not the 'empty
15094 * text.C (workWidth): small optimization
15095 (getLengthMarkerHeight): use minimal size for negative lengths.
15097 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
15099 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
15101 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
15103 2001-12-11 André Pönitz <poenitz@gmx.net>
15106 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
15108 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
15110 * text2.C: keep selection on a setFont()
15112 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
15114 * lyx_cb.C: another bv->text misuse, from insert label
15116 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
15119 * kbsequence.C: re-instate nmodifier mask
15121 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
15123 * lyx_main.h: make lyxGUI private.
15125 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
15127 * lyxfind.C: place the cursor correctly on failed search
15129 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15131 * text.C (getLengthMarkerHeight): for small heights, the arrows
15132 are not always on top/bottom of the text
15133 (drawLengthMarker): smaller arrows; take the left margin in
15134 account; draw also vfills.
15136 (paintLastRow): remove special code for vfill and standard spaces,
15137 since everything is handled in drawLengthMarker now.
15139 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15141 * buffer.C (insertErtContents): try to handle font and language
15142 interaction a bit better.g
15144 * ColorHandler.C (updateColor): change the hash to cover the whole
15145 LColor enum, ws cleanup
15146 (getGCLinepars): ditto
15147 (getGCLinepars): only lookup in the linecache once.
15149 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
15151 * iterators.C (operator++): Make the iterator more robust
15153 * BufferView2.C (removeAutoInsets): Use paragraph iterators
15155 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
15157 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15160 * text.C: better added space drawing
15162 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15165 * BufferView2.C: fix layout combo update on inset unlock
15167 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15169 * Makefile.am: don't compile unused files
15171 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15175 * LyXAction.C: remove old LFUN_LAYOUTNO
15177 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15179 * paragraph_pimpl.h:
15180 * paragraph_pimpl.C: isTextAt() doesn't need font param
15182 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15185 * lyxlex.C: little cleanup
15187 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15189 * BufferView_pimpl.C: fix insertAscii for insets
15191 2001-12-05 Juergen Vigna <jug@sad.it>
15193 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15194 set the right font on the "multi" paragraph paste!
15196 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15202 * lyxlength.C: remove out-commented code.
15204 * BufferView_pimpl:
15218 * vc-backend.C: change "while(" to "while ("
15220 * lyxlength.[Ch]: add zero function to check if length is zero or
15222 * lyxgluelength.C: use it
15224 2001-12-05 Allan Rae <rae@lyx.org>
15226 * lyxlength.C: Attempted a fix for the abs(int) header selection.
15227 Works for 2.95.3, from what I understand of Garst's reports this should
15228 work for other g++ versions. We're screwed if the abs(int) definition
15229 changed between bugfix releases of gcc.
15231 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
15233 * text.C: fix chapter label offset !
15235 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
15238 * text.C: fix hfill at end of line, clean up
15240 2001-12-04 Juergen Vigna <jug@sad.it>
15242 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15243 that we force an update of the inset and it's owners if neccessary.
15245 2001-12-03 Juergen Vigna <jug@sad.it>
15247 * text.C (rowLast): simplified code
15249 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
15251 * lyxfunc.C: fix show options on timeout
15253 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15255 * screen.C (topCursorVisible): scroll half a page when the cursor
15256 reached top of bottom of screen
15258 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
15260 * minibuffer.C: deactivate on loss of focus
15262 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15264 * vspace.[Ch] (operator!=): add operator.
15266 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
15268 * BufferView_pimpl.C: refuse to open an inset when
15269 there's a selection.
15271 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
15273 * BufferView_pimpl.C: allow to click on RHS of full row insets
15275 2001-11-30 Juergen Vigna <jug@sad.it>
15277 * tabular.C (LyXTabular): add a same_id to set the same id's in the
15278 insets for undo reasons.
15280 2001-11-28 André Pönitz <poenitz@gmx.net>
15282 * vspace.[Ch]: cosmetical changes
15284 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15294 * kbsequence.C: part re-write of old kb code
15297 * WorkArea.C: remove Lgb_bug_find_hack
15299 2001-11-30 José Matos <jamatos@fep.up.pt>
15301 * buffer.C (makeDocBookFile): add a comment to point a hack.
15302 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15303 Fixed a double write of labels.
15305 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15308 * LaTeX.h Fixed bug in LaTeX class where it would not
15309 re-run latex if no depfiles were changed, but the .dvi was removed.
15311 2001-11-28 André Pönitz <poenitz@gmx.net>
15313 * all the files from the change on 2001/11/26:
15314 use lyx::layout_type instead of LyXTextClass::size_type
15315 use lyx::textclass_type instead of LyXTextClassList::size_type
15317 2001-11-29 Juergen Vigna <jug@sad.it>
15319 * text.C: added support for paragraph::isFreeSpacing()
15321 * buffer.C: same as above
15323 * paragraph.h: inserted isFreeSpacing() function to enable
15324 FreeSpacing inside InsetERT.
15326 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15327 of the paragraph's in the cut/copy buffer to 0!
15329 * text2.C (removeRow): remove the assert as it can!
15331 * lyxtext.h: added helper function firstRow returning firstrow and
15332 made firstrow private again.
15334 * BufferView2.C (lockInset): don't relock if we're already locked!
15336 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15337 the only paragraph.
15338 (removeRow): added Assert::(firstrow)
15340 * debug.C: forgot to add INSETTEXT here.
15342 2001-11-28 Juergen Vigna <jug@sad.it>
15344 * sp_spell.C (initialize): changed error text to more general
15345 spellchecker command use (not only ispell!)
15347 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15349 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15351 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15353 * vspace.C: initialise lyxgluelength on failure
15355 2001-11-28 Allan Rae <rae@lyx.org>
15357 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15358 declaration & definition that looks like a function declaration.
15360 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15362 * BufferView2.C (copy):
15363 (copyEnvironment): do not clear the selection when doing a copy.
15365 * text.C (paintFirstRow): compilation fix
15367 2001-11-27 Ben Stanley <bds02@uow.edu.au>
15369 * tabular.C (Latex): correct line count when writing latex.
15371 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
15373 * paragraph_pimpl.h:
15374 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15377 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15381 * LColor.C: change vfillline->added_space
15383 * text.C: add markers and text for added space
15385 * vspace.C: fix comment
15387 2001-11-28 André Pönitz <poenitz@gmx.net>
15389 * paragraph.C: whitespace changes
15390 * all the other files from the change on 2001/11/26:
15391 change *::pos_type into lyx::pos_type
15393 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
15395 * buffer.C (parseSingleLyXformat2Token): Set the language to the
15396 language of the document when inserting error insets.
15398 2001-11-26 André Pönitz <poenitz@gmx.net>
15400 * BufferView_pimpl.[Ch]:
15408 * paragraph_pimpl.[Ch]:
15411 * text2.C: reduce header dependencies, introduce type for positions
15413 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15415 * <various>: change to use Alert.h
15417 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
15419 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15420 when encountering an unknown token.
15421 (readLyXformat2): Show an error message if there were unknown tokens.
15423 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
15426 * BufferView_pimpl.C:
15430 * text2.C: use par->isInset()
15432 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15434 * paragraph_pimpl.h:
15435 * paragraph_pimpl.C: cleanup
15437 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15439 * text2.C (removeRow):
15440 * text.C (setHeightOfRow): remove useless (and costly) call to
15443 2001-11-20 Allan Rae <rae@lyx.org>
15445 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15446 Now need Inset*::checkInsertChar() to return true for appropriate
15447 cases so that the characters in the minibuffer will actually be
15450 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
15452 * text.C: change the order of the includes.
15453 (workWidth): initialize it at once.
15454 (workWidth): make maxw unsigned
15455 (setHeightOfRow): remove unused variable (inset)
15456 (selectSelectedWord): remove unused variable (inset)
15457 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15459 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15461 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15462 server is not running.
15464 (closeConnection): add debug info when server is disabled.
15466 * ColorHandler.C (getGCForeground): send debug message to GUI
15469 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15471 * kbmap.C (bind): modify because return conventions of
15472 kb_sequence::parse have changed.
15474 * kbsequence.C (parse): only ignore spaces and not any stupid
15475 control character. This avoids tests like s[i] <= ' ', which are
15476 guaranteed to fail with 8bit characters and signed chars.
15477 Change return code to string::npos when there have been no error
15478 (0 was a bad idea when error is at first character)
15480 2001-11-14 José Matos <jamatos@fep.up.pt>
15483 * buffer.C (simpleDocBookOnePar): removed unused argument.
15485 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15487 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15488 insets which are part of a word. Paragraph::isLetter takes care of
15489 that now. Use Paragraph::isInset to identify insets.
15490 (selectSelectedWord): do not test for hyphenation break.
15492 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15493 that protected spaces are considered as spaces.
15495 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15498 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15501 * lyxserver.C: fix it. and small cleanup.
15503 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15505 * BufferView_pimpl.C: use inline helpers
15508 * LaTeXFeatures.C: fix typos
15511 * Spacing.C: move spacing_string into class
15513 * ToolbarDefaults.C: move stuff into namespace anon
15515 * layout.h: update enum
15517 * lyxfunc.C: use better debug
15519 * minibuffer.h: fix typo
15523 * WorkArea.C: add and use Debug::WORKAREA
15527 * text2.C: code re-organisation, inline helpers
15529 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15531 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15532 std::vector.empty().
15534 2001-11-09 Allan Rae <rae@lyx.org>
15536 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15537 '\n's after tables. Tabular and ERT inset work now makes this no
15540 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15543 * minibuffer.C: fix crash, improve drop-down completion
15545 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15548 * lyxserver.C: invalidate fd's when doing endPipe()
15550 2001-11-08 José Matos <jamatos@fep.up.pt>
15552 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15553 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15556 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15558 2001-11-07 José Matos <jamatos@fep.up.pt>
15561 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15564 * buffer.C (sgmlOpenTag):
15565 * buffer.C (sgmlCloseTag): removed debug info.
15567 * buffer.h (sgmlOpenTag):
15568 * buffer.h (sgmlCloseTag): made public.
15570 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15572 * buffer.C (saveParamsAsDefaults):
15573 * lyx_cb.C (MenuLayoutSave): remove
15575 * LyXAction.C (init):
15577 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15579 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15581 * buffer.C (setPaperStuff): removed from here...
15583 * bufferparams.C (setPaperStuff): ... and moved there.
15585 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15589 * XFormsView.C: add support for drop-down completion
15591 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15593 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15596 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15598 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15601 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15603 * lyx_main.C: change ref to known bugs
15605 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15607 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15608 to work around older babel problems.
15610 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15612 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15614 2001-10-24 Juergen Vigna <jug@sad.it>
15616 * tabular-old.C (ReadOld): below variable changes reflected.
15618 * tabular.[Ch]: added ltType struct for longtable header/footer
15619 defines and changed all instances where they are used. Added
15620 future support for double top/bottom rows.
15622 2001-10-24 José Matos <jamatos@fep.up.pt>
15624 * buffer.h (docbookHandleCaption):
15625 * buffer.C (docbookHandleCaption): removed unused function.
15626 (makeDocBookFile): moved docbook supported version to v4.1.
15628 2001-10-24 José Matos <jamatos@fep.up.pt>
15631 * tabular.C (docbookRow): new function to export docbook code of a row.
15632 (DocBook): now honors the longtable flags.
15634 2001-10-23 José Matos <jamatos@fep.up.pt>
15637 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15638 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15640 * buffer.C (makeLinuxDocFile):
15641 (makeDocBookFile): reworked the preamble, more clean, and with
15642 support for lyx defined entities. Changed the document declaration
15643 to be more XML friendly.
15645 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15646 if we need to output XML that should be done with a filter.
15648 2001-10-22 Juergen Vigna <jug@sad.it>
15650 * sp_pspell.h (class PSpell): add alive function needed in the
15651 controller to see if the spellchecker could be started.
15653 2001-10-22 Juergen Vigna <jug@sad.it>
15655 * buffer.C (insertStringAsLines): modify the font for inserting
15656 chars in certain conditions by calling checkInsertChar(font).
15658 2001-10-19 Juergen Vigna <jug@sad.it>
15660 * text.C (workWidth): use getRow instead of wrong algorithm.
15661 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15663 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15668 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15670 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15672 * text.C (workWidth): do not search for the exact row when
15673 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15674 optimization for big documents.
15676 2001-10-18 Juergen Vigna <jug@sad.it>
15678 * text.C (workWidth): new function with added Inset * parameter.
15680 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15682 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15684 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15685 change return type of getColumnNearX.
15688 * text.C (changeRegionCase): use uppercase/lowercase instead of
15691 (rightMargin): simplify code by factoring out the uses of
15696 (appendParagraph): use Paragraph::size_type
15698 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15700 * vspace.C (asLatexString): add a missing break
15702 2001-10-15 Herbert Voss <voss@perce.de>
15704 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15706 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15708 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15711 2001-10-10 André Pönitz <poenitz@gmx.net>
15713 * lyxfunc.C: removed greek_kb_flag.
15715 2001-10-10 Herbert Voss <voss@perce.de>
15717 * lyx_main.C: delete global string help_lyxdir.
15719 2001-10-09 Herbert Voss <voss@perce.de>
15721 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15723 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15725 * lyx_main.C: added global string help_lyxdir.
15727 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15729 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15731 * lyxrc.C (set_font_norm_type): support iso8859-4
15733 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15735 * LaTeX.C (deplog): add another regex for MikTeX
15737 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15739 * lyxrc.C (set_font_norm_type): support iso8859-3
15741 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15743 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15745 * LaTeXFeatures.C: remove special case of french and index
15747 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15748 before \begin{document}). This solves several incompatibilities.
15750 2001-10-03 Garst Reese <reese@isn.net>
15752 * lyx_cb.C: change CheckTex error msg.
15754 2001-10-03 José Matos <jamatos@fep.up.pt>
15756 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15758 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15760 * .cvsignore: update
15762 * lyx_main.C (commandLineVersionInfo): use new style version info.
15764 * buffer.C (writeFile):
15766 (makeLinuxDocFile):
15767 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15769 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15771 * version.h: update to use stuff in version.C
15773 * version.C.in: new file. Contains version information determined
15774 at compile time. This is a merging of version.h and
15777 2001-10-03 Juergen Vigna <jug@sad.it>
15779 * BufferView_pimpl.C (update): don't change "dirty" status in
15782 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15784 * WorkArea.C (c-tor): re-position version string slightly.
15786 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15788 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15789 revert to previous code.
15791 WorkArea.[Ch]: (show, destroySplash): methods removed.
15793 WorkArea.C: rework code so that it's an amalgam of the codes before and
15794 after the splash screen was moved to WorkArea.
15796 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15799 * vspace.C (inPixels):
15802 * buffer.C (insertStringAsLines):
15803 (asciiParagraph): fix types to be large enough
15805 * lyxlex_pimpl.h: change member status from short to int
15807 * layout.h: fix type of endlabeltype
15810 * kbsequence.C (parse): change return type to string::size_type
15812 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15815 * Bullet.C (bulletSize):
15816 (bulletEntry): do not use short ints as parameters
15818 * BufferView2.C (insertLyXFile): change a char to an int.
15820 * WorkArea.C (WorkArea): remove unneeded floats in computation
15822 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15824 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15826 * paragraph.C (asString): Do not ignore newline/hfill chars when
15827 copying to the clipboard.
15829 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15831 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15832 after a multi-line inset.
15834 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15836 * paragraph.C (validate): Set NeedLyXFootnoteCode
15838 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15840 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15841 and decrease-error to decrease.
15843 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15845 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15846 it more readable (should be equivalent)
15848 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15850 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15852 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15854 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15855 of a cursor (row, etc.) after a character has been deleted
15856 (deleteEmptyParagraphMechanism): call the method above on _all_
15857 cursors held by the LyXText when a double space has been
15860 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15862 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15864 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15866 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15867 background. Use greyOut() and the new show() methods to toggle between
15868 the foreground and background. Add code to remove the splash after
15869 its initial showing.
15871 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15872 (create_forms): no longer call Dialogs::showSplash.
15874 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15876 * .cvsignore: add version_info.h
15878 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15880 * version_info.h.in: new file
15882 * Makefile.am: add version_info.h.in
15884 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15885 version_info.h instead of VERSION_INFO
15887 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15889 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15890 The ERT inset now returns string().
15892 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15894 * lyxtext.h, text.C (selectNextWord): renamed as
15895 selectNextWordToSpellcheck.
15897 * text.C (selectNextWordToSpellcheck): Modified to not select
15898 words inside an ERT inset.
15900 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15902 * lyx_cb.C (MenuLayoutSave): change a bit the question
15904 * sp_base.h: include <sys/types.h>
15906 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15908 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15910 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15912 * several files: fix typos in user-visible strings
15914 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15916 * text2.C (pasteSelection): do not set the selection, since it
15917 will be cleared later. Actually, the intent was to fix the way the
15918 selection was set, but I figured rmoving the code was just as good.
15920 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15922 * FontLoader.C (available): Check if font is available without
15925 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15927 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15929 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15931 * lyxrc.[Ch]: added display_graphics variable and associated code.
15933 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15935 * bufferparams.C (hasClassDefaults): new method. Returns true if
15936 the buffer parameters correspond to known class defaults
15938 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15940 * XFormsView.C (show): set minimum size to the main window.
15942 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15944 * text2.C (copySelection):
15946 * lyxfind.C (LyXReplace):
15947 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15948 LyXText::selectionAsString.
15950 * paragraph.C (asString): add "label" argument to the second form
15952 * text2.C (selectionAsString): add "label" argument and pass it to
15953 Paragraph::asString.
15955 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15957 * lyx_main.C (commandLineHelp): remove version information
15959 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15961 * lyx_main.C: add -version commandline option
15963 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15965 * paragraph.h: make the optional constructor arg required instead.
15966 some modifications to other files because of this.
15968 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15970 * lyxserver.C (C_LyXComm_callback): make it static
15972 * lyx_main.C (error_handler): make it static
15974 * lyx_gui.C (LyX_XErrHandler): make it static
15976 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15978 * WorkArea.C: make the extern "C" methods static.
15980 * Makefile.am (lyx_LDADD): simplify
15982 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15984 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15985 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15987 * LyXAction.C (init):
15988 * lyxfunc.C (dispatch): associated code removal.
15990 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15992 * lyxfont.h (isSymbolFont): shut off warning
15994 * text.C (setHeightOfRow):
15995 (getVisibleRow): fix crash with empty paragraphs which have a
15998 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
16000 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
16003 2001-09-04 José Matos <jamatos@fep.up.pt>
16006 * tabular.C (docbook): rename docBook method to docbook.
16008 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
16010 * Makefile.am: add dependencies to main.o.
16012 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
16014 * FontLoader.C (available): Return false if !lyxrc.use_gui
16016 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
16018 * FontInfo.C (query):
16019 * converter.C (view):
16020 * importer.C (Import):
16021 * exporter.C (Export): Can not -> cannot.
16023 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
16025 * BufferView_pimpl.C: allow to create index inset even if
16028 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
16030 * buffer.C (getLists): replace boost::tie code with an explicit pair
16031 as boost::tie can break some compilers.
16033 * iterators.h: Added a std:: declaration to the return type of
16036 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
16038 * lyxrc.C: add help for view_dvi_paper_option, default to safe
16041 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
16043 * iterators.[Ch]: New files. Provide paragraph iterators.
16045 * buffer.C (changeLanguage): Use paragraph iterators.
16046 (isMultiLingual): ditto
16048 * BufferView2.C (ChangeInsets): Use paragraph iterators.
16050 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
16052 * FontLoader.C: Support for cmr font.
16054 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
16056 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
16057 (available): New method.
16059 * FontInfo.C (getFontname): Use scalable fonts even when
16060 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
16063 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
16065 * converter.C (Formats::view): reverted! Incorrect fix.
16067 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
16069 * converter.C (Formats::view): only output the -paper option
16070 if the dvi viewer is xdvi, thereby fixing bug #233429.
16072 2001-08-23 Herbert Voss <voss@perce>
16074 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
16076 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
16078 * Spacing.h (Spacing): Set space to Default on in the default
16081 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
16083 * vc-backend.h (RCS::versionString): add RCS to version
16084 (CVS::versionString): add CVS to version
16086 * vc-backend.C (scanMaster): do not add CVS to version.
16087 (scanMaster): do not add RCS to version
16089 * lyxvc.C (versionString): new method
16091 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
16093 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16095 * Spacing.C (set): initialize fval
16097 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
16099 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
16102 2001-08-16 Juergen Vigna <jug@sad.it>
16104 * lyxfunc.C (dispatch): implemented the new FINISHED states.
16106 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
16108 * BufferView_pimpl.C:
16111 * text2.C: setParagraph takes linespacing now
16113 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
16115 * LyxAction.C: add internal LFUN_CITATION_INSERT
16117 * LyXView.C: actually apply fix
16119 * bufferlist.C: fix open non-existent file
16121 * lyxfind.C: fix indentation
16123 * lyxfunc.C: remove unneeded assert, fix typo
16125 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
16127 * MenuBackend.C: use "Floatname List"
16129 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
16131 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
16132 when converting LaTeX layout to insetERT.
16133 Generate a non-collapsed float when reading old float
16135 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
16137 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
16140 2001-08-13 Juergen Vigna <jug@sad.it>
16142 * text.C (fill): return 0 instead of 20 as this seems to be the more
16145 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
16147 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
16150 2001-08-13 Juergen Vigna <jug@sad.it>
16152 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
16154 (SearchBackward): comment out the unlocking of the inset_owner this
16155 should not be needed!
16157 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
16159 * Many files: Remove inherit_language, and add latex_language
16161 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
16162 collapsible insets.
16164 2001-08-10 Juergen Vigna <jug@sad.it>
16166 * text.C (prepareToPrint): fixed hfill-width in draw!
16168 * BufferView2.C (selectLastWord): save the selection cursor as this
16169 now is cleared in the function LyXText::clearSelection!
16171 2001-08-08 Juergen Vigna <jug@sad.it>
16173 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
16174 BACKSPACE type functions.
16176 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
16177 is only cutted from the document but not put in the cut-buffer, where
16178 still the old stuff should be.
16180 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
16182 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
16184 * tabular.C (SetWidthOfCell): fixed special case where the width
16186 (LeftLine): handle '|' in align_special.
16188 (LeftAlreadyDrawed): ditto
16189 (SetWidthOfCell): ditto
16191 2001-08-07 Juergen Vigna <jug@sad.it>
16193 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16195 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16197 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16198 * lyxlex.[hC]: ditto
16200 2001-08-06 Juergen Vigna <jug@sad.it>
16202 * text.C (getVisibleRow): fix up row clearing a bit.
16204 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16206 * minibuffer.C: make sure the X server sees the changes in the input.
16208 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16210 * paragraph.C (getFont): split into...
16211 (getLabelFont): this
16212 (getLayoutFont): and this
16213 * paragraph_pimpl.C (realizeFont): calling this
16215 * text2.C (getFont): split into...
16216 (getLayoutFont): this
16217 (getLabelFont): and this
16218 (realizeFont): all three calling this
16220 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16223 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16225 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16227 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
16229 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16230 layouts from the Quote inset insertion.
16232 2001-08-03 Juergen Vigna <jug@sad.it>
16234 * BufferView_pimpl.C (update): do the fitCursor only at the end!
16236 * screen.C (drawFromTo): don't call fitcursor here and do the loop
16237 only if status not is already CHANGED_IN_DRAW (second level).
16239 * text.C (draw): don't set the need_break_row when inside an
16242 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
16244 * buffer.C (parseSingleLyXformat2Token): handle more latex
16247 * bufferview_funcs.[hC]: change function names to
16248 begin with small char, adjust other files.
16250 2001-08-02 André Pönitz <poenitz@gmx.net>
16253 BufferView_pimpl.C: remove broken special code for math-greek
16255 2001-08-02 Juergen Vigna <jug@sad.it>
16257 * BufferView_pimpl.C (update): redone this function so that we
16258 update the text again if there was a CHANGE_IN_DRAW.
16260 * screen.C (cursorToggle): removed LyXText parameter and recoded.
16261 (drawFromTo): added a new internal bool which is used by draw() and
16263 (general): some cursor drawing problems fixed.
16265 2001-08-01 Juergen Vigna <jug@sad.it>
16267 * lyxfind.C (LyXFind): fixed
16268 (SearchForward): ditto
16269 (SearchBackward): ditto
16271 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16272 spurius drawing of the cursor in the main area.
16274 * text2.C (status): small fix which could lead to a segfault!
16275 (clearSelection): remove unneeded BufferView param.
16277 2001-08-01 André Pönitz <poenitz@gmx.net>
16279 * lyxfunc.C: small change due to changed mathed interface
16281 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16283 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16285 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
16287 * lyxfunc.c: fail gracefully if file doesn't exist
16292 * BufferView_pimpl.C: IsDirWriteable() proto changed
16294 * LyXView.C: fix updateWindowTitle() to store the last title
16296 2001-07-31 Juergen Vigna <jug@sad.it>
16298 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16299 the font (wrong since using of Paragraph::highestFontInRange).
16301 * paragraph.C (highestFontInRange): added a default_size parameter.
16303 * text.C (getVisibleRow): minor clear row changes (still not perfect).
16304 (setHeightOfRow): reformat
16306 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16308 * converter.[hC] + affected files: move to (inital-char)lowercase
16311 * ParagraphParameters.C (ParagraphParameters): remove commented code
16313 * PainterBase.[Ch]: remove commented code
16315 * LaTeXFeatures.h: add "bool floats" for float.sty
16317 * LaTeXFeatures.C (LaTeXFeatures): init floats
16318 (require): handle float
16319 (getPackages): do it with floats
16321 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16323 * BufferView_pimpl.C (Dispatch): improve handling of
16324 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16326 * commandtags.h: #include lyxfont.h here temporarily to avoid
16329 * bufferlist.h: include LString.h here.
16331 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16333 * text2.C (getStringToIndex): new method.
16335 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
16337 * *: Reduced header file dependencies all over.
16339 2001-07-30 Baruch Even <baruch@lyx.org>
16341 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16343 2001-07-29 Baruch Even <baruch@lyx.org>
16345 * buffer.C (readInset): Changed GRAPHICS to Graphics.
16347 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16349 * ParameterStruct.h (endif): add a default constructor to make
16350 sure that all variables is initialized.
16352 * ParagraphParameters.C (ParagraphParameters): adjust
16354 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16356 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16357 index; also, check that there is something to index, and that it
16358 does not span over several paragraphs.
16359 (doubleClick): use WHOLE_WORD_STRICT for double click.
16361 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16363 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16366 2001-07-26 Baruch Even <baruch@lyx.org>
16368 * buffer.C (readInset): Changed to call up InsetGraphics when reading
16369 an InsetFig figure, backwards compatible reading of old figure code.
16371 2001-07-27 Juergen Vigna <jug@sad.it>
16373 * text2.C: font.realize function adaption.
16375 * text.C (draw): add a warnings lyxerr text if needed.
16377 * layout.C: font.realize function adaption.
16379 * language.C: add inherit_language and implement it's handlings
16381 * bufferview_funcs.C (StyleReset): remove language parameter from
16382 font creation (should be language_inherit now).
16384 * bufferparams.C (writeFile): handle ignore_language.
16386 * paragraph.C (getFontSettings): the language has to be resolved
16387 otherwise we have problems in LyXFont!
16389 * lyxfont.C (lyxWriteChanges): added document_language parameter
16390 (update): removed unneeded language parameter
16392 * paragraph.C (validate): fixed wrong output of color-package when
16393 using interface colors for certain fonts in certain environments,
16394 which should not seen as that on the final output.
16396 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
16398 * BufferView_pimpl.C:
16403 * LyXAction.C: add thesaurus support
16406 * lyxfind.C: add "once" parameter, for thesaurus, to not
16407 move to the next match
16409 2001-07-26 Juergen Vigna <jug@sad.it>
16411 * lyxfont.C (realize): honor ignore_language too!
16414 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16416 * text.C (draw): one place more for ignore_language to not draw
16419 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
16421 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16423 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16425 * buffer.C (parseSingleLyXformat2Token): a more general fix for
16426 the minipage conversion problem.
16428 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16430 * buffer.C (parseSingleLyXformat2Token): check minipage if we
16433 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16435 * BufferView.h: don't forward declare WorkArea
16437 * BufferView.C: don't include WorkArea.h
16439 2001-07-25 André Pönitz <poenitz@gmx.net>
16443 * lyxfunc.C: new LFUN 'math-space'
16445 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16447 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16449 * text2.C (toggleInset): call open/close
16451 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16453 * lyxfunc.C (dispatch): add debug for the disabled case
16455 * font.C (buttonText): make similar to rectText
16457 * buffer.C (readInset): comment out parsing of insetlist and
16460 * PainterBase.C (rectText): small correction
16462 * BufferView_pimpl.C: comment out insettheorem and insetlist
16463 * LyXAction.C: ditto
16464 * commandtags.h: ditto
16466 2001-07-24 Juergen Vigna <jug@sad.it>
16468 * text.C (draw): honor the ignore_language.
16470 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16472 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16474 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16477 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16479 * lyxtext.h: remove unused (and unimplemented) methods
16481 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16483 * text.C (getVisibleRow): honor background color
16486 * Painter.h: remove default color argument for fillRectangle
16488 * text.C (backgroundColor): new method
16490 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16492 * text.C (getVisibleRow): adjust
16494 * font.[Ch] (rectText): new method, metrics
16495 (buttonText): new method, metrics
16497 * PainterBase.[hC]: make rectText and buttonText always draw and take
16500 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16502 * ToolbarDefaults.C (read):
16503 * MenuBackend.C (read): allow escaping in all strings
16505 * BufferView_pimpl.C (insertAndEditInset): new method.
16506 (Dispatch): use insertAndEditInset whenever appropriate.
16508 * BufferView_pimpl.C (insertNote): removed
16510 * BufferView_pimpl.C (smartQuote): new method, moved from
16511 BufferView; if an insetquote cannot be inserted, insert a '"'
16514 * BufferView2.C: remove insertCorrectQuote();
16516 * lyxfunc.C (getStatus): Add support for all remaingin
16517 inset-insert lfuns.
16519 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16521 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16522 command (necessary to pass " as parameter of self-insert.
16524 * text.C (selectWordWhenUnderCursor):
16525 (selectWord): add word_location parameter
16526 (selectWordWhenUnderCursor): same + remove special code for word
16528 (selectNextWord): use kind() to guess type of insetspecialchar,
16531 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16532 (insertErtContents): create ert insets as collapsed.
16533 (readInset): better compatibility code for Info inset.
16535 2001-07-20 Juergen Vigna <jug@sad.it>
16537 * lyxfunc.C (dispatch): use always LyXFind now!
16539 * text2.C (init): add a reinit flag so that the LyXText can be
16540 reinited instead of deleted and reallocated (used in InsetText).
16542 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16548 2001-07-18 Juergen Vigna <jug@sad.it>
16550 * text.C (selectNextWord): handle insets inside inset by calling
16551 always the bv->text functions so that we can go up the_locking_inset!
16553 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16554 in strange locations when inside an inset!
16556 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16557 handling to include insets.
16559 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16561 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16563 * LyXAction.C (init):
16565 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16566 LIGATURE_BREAK, since the name is so stupid.
16568 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16570 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16573 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16575 * sp_form.[Ch]: remove.
16577 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16579 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16582 * src/buffer.C (readInset): ditto.
16584 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16586 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16587 menuSeparator(), endOfSentenceDot(), ldots() and
16588 hyphenationPoint(), which are therefore removed.
16589 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16591 * LyXAction.C (init):
16592 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16594 * paragraph.C (getWord): removed.
16596 * BufferView_pimpl.C (Dispatch): use last word or selection for
16597 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16599 * lyx_main.C (queryUserLyXDir): do not ask before creating
16600 user_dir, except if it has been named explicitely.
16602 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16604 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16605 a document of zero size.
16607 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16609 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16610 approriately in the c-tor and in require().
16611 (getPackages): output the appropriate LaTeX for natbib support.
16613 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16614 variables "use_natbib" and "use_numerical_citations" when reading the
16616 (readInset): read the various natbib cite commands.
16617 (validate): white-space change.
16619 * bufferparams.[Ch]: new variables "bool use_natbib" and
16620 "bool use_numerical_citations".
16621 (writeFile): output them in the LyX file.
16623 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16625 * lyxfunc.C (getStatus): add support for all the inset insertion
16628 * text2.C (insertInset):
16629 * paragraph.C (insetAllowed):
16630 * BufferView_pimpl.C (insertInset): update to take in account the
16631 renaming of insertInsetAllowed
16633 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16635 * text2.C (getInset): new method. returns inset at cursor position.
16637 * BufferView_pimpl.C (Dispatch): changes because of this.
16639 * LyXAction.C (init): rename open-stuff to inset-toggle.
16641 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16643 * text2.C (toggleInset): renamed from openStuff; use
16646 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16648 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16650 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16652 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16654 * buffer.C (readLyXformat2): Add filename to the error dialog
16656 2001-07-18 Juergen Vigna <jug@sad.it>
16658 * tabular.C (GetCellNumber): put an assert here instead of the check!
16660 2001-07-17 Juergen Vigna <jug@sad.it>
16662 * BufferView_pimpl.C (toggleSelection): adapted too.
16664 * text.C (selectNextWord): adapted for use with insets.
16665 (selectSelectedWord): ditto
16667 2001-07-17 Juergen Vigna <jug@sad.it>
16669 * sp_spell.C (PSpell): fix initialitation order.
16671 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16673 * paragraph.C: spacing
16675 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16677 * sp_spell.C: repair language selection for pspell
16679 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16681 * lyxfunc.h: change more methods to begin with lower char.
16683 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16685 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16686 for unknown layouts.
16688 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16690 * buffer.C (readLyXformat2): Generate an error dialog if there are
16693 2001-07-16 Juergen Vigna <jug@sad.it>
16695 * sp_spell.C: always compile ISpell part.
16697 * lyxrc.C: added use_pspell entry and it's handling.
16699 2001-07-13 Juergen Vigna <jug@sad.it>
16701 * sp_spell.C: removed double includes.
16703 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16705 Consistent use of Lsstream.h:
16706 * Lsstream.h: added using std::stringstream for consistencies sake.
16708 * buffer.C: removed using std::stringstream
16710 * lyxfont.C (stateText):
16711 * paragraph.C (asString):
16712 * text.C (selectNextWord, selectSelectedWord):
16713 * text2.C (setCounter):
16714 * vspace.C (asString, asLatexString):
16715 std::ostringstream -> ostringstream.
16717 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16719 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16720 * commandtags.h: add LFUN_HELP_ABOUTLYX
16721 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16723 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16725 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16727 * lyx_gui_misc.C: remove spellchecker
16728 * lyxfunc.C: showSpellchecker
16730 * sp_ispell.h: added
16731 * sp_pspell.h: added
16732 * sp_spell.C: added
16733 * sp_form.[Ch]: removed
16734 * spellchecker.[Ch]: removed
16736 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16738 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16740 (simpleTeXSpecialChars): Simply print the input character without
16741 any special translation if pass_thru is set.
16743 * layout.h: Added bool pass_thru to layout class for being able to
16744 implement pass through of a paragraph for Literate Programming.
16746 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16747 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16748 * layout.C (Read): add "passthru" to list of layout tags and add
16749 code to set the pass_thru boolean when it is read.
16751 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16753 * trans_decl.h: remove allowed from KmodInfo
16755 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16756 remove allowed code
16759 * paragraph_pimpl.C (erase): use boost::prior
16761 * Painter.C (text): use data() instead of c_str() when length is
16763 * WorkArea.C (putClipboard): ditto
16764 * font.h (width): ditto
16766 * BufferView2.C: use it-> instead of (*it). for iterators
16768 * paragraph_pimpl.C: ditto
16769 * paragraph.C: ditto
16770 * minibuffer.C: ditto
16771 * language.C: ditto
16773 * encoding.C: ditto
16774 * counters.C: ditto
16775 * converter.C: ditto
16777 * Variables.C: ditto
16778 * TextCache.C: ditto
16779 * MenuBackend.C: ditto
16780 * LyXAction.C: ditto
16782 * FloatList.C: ditto
16783 * DepTable.C: ditto
16784 * ColorHandler.C (LyXColorHandler): ditto
16786 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16788 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16790 * text2.C (openStuff): reintroduce this method (which had been
16791 nuked in NEW_INSETS frenzy).
16793 * lyxfunc.C (Dispatch): when an action has not been handled, use
16794 its name in the error message, not its number.
16796 * paragraph.C (inInset): change method name to begin with lowercase.
16799 * text2.C: updates because of this.
16801 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16803 * ToolbarDefaults.C (add): add spaces in error message
16805 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16807 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16808 (readLyXformat2): rename return_par to first_par, use lyxlex's
16809 pushToken and remove the manual push handling.
16810 (parseSingleLyXformat2Token): add another ert comp. variable:
16811 in_tabular, rename return_par to first_par. handle newlines better
16813 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16815 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16817 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16819 * text2.C (getParFromID): removed
16821 * buffer.C (getParFromID): new method moved form lyxtext.
16822 * BufferView2.C (insertErrors): adjust
16823 (setCursorFromRow): adjust
16824 * BufferView_pimpl.C (restorePosition): adjust
16825 * lyxfunc.C (Dispatch): adjust
16826 * undo_funcs.C (textUndo): adjust
16828 (textHandleUndo): adjust
16829 (textHandleUndo): adjust
16831 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16833 * buffer.C: up' the LYX_FORMAT
16835 * lyxfont.h: turn NO_LATEX on as default
16837 * buffer.C (insertErtContents): new methods of tex style compability.
16838 (parseSingleLyXformat2Token): use it several places.
16839 * tabular.C (OldFormatRead): and here
16841 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16843 * text2.C: remove some commented code.
16846 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16847 * trans.C: changes because of the above.
16849 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16851 * text2.C (setCounter): Fix counters bug with bibliography layout.
16853 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16855 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16856 own member functions
16857 (simpleTeXSpecialChars): ditto
16859 2001-07-06 Juergen Vigna <jug@sad.it>
16861 * a lot of files: changed the access to LyXText::status and the
16862 call of undo-functions.
16864 * undo.[Ch]: added a inset_id to the undo informations.
16866 * undo_funcs.[Ch]: added and moved here all undo functions.
16868 * lyxtext.h: give the status enum a weight, made status_ a private
16869 variable and made accessor functions for it, removed the whole bunch
16870 of undo-functions as they are now in their own file, make some
16871 functions publically available. Added function ownerParagraph with
16874 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16875 made InInset() a const function, added getParFromID() function.
16877 * buffer.[Ch]: added const version for inset_iterator functions,
16878 added getInsetFromID() function.
16880 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16881 changed undo functions for new version.
16883 2001-07-05 Juergen Vigna <jug@sad.it>
16885 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16886 unknow mechanism does not call the proper constructor but only this
16887 one also if I request the other!?
16889 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16891 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16893 * text2.C (LyXText): use initialization lists.
16895 * lyxtext.h (Selection): initialize set_ and mark_
16896 (init): remove method
16898 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16900 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16902 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16904 * screen.[Ch]: change method names to begin with lowercase
16906 * BufferView_pimpl.C (updateScrollbar): simplify further and
16907 hopefully make it a bit faster.
16909 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16911 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16912 calling directly xforms functions.
16914 * Painter.C (Painter):
16915 * lyx_cb.C (MenuWrite):
16916 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16919 * lyx_gui.C: remove bogus guiruntime extern declaration.
16921 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16923 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16925 (redoDrawingOfParagraph): ditto
16926 (redoParagraphs): ditto
16927 (cutSelection): don't create a object for CutAndPaste use the
16928 static method directly
16929 (pasteSelection): ditto
16931 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16934 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16936 * modifications to some other files because of this.
16938 * Makefile.am (lyx_SOURCES): add XFormsView
16940 * XFormsView.[Ch]: new files
16942 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16943 the main window. Move the gui dependent stuff to XFormsView
16945 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16947 * tabular.C (GetCellInset): update cur_cell also in the row/col
16948 version of this function.
16950 * lyxfunc.C: no need to include figure_form.h here.
16956 * lyxvc.C: no need to include forms.h here.
16958 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16960 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16962 * lyxfunc.C (Dispatch):
16964 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16965 constructor argument.
16967 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16969 * paragraph.C (Paragraph): dont't clear, and just set layout.
16970 (makeSameLayout): use params's copy contructor.
16972 * ParagraphParameters.[Ch] (makeSame): delete method
16974 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16976 * Variables.[Ch]: fix indentation, rename set to isSet
16978 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16980 * lyxfunc.C (Dispatch): fix typo
16982 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16984 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16987 * bufferlist.C: include assert.h for emergencyWrite().
16989 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16991 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16992 give up at last (bug #425202) !
16994 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
17000 * spellchecker.C: strip spellchecker options and bring up
17001 preferences tab instead
17003 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17005 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
17006 the istringstream constructor
17008 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17010 * paragraph.C (getLayout): fix return value
17012 * paragraph.h: do not declare getLayout as inline.
17014 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
17016 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17018 * lyxcursor.h (operator<): new func
17019 (operator>): new func
17020 (operator>=): new func
17021 (operator<=): new func
17023 * text.C (changeCase): use selection.start and selection.end
17024 (changeRegionCase): require from to be <= to. Require par to be a
17027 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
17029 2001-06-27 Juergen Vigna <jug@sad.it>
17031 * text.C (cursorLeftOneWord): changed to return the cursor and added
17032 overlay with BufferView * parameter which calls this one.
17034 (selectWord): use new getWord function.
17035 (changeCase): renamed from changeWordCase as and extended to work
17036 also on selections.
17038 * lyxtext.h: added enum word_location
17040 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
17041 changeCase as this operates now also on selections.
17043 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
17045 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
17047 * many files: send debug output to Debug::INFO instead of
17050 * converter.C (View):
17052 (Move): send debug output to Debug::FILES instead of console.
17054 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
17056 * lyxfunc.C (getStatus): use func_status
17058 * func_status.h: new header, describing the results of
17059 LyXFunc::getStatus;
17061 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
17064 2001-06-25 The LyX Project <jug@sad.it>
17066 * buffer.C (sgmlOpenTag):
17068 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
17070 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17072 * text2.C: remove some dead code
17074 * tabular.C (GetCellInset): store the last cell checked (gotten)
17076 * tabular.h: add the helper for the speedup
17078 * lyxtext.h: remove some dead code
17080 2001-06-26 The LyX Project <Asger>
17082 * paragraph.C: Change export to LaTeX of alignment to
17083 \begin{center} and family for better roundtrip work with reLyX.
17085 * Tune the math drawing a bit.
17087 2001-06-25 The LyX Project <Asger>
17089 * LColor.C (LColor): New color for math background. New color
17092 2001-06-25 The LyX Project <jug@sad.it>
17094 * lyxfunc.C (MenuNew): remove extra check for .lyx file
17096 * lyxfunc.C (Open):
17097 * bufferlist.C (newFile): do not restrict to files ending with
17100 * BufferView_pimpl.C (MenuInsertLyXFile):
17102 2001-06-24 The LyX Project <jug@sad.it>
17104 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
17107 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17109 * lyxtext.h: rename most methods to begin with a small char.
17110 Lots of changes because of this.
17112 * paragraph.C (Paragraph): do not call fitToSize
17113 (erase): call Pimpl::erase
17114 (insertChar): call Pimpl::insertChar
17115 (insertInset): call Pipl::insertInset
17116 (breakParagraph): do not call fitToSize
17117 (breakParagraphConservative): do not call fitToSize
17118 (fitToSize): remove method
17120 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
17122 2001-06-24 The LyX Project <Asger>
17124 * Fix Qt compilation^2
17126 2001-06-24 The LyX Project <jug@sad.it>
17128 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
17129 depthHook(getDepth()-1).
17132 * ParagraphParameters.h:
17133 * ParameterStruct.h: change type of depth to unsigned int ==
17134 depth_type. Many adaptations to other files before of that.
17136 2001-06-24 The LyX Project <Asger>
17138 * Fix Qt compilation.
17140 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17142 * paragraph.h: renamed several methods to begin with small letter.
17143 several changes to many parts of the code because of this.
17145 2001-06-23 The LyX Project <jug@sad.it>
17147 * text2.C (InsertStringAsLines): renamed from InsertStringA;
17148 rewritten to discard all double spaces when KeepEmpty is off
17149 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
17150 to only handle newlines but not fiddle with spaces and friends.
17152 * lyxfunc.C (MenuNew): when doing 'new from template', use
17153 template_path as default directory
17155 2001-06-23 The LyX Project <Asger>
17157 * Clean-up of header file includes all over
17158 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
17160 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17162 * paragraph.h: renamed from lyxparagraph.h
17164 2001-06-23 Asger <lyx@violet.home.sad.it>
17166 * Buffer.h: Removed Buffer::resize
17167 * BufferList.h: Removed BufferList::resize
17168 * LyXView.h: Added LyXView::resize. This way, we will only reflow
17169 the document lazily when we change the width, or the font settings.
17171 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17173 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
17175 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17177 * buffer.h: remove out of date comment
17179 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17182 * screen.C: fix "theoretical" GC leak
17184 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17186 * LaTeX.C (scanAuxFile):
17187 (deplog): remove trailing \r when reading stream (useful under
17190 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
17192 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17193 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17194 and BufferView::theLockingInset(Inset*), so should use them and not
17195 access bv_->text->the_locking_inset directly.
17197 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17199 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
17202 * tex-defs.h: remove old unused file
17204 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
17206 * BufferView_pimpl.C: fix typo, remove minibuffer message
17207 when buffer has loaded
17209 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
17211 * lyxfunc.C (Dispatch): use stringstream
17212 (MenuNew): use stringstream
17213 (Open): use stringstream
17215 * importer.C (Import): use stringstream
17217 * bufferview_funcs.C (CurrentState): use stringstream
17219 * LaTeX.C (run): use stringstream
17221 * BufferView_pimpl.C (savePosition): use stringstream
17222 (restorePosition): use stringstream
17223 (MenuInsertLyXFile): use stringstream
17225 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
17238 * vspace.C: removed // -*- C++ -*- as first line.
17241 * version.h: added // -*- C++ -*- as first line.
17243 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17245 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17247 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17250 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
17252 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17255 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17257 * gettext.C: include LString.h even when --disable-nls is on.
17259 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
17261 * converter.h (Get): changed argument type from int to
17262 FormatList::size_type to avoid unnecessary conversion.
17264 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17267 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17269 * gettext.h: include LString.h even when --disable-nls is on.
17271 2001-06-07 Juergen Vigna <jug@sad.it>
17273 * text.C (BreakAgain): subst spaces with tabs.
17275 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17276 (resizeInsetsLyXText): set force on resizeLyXText.
17278 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17280 * gettext.h (gettext_init):
17281 (locale_init): use a real definition instead of a macro
17283 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
17285 * Bufferview_pimpl.C:
17287 * LColor.C: further lcolor tidies
17289 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
17291 * BufferView_pimpl.C (updateScrollbar): simplify.
17293 * BufferView2.C: don't include insets/insetinfo.h, change
17294 prototype for insertInset and call the Pimpl version. let
17295 updateInset call Pimpl version.
17297 * BufferView.h: move inset_slept to BufferView::Pimpl, move
17298 gotoInset to BufferView::Pimpl
17300 2001-06-01 Juergen Vigna <jug@sad.it>
17302 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17303 inside a LockingInset (is the update needed at all?).
17305 2001-05-31 Juergen Vigna <jug@sad.it>
17307 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17308 here not the old one otherwise how should we compare it afterwards
17311 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17316 * FontInfo.C: bring C functions into global namespace when
17319 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17321 * LString.h: make sure config.h has been loaded before LString.h.
17323 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17324 (one for each char read by EatLine!).
17326 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17329 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
17331 * paragraph.C (BreakParagraph): set the inset_owner in the new par
17332 to the same as the par we break from
17334 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
17336 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17338 * MenuBackend.C (expand): also create menu entries for wide
17339 versions of the floats.
17341 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17343 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17345 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17346 frontends/Makefile.am
17352 * tabular.C (getTokenValue): add std::
17354 * tabular-old.C (getTokenValue): add std::
17355 (getTokenValue): ditto
17356 (getTokenValue): ditto
17358 * screen.C (ToggleSelection): adjust
17360 * lyxtext.h: put selection cursors inside a Selection struct.
17362 * lyxfunc.C (moveCursorUpdate): adjust
17364 * lyxfont.C (latexWriteStartChanges): add std::
17366 * lyxfind.C: adjust
17368 * font.h: delete with(char const *, LyXFont const &)
17370 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17372 * FontInfo.C (getFontname): add std::
17374 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17375 (workAreaButtonPress): adjust
17376 (tripleClick): adjust
17378 (moveCursorUpdate): adjust
17381 * BufferView2.C (gotoInset): adjust
17383 2001-05-30 Juergen Vigna <jug@sad.it>
17385 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17386 to check pspell I add this as default as I now have new pspell
17387 libraries and they seem to use this.
17389 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
17391 * text2.C (CutSelection): make the cursor valid before the call to
17394 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17396 * kbsequence.C (parse): de-uglify a bit the parsing code, which
17397 relied on 0 terminated strings and other horrors. Bug found due to
17398 the new assert in lyxstring!
17400 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17403 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
17405 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17408 * lyxfunc.C (processKeySym): change method of getting to the
17411 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17412 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17413 * BufferView_pimpl.[Ch]: here as private methods.
17415 2001-05-28 Juergen Vigna <jug@sad.it>
17417 * text.C (SetHeightOfRow): added the update() call again as it is
17418 needed to initialize inset dimensions!
17420 2001-05-16 Juergen Vigna <jug@sad.it>
17422 * text2.C (SetCharFont): Add new function with BufferView * and
17423 bool toggleall parameters for setting insets internal fonts.
17424 (SetFont): Freeze the undo as we may change fonts in Insets and
17425 all this change should be inside only one Undo!
17427 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17428 setting font's in insets as for them we have the SetFont function!
17430 2001-05-15 Juergen Vigna <jug@sad.it>
17432 * text2.C (ClearSelection): to be sure we REALLY don't have any
17435 * tabular.C (TeXCellPreamble): fixed the left border problem for
17438 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
17440 * LaTeX.C (deplog): Make sure that the main .tex file is in the
17443 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17445 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17446 LFUN_BREAKPARAGRAPH.
17448 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17449 help test to "internal only", similar for LFUN_INSERT_URL
17451 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17452 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17453 auto_region_delete and deadkeys.
17455 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17458 * LColor.C: remove some dead entries, tidy a little
17460 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17462 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17464 (Dispatch): implement LFUN_ESCAPE
17466 * commandtags.h: add LFUN_ESCAPE
17468 * LyXAction.C (init): add entry for LFUN_ESCAPE
17470 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17471 Remove commented code.
17472 (insertNote): moved here
17473 (open_new_inset): moved here
17475 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17478 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17480 * kbmap.C (findbinding): clean it up and make it work correctly.
17482 * lyx_main.C (init): do not pass argc and argv as parameters
17484 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17486 * buffer.C: fix path for OS/2 & Win32
17490 * lyx_main.C: Added os:: class.
17492 * os2_defines.h: update
17494 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17496 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17497 better by trying again with reduced state.
17499 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17501 * lyxrc.C (read): print error about invalid key sequence only when
17502 debugging (because not all latinX keysyms are known to some X
17505 * kbsequence.C (getiso): add a few std:: qualifiers
17506 (getiso): comment out extra return statement.
17508 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17510 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17512 (Dispatch): enhance the accent inset a bit. (not perfect)
17514 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17516 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17518 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17520 * bufferlist.C (emergencyWrite): fix assert() call
17522 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17524 * text.C (InsertChar): Added trivial patch to only send the "you
17525 can not do multiple spaces this way" message once during a
17528 2001-05-08 Baruch Even <baruch@lyx.org>
17530 * Makefile.am: Changed order of libraries to get LyX to link properly
17531 with the gnome frontend.
17533 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17535 * LaTeXFeatures.h: add a std:: qualifier
17537 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17539 * paragraph.C (String): use stringstream
17541 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17543 * paragraph.C (writeFile): remove footflag arg
17545 * buffer.C (makeLaTeXFile): use stringstream
17546 (latexParagraphs): remove footnot gurba
17548 * LaTeXFeatures.C (getPackages): use stringstream
17549 (getMacros): likewise
17550 (getTClassPreamble): likewise
17551 (getFloatDefinitions): new method
17553 * paragraph.C (writeFile): reindent
17556 * WorkArea.h: revert the xpos + etc changes.
17558 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17560 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17562 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17563 (pasteSelection): likewise
17564 * text2.C (CreateUndo): likewise
17566 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17568 * minibuffer.C (peek_event): temporarily reduce the functionality
17569 of the minibuffer (to allow args on lfuns)
17571 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17572 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17574 * buffer.C (readInset): add compability reading of old float
17575 lists, add reading of new style float list.
17576 (readInset): avoid reevaluation of inscmd.getCmdName()
17577 (getLists): reindent
17579 * MenuBackend.C (MenuItem): implement parsing of
17580 md_floatlistinsert and md_floatinsert.
17581 (expand::LastFiles): move initalizaton of iterators out of loop,
17582 avoid reevaluation.
17583 (expand::Documents): introduce typdedef vector<string> Strings,
17585 (expand::ExportFormats): introduce typedef vector<Format const *>
17586 Formats, and use it.
17587 (expand): implement FloatListInsert and FloatInsert.
17589 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17590 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17591 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17593 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17595 (Dispatch::LFUN_FLOAT_LIST): implement
17597 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17599 * LaTeX.C (run): Fix problem with --export code.
17601 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17603 * BufferView.[Ch] (workarea): removed.
17604 (getClipboard) new method; wrapper for workarea()->getClipboard()
17606 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17609 * WorkArea.h (width, height, xpos, ypos): These methods all
17610 returned the dimensions of the work_area sub-area of WorkArea,
17611 resulting in a position error if the WorkArea were resized. Now
17612 return the dimensions of the entire WorkArea.
17614 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17616 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17618 * LaTeX.C (deplog): correct the syntax of regex reg1
17620 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17622 * undo.C: remove !NEW_INSETS cruft
17624 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17626 * text2.C: remove !NEW_INSETS cruft
17628 * text.C: remove !NEW_INSETS cruft
17630 * tabular.C: remove !NEW_INSETS cruft
17632 * spellchecker.C: remove !NEW_INSETS cruft
17634 * lyxtext.h: remove !NEW_INSETS cruft
17636 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17638 * lyxfunc.C: remove !NEW_INSETS cruft
17640 * lyxfind.C: remove !NEW_INSETS cruft
17642 * lyx_cb.C: remove !NEW_INSETS cruft
17644 * figureForm.C: remove !NEW_INSETS cruft
17646 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17648 * buffer.[Ch]: remove !NEW_INSETS cruft
17650 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17652 * CutAndPaste.C: remove !NEW_INSETS cruft
17654 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17656 * BufferView2.C: remove !NEW_INSETS cruft
17658 * BufferView.h: remove !NEW_INSETS cruft
17660 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17662 * Lsstream.h: include LString.h before the sstream headers to
17663 fix problem with gcc 2.95.3 and lyxstring
17665 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17667 * lyx_main.C: add using directives when needed for C functions
17668 declared in std:: namespace.
17670 2001-04-27 Juergen Vigna <jug@sad.it>
17672 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17673 (SetHeightOfRow): comment out the update call should not be needed!
17675 2001-04-13 Juergen Vigna <jug@sad.it>
17677 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17678 (LyXTabular): tried to minimize operator= operations (and realized
17679 hopfully Lars wish).
17681 2001-04-27 Juergen Vigna <jug@sad.it>
17683 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17685 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17687 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17689 * buffer.C (readInset): hack to make listof algorithm work
17691 * BufferView_pimpl.C: hack to make listof algorithm work
17693 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17695 * LyXAction.C: removed all !NEW_INSETS cruft
17696 (init): moved lfun_item in method
17698 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17700 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17702 * BufferView2.C (theLockingInset): white space.
17704 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17706 * minibuffer.C: include <iostream>
17708 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17710 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17712 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17714 * text.[Ch] (TransposeChars): new method
17716 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17718 * call message directly through LyXView instead of through LyXFunc
17719 * BufferView2.C: adjust
17720 * BufferView_pimpl.C: adjust
17721 * FontLoader.C: adjust
17723 * bufferview_funcs.C: adjust
17724 * converter.C: adjust
17725 * figureForm.C: adjust
17726 * importer.C: adjust
17728 * lyx_gui_misc.C: adjust
17729 * lyxfunc.C: adjust
17732 + more files in subdirs
17734 * lyxparagraph.h (size): move up int file
17737 * adjust all uses of Assert to lyx::Assert.
17739 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17740 lyxfunctional in namespace lyx
17741 * layout.C (hasLayout): ditto
17744 (delete_layout): ditto
17745 (NumberOfClass): ditto
17746 * converter.C (GetFormat): ditto
17751 * bufferlist.C (getFileNames): ditto
17752 (emergencyWriteAll): ditto
17755 * MenuBackend.C (hasSubmenu): ditto
17758 * BufferView_pimpl.C (getInsetByCode): ditto
17760 2001-04-18 Juergen Vigna <jug@sad.it>
17762 * vspace.C (asLatexString): fixed the 100% problem.
17764 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17766 * lyxfunc.C (Dispatch):
17768 * minibuffer.h: add a few std:: qualifiers
17770 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17772 * minibuffer.[Ch]: reimplement so that commands is initiated and
17773 run from lyxfunc, simplified som handling, and made the completion
17774 and history code for complete. wip.
17776 * lyxfunc.C (processKeySym): call message
17777 (miniDispatch): new temporary method
17778 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17779 (LFUN_MESSAGE): implement
17780 (LFUN_MESSAGE_PUSH): implement
17781 (LFUN_MESSAGE_POP): implement
17782 (initMiniBuffer): the initial/defualt minibuffer message.
17784 * lyxfont.[Ch]: inline some more getters
17786 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17788 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17790 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17791 (AutoSave): use LFUN_MESSAGE
17792 (Reconfigure): ditto
17794 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17796 * figureForm.C: use LFUN_MESSAGE
17798 * converter.C (runLaTeX): use LFUN_MESSAGE
17800 * bufferview_funcs.C: use LFUN_MESSAGE
17802 (changeDepth): ditto
17804 * bufferparams.h: use boost::
17806 * bufferlist.h: inherit privately from noncopyable
17808 * bufferlist.C (loadLyXFile): remove some commented code.
17810 * buffer.C (runChktex): use LFUN_MESSAGE
17812 * ShareContainer.h: inherit privately from noncopyable
17814 * ParagraphParameters.[hC] (depth): inline it.
17816 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17818 (message): new method
17819 (messagePush): ditto
17820 (messagePop): ditto
17821 (show): init minibuffer
17822 (showState): direct call
17824 * LaTeX.[Ch]: inherit privately from noncopyable
17825 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17826 instead of WriteStatus.
17828 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17830 * BufferView_pimpl.C (buffer): don't init minibuffer
17831 (workAreaButtonPress): use LFUN_MESSAGE
17832 (workAreaButtonRelease): ditto
17833 (savePosition): ditto
17834 (restorePosition): ditto
17835 (MenuInsertLyXFile): ditto
17836 (workAreaExpose): don't init minibuffer
17837 (update): remove commented code, simplify
17839 * BufferView2.C (openStuff): use LFUN_MESSAGE
17840 (toggleFloat): ditto
17843 (copyEnvironment): ditto
17844 (pasteEnvironment): ditto
17849 (updateInset): remove some commented code
17851 * lastfiles.h: inherit privately from noncopyable
17854 * lyx_main.h: ditto
17856 * lyxlex_pimpl.h: ditto
17858 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17859 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17860 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17862 * LyXAction.h: inherit privately from noncopyable, add methods
17863 func_begin, func_end, returning iterators to the func map.
17865 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17866 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17867 (func_begin): new method
17868 (func_end): new method
17870 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17872 (copySelection): ditto
17873 (pasteSelection): ditto
17875 * BufferView.C: whitespace change
17876 * BufferView.h: inherit privately from noncopyable
17878 2001-04-16 Allan Rae <rae@lyx.org>
17880 * tabular-old.C (l_getline):
17881 * spellchecker.C (sc_check_word):
17882 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17883 an unrecognised preprocessor directive. So ensure they're wrapped.
17885 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17887 * src/exporter.C (Export): Give an error message when path to file
17890 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17892 * LaTeX.C (deplog): Always check that foundfile exists.
17894 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17897 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17899 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17901 * tabular.[Ch] (getLabelList): implement new method
17903 * minibuffer.h: comment ouf setTiimer
17905 * minibuffer.C (ExecutingCB): constify res
17906 (peek_event): constify s
17907 (Set): constify ntext
17908 (Init): constify nicename
17910 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17912 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17913 (savePosition): use two params to Minibuffer::Set
17914 (restorePosition): ditto
17916 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17918 * lyx_main.C: include language.h
17920 * Makefile.am (lyx_main.o): add language.h
17922 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17928 * CutAndPaste.C: include gettext.h
17930 * lyxfont.h: remove old hack with ON and OFF.
17933 * lyxfont.h: do not include language.h...
17938 * bufferview_funcs.C:
17944 * paragraph.C: ... but do it here instead
17946 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17948 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17950 * tabular.C: small reformat
17952 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17955 (BreakParagraph): ditto
17956 (SetOnlyLayout): ditto
17959 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17962 * lastfiles.C: removed most using decl, add std:: where needed
17964 * buffer.C: ws changes
17966 * MenuBackend.C (class compare_format): put into anon namespace
17967 (expand): constify label, names, action, action2
17970 * text.C (SingleWidth): constify font
17971 (IsBoundary): constify rtl2
17972 (GetVisibleRow): constify ww
17974 * LaTeX.C (deplog): constify logfile
17976 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17978 (workAreaExpose): constify widthChange, heightChange
17980 * lyxrow.C (par): moved
17983 * lyxrow.h: as inlines here
17985 * lyxfont.h (shape): moved from lyxfont.C
17986 (emph): moved from lyxfont.C
17988 * lyxfont.C (LyXFont): use initialization list for all
17990 (shape): move to lyxfont.h as inline
17991 (emph): move to lyxfont.h as inline
17994 2001-04-04 Juergen Vigna <jug@sad.it>
17996 * vspace.C: had to include stdio.h for use of sscanf
17998 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
18001 * BufferView_pimpl.h: remove xforms cruft. Both classes are
18002 independent of xforms.
18004 2001-04-02 Juergen Vigna <jug@sad.it>
18006 * spellchecker.C: fixed namespace placing!
18008 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
18010 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
18011 the LyXParagraph * is 0.
18013 2001-03-29 Juergen Vigna <jug@sad.it>
18015 * vspace.C: added support for %, c%, p%, l%.
18016 (stringFromUnit): added helper function.
18017 (asLatexString): changed to give right results for the %-values.
18019 * buffer.C: convert the widthp in a width%.
18021 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
18023 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
18026 * figureForm.[Ch]: stripped the FD_from_figure manipulation
18027 code out of lux_cb.[Ch], ready for its (imminent?) removal.
18029 * lyx_cb.[Ch]: see above.
18031 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
18035 * lyx.[Ch]: replaced by figure_form.[Ch].
18039 * lyxfunc.C: changed headers associated with above changes.
18041 2001-03-27 Juergen Vigna <jug@sad.it>
18043 * BufferView_pimpl.C: set the temporary cursor right!
18045 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
18047 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
18049 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
18051 * LString.h: removed "using std::getline"!
18053 * BufferView_pimpl.C (Dispatch): changes due to changes in
18054 InsetInclude::Params.
18056 * buffer.C (tag_name): removed redundant break statements as they were
18057 producing lots of warnings with my compiler.
18059 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18061 * LString.h: add "using std::getline" when using the real <string>.
18063 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
18065 * buffer.C: removed bitset usage.
18066 PAR_TAG moved to an anonymous name space.
18067 (tag_name): new funtion, also in the anonymous namespace.
18068 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
18069 (makeDocBookFile): clean code. Completed transition from string arrays
18071 (SimpleDocBookOnePar): code clean.
18073 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18075 * tabular.C: add some comments.
18077 2001-03-22 Juergen Vigna <jug@sad.it>
18079 * buffer.C (parseSingleLyXformat2Token): redone the minipage
18080 compatibility read a bit and fixed bug with minipage in different
18083 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
18085 * buffer.C (pop_tag): removed.
18086 (push_tag): removed.
18087 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
18088 array replaced with vector. Added support for CDATA sections.
18089 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
18091 (makeDocBookFile): XML conformant declaration of CDATA section,
18092 fixed bug related to <emphasis> in the first paragraph char.
18093 (sgmlOpenTag): exclude empty tags.
18094 (sgmlCloseTag): ditto.
18096 * buffer.h (pop_tag): removed.
18097 (push_tag): removed.
18099 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
18101 * language.h (Languages): added size_type and size().
18103 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18105 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
18106 response on compability reading of minipages. One probliem is that
18107 the old usage of minipages was flertydig
18109 * several files here and in subdirs: don't use static at file
18110 scope use anon namespaces instead.
18112 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
18114 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
18115 LaTeX output. This is necessary for Literate document
18118 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18120 * buffer.C: insert hfill when needed.
18122 * tabular.C (l_getline): use string::erase, small whitespace change.
18124 * BufferView_pimpl.C: try the anon namespace.
18125 * WorkArea.C: ditto
18127 2001-03-16 Juergen Vigna <jug@sad.it>
18129 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
18130 otherwise it won't open options-dialogs.
18132 * buffer.C: honor pextraWidth(p) on converting minipages.
18134 * tabular.C (l_getline): changed the functions to strip trailing \r.
18136 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
18138 * BufferView_pimpl.C:
18139 * minibuffer..C: added "using SigC::slot" declaration.
18141 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18143 * lyxlex_pimpl.h: noncopyable is in namespace boost.
18149 * paragraph.C: ditto
18151 * lyxtext.h: NO_PEXTRA
18153 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
18155 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
18156 * ParameterStruct.h: ditto
18157 * ParagraphParameters.h: ditto
18158 * lyxparagraph.h: ditto
18160 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18162 * buffer.C: add compability for minipage alignment.
18163 (latexParagraphs): remove unwanted pextra check.
18165 * several files: remove CXX_WORKING_NAMESPACES
18167 * buffer.C (pop_tag): tie is in namespace boost
18169 * BufferView.h: noncopyable is in namespace boost
18171 * lyx_main.h: ditto
18174 * lastfiles.h: ditto
18175 * bufferlist.h: ditto
18176 * ShareContainer.h: ditto
18178 * LyXAction.h: ditto
18181 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
18183 * Merging changes from BRANCH_MVC back into HEAD.
18185 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
18187 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
18189 * BufferView_pimpl.C: change from intl.C
18193 * Makefile.am: move combox.*
18199 * intl.C: remove dialog (covered by prefs)
18201 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
18203 * lyxfunc.C (Dispatch): removed redundant break statement.
18205 2001-03-14 Juergen Vigna <jug@sad.it>
18207 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18209 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18211 * buffer.C: add hack to fix compability reading of minipages.
18213 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
18215 * buffer.C (getLists): Cleanup.
18217 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18219 * lyxfont.C (update): don't honor toggleall on font size.
18221 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
18225 * Makefile.am: moved to frontends/xforms/
18229 * BufferView_pimpl.C: changes for moved mathpanel
18231 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18233 * gettext.h: fix gettext_init() in --disable-nls
18235 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18237 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18239 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
18242 * lyx.h: strip external form
18244 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18246 * BufferView_pimpl.C: add comment, destroySplash()
18248 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18250 * BufferView_pimpl.C:
18254 * lyxfunc.C: use re-worked insetinclude
18256 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18258 * buffer.C: add using std::stringstream.
18260 * lyx_cb.C: readd using std::ios.
18262 * buffer.C: add using std::map.
18264 * BufferView_pimpl.C: add using std::vector.
18266 * ShareContainer.h: add std:: to swap.
18268 * buffer.h: add some typedefs
18269 * buffer.C (getLists): use them
18270 (getLists): renamed from getTocList.
18271 add a counter for the different float types and use it in the
18273 (getLists): use the same counter for the NEW_INSETS and the "non"
18276 * lyx_cb.h: remove unused items, includes, using etc.
18278 * ShareContainer.h: remove some commented code, add more comments
18279 and "documentation".
18281 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18283 * buffer.C (getTocList): make the list also when NEW_INSETS is
18286 * buffer.h: remove TocType
18288 * buffer.C (getTocList): change to return a map<string,
18289 vector<TocItem> >, implement for dynamic number of list.
18291 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18292 * text2.C (PasteSelection): adjust
18293 * CutAndPaste.C (pasteSelection): adjust
18295 * FloatList.C (FloatList): update from the new_insets branch.
18296 * Floating.[Ch]: ditto
18297 * LaTeXFeatures.C: ditto
18299 * lyxlex_pimpl.C: ditto
18301 * paragraph.C (Last): remove when NEW_INSETS is defined.
18303 * other file: changes because of the above.
18305 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18307 * lyxparagraph.h: rename next to next_, previous to previous_,
18308 make them private for NEW_INSETS. Rename Next() to next(),
18309 Previous() to previous().
18311 * other files: changes because of the above.
18313 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
18316 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18319 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18321 * main.C (main): pass lyx_localedir to gettext_init().
18323 * gettext.h: remove locale_init and gettext_init macros
18325 * gettext.C (locale_init): new function
18326 (gettext_init): new function
18328 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18331 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
18333 * Moved credits to frontends:
18334 * credits.[Ch]: removed
18335 * credits_form.[Ch]: removed
18336 * lyx_gui_misc.C: remove credits stuff
18339 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18341 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18343 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18344 unneeded destructor.
18346 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18347 a standalone pointer again.
18349 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18351 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
18357 * ToolbarDefaults.C:
18366 * BufferView_pimpl.C: use new file dialog in GUII
18369 * lyx_cb.C: remove LayoutsCB to Toolbar
18371 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18373 * ShareContainer.h (get): add std:: qualifier
18375 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18377 * ShareContainer.h: define a proper ShareContainer::value_type
18378 type (and use typename to please compaq cxx)
18380 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18382 * lyxparagraph.h: move serveral local vars to
18383 ParameterStruct/ParagraphParameters., use ShareContainer in
18384 FontTable., make vars in FontTable private and add getter and
18387 * paragraph.C: changes because of the above.
18389 * lyxfont.h: remove copy constructor and copy assignment. (the
18390 default ones is ok), move number inside FontBits. move inlines to
18393 * lyxfont.C: add number to initializaton of statics, move several
18394 inlines here. constify several local vars. some whitespace
18395 cleanup. Dont hide outerscope variables.
18397 * Spacing.h: add two new constructors to match the set methods.
18399 * ShareContainer.h: new file, will perhaps be moved to support
18401 * ParameterStruct.h: new file
18403 * ParagraphParameters.h: new file
18405 * ParagraphParameters.C: new file
18407 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18408 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18410 * BufferView_pimpl.C: ParagraphParameter changes.
18411 * buffer.C: Likewise.
18412 * bufferview_funcs.C: Likewise.
18413 * text.C: Likewise.
18414 * text2.C: Likewise.
18416 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18418 * lyxfind.C (LyXReplace): do not redefine default argument in
18420 (IsStringInText): ditto
18421 (SearchForward): ditto
18422 (SearchBackward): ditto
18424 2001-03-06 Juergen Vigna <jug@sad.it>
18426 * lyxfind.C (IsStringInText): put parentes around expressions.
18428 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
18430 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18432 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
18434 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18436 * stl_string_fwd.h: add comment
18438 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18441 * tabular.C: remove unused DocBook methods
18447 killed DO_USE_DEFAULT_LANGUAGE
18449 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18451 * lyx_gui.C: do not include language.h.
18453 * bufferview_funcs.C (ToggleAndShow): do not provide optional
18454 arguments in function implementation.
18456 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18458 * BufferView_pimpl.C: add <ctime>
18460 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18462 * BufferView_pimpl.C: add using std::find_if
18464 2001-02-27 José Matos <jamatos@fep.up.pt>
18466 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18469 2001-02-11 José Matos <jamatos@fep.up.pt>
18471 * buffer.C (makeDocBookFile): command styles now have a parameter as
18472 "title" by default.
18474 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18476 * layout_forms.[Ch]: removed
18477 * lyx_cb.[Ch]: out character
18478 * lyx_gui.C: out character
18479 * lyx_gui_misc.C: out character
18480 * bufferview_funcs.C: : out character,
18481 added toggleall as parameter in ToggleAndShow
18483 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18485 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18487 * text2.C (SetCurrentFont): Disable number property at boundary.
18489 2001-02-26 Juergen Vigna <jug@sad.it>
18491 * lyxfunc.C (getStatus): added a string argument override function so
18492 that this is correctly called from LyXFunc::Dispatch if it contains a
18493 do_not_use_argument which is used!
18494 (Dispatch): added check for "custom" export and call appropriate func.
18496 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18498 * lyxrc.C: Add language_command_local, language_use_babel and
18499 language_global_options.
18501 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18503 * buffer.C (makeLaTeXFile): Use language_use_babel and
18504 language_global_options.
18506 2001-02-23 Juergen Vigna <jug@sad.it>
18508 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18509 which works with LyXText and putted it inside BufferView. Here now we
18510 only call for that part the BufferView::Dispatch() function.
18512 * BufferView.C (Dispatch): added.
18514 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18515 functions which needs to use a LyXText over from LyXFunc.
18516 (MenuInsertLyXFile): added
18517 (getInsetByCode): added
18518 (moveCursorUpdate): added
18519 (static TEXT): added
18521 2001-02-22 Juergen Vigna <jug@sad.it>
18523 * BufferView_pimpl.C (update): call a status update to see if LyXText
18526 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18528 * vc-backend.C (revert): implement for CVS
18529 (getLog): implement for CVS
18531 2001-02-20 Juergen Vigna <jug@sad.it>
18533 * text2.C (ClearSelection): added BufferView param for inset_owner call
18535 * lyxfunc.C (TEXT): added this function and use it instead of
18536 directly owner->view()-text of getLyXText().
18538 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18540 * src/layout_forms.C: out preamble
18541 * src/layout_forms.h: out preamble
18542 * src/lyx_cb.C: out preamble
18543 * src/lyx_cb.h: out preamble
18544 * src/lyx_gui.C: out preamble
18545 * src/lyx_gui_misc.C: out preamble
18546 * src/lyxfunc.C: connect with guii preamble
18548 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18550 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18552 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18554 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18555 whether to run bibtex.
18557 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18559 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18561 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18563 * Makefile.am (lyx_SOURCES): removed bibforms.h
18565 * vspace.h: doxygen
18567 * text.C (GetVisibleRow): make several local vars const
18569 * tabular.C: small cleanup.
18571 * lyxserver.C (callback): use compare instead of strncmp
18573 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18574 inlines to after class or to paragraph.C
18576 * lyxfont.h: remove friend operator!=
18578 * converter.h: move friend bool operator< to non friend and after
18581 * combox.h: small cleanup
18583 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18584 to inlines after class def.
18586 * buffer.C (pop_tag): use string operations instead of strcmp
18588 * bmtable.c: doxygen, small cleanup
18590 * LaTeX.h: remove friend operator==
18592 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18604 * BufferView_pimpl.C:
18605 * BufferView.[Ch]: remove cruft
18607 2001-02-14 Juergen Vigna <jug@sad.it>
18609 * lyxfunc.C: removed #if 0 unused code
18611 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18613 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18615 * text2.C (SetSelection): added a BufferView * parameter
18617 2001-02-13 Juergen Vigna <jug@sad.it>
18619 * lyxfunc.C (Dispatch): fixed protected blank problem.
18620 * BufferView2.C (protectedBlank): added LyxText * parameter.
18622 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18623 (AppendColumn): same as above for column_info.
18625 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18626 (moveCursorUpdate): use a LyXText param for support of InsetText.
18628 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18629 (tripleClick): ditto
18631 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18633 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18635 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18637 * text2.C (SetSelection): set correct update status if inset_owner
18638 (ToggleFree): ditto
18640 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18642 * tabular.C: remove some commented code.
18644 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18646 * BufferView_pimpl.C: call hideSplash()
18648 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18651 * bibforms.h: remove
18654 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18655 add LFUN_CHILD_CREATE
18657 * counters.h: fix tiny typo
18662 * lyx.C: move splash to frontends/xforms/
18664 * lyx_gui_misc.C: move Include and Bibform to frontends
18666 * lyxvc.h: clarify comment
18668 * vspace.C: tiny housekeeping
18670 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18672 * text.C (PrepareToPrint): RTL Fix.
18674 * paragraph.C (GetUChar): New method.
18675 (String): Use GetUChar.
18677 * buffer.C (asciiParagraph): Use GetUChar.
18679 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18681 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18683 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18686 * buffer.C: rename to getLogName(), handle
18687 build log / latex log nicely
18689 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18692 * MenuBackend.h: remove support for reference menuitem type.
18694 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18696 * BufferView_pimpl.C: housekeeping
18697 * BufferView_pimpl.h:
18702 * minibuffer.h: move Timeout GUI-I
18704 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18706 * lyxrc.C (read): Update converters data-structures.
18708 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18710 * LaTeX.h (operator!=): add operator != for Aux_Info
18712 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18714 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18716 * LaTeXLog.C: deleted, useful code moved to Buffer
18719 * buffer.C: new function getLatexLogName()
18725 * lyxfunc.C: use frontends for LaTeX and VC logs
18727 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18729 * LaTeX.h: yet another std:: that Allan forgot.
18731 * Variables.C (set): renamed from isset(), because this clashes
18732 with some HP-UX macros (grr).
18734 2001-02-06 Allan Rae <rae@lyx.org>
18736 * LaTeX.h: Another bug fix. Missing std:: this time.
18738 2001-02-04 Allan Rae <rae@lyx.org>
18740 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18741 floats problem. I've left it commented out because it's not quite
18742 correct. It should also test that the current object is a table or
18743 figure inset. But I haven't gotten around to figuring out how to do
18744 that. I *think* it'll be something like: "table" == inset.type()
18746 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18749 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18751 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18752 all the citation/databases/styles in the auxilary file.
18753 (run): Rerun latex if there was a babel language error.
18755 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18757 * text.C (Backspace): Preserve the font when changing newline char
18759 (BreakParagraph): If the cursor is before a space, delete the space.
18761 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18763 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18765 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18766 new argument (code).
18767 (ChangeCitationsIfUnique): New method.
18769 * paragraph.C (GetPositionOfInset): Handle bibkey.
18771 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18773 * BufferView_pimpl.h: change type of Position::par_pos to
18774 LyXParagraph::size_type.
18776 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18778 * BufferView_pimpl.C (savePosition, restorePosition): Write
18779 messages to minibuffer.
18781 2001-01-28 José Matos <jamatos@fep.up.pt>
18783 * buffer.C (makeDocBookFile): adds support for document language.
18784 A silly restriction on the name of LatexCommand types where removed.
18785 Added support for CDATA sections, allows to chars unescaped, used
18786 among others in code, to avoid escape < and >.
18788 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18790 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18791 saved positions instrad of a stack. Furthermore, a position is
18792 stored using paragraph id/paragraph position.
18794 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18795 Remove LFUN_REF_BACK.
18797 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18799 * converter.C (dvipdfm_options): New method.
18801 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18803 * vspace.C (isValidLength): Fix for empty input string.
18805 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18807 * LyXAction.C (init): change description of LFUN_FIGURE to
18810 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18812 * LaTeX.C: add using directive
18814 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18816 * MenuBackend.C (expand): Fix the sorting of the formats.
18818 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18820 * lyx_main.C: tiny error message fix
18822 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18824 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18825 calling fl_initialize(). This fixes the problem with ',' as
18826 decimal separator in text files.
18828 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18830 * trans.C (process): Fix the keymap bug.
18832 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18834 * LaTeX.C (scanAuxFiles): New method. Provides support for
18835 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18836 (scanLogFile) Scan for "run BibTeX" messages.
18838 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18839 OT1 font encoding. Also, load the aecompl package if the ae
18842 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18844 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18846 * texrow.C (increasePos): turn two error messages into debug
18849 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18851 * LaTeX.C (scanAux): Handle the \@input macro.
18852 (runBibTeX): Use scanAux().
18854 * language.C (latex_options_): New field.
18856 * LaTeXFeatures.C (getMacros): Add language macros.
18858 * buffer.C (makeLaTeXFile): Small fix.
18860 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18862 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18864 * text2.C: add a using directive.
18866 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18871 * lyxfunc.C: kill LyXBell.
18873 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18875 * text.C (IsBoundary): Remove the error message
18877 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18879 * lyxrc.C (setDefaults): Correct initialization value for
18882 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18884 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18887 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18888 and GotoNextNote().
18890 * src/LyXAction.C: Added reference-next.
18892 * text.C (InsertChar): Use contains instead of strchr.
18894 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18896 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18898 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18899 alignment commands (when needed).
18901 * text.C (InsertChar): Add ':' to number separator chars.