1 2006-03-16 John Spray <spray@lyx.org>
3 * lyxfunc.C (getStatus): disable LFUN_MENUWRITE when document is
6 2006-03-15 Martin Vermeer <martin.vermeer@hut.fi>
8 * CutAndPaste.C (pasteSelectionHelper): comments
9 * paragraph_funcs.C (mergeParagraph): fix Juergen's cut&paste bug
11 * paragraph.C (stripLeadingSpaces): remove unnecessary setChange
12 * text.C (backspace): allow deletion of inserted para break
13 Change tracking -related bug fixes (reported by Juergen) and
14 some documentation work
16 2006-03-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
18 * MenuBackend.C (expand): make sure the menu is empty before
21 * MenuBackend.h (clear): new method.
23 2006-03-13 Martin Vermeer <martin.vermeer@hut.fi>
25 * rowpainter.C (paintChangeBar): fix painting of change bar with
26 only paragraph break changed
28 2006-03-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
30 * lyx_cb.C (Reconfigure): run lib/configure.py, not lib/configure
31 * lyx_main.C (reconfigureUserLyXDir): run ditto
33 2006-03-12 Martin Vermeer <martin.vermeer@hut.fi>
35 * lyxtext.h: doxygen documentation fix
37 2006-03-11 Martin Vermeer <martin.vermeer@hut.fi>
39 * paragraph.[Ch] (write, lookupChange, lookupChangeFull;
41 * paragraph_pimpl.[Ch] (trackChanges, cleanChanges, acceptChange,
42 rejectChange, erase; added setChangeFull):
43 * CutAndPaste.C (eraseSelectionHelper):
45 * text.C (readParToken, readParagraph, breakParagraph,
46 acceptChange, rejectChange, backspace, currentState;
48 * paragraph_funcs.C (breakParagraphConservative, mergeParagraph):
49 * lyxfind.C (findChange, findNextChange): fix bug 880: Change
50 tracked paragraphs should still allow a paragraph split (and related
51 things, i.e., multi-paragraph change tracking)
53 2006-03-10 Martin Vermeer <martin.vermeer@hut.fi>
55 * BufferView_pimpl.C: fix bug 2212: First change is skipped is
56 "Merge changes..." dialog
58 2006-03-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
60 * bufferparams.C (writeLaTeX): define \labelitemi with \def. Fixes LaTeX
61 error if the class has not defined them yet (bug 2053).
63 2006-03-10 Martin Vermeer <martin.vermeer@hut.fi>
66 * BufferView_pimpl.[Ch]:
70 * text3.C: Inside-inset speedup, esp. for the Mac (bug 2195)
72 2006-03-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
74 * pch.h: fix nullstream.hpp location for boost 1.33.0
76 2006-03-05 Lars Gullik Bjønnes <larsbj@lyx.org>
80 * support/debugstream.h: Use the correct nullstream.
82 2006-02-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
84 * text3.C (mathDispatch): fix math inset creation from string (bug 2315)
86 2006-02-28 Martin Vermeer <martin.vermeer@hut.fi>
88 * cursor.C (niceInsert): fix (properly) insertion of
89 fonts/decorations around selection
91 2006-02-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
93 * lyxfont.C (lyxWriteChanges): Don't write \lang latex
95 2006-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
97 * text3.C (mathDispatch): fix crash when selection is not empty
98 but selectionAsString is empty (bug 2321).
100 2006-02-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
102 * text.C (changeCase): avoid crash in empty paragraph or on last
103 word of the paragraph. (buf 2323)
104 (cursorRightOneWord): fix the logic to stop at a beginning of a word.
106 2006-02-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
108 * buffer.C (readHeader): also erase params.preamble in advance
109 so that an empty preamble is actually recognized (bug 2317).
111 * rowpainter.C (paintFromPos): ditch applyOuterFont (bug 2308).
113 2006-02-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
115 * text2.C (deleteEmptyParagraphMechanism): 64bit compile fix
117 2006-02-05 Martin Vermeer <martin.vermeer@hut.fi>
127 * text3.C: Fix bug 2115: blue language lines (for default font)
128 popping up when the documnent font is different. This includes work
131 2006-02-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
133 * exporter.C (Backends): Add "lyx" backend
134 * exporter.C (Export): Handle "lyx" backend
135 * graph.C (getReachable): Don't exclude "lyx"
136 * MenuBackend.C (expandFormats): exclude "lyx" from export menu
138 2006-02-03 Martin Vermeer <martin.vermeer@hut.fi>
140 * cursor.C (bruteFind2): convert relative to absolute co-ordinates
141 for correct in-mathed positioning
143 2006-02-03 Martin Vermeer <martin.vermeer@hut.fi>
145 * rowpainter.C (paintForeignMark): fix foreign blue line under
148 2006-01-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
150 * * text2.C (deleteEmptyParagraphMechanism): fix off-by-one error of the start
151 pit of the uno range (bug 2022).
153 2006-01-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
155 * messages.C (get): Only warn once if setlocale fails (bug 2177)
157 2006-01-28 Martin Vermeer <martin.vermeer@hut.fi>
159 * text2.C (setCharFont): take inset's own font settings into account
160 when defining the font to reduce to, fixes 2019
162 2006-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
164 * bufferview_funcs.C (coordOffset): remove the check for
165 collapsed collapsables (fix for bug 2094). This is now done
166 on a more general level (cursor.C).
168 * dociterator.[Ch] (forwardPos): add an optional argument
169 bool "ignorecollapsed" (default false), which lets forwardPos
170 skip collapsed insets.
172 * cursor.C (bruteFind): use forwardPos(ignorecollapsed = true)
173 (fixes bug 2241 and 2094).
175 2006-01-26 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
177 * buffer.C: change tracking (dvipost) doesn't require
180 * LaTeXFeatures.C (getPackages): no need for the color
181 option "usenames" (bug 2169).
183 2006-01-23 Helge Hafting <helge.hafting@aitel.hist.no>
184 * buffer_funcs.C: Trivial fix - added {} around
185 the statements to be affected by a if-test. Now
186 label in a minipage in a float looks ok on screen again.
188 2006-01-23 Martin Vermeer <martin.vermeer@hut.fi>
190 * text2.C: fix bug 2015: on screen fonts in nested environments
193 2006-01-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
195 * converter.C (convert): handle unknown formats
197 2006-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
199 * cursor.C (goUpDown): comment out some debug messages.
201 * counters.C (newCounter): make error messages more explicit
202 (these appear with some textclasses like beamer)
204 2006-01-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
207 * lyxfunc.C (processKeySym): make sure new FuncRequest objects
208 have origin set to KEYBOARD. (bug 2221)
210 2006-01-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
212 * rowpainter.C (isCursorOnRow): do not exclude endpos().
214 2006-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
216 * cursor.C (macroModeClose): returns true if an inset actually got
217 inserted; revert faulty fix to bug 2034.
219 2006-01-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
221 * tabular.C (getLabelList): remove (not used anymore).
223 2006-01-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
225 * outputparams.[Ch]: add new flag inComment
227 2006-01-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
229 * text2.C (deleteEmptyParagraphMechanism): since we delete a
230 paragraph, recordUndo should span two paragraphs (bug 2155).
232 2006-01-01 Martin Vermeer <martin.vermeer@hut.fi>
234 * rowpainter.C (paintPar): always repaint the row with the
237 2006-01-01 Lars Gullik Bjønnes <larsbj@gullik.net>
243 * vspace.h: fix syntax error
245 2005-12-31 Martin Vermeer <martin.vermeer@hut.fi>
247 * text3.C (dispatch): Force refresh if typing into inset changes its
250 2005-12-30 Martin Vermeer <martin.vermeer@hut.fi>
255 * rowpainter.C: Speed up rendering by only re-painting rows that
256 have changed. When selection or whole-screen update active, all rows
257 are repainted, as are all rows within insets.
259 2005-12-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
261 * version.C.in: Use PACKAGE_VERSION instead of VERSION
263 2005-12-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
265 * tabular.C (toggleFixedWidth): Use default layout of text class
266 instead of hardcoded "Standard"
268 2005-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
270 * lyxfunc.C (dispatch): do not call getStatus again to determine
271 whether a lfun is disabled (bug 2172).
273 2005-12-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
275 * cursor.C (macroModeClose): set the cursor inside the new math
276 atom if relevant (think \frac{}{}) (bug 2034)
278 2005-12-19 Martin Vermeer <martin.vermeer@hut.fi>
282 * text3.C (Delete, backspace): force update when merging paragraphs
284 2005-12-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
286 * BufferView.C (mouseSetCursor): clear the selection properly (bug
289 2005-12-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
291 * text.C (redoParagraph): honor inset->noFontChange()
292 * rowpainter.C (paintInset): ditto
294 2005-12-15 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
296 * lyx_main.C (priv_exec): don't initialize Math on startup
297 (initMath() has been moved to math_hullinset).
299 2005-12-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
301 * lyxrc.C: set default_papersize to PAPER_DEFAULT;
302 handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
303 * paper.h: dispose dead PAPER_PACKAGES enum.
305 2005-12-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
307 * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
310 2005-12-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
312 * exporter.C (Export): Don't try to copy a file if it does not exist
315 2005-12-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
317 * text2.C (makeFontEntriesLayoutSpecific): remove.
320 * text.C (insertChar): remove bogus caching of fonts (did not do
323 * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
324 ALL_SANE). (bug 2146)
326 2005-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
328 * rowpainter.C (paintFirst): fix centering of
329 LABEL_CENTERED_TOP_ENVIRONMENT.
331 2005-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
333 * BufferView.C (mouseSetCursor): new method. Calls
334 deleteEmptyParagraphMechanism if necessary.
336 * lyxtext.h: make deleteEmptyParagraphMechanism public.
338 * text3.C (dispatch/LFUN_MOUSE_PRESS): use
339 BufferView::mouseSetCursor (bug 2109).
340 (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
342 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
344 * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
345 do not remove it (this inset behaves differently from the others).
347 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
351 * BufferView_pimpl.C (getStatus): it is only possible to insert a
352 file in a text inset.
354 * buffer.C (readDocument): remove pit argument and code releated
355 to it; set the inset owner correctly (unrelated, but useful).
356 (readFile): get rid of pit argument.
358 * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
359 textclass instead of a selection index.
360 (pasteParagraphList): new function.
361 (pasteSelection): make it a wrapper around pasteParagraphList.
363 * BufferView_pimpl.C (MenuInsertLyXFile): use
364 cap::pasteParagraphList to insert a file.
366 2005-11-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
368 * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
370 2005-11-17 Michael Gerz <michael.gerz@teststep.org>
372 * exporter.C: fix typo in text message
374 2005-11-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
376 * text2.C (setLayout): move recUndo call to other setLayout method
377 * tabular.C (toggleFixedWidth): new, handle cell width changes
378 * tabular.C (setColumnPWidth): move some code from insettabular.C here
379 and use toggleFixedWidth
380 * tabular.C (setMColumnPWidth): ditto
382 2005-11-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
384 * paragraph.C (asString): use new inset->textString method (fix
387 2005-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
389 * CutAndPaste.C (numberOfSelections): new helper function.
391 * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
393 * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
394 LyXFunc::getStatus; implement LFUN_PASTE.
396 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
398 * dociterator.[Ch]: new member realInset() that returns the cell
399 for tabulars and the inset for the rest (bug 1952).
400 * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
403 2005-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
405 * text.C (leftMargin): honor the NextNoIndent tag in layouts.
407 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
411 * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
414 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
416 * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
417 line after typing ctrl-enter
419 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
421 * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
422 math insets do not return a proper editable() state yet (bug 2124).
424 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
426 * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for
427 docs containing very large paragraphs.
429 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
431 * cursor.C (selectionBegin, selectionEnd):
432 * text.C (drawSelection): Fix bug 2115: assertion when anchor and
433 cursor at different depths.
435 2005-11-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
437 * bufferview_funcs.C (coordOffset): do not call cursorPos
438 for collapsed collapsables (fix bug 2094).
440 2005-11-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
442 * paragraph.C (fontSpan): make sure that the FontSpan does not
443 span across beginOfBody (bug 1947).
445 2005-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
447 * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
449 2005-11-03 Michael Gerz <michael.gerz@teststep.org>
451 * messages.C: fix crash and localization on MinGW/Windows platform
453 2005-11-02 Angus Leeming <leeming@lyx.org>
456 * lyxtextclass.C: trivial fixes to some MSVS warnings.
458 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
460 * text3.C (getStatus): re-enable disabled code. (bug 2081)
462 * BranchList.h (empty): constify.
464 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
466 * text3.C (getStatus):
467 * MenuBackend.C (expandBranches): take the branch list from the
468 master document (bug 2092).
470 * MenuBackend.C (expandBranches):
471 * bufferparams.C (writeFile): use BranchList type.
473 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
475 * text3.C (dispatch, getStatus):
476 * LyXAction.C (init):
477 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
479 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
481 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
483 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
485 * text.C (insertChar): do not reset boundary (bug 2061)
487 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
489 * dociterator.C (updateInsets): new method. Updates the inset_
490 cache of all the slices of the iterator.
492 * text2.C (deleteEmptyParagraphMechanism): compare also containing
493 insets when comparing pit/pos; pass the right cursor to
494 recordUndo; when a paragraph has been deleted, compare `old.top()' to
495 the right cursor slice of `cur'; use updateInsets on cur to make
496 sure that the inset caches are correct; general cleanup.
498 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
500 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
501 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
502 containg inset. If this does not work, the same command will be
503 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
505 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
508 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
510 * lyxtextclass.C (Read): convert layout file if the format is wrong
511 * lyxtextclass.C (layout2layout): new, needed for the above
513 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
515 * messages.C: do not forget to include <cerrno>.
517 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
519 * dociterator.h (StableDocIterator): add access to pos().
520 * undo.C (samePar): new method to check if two
521 iterators are in the same paragraph
522 * undo.C (recordUndo): check for samePar instead of cell identity
523 (which includes pos() and is too strict) (fixes bug 2097)
525 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
527 * text.C (setCursorFromCoordinates): return a bool telling whether
530 * text3.C (cursorPrevious): update if needed after
531 setCursorFromCoordinates (when dEPM triggered).
533 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
534 (otherwise the anchor may be completely wrong and make dEPM assert).
536 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
538 * buffer.C: version upgrade to 245.
539 * bufferparams.C: remove \quotes_times (bug 2090).
540 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
541 quotation marks as default.
543 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
545 * CutAndPaste.C (nrOfParagraphs): remove (unused)
546 * CutAndPaste.C (cutSelection): Remove debug message
547 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
548 undo information and only copy if this is a real cut
549 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
551 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
553 * CutAndPaste.C (eraseSelection): prevent cursor corruption
554 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
555 superflous cur.selection() setting
556 * CutAndPaste.[Ch] (grabSelection): take a const cursor
557 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
559 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
561 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
564 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
566 * BufferView_pimpl.C: comment layout change
568 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
572 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
573 by bibliography managers (bug 2071).
575 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
577 * BufferView_pimpl.C (update): choose arguments to update call so
578 that single-par update works most times
579 * text3.C (dispatch): carefully tune updating separately for
580 whole-screen and current-paragraph
581 * rowpainter.C (paintText): 1) replace painting by caching for
582 the two extra paragraphs, because we can;
583 2) suppress greying out of areas below/above drawn area in case of
585 * lyxfunc.C (dispatch): remove superfluous update
586 * LyXAction.[Ch]: introduce SingleParUpdate
588 2005-10-05 Angus Leeming <leeming@lyx.org>
590 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
591 always initialised before use.
593 * text.C (setHeightOfRow): squash warning about comparison
594 of signed and unsigned types.
596 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
598 * text.C (cursorX): two fixes involving RtL text drawing
600 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
602 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
603 items, not only large ones (part of bug 2057)
605 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
607 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
608 argument, use "newcommand".
610 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
612 * cursor.C (setSelection): do not open collapsable insets;
613 the insets do by themselves now (autoopen).
615 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
617 * buffer.C: format is up to 244.
619 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
621 * text.C (redoParagraph): fix calcultation of inset width wrt
622 leftMargin (bug 1957).
624 * text3.C (dispatch): leave inset to the right when hitting ESC
627 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
632 * messages.C: include <boost/current_function.hpp>
634 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
636 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
637 when command is internal. (bug 1941)
639 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
641 * text2.C (cursorRight): do not honor boundary when at the end of
642 a paragraph. (bug 2010 again)
644 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
646 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
648 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
650 * rowpainter.C (paintText): fix RtL space width display bug (2029)
652 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
654 * text2.C (setCursor): remove the unused 'boundary' parameter for
655 the CursorSlice version; adapt the LCursor version.
658 * paragraph_pimpl.C (markErased):
659 * cursor.C (bruteFind2, bruteFond3): fix warnings.
661 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
663 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
664 as is already done for "chapter".
666 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
668 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
669 textclass; do not record undo if nothing is changed.
671 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
673 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
675 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
677 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
679 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
681 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
682 combox, it is necessary to search for the topmost paragraph in the
683 cursor stack (bug 1926)
685 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
687 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
688 end of paragraph. (bug 2010)
690 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
692 * text.C (leftMargin): check for inInset == 0
694 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
696 * text.C (leftMargin): test for insetbase's new neverIndent()
697 bool instead of listing each and every inset that does not
698 wish par indendation.
700 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
702 * buffer_funcs.C (setCounter): put the code to compute enum label
703 here (where it belongs).
705 * counters.C (enumLabel): move code to buffer_funcs.C.
707 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
709 * outputparams.[Ch]: store local_font instead of local_language
710 * paragraph.C (simpleTeXOnePar): adapt to the change above
712 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
715 * counters.[Ch]: clean up special code for Hebrew.
717 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
719 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
722 2005-09-08 Angus Leeming <leeming@lyx.org>
725 * lyxrc.C: correct grammar describing invocation of the
728 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
730 * text.C (read): remove unused variable.
731 (readParToken): remove static Change variable (never good in
732 recursive settings...); add it as a parameter instead.
734 * paragraph_pimpl.C (acceptChange): make debug info conditional.
736 * metricsinfo.C (PainterInfo): add new member erased_.
738 * rowpainter.C (RowPainter): add erased_ member, initialized from
740 (paintInset): pass erased_ to Inset::draw.
742 * lyxfunc.C (lookupChange): new function. Tells whether change
743 tracking is disabled at a given postion.
744 (getStatus): disable some actions when in deleted text with change
747 2005-08-03 John Levon <levon@movementarian.org>
749 * tabular.C (appendColumn, setMultiColumn): adapt to change to
752 * paragraph_pimpl.C (markErased): add bool argument and handle it.
753 Also make sure to mark insets recursively.
754 (rejectChange, erase): be recursive
756 * paragraph.C (markErased): add bool argument.
757 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
759 * lyxfind.C (findNextChange): tiny cleanup.
761 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
762 change tracking with the cursor in an inset; make sure the first
763 change is not skipped.
765 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
767 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
768 tabularStackDirty to work around bug 1919 (tabular needs
769 to know whether its own cell paste buffer or the one of
771 * CutAndPaste.C: mark tabular_stack_ clean after copy.
773 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
775 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
777 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
779 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
780 use old deleteion algorithm when changetracking is on.
782 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
784 * messages.C (get): add debug output.
786 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
788 * text.C (cursorX): fix bug 1965: cursor movement at
789 line end broken in RtL.
790 (drawSelection): fix bug 1970: drawing of single-line
791 selection broken for RtL.
793 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
797 * dociterator.h (clear, push_back, pop_back): change from
800 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
801 and changed to just return the value of the item depth; take a
802 ParIterator as argument; take the itemdepth at outer nesting level
803 in account if necessary; cleanup and comment the code.
804 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
805 and changed to just return true if reset is needed; take a
806 ParIterator as argument; cleanup and comment the code.
807 (setCounter): adapt to above changes.
809 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
811 * text3.C (dispatch): make debug message optional
813 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
815 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
818 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
820 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
822 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
824 * text.C (insertChar):
825 * text2.C (deleteEmptyParagraphMechanism): take care whether
826 a blank has been deleted (in change tracking mode) (bug 1254).
828 2005-07-20 John Levon <levon@movementarian.org>
830 * text2.C (insertStringAsLines): remove old dubious code,
833 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
835 * MenuBackend.C (expandToc): use Floating::listName() as title of
838 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
840 * toc.[Ch]: Do not use translatable strings (bug 1870).
842 2005-07-20 John Levon <levon@movementarian.org>
844 * tabular.C: fix 1748 - setting multicolumn adds
845 left line to the first cell
847 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
850 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
853 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
855 * messages.C: supress some lyxerr messages
857 2005-07-18 Juergen Vigna <jug@lyx.org>
859 * text.C (drawSelection): honor boundary when asking for cursorX.
861 2005-07-17 José Matos <jamatos@fc.up.pt>
863 * tabular.C (recalculateMulticolumns): fix handling of one column
866 2005-07-17 Juergen Vigna <jug@lyx.org>
868 * text.C (Delete, backspace): fixed so that paragraph with the
869 same layout can be merged by Delete/Backspace.
871 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
873 * text.C (readParToken): fix spelling.
875 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
877 * text2.C: fix counter update for DEPM problem reported by
880 2005-07-17 Juergen Vigna <jug@lyx.org>
882 * BufferView_pimpl.C (setBuffer): save/restore the
883 cursor/selection when switching buffers
886 * buffer.C (saveCursor): add saveDocumentIterators to save the
887 cursor when switching buffer.
889 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
892 * buffer.C: clarify message
894 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
896 * dociterator.C (DocIterator): fix initialization order
898 2005-07-17 Juergen Vigna <jug@lyx.org>
900 * text2.C (cursorHome):
901 * text.C (drawSelection, cursorX):
902 * dociterator.C (textRow): add boundary to getRow() call
904 * paragraph.C (getRow): implementation of below
906 * paragraph.h: add parameter boundary for getRow() function
908 2005-07-17 José Matos <jamatos@fc.up.pt>
912 * tex-strings.[Ch]: new file format, remove support for a4.sty,
913 a4wide.sty and a4widemargins.
915 2005-07-17 Juergen Vigna <jug@lyx.org>
917 * text2.C (cursorLeft): fix one of error
919 2005-07-17 Juergen Vigna <jug@lyx.org>
921 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
923 more fixes for boundary handling
925 * text3.C (dispatch): don't reset cursor if boundary has changed
928 2005-07-16 Juergen Vigna <jug@lyx.org>
930 * text2.C (getColumnNearX): hopefully got it right now,
931 check if we are on column 0 for special case.
933 2005-07-16 Juergen Vigna <jug@lyx.org>
935 * text2.C (getColumnNearX): handle special case Newline Inset
937 * text.C (singleWidth): Just remove bogus check
939 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
941 * funcrequest.C (split): avoid reading uninitialized char c
943 2005-07-16 José Matos <jamatos@fc.up.pt>
949 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
950 single papersize variable.
952 2005-07-16 Juergen Vigna <jug@lyx.org>
954 * text3.C (dispatch): honor boundary when checking if a cursor
955 movement has been done
957 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
958 (setCursor, setCursorIntern): fix cursor movement with boundary
960 2005-07-16 Juergen Vigna <jug@lyx.org>
962 * text.C (currentState): output the actual Boundary
964 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
966 * factory.C (createInset): fix bad logic for tabular creation
968 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
970 * lyx_main.C (init): change some reLyX reference to tex2lyx
972 2005-07-16 Juergen Vigna <jug@lyx.org>
974 * dociterator.C (DocIterator): initialize boundary
976 2005-07-16 Juergen Vigna <jug@lyx.org>
978 * text2.C (getColumnNearX): Consider rows without trailing blank.
980 2005-07-16 André Pönitz <poenitz@gmx.net>
982 * lyxfont.h: Change order of declarations to give the compiler
983 a better chance to inline things
985 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
986 questions on unsaved docs for better scritability
988 2005-07-16 André Pönitz <poenitz@gmx.net>
990 * paragraph.h (getChar): remove asserts as the same kind of security
991 can be achieved by using a suitable standard library implementation
992 and the function was in the critical path (25.9% in profiler)
994 2005-07-16 Juergen Vigna <jug@lyx.org>
996 * cursor.C (bruteFind2):
997 * bufferview_funcs.C (coordOffset):
998 * text.C (cursorX,cursorY): Handle cursor position after last char
999 in row before a inset which uses a whole row.
1001 2005-07-15 José Matos <jamatos@lyx.org>
1003 * output_plaintext.[Ch] (writeFileAscii): control reference title
1005 (asciiParagraph): noparbreak was already deal and was incorrectly
1008 2005-07-15 Juergen Vigna <jug@lyx.org>
1010 * lyxfunc.C (dispatch): save and restore the cursor after a
1013 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
1015 * text.C (backspace): bug 806 for empty keepempty paragraphs we
1016 change the layout to default before letting DEPM do its thing.
1018 * paragraph_funcs.C (breakParagraph): dont reset the layout on
1019 keepEmpty paragraphs
1021 * text.C (setCursorFromCoordinates): add a debug statement
1023 * text2.C (getColumnNearX): bug 1825 make sure that we don't
1024 return a pos that is not on the row
1026 * output_latex.C (TeXDeeper): get rid of potential dereferencing
1027 of past the end iterator
1029 2005-07-14 André Pönitz <poenitz@gmx.net>
1031 * undo.C (recordUndoFullBuffer): implement undo for
1034 2005-07-14 André Pönitz <poenitz@gmx.net>
1036 * cursor.C (setSelection): open insets when selection is set there
1037 to avoid crashs with cold coord cache
1039 2005-07-14 André Pönitz <poenitz@gmx.net>
1041 * trans_mgr.C (insert): move cursor to the right after inserting
1044 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1046 * BufferView_pimpl.C (update): dampen some of the debug blabbering
1047 * factory.C (readInset): ditto
1048 * text.C, text2.C: ditto
1050 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1052 * buffer.C: format incremented to 242. There is no file format per
1053 se, but the "frenchb" language has been removed from lib/language
1054 and has to be translated to "french" by lyx2lyx.
1056 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1058 * cursor_slice.h, dociterator.h: add some documentation
1059 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
1061 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1063 * text.C (leftMargin): do not add identation to display() style
1064 insets, because they are always centered (bug 1293).
1066 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1068 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
1069 formatted_time methods in support/lyxtime.
1071 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1073 * toc.[Ch]: new method getGuiName, which is used by the frontends
1074 to set the toc combo (fixes bug 1870). Make TOC string translatable.
1076 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1078 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
1079 StableDocIterator const &)
1080 * undo.C (recordUndo): use the above instead of cell.size() comparison
1081 (fixes bug 1808; instructed by Andr�.
1083 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
1086 * dociterator.h: Fix the assert when copying rows/cols in math
1088 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1090 * BufferView_pimpl.C:
1092 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
1094 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
1095 (findInset): new functions, refactored from goto Inset that return
1096 the position of a certain inset without setting the buffer's cursor
1098 (gotoInset): rewrite to call findInset and then set the cursor
1101 2005-06-16 Angus Leeming <leeming@lyx.org>
1103 * lyxrc.C (output, read): wrap all input and output of paths with
1104 calls to os::internal_path and os::external_path, respectively.
1105 (output): wrap bind_file inside quotes.
1107 * format.C (view): enable the viewer to use the '$$s' placeholder.
1109 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1111 * LColor.[Ch] (getFromLaTeXName): new
1113 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
1115 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
1117 2005-06-14 Angus Leeming <leeming@lyx.org>
1119 * lyx_main.C (init): ensure that the LyX binary dir is the first
1120 element in the PATH on non-POSIX builds.
1122 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1124 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
1126 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1128 * rowpainter.C (paintInset, paintHebrewComposeChar)
1129 (paintArabicComposeChar, paintChars): add a LyXFont argument.
1130 (paintChars): use getFontSpan to reduce calls to getFont to a
1131 minimum; use Paragraph::lookupChange instead of isXXXText.
1132 (paintForeignMark): rename LyXFont argument.
1133 (paintFromPos): pass a LyXFont object to the various paintXXX
1136 * FontIterator.C (FontIterator, operator++): use
1137 Paragraph::getFontSpan
1139 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
1140 version that returns the font span as a pair.
1142 2005-06-09 Angus Leeming <leeming@lyx.org>
1144 * converter.C (convert): Don't forget "outfile = real_outfile" as
1145 the final step in a conversion where the input and output file names
1146 are the same. Otherwise, future conversion steps won't work...
1148 2005-06-09 Angus Leeming <leeming@lyx.org>
1150 * lyxsocket.C: remove stub code as it isn't needed by
1151 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
1153 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1155 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
1156 effectively disabled -x
1158 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1160 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
1161 when it actually makes sense.
1163 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
1165 * BufferView_pimpl.C: revert to showCursor in connection with
1166 Lars's front-end stack
1168 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1170 * text.C (redoParagraph): move cursor right after a bibitem
1173 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
1175 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1177 * buffer_funcs.C (bufferErrors): fix computation of the end of an
1180 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
1182 * BufferView.[Ch] (update):
1183 * BufferView_pimpl.[Ch] (update, metrics):
1184 * dimension.h (operator==):
1185 * lyxfunc.C (dispatch):
1186 * metricsinfo.h (ViewMetricsInfo):
1187 * rowpainter.C (paintText):
1189 * text.C (redoParagraph):
1190 * text3.C (dispatch): Make LyX only repaint current paragraph in
1191 case of character insert --> speedup. Also fix cursor draw
1194 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1196 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1197 avoid a crash (bug 1891)
1199 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1203 * text2.C (getStringToIndex): constify cur argument.
1205 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1206 argument has been given
1207 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1208 try to invoke LFUN_INSET_APPLY).
1210 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1211 if no inset was created by doInsertInset
1212 (doInsertInset): return true if an inset has been inserted.
1214 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1216 * vspace.C (asGUIName): new method. A version of the space
1217 suitable for showing on screen.
1219 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
1222 * lyxrc.C: rename "ASCII" to "Plain Text"
1224 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1226 * buffer_funcs.C (expandLabel): take a Buffer as argument;
1227 translate the labelstring.
1228 (setCounter): translate labelstring as needed.
1230 * output_docbook.C (makeCommand): fix expandLabel invokation
1232 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
1234 * BufferView.C: fix dialog title
1236 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1238 * lyx_main.C (priv_exec): fix logic error with help from Angus
1239 * lyx_main.C (parse_execute): set is_gui = false and remove now
1240 obsolete comment about a segfault
1242 2005-05-18 Angus Leeming <leeming@lyx.org>
1244 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1246 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
1248 * tabular.[hC]: added setCellInset to fix tabular paste.
1250 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1252 * buffer.C (save): check if destination is writable before trying
1255 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
1257 * BufferView_pimpl.C (update): fix processEvents -caused update
1260 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1262 * buffer_funcs.C (setCounter): fix test for numbering of
1265 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1266 depth correctly; use optional argument when it exists
1268 * lyxtextclass.C: remove unused MaxCounterTags enum
1269 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1270 (max_toclevel, min_toclevel): new methods.
1272 * MenuBackend.C (expandToc2): fix case where depth is smaller than
1273 the smallest depth in toc.
1275 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1276 layouts that should not appear in a table of contents.
1278 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1280 * cursor.h (undispatched, noUpdate): add comments from Andr�
1281 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
1285 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1287 2005-05-07 André Pönitz <poenitz@gmx.net>
1289 * cursor.[Ch] (leaveInset): new function
1291 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1293 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1295 2005-05-04 Angus Leeming <leeming@lyx.org>
1297 * lyxfunc.C (getStatus): disable the spell checker dialog if
1298 none of USE_[AIP]SPELL are defined.
1300 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1302 * tabular.C (setWidthOfCell): remove obsolete comment
1304 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1306 * paragraph.C (bibitem):
1307 * buffer_funcs.C (setCounter):
1308 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1310 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1312 * text3.C (getStatus): immediately return after setOnOff
1314 * rowpainter.C: fix drawing of appendix start
1316 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1318 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1319 SwitchBetweenClasses and remove the unused return value.
1320 Handle character styles, too
1322 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
1324 * factory.C (createInset): handle undefined character styles
1326 2005-05-02 Angus Leeming <leeming@lyx.org>
1328 * buffer.C: protect the #include of utime.h with a preprocessor
1331 2005-05-02 Angus Leeming <leeming@lyx.org>
1333 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1334 function so that auto-saving works, albeit in a blocking manner.
1336 * Makefile.am: make compilation of the client sub directory, of
1337 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1338 on conditionals set at configure time.
1340 * SpellBase.[Ch]: no longer an abstract base class. Instead,
1341 it can be compiled in its own right but has no-op functionality.
1343 * aspell.C, pspell.C: remove preprocessor guards. The files should
1344 be compiled only if the necessary functionality exists.
1346 * lyxserver.C, lyxsocket.C: disable on Windows.
1348 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
1350 * text.C (leftMargin): Fix the parindent use bug (1764)
1353 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
1355 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1358 2005-04-25 Angus Leeming <leeming@lyx.org>
1366 include <config.h> in .C files, not .h ones.
1368 protect headers inside preprocessor guards.
1370 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1372 * FuncStatus.h (StatusCodes): document
1374 2005-04-21 André Pönitz <poenitz@gmx.net>
1376 * FuncStatus.h (enabled, onoff): document
1378 2005-04-19 Angus Leeming <leeming@lyx.org>
1380 * BufferView_pimpl.C (cursorToggle): no longer test whether
1381 any child processes have been reaped before calling
1382 handleCompletedProcesses().
1384 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
1386 * text3.C (dispatch): fix, finally fix, the language problem in
1387 new lyxtexts, without disabling on-the-fly font changes (Helge's
1390 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1392 * text3.C (dispatch): set cursor on double/triple click events
1395 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1397 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1398 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1400 * rowpainter.C (paintFirst): simplify the code a little bit. In
1401 particular, remove the test for secnumdepth.
1402 * text.C (setHeightOfRow): only allocate space for chapter number
1403 when updateCounters provided an actual label, instead of looking
1404 at secnumdepth directly.
1406 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1408 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1409 paragraphs when secnumdepth is large enough or, for environments,
1410 when they are not the first in a sequence.
1412 2005-04-17 Angus Leeming <leeming@lyx.org>
1414 * buffer.C (makeLaTeXFile): replace code to manipulate a path
1415 containing space and '~' characters with a call to latex_path().
1417 2005-04-17 Angus Leeming <leeming@lyx.org>
1419 * converter.C (convert): protect all args of convertDefault.sh
1422 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1424 * text3.C (dispatch): change the layout to "Caption" after inserting
1427 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1429 * text3.C (dispatch): fix language problem in newly created
1430 textinsets (and main text) in non-english docs
1432 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1434 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1435 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1436 * text3.C (getStatus): disable LFUN_INSET_MODIFY
1438 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1442 * text2.C (getFont):
1443 * rowpainter.C (getFont): Fix metrics bug introduced by inset
1446 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1448 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1449 output of \item arguments without trailing text.
1451 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1453 * FontIterator.C (operator*): avoid a copy of the font.
1455 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1457 * rowpainter.C (getFont): fix language bug from previous fix
1459 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1461 * rowpainter.C (RowPainter, getFont): fix font inside inset
1464 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1466 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1467 preventing inserted font, deco, delim insets jumping to start of
1470 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1472 * lyxfunc.C (dispatch): translate message before sending it to the
1475 2005-03-29 Angus Leeming <leeming@lyx.org>
1477 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1478 to LyX on the command line.
1480 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1482 * vc-backend.C: use QuoteName to protect file names wherever
1485 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1488 * BranchList.h: fix bugs 1844,1845: document settings don't
1491 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1493 * lyxrc.C (setDefaults, read, output, getDescription): add support
1494 for tex_allows_spaces.
1496 * exporter.C (Export): allows files in directory containing spaces
1497 if tex_allows_spaces is true.
1499 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1500 output it in double quotes.
1502 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1504 * rowpainter.C: use default text height for drawing change tracker
1507 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1509 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1511 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1513 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1514 directory is missing.
1516 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1518 * text2.C: fixed the fix, extended to other case.
1520 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1522 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1524 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1526 * text2.C (cursorUp): get rid of a crash
1527 * text.C (x2pos): add an assert
1529 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1531 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1535 * dociterator.C: include <boost/current_function.hpp>, which is
1536 needed when assertions are disabled.
1538 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1540 * text2.C: fix for stuck cursor when traversing two
1541 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1543 2005-02-25 Andreas Vox <avox@arcor.de>
1545 * output_docbook.C (makeParagraph): suppress trailing newline
1546 after a run of paragraphs
1548 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1550 * paragraph.C: fix for confused change tracker when pasting
1551 text that begins with a lineseparator. [bug 1827]
1552 (setChange(0, Change::INSERTED);)
1554 * paragraph_funcs.C: fix for lost changes on triple-paste
1555 in change tracking mode [bug 1827] (par.setChange()).
1557 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1559 * text2.C (updateCounters, setCounter, expandLabel): move to
1562 * buffer_funcs.C (updateCounters): turn into a free standing
1563 function and add a buffer parameter. Remove dead code for tracking
1565 (setCounter): change into a free-standing function which gets a
1566 dociterator as argument. Use this iterator to fix captions in a
1567 simple way. When no float is found above the caption, use the
1568 labelstring of the caption layout as default.
1570 * text.C (breakParagraph, backspace):
1571 * text2.C (init, setLayout, changeDepth):
1572 * text3.C (dispatch):
1573 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1576 * dociterator.C (forwardPar): make it much faster by calling
1577 forwardPos() only when really necessary.
1579 * output_docbook.C (makeCommand): adapt to expandLabel move.
1581 * cursor.C: remove unused variable
1583 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1585 * paragraph_funcs.C: fix crash when pasting insets in change
1586 tracking mode [bug 1277] (honour change type in moveItem).
1588 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1590 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1592 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1594 * BufferView.C (setCursor): change to use a DocIterator.
1595 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1596 (putSelectionAt): adapt to BufferView::setCursor change.
1598 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1599 moved here from LyXText and rewritten to use proper cursor
1600 methods. Fixes bug 1787, 616 and 835.
1602 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1603 when inside an inset (part of bug 781).
1604 (dispatch): adapt to change of BufferView::setCursor.
1605 (getStatus, dispatch): handle LFUN_GOTOERROR,
1606 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1608 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1609 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1610 * text3.C (gotoNextInset, gotoInset): removed.
1612 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1614 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1616 2005-02-15 Angus Leeming <leeming@lyx.org>
1618 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1619 can be used meaningfully in a comparison.
1621 2005-02-13 André Pönitz <poenitz@gmx.net>
1623 * bufferview_funcs.C (coordOffset): improve cursor drawing
1625 2005-02-13 André Pönitz <poenitz@gmx.net>
1627 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1628 * Cursor.C (dispatch): use fixIfBroken
1629 * lyxfunc.C (getStatus): use fixIfBroken
1631 2005-02-15 Angus Leeming <leeming@lyx.org>
1633 * lyx_main.C (error_handler):
1635 * lyxrc.C (setDefaults):
1637 #include "environment.h".
1639 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1641 2005-02-15 Angus Leeming <leeming@lyx.org>
1643 * lyxserver.C (startPipe): squash MSVC warning "local variable
1644 'fd' used without having been initialized".
1646 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1648 * BufferView_pimpl.C: revert accidental commit.
1650 2005-02-14 André Pönitz <poenitz@gmx.net>
1652 * dociterator.[Ch]: new member forwardPosNoDescent(),
1653 which doesn't enter nested insets.
1654 * text2.C (setFont): use forwardPosNoDescent() instead
1655 of ForwardPos() (fixes crash on font change).
1657 2005-02-13 Angus Leeming <leeming@lyx.org>
1659 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1660 only if lyxrc.path_prefix is not empty.
1662 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1664 * bufferparams.C (readGraphicsDriver): prevent crash
1666 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1668 * text2.C (setCounter): check for inInset() == 0
1670 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1672 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1673 but use update() to get correct screen display; use convert
1674 instead of istringstream.
1675 (getStatus): handle LFUN_GOTO_PARAGRAPH
1677 * lyxfunc.C (dispatch, getStatus): do not handle
1678 LFUN_GOTO_PARAGRAPH here.
1680 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1682 * text3.C (dispatch): size() -> depth()
1684 * text2.C: remove some debug output
1686 * paragraph.C: ws changes only
1688 * lyxfunc.C (getStatus): size() -> depth()
1690 * dociterator.h (clear, push_back, pop_back, internalData,
1691 operator[], resize, empty): new functions
1692 Make StableDocIterator and operator== be friends. Don't inherit
1693 from std::vector use a privat class variable slices_ instead.
1696 * dociterator.C: update because of not inheriting from std::vector
1697 anymore. Call explictly to slices_ instead. Use depth() instead of
1698 size() and top() instead of back()
1700 * cursor.C: chagne size() -> depth and back() -> top(). Also
1701 remove some direct operator[](i) calls in favour of foo[i]
1702 (getFont): remove some dead code
1704 * bufferview_funcs.C (coordOffset): size() -> depth()
1706 * buffer.C: ws changes only
1708 * CutAndPaste.C (eraseSelection): back() -> top()
1710 * BufferView_pimpl.C (selectionRequested): back() -> top()
1712 * BufferView.C (setCursor): size() -> depth()
1714 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1716 * text3.C (cursorPrevious): return true if depm changed something
1718 (dispatch): rename sl to oldTopSlice, remove moving use the new
1719 NoUpdate func attrib instead. Make sure that needsUpdate is set
1720 for function that have NoUpdate, but where depm might have changed
1723 * text2.C (cursorLeft): make us return true if depm changed
1725 (cursorRight): ditto
1726 (cursorUpParagraph): ditto
1727 (curosrDownParagraph): ditto
1728 (cursorUp, cursorDown): ditto, make sure to read comments in code
1729 (deleteEmptyParagraphMechanism): remove an assert, also return
1730 true if just a single char was deleted.
1732 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1733 cursor that we modify, to avoid modifying an active cursor before
1734 we call setCursor. This allows depm to run. Also return true if
1735 depm deleted something.
1737 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1738 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1739 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1740 something was changed in the buffer because of them (ie. depm run)
1742 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1743 debug messages. Make update by default be false. Make sure that
1744 the result of update is retained throught several calls down to
1747 * LyXAction.h: add a new func_attrib: NoUpdate
1749 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1750 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1751 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1753 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1755 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1757 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1758 bv_->owner(), bv_->buffer() by direct references to the private
1760 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1761 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1762 (fitCursor): center() is in BufferView::Pimpl.
1763 (getStatus, trackChanges, dispatch): no need for a temporary buf
1765 (fitCursor, workAreaDispatch): use workarea().workheight()
1767 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1769 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1771 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1773 * buffer.C: format up to 241.
1774 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1775 break if pasting into ERT
1776 * lyxfunc.C (getStatus): suppress mathpanel and
1777 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1779 2005-02-01 Angus Leeming <leeming@lyx.org>
1781 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1783 2005-02-01 Angus Leeming <leeming@lyx.org>
1785 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1786 calling fs::is_directory().
1788 2005-01-31 Angus Leeming <leeming@lyx.org>
1790 * lyx_main.C (priv_exec): specify explicitly the relative location
1791 of the top level build directory when run in-place.
1793 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1795 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1796 LyXText containing the cursor, not the top-level one.
1798 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1800 (insertStringAsLines): rename par to pit; use temporary variable
1801 par to hold a Paragraph; do not store par.layout() in a variable,
1802 since the pointer may die when breaking paragraphs; pass pars to
1803 breakParagraph() instead of Buffer::paragraphs().
1805 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1807 * lyxlex_pimpl.h: #include <fstream>.
1809 * BufferView.[Ch] (getLyXText): add a const version.
1811 * BufferView_pimpl.C: add debug aids.
1816 * paragraph_funcs.h: add commentary explaining what the class does.
1819 * coordcache.[Ch]: add lots of commentary.
1820 (startUpdating, doneUpdating): debug aids.
1821 (arrays, insets, parPos, getParPos): accessors to private data.
1823 * cursor_slice.[Ch] (text): add a const version.
1824 * dociterator.[Ch] (text, innerText): add const versions.
1826 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1829 * paragraph.C (getRow, pos2ros): add asserts.
1831 * paragraph.h: add commentary. Lots of.
1833 * paragraph.[Ch] (metrucs, draw): removed.
1836 * rowpainter.[Ch]: const-correct changes.
1838 * text.C: various obvious clean-ups. Removal of ancient cruft.
1841 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1843 * vc-backend.C (find_file): rewrite to use boost.filesystem
1846 * main.C (main): set default name check for boost.filesystem to
1849 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1852 (actOnUpdatedPrefs): ditto
1854 * lyx_main.C (init): rewrite to use boost.filesystem
1855 (queryUserLyXDir): ditto
1857 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1858 (getContentsOfAsciiFile): ditto
1860 * lastfiles.C (readFile): rewrite to use boost.filesystem
1862 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1864 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1865 (loadLyXFile): ditto
1867 * buffer.C (Buffer): adjust for destroydir
1868 (getLogName): rewrite to use boost.filesystem
1869 (setFileName): ditto
1870 (save): use fs::copy_file (from fs_extras)
1872 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1874 * LaTeX.C (run): rewrite to use boost.filesystem
1875 (scanAuxFiles): ditto
1876 (handleFoundFile): ditto
1878 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1880 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1882 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1884 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1886 * lyxlayout.[Ch]: change some vars from float to double
1888 * buffer.C (readFile): make a local var const
1890 * Several files: use convert<> instead of atoi,strToXXX and friends
1892 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1894 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1895 holds the contents of packages.lst. New functions getAvailable
1896 and isAvailable to parse and check that list, resp.
1900 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1902 * bufferparams.[Ch]: new param output_changes.
1904 * Buffer.C: increase file format to 240.
1905 Use output_changes and isVailable.
1909 * paragraph_pimpl.C: Use output_changes and isVailable.
1911 2005-01-23 Angus Leeming <leeming@lyx.org>
1913 * output_latex.C: #include "insetbibitem.h", rather than
1914 forward declare function bibitemWidest.
1916 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1918 * lyx_main.C (init): make it compile on the Mac.
1920 2005-01-20 Angus Leeming <leeming@lyx.org>
1922 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1923 (setLyXMisc): (char string literal) != (char string literal) is
1924 performing a comparison on the addresses. Convert one operand
1925 explicitly to string to guarantee expected behaviour.
1928 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1931 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1933 * output_plaintext.C: remove unneeded #include gzstream.h.
1935 2005-01-20 Angus Leeming <leeming@lyx.org>
1937 * SpellBase.h: rename some of the elements of the Result enum.
1944 * pspell.C (check): ditto
1946 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1948 * buffer.C: add #include <fstream>.
1950 * lyx_main.C (init): Compile fix.
1952 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1954 2005-01-20 Angus Leeming <leeming@lyx.org>
1956 * mover.h: change commentary to reflect the changed meaning of
1957 the $$s placeholder.
1959 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1961 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1963 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1965 2005-01-20 Angus Leeming <leeming@lyx.org>
1967 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1968 printing diagnostic data by not dereferecing an iterator past the
1971 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1973 * buffer.C (readHeader): use "&&" rather than "and".
1975 * lyxserver.h (inPipeName, outPipeName): make these const.
1977 2005-01-19 Angus Leeming <leeming@lyx.org>
1979 * lyx_main.C (error_handler, init): protect SIGHUP with
1980 #ifdef SIGHUP guards.
1982 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1984 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1986 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1988 * text.C (setHeightOfRow): add a margin at the top and bottom of
1989 the document (bug 1761)
1991 2005-01-17 Angus Leeming <leeming@lyx.org>
1993 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1994 with "python ". Workaround for a brain-dead Windows.
1996 2005-01-16 Angus Leeming <leeming@lyx.org>
1998 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1999 for MacOSX and Windows to use prependEnvPath.
2000 Strip out the hard-coded block to add elements to the PATH for
2001 MacOSX and replace it with a call to prependEnvPath using the
2002 contents of LyXRC::path_prefix.
2003 (queryUserLyXDir): strip out the code to run reconfigure, instead
2004 returning a boolean indicating the necessity to do so.
2005 (reconfigureUserLyXDir): contains the code to reconfigure the
2006 user support directory. Is now called after the various LyXRC data
2007 files have been read.
2009 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
2011 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2013 * converter.[Ch] (convert): take a new parameter try_default. Use
2014 a default converter (imagemagick) if try_default is true.
2016 2005-01-13 Angus Leeming <leeming@lyx.org>
2018 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
2019 os::cygwin_path_fix.
2020 (write): output LyXRC::cygwin_path_fix as necessary.
2022 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
2025 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
2027 2005-01-12 Angus Leeming <leeming@lyx.org>
2029 * lyx_main.C (init): set the PATH variable to include the
2030 directory containing the LyX binary when running on Mac or Windows.
2032 2005-01-12 Angus Leeming <leeming@lyx.org>
2034 * lyx_main.C (init): remove cruft that purports to set the locale
2035 dir. It doesn't and is not needed anyway.
2037 2005-01-10 Angus Leeming <leeming@lyx.org>
2039 * Makefile.am: remove the lyx_main.C special casing.
2041 * BufferView_pimpl.C:
2047 * messages.C: use support/package.h to provide the paths to the
2048 various directories used by LyX.
2050 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2052 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
2053 layout if pasting into an empty paragraph)
2055 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2057 * tex-accent.C: add <string>
2059 2005-01-06 José Matos <jamatos@lyx.org>
2061 * ParagraphParameters.C (write): put every parameter in its own line.
2062 * paragraph.C (write): reduce number of consecutive empty lines exported.
2063 * buffer.C (LYX_FORMAT): increase file format to 239.
2065 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2067 * everywhere: change support/tostr.h -> support/convert.h
2069 * tabular.C: make all write_attributes templates, tostr -> convert
2071 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
2072 (emptyTag): and -> &&, and fix type for ret from getChar
2073 (getFirstWord): fix type for ret from getChar
2074 (onlyText): and -> &&
2075 (simpleDocBookOnePar): and not -> && !, fix type for ret from
2078 * toc.C (goTo, action):
2079 * text3.C (dispatch):
2080 * text.C (currentState):
2081 * tex-accent.C (DoAccent):
2084 * lyxfunc.C (menuNew):
2085 * lyxfinc.C (replace):
2086 * counters.C (laberItem):
2087 * bufferview_funcs.C (font2string):
2088 * bufferparams.C (writeFile):
2089 * buffer.C (readFile):
2091 * MenuBackend.C: tostr -> convert
2093 * LaTeX.C (runMessage): fix format
2094 (scanAuxFiles): tostr -> convert
2096 * BufferView_pimpl.C (savePosition): fix format
2097 (restorePosition): ditto
2100 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2102 * Spacing.[Ch]: New method getValueAsString().
2106 * ParagraphParameters.C:
2109 * text3.C: store/read spacing value as string.
2111 * rowpainter.C: change float value (spacing_val) to double.
2113 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
2114 broken custom document spacing).
2116 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2118 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
2119 namespace, also more use of temp references and const
2121 * cursor.[Ch] (getStatus): move to lyxfunc.C
2123 * bufferparams.C: reformat slightly
2125 * bufferview_funcs.C (font2string): constify arg
2131 * buffer_funcs.C: (many funcs): constify arg on function
2132 definitions, also make more local vars const, also add ASSERTS on
2135 * buffer.C (LYX_FORMAT): put const in correct place
2136 (many funcs): constify arg on function definitions, also make
2137 more local vars const
2139 * aspell_local.h: remove "struct" from typdef setup
2141 * aspell.C (check): make word_ok const
2142 (nextMiss): simplify slightly
2145 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2147 * lyxrc.[Ch]: store all float values as strings.
2148 use int (not float) for lyxrc.dpi.
2150 2005-01-04 Angus Leeming <leeming@lyx.org>
2152 * lyx_cb.C (Reconfigure):
2153 * lyx_main.C (queryUserLyXDir):
2154 to run the <system_lyxdir>/configure correctly on Windows, prefix
2155 the path to the script with "sh " when generating the string that
2156 is passed to system().
2158 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2160 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
2162 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2164 * lyxlength.C (asLatexString): get rid of setprecision
2166 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2168 * text2.C (setLayout): remove unused variable endpit.
2169 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
2171 * paragraph.C (onlyText): remove unused variable style.
2173 * cursor.C (bruteFind): remove unused variables beg and end.
2175 * Makefile.am (dist_noinset_DATA): not needed anymore
2177 * cheaders/*: remove.
2179 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2181 * text3.C: fix LFUN_MATH_MODE.
2183 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2185 * buffer_funcs.C (countWords): new function. Counts words between
2188 * BufferView_pimpl.C (getStatus, dispatch): handle
2191 * LyXAction.C (init):
2192 * lfuns.h: add LFUN_WORDS_COUNT.
2194 2004-12-19 Angus Leeming <leeming@lyx.org>
2196 * buffer.C (save): s/slashify_path/internal_path/.
2198 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2200 * lyxfind.C (findChange): do not search for end of pars, because
2201 the change tracker cannot handle this (fixes bug 1719).
2203 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
2205 * paragraph.[Ch] (autoBreakRows): remove
2207 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2209 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2210 avoid using the paragraph one
2212 * text2.C (LyXText, insertStringAsLines): adjust
2214 2004-12-16 Angus Leeming <leeming@lyx.org>
2218 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2220 2004-12-14 Angus Leeming <leeming@lyx.org>
2222 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2224 * bufferlist.C (emergencyWrite):
2225 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2228 2004-12-14 Angus Leeming <leeming@lyx.org>
2230 * main.C: (main): no longer pass pointers to os::init.
2232 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2234 * undo.C (textUndoOrRedo): simplify logic, fix a crash
2235 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2237 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2240 * text3.C: remove selection_possible global flag
2242 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2244 * text2.C (getSelectionSpan): remove
2245 (changeDepth, changeDepthAllowed): adjust
2247 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
2249 * Makefile.am (BOOST_LIBS): use boost variables
2251 2004-12-03 José Matos <jamatos@lyx.org>
2253 * buffer.C: format up to 238.
2255 2004-12-03 José Matos <jamatos@lyx.org>
2257 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2259 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2261 * cursor.C (goUpDown): remove call to idxUpDown2
2263 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2265 * tabular.[Ch]: use size_t-like types for cell, row and column
2268 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2270 * lyxfunc.C (getStatus): do not lose previous information when
2271 calling BufferView::getStatus; do not set a default "Command
2272 disabled" message at the beginning, but just before returning.
2274 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2276 * cursor.h (getStatus): add better comment from src/cursor.C
2278 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2280 * text3.C (getStatus): return false when the lfun is not handled
2282 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2284 * broken_headers.h: remove
2286 * Makefile.am (lyx_SOURCES): remove broken_headers.h
2288 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2290 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2291 offset_ref accessors
2293 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2294 top_y_, merge fitcursor with update
2295 (updateScrollbar, scrollDocView, fitCursor, center, update): new
2297 (metrics): introduce
2298 (workAreaDispatch): adapt to new coord scheme
2299 (redoCurrentBuffer): remove
2301 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2303 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2306 * coordcache.[Ch]: add paragraph cache and helpers
2308 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2311 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2312 (targetX, setTargetX): introduce
2314 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2315 baseline -> ascent, as the rest of lyx
2317 * lyxtext.h: remove redoParagraphs, updateParPositions,
2318 fullRebreak, redoParagraphInternal. move dist to anon namespace in
2319 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2320 have ascent/descent (ascent is ascent of first par)
2322 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2325 * paragraph.[Ch]: unify dimension handling with the rest of lyx
2327 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2329 * pariterator.C: fix infinite loop introduced in par->pit renaming
2331 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2332 in insets and LyXText, draw two off-screen paragraphs using
2333 NullPainter, and adapt to new coord scheme
2337 * text3.C: adapt lfun handlers to the new coord scheme, which
2338 means: there's only guaranteed coord information for onscreen pars
2339 plus one above and one below. This implies that one can do search
2340 from y coordinates in the range [-1,workHeight]
2342 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2344 * rename a lot of InsetOld to InsetBase
2346 2004-11-25 Angus Leeming <leeming@lyx.org>
2348 * BufferView_pimpl.C:
2350 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2352 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2354 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2355 call BufferView::getStatus if LCursor::getStatus did nothing
2356 (setStatusMessage, getStatusMessage): removed.
2358 * FuncStatus.C (message): new methods. Used to provide an error
2359 message indicating why a command is disabled.
2360 (clear, |=, FuncStatus): update for message.
2362 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2364 * lyxfunc.C (dispatch): always call sendDispatchMessage
2366 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2369 * BufferView_pimpl.C:
2374 * cursor_slice.[Ch]:
2377 * paragraph_funcs.C:
2383 * undo.C: par->pit renaming
2385 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2387 * tabular.C (cellstruct): use initialization, store a shared_ptr
2388 to insettext instead of the insettext directly, adjust to fit.
2389 (operator=): new function
2390 (swap): new function
2391 (rowstruct): use initialization
2392 (columnstruct): use initialization
2393 (ltType): use initialization
2396 * lyxlength.h (swap): new function
2398 * LColor.[Ch] (operator=): use the common semantics
2400 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2402 * lyxfind.C (findNextChange): update the bufferview after setting
2405 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2407 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2408 number of InsetOptArgs has already been inserted.
2410 * output_latex.C (latexOptArgInsets): new method. This outputs all
2411 the optarg insets, up to the limit defined in the layout file.
2412 (optArgInset): removed
2413 (TeXOnePar): call latexOptArgInsets; correctly update texrow
2415 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2417 * paragraph.C (isLetter): remove special spellchecker-related
2418 code; return true also for digits
2419 (isWord, isKomma): remove
2421 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2422 * lyxfind.C (MatchString()): use isLetter instead of isWord
2424 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2426 * pariterator.h (operatir=): comment out un-implemented member
2429 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2432 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2434 * lyxfont.h: include LColor.h to satisfy concept checks.
2436 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2438 * pariterator.h: add typdefs for value_type, difference_type,
2439 pointer and reference to satisfy concept checks. Also add default
2440 constructor for same reason.
2442 * pariterator.C (operator++): add post-increment operator to
2443 satisfy concept checks.
2445 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2448 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2450 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2451 checks. Also rename base_type to BaseType to follow naming
2454 * FloatList.h: include Floating.h to satisfy concept checks.
2456 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2458 * lyxfunc.C (getStatus): when the origin of the request is menu or
2459 toolbar, and the LyXView does not have focus, do as if there was
2460 no buffer (bug 1720)
2462 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2463 FuncRequest to individual entries of LFUN_SEQUENCE
2465 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2467 * output_latex.C (TeXOnePar): override runparams.moving_arg
2468 according to the needprotect value of the current paragraph (bug
2471 * paragraph.C (simpleTeXOnePar): no need to override
2472 runparams.moving_args here
2474 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2476 * vspace.C: fix off-by-one-error, related to fix #1682
2478 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2480 * lengthcommon.C: a more general fix for bug 1682
2482 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2484 * text.C (backspace): fix crash
2486 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2488 * format.[Ch] (getFormatFromFile): new method
2489 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2491 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2493 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2495 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2497 * lyxfunc.C (dispatch): remove the verbose argument
2498 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2501 * kbmap.C (defkey): set the origin of func to KEYBOARD
2503 * MenuBackend.C (MenuItem):
2504 * ToolbarBackend.C (add): set the origin of func to UI
2506 * funcrequest.[Ch]: add origin member, which indicates which part
2507 of LyX requests an action
2509 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2511 * converter.C (move): don't lie in the error message
2512 * converter.h (isReachable, move): document
2514 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2516 * buffer.C: remove unused using lyx::support::atoi
2517 * paragraph_funcs.C: ditto
2519 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2521 * bufferlist.C (exists): use bind and equal_to instead of
2524 * lyxtextclasslist.C (NumberOfClass): ditto
2526 * cursor.C (insert): use for_each instead of explicit for loop
2528 * bufferlist.C (getFileNames): use std::transform and
2529 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2531 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2534 * buffer.C (changeLanguage): use for_each instead of explicit for
2536 (hasParWithID): implement using getParFromID
2538 * LaTeXFeatures.C: ws change only
2540 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2543 * BufferView_pimpl.C (trackChanges): use for_each instead of
2546 2004-11-04 André Pönitz <poenitz@gmx.net>
2549 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2551 * dociterator.C (asDocIterator): use hard assert again.
2553 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2555 * lyxlength.C (asLatexString): rewrite so that it does not use
2558 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2560 * text3.C (specialChar, dispatch): make sure cursor moves to the
2561 right after inserting an inset
2563 2004-11-02 José Matos <jamatos@lyx.org>
2565 * output_docbook.C (docbook):
2566 * paragraph.C (getID):
2567 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2568 garantee that the output is always legal.
2570 * tabular.C (docbook):
2571 * outputprams.[Ch]: remove mixed contents.
2573 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2575 * text2.C (setCounter): prevent endless loop
2577 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2579 * exporter.C (copyFile): use the mover instead of support::copy()
2580 * exporter.C (Export): pass format and latex name to copyFile()
2581 * exporter.h (addExternalFile): document
2582 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2584 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2586 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2588 2004-10-30 José Matos <jamatos@lyx.org>
2590 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2591 text and no inset or font change. This allows to use CDATA
2592 sections just for the whole paragraph.
2594 2004-10-30 José Matos <jamatos@lyx.org>
2596 * paragraph.C (getFirstWord): remove unused variable.
2598 2004-10-30 José Matos <jamatos@lyx.org>
2600 * paragraph.C (getFirstWord): the content should always be escaped
2602 (simpleDocBookOnePar):
2603 * output_docbook.C (makeEnvironment): replace reference to CDATA
2606 2004-10-30 José Matos <jamatos@lyx.org>
2608 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2610 2004-10-30 José Matos <jamatos@lyx.org>
2612 * output_docbook.C (makeParagraphs):
2613 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2614 standard paragraph has only a given type of content drop the wrapper.
2616 2004-10-29 José Matos <jamatos@lyx.org>
2618 * output_docbook.C (makeEnvironment):
2620 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2622 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2624 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2625 (cleanID): sanitize any id.
2627 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2629 * buffer.C, lyxlex_pimpl.C:
2630 * lyxlex_pimpl.C (setFile):
2631 s/getExtFromContents/getFormatFromContents/
2633 2004-10-28 José Matos <jamatos@lyx.org>
2635 * output_docbook.C (makeEnvironment): move id to broadest possible
2638 * sgml.C (openTag): apply substitution of <> for all attributes.
2640 2004-10-28 José Matos <jamatos@lyx.org>
2642 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2643 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2644 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2646 * sgml.[Ch]: new version for open and closeTag for paragraph and
2647 for strings. Now they handle the ids of paragraphs.
2649 2004-10-26 Angus Leeming <leeming@lyx.org>
2651 * Makefile.am: add mover.[Ch].
2653 * converter.C (convert, move): use the new Movers to move external
2654 files to the temp directory.
2656 * lyx_main.C (init): ensure that the global system_movers data
2659 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2662 * mover.[Ch]: new files, defining a Mover as a utility to move an
2663 external file between directories and, if necessary, manipulate this
2664 file using a helper script.
2666 2004-10-25 José Matos <jamatos@lyx.org>
2668 * output_docbook.C (makeCommand): merge two if's that tested the
2671 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2673 * sgml.C (escapeString): fix warning in a better way
2675 2004-10-25 José Matos <jamatos@lyx.org>
2677 * sgml.C (escapeString): import the require boosts header file for
2678 tie, and avoid a signed unsigned comparison.
2680 2004-10-25 José Matos <jamatos@lyx.org>
2682 * sgml.h: add #include <string>
2684 2004-10-25 José Matos <jamatos@lyx.org>
2686 * sgml.[Ch] (escapeString): new function to escape all the string.
2688 2004-10-24 José Matos <jamatos@lyx.org>
2690 * paragraph.[Ch] (getFirstWord): new function to get the first
2691 word. Useful for description.
2692 (simpleDocBookOnePar): remove depth argument, add another that
2693 says where to start the paragraph.
2695 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2696 use the new functions to fix cleanly the support for descriptions.
2698 2004-10-24 José Matos <jamatos@lyx.org>
2700 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2701 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2702 * output_linuxdoc.C (linuxdocParagraphs):
2703 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2704 add buffer as argument.
2706 2004-10-24 José Matos <jamatos@lyx.org>
2708 * output_docbook.C (makeEnvironment, searchEnvironment): place
2709 CDATA inside paragraphs and fix scope for listitems.
2711 2004-10-24 José Matos <jamatos@lyx.org>
2713 * output_docbook.C: remove using statement for stack.
2715 2004-10-23 José Matos <jamatos@lyx.org>
2717 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2718 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2719 docbook. The new scheme is recursive and makes use of iterators, the
2720 same as latex export works.
2721 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2722 directly with the paragraph contents. This code was moved up to
2723 output_docbook.C (docbookParagraphs).
2724 * sgml.C (openTag, closeTag): removed unneeded newlines.
2725 (closeEnvTags) removed.
2727 2004-10-23 André Pönitz <poenitz@gmx.net>
2729 * undo.C (textUndoOrRedo):
2730 * dociterator.C (asDocIterator): work around crash
2732 * cursor.C (getStatus): replace ASSERT by more verbose error message
2733 and manual correction of the problem. Should increase stability
2734 while providing more sensible information.
2736 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2738 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2740 * bufferlist.C (previous, next): new methods
2743 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2745 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2747 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2748 entities to preamble.
2750 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2752 * messages.C (Pimpl): strip off translation context information
2754 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2756 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2757 the cursor is correct (bug 1694)
2759 2004-10-13 José Matos <jamatos@lyx.org>
2761 * output_docbook.C (docbookParagraphs): fix closing tags in the
2762 end of the document.
2764 2004-10-09 José Matos <jamatos@lyx.org>
2766 * buffer.C: format up to 237.
2767 * bufferparams.C (write): use tostr to convert booleans to strings.
2769 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2771 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2773 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2775 * LaTeX.C: implement use of babel language in xindy.
2777 2004-10-05 José Matos <jamatos@lyx.org>
2779 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2780 Add new translators to help reading and writing the lyx file.
2782 2004-10-05 José Matos <jamatos@lyx.org>
2784 * ParagraphParameters.C (read):
2785 * text.C (readParToken): replace nexToken by more appropriate lex
2788 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2790 * LaTeX.C (runMakeIndex):
2791 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2792 (usually 'makeindex') configurable.
2794 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2795 with a variable rather than with a number.
2797 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2799 * output_latex.C (TeXOnePar): make sure font setting is the first
2800 thing that gets output (and the last at the end). Should fix bug
2803 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2805 * pch.h: use proper signal include
2807 * LaTeX.h: Use preferred calling of Boost.Signal
2810 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2812 * pch.h: dont include <boost/function/function0.hpp>
2814 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2816 * paragraph_pimpl.h: remove usage of ShareContainer
2818 * paragraph_pimpl.C: remove initialization of ShareContainer.
2820 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2824 * BufferView.C (putSelectionAt): change the semantics when
2825 backwards == true: now, this just swaps cursor and anchor wrt the
2828 * BufferView.h (putSelectionAt): add some documentation
2830 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2831 make sure backwardChar is done at least once (to avoid getting
2833 (findNextChange): use putSelectionAt in the forward direction
2834 (operator()): use Paragraph::isWord
2836 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2838 * Spacing.C (set): c_str fix
2840 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2842 * lyx_cb.C (Reconfigure): quote the name of configure script in
2843 case it contains spaces
2845 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2849 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2850 (BOOST_LIBS): use top_buildir when looking for the file
2852 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2854 * pch.h: do not use include boost/format.hpp, multiple symbols
2855 will result (gcc bug)
2858 2004-08-23 José Matos <jamatos@lyx.org>
2860 * bufferparams.C (readToken): fix reading of the author field.
2862 2004-08-20 José Matos <jamatos@lyx.org>
2864 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2866 2004-08-20 José Matos <jamatos@lyx.org>
2868 * lyxlex.[Ch] (findToken): remove function.
2870 * ParagraphParameters.C (findToken):
2871 * bufferparams.C (findToken): replace call for previous function
2872 with local copy. This local function has one more argument, the
2873 read string argument.
2875 2004-08-16 José Matos <jamatos@lyx.org>
2877 * ParagraphParameters.C (write):
2878 * Spacing.C (writeFile):
2879 * bufferparams.C (writeLaTeX):
2880 * lyx_cb.C (Reconfigure):
2881 * paragraph.C (write):
2882 * tabular.C (write): remove unnecessary space at end of line.
2885 2004-08-16 José Matos <jamatos@lyx.org>
2887 * text.C (readParagraph): remove debug message.
2889 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2891 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2894 * output_plaintext.C (asciiParagraph): set depth correctly
2896 * outputparams.h: add member depth
2898 * paragraph_funcs.C (ownerPar): remove.
2900 * text2.C (setCounter): remove first_pit; comment out some
2901 non-working code that uses ownerPar
2903 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2906 2004-08-16 José Matos <jamatos@lyx.org>
2908 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2909 For the same level of importance use the same chanel to report problems.
2910 (read): add code to deal with \begin_body and \end_body.
2913 2004-08-15 José Matos <jamatos@lyx.org>
2915 * lyxlex.C (getString): fix comment, buffer::readBody is now
2916 buffer:readDocument.
2918 * tex-strings.C (string_papersize): Default -> default,
2919 Custom -> custom, for consistency with other options.
2921 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2925 * Makefile.am: support pch
2927 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2929 * text.C (readParToken): remove the static LyXFont variable and
2930 pass it as a parameter instead. This fixes a nasty bug where an
2931 inset will be inserted with a bad font in some situations
2932 (readParagraph): adapt
2934 * text2.C (setCounter): reduce number of calls to pars_[pit]
2936 * text.C (singleWidth): add an assert, fix a test
2938 * rowpainter.C (paintText): reduce number of calls to singleWidth
2940 * paragraph.C (isHfill):
2941 (isNewline): ws only
2943 2004-08-14 André Pönitz <poenitz@gmx.net>
2948 * lyxtext.h (several functions): use a Paragraph & argument
2951 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2953 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2955 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2957 * text.C (singleWidth): remove useless test
2959 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2961 * tabular.h: remove bogus comments
2963 * tabular.C (getDescentOfRow):
2964 (isPartOfMultiColumn): add assertions
2966 * lyxlength.C (inPixels): remove #warning
2968 2004-08-14 André Pönitz <poenitz@gmx.net>
2970 * paragraph.h: inline getChar()
2972 * BufferView.h: remove unused declarations
2974 2004-08-14 José Matos <jamatos@lyx.org>
2976 * Buffer.[Ch] (readDocument): new name for old readBody.
2977 * Buffer.C: new file format, new keywords: \begin_document,
2978 \begin_header, \begin_body, \end_body.
2980 * bufferparams.C (readToken): replace all calls to lex.nextToken
2981 by lex.next(). Do the same to eatLine except where really needed.
2983 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2984 line when writing to the lyx file.
2986 * output_plaintext.C (asciiParagraph): fix Bibliography style
2989 * text.C (read): fix end of file handling.
2991 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2993 * MenuBackend.C (Menu::operator[]): new method to access
2994 individual menu items
2995 (Menu::hasFunc): new method. search for an item that corresponds
2997 (MenuBackend::specialMenu): new method
2998 (MenuBackend::expand): if a special menu has been set, skip
2999 entries whose func() appears in this menu
3001 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
3003 * text3.C: use Debug::DEBUG a bit more
3005 * text.C (leftMargin): try to simplify a tiny bit change var x to
3006 l_margin. Dont output the wide margins always.
3007 (rightMargin): no margin in inner texts
3009 * rowpainter.h (nestMargin): new func
3010 (changebarMargin): new func
3011 (rightMargin): new func
3013 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
3017 * factory.C (createInset): modify setDrawFrame
3019 * cursor.C: use Debug::DEBUG a bit more
3021 2004-08-14 André Pönitz <poenitz@gmx.net>
3024 * Makefile.am: new files to accomodate an 'external' (x,y)-position
3025 cache for all insets in (at least partially) visible (top-level)
3028 * BufferView_pimpl.C: reset external coord cache before every update.
3029 This means the coord cache only contains valid entries.
3031 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
3034 * BufferView_pimpl.C (getInsetByCode): move function out of class
3035 and change in to a template in anon namespace. Also fix to do what
3038 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
3041 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
3043 (breakParagraph): rename par to par_offset and use a local
3044 reference. Add code to keep the language over a rebreak.
3045 (breakParagraphConservative): rename par to par_offset, use a
3047 (mergeParagraph): ditto
3049 (isFirstInSequence): ditto
3050 (outerFont): rename pit to par_offset
3052 * paragraph.C: ws change
3053 * paragraph.h: ditto
3057 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3059 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
3062 * paragraph.C (simpleTeXOnePar): when we have a \item with
3063 optional argument, enclose the argument with curly brackets (in
3064 case it contains a closing square bracket)
3068 * text3.C (checkInsetHit): constify
3070 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3072 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
3073 documents (bug 1629)
3075 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3077 Fix toggling of collapsable insets with the mouse (bug 1558)
3079 * lyxfunc.C (dispatch): adapt to LCursor changes
3081 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
3082 make sure that dispatch is not invoked twice
3084 * cursor.C (needsUpdate): new method
3085 (dispatch): return void
3086 (result): new method, to access the DispatchResult of the cursor.
3088 2004-08-13 José Matos <jamatos@lyx.org>
3090 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
3092 2004-08-13 André Pönitz <poenitz@gmx.net>
3094 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
3096 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
3099 2004-08-12 André Pönitz <poenitz@gmx.net>
3101 * text3.C: take out the 'cursor right' form insertInset and only
3102 do it in those places when it is really needed. Fixes crash on
3105 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3107 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
3109 * BufferView_pimpl.C (setBuffer): initialize the current font of
3110 the underlying LyXText
3112 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3114 * kbsequence.C (print): use UI native formatting for menu
3117 * text.C (insertChar): call Paragraph::insertChar with a font
3120 * paragraph.C (insertInset, insertChar): the version that takes a
3121 LyXFont argument is now a wrapper around the other one (the
3122 opposite used to be true).
3124 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
3125 argument. Font setting is done in Paragraph now.
3127 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3129 * outputparams.h: add new members intitle and lang.
3131 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
3132 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
3134 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3136 * text3.C (dispatch): remove special handling of button 4 and 5,
3137 it is now taken care of in the frontend code.
3139 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3141 * Spacing.h: add <string> (STLPort compile fix)
3143 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3145 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
3147 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3149 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
3152 * converter.C (showMessage): inherit from unary_function, make
3155 * buffer.C (writeFile): initialize retval
3157 * InsetList.h: rename private variable list to list_
3158 * InsetList.[Ch]: adjust accordingly.
3160 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3162 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
3163 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
3164 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
3165 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
3166 * ParagraphParameters.C, LaTeXFeatures.C: replace
3167 "support/std_sstream.h" with <sstream>
3169 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3171 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
3172 * lyxsocket.C (LyXServerSocket): ditto
3173 (serverCallback): ditto
3175 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3177 * LaTeXFeatures.C: check release date when loading jurabib.
3179 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3181 * lyxserver.C (startPipe): call register_socket_callback
3182 (endPipe): call unregister_socket_callback
3184 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3186 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3187 (LyXServerSocket): register the callback
3188 (LyXServerSocket): unregister the callback
3189 (fd): delete function
3190 (serverCallback): improve error checking and setup the callbacks.
3191 (dataCallback): change arg to fd.
3192 (writeln): new func (copied fro the client socket) used for server
3194 (LyXDataSocket): simplify
3195 (~LyXDataSocket): close ann unregiser callback
3196 (server): delete function
3197 (fd): delete function
3198 (readln): small changes, improve some std::string usage
3199 (writeln): constify a bit
3201 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3203 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3206 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3208 * BufferView_pimpl.C (setBuffer): set the layout combox value only
3209 after it has been populated
3211 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3213 * text2.C (insertInset): move cursor when inserting inset.
3215 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3217 * kbmap.C (findbindings): a couple of new methods. returns a
3218 container of kb_sequence objects. The real work is done by the
3219 private recursive version
3220 (printbindings): uses findbindings to print out a bracketed list
3221 of bindings (renamed from findbinding).
3223 * MenuBackend.C (binding): use kb_keymap::findbindings
3225 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3227 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3229 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3231 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3233 * paragraph.C (isWord): return true on insets that report
3236 * text.C (getWord): use Paragraph::isWord to decide what is in a
3237 word and what is not; fix bug 1609.
3239 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3241 * tex-strings.C: add "none" to string_paperpackages[], fixes
3242 off-by-one-error in the paperpackage selection.
3245 * tex-strings.[Ch]: char const * string[n]
3246 -> char const * const string[]
3248 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3250 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3251 command, return early.
3253 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3255 * debug.h: add DEBUG to enum and fix size of ANY.
3257 * debug.C: add support for Debug::DEBUG
3258 (showTags): cast errorTags.level to unsigned int
3260 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3261 (redoCurrentBuffer): ditto
3262 (updateScrollbar): ditto
3263 * cursor.C (dispatch): ditto
3264 * text2.C (setLayout): ditto
3266 (updateCounters): ditto
3268 (deleteEmptyParagraphMechanism): ditto
3270 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3272 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3273 annotations to cleanup the Makefile slightly.
3275 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3277 * lyxrc.C: do not set user_email to a default value but use empty
3278 instead. The entry used to be translated, which does not work
3279 since at the point where lyxrc is constructed there is no
3280 translation service available
3282 * messages.C (getLocaleDir): remove and use directly
3283 lyx_localedir() instead
3285 2004-06-02 Angus Leeming <leeming@lyx.org>
3287 Fix crash caused by dereferencing null pointer 'exportdata' in
3288 OutputParams by creating a new ExportData variable on the heap,
3289 storing it in a boost::shared_ptr.
3290 The crash was triggered when generating an Instant Preview
3291 of an external inset.
3293 * Makefile.am: add outputparams.C
3295 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3296 (c-tor): allocate memory to it.
3298 * exporter.C (c-tor): associated changes.
3300 2004-06-01 Angus Leeming <leeming@lyx.org>
3302 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3303 contains data before calling isInset(0). (Bug 1513.)
3305 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3307 * exporter.C (checkOverwrite): new method
3308 * exporter.C (copyFile): new method
3309 * exporter.C (Export): copy referenced files to the document dir
3310 * exporter.[Ch]: new class ExportedFile
3311 * exporter.[Ch]: new class ExportData. Contains currently the
3312 names of referenced external files
3313 * outputparams.h: add exportdata member.
3315 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3317 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3320 2004-05-19 Angus Leeming <leeming@lyx.org>
3325 * lyxfunc.C: small changes due to the introduction of namespace
3326 lyx::frontend and the moving of namespace biblio to lyx::biblio.
3328 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
3330 * text3.C (dispatch): supress update when only moving the cursor
3331 * cursor.C (selHandle): remove commented code
3333 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3335 * paragraph.C (startTeXParParams): correct column count
3336 * CutAndPaste.C (pasteSelection): remove const_cast
3337 * output_docbook.C (docbookParagraphs): remove const_cast
3338 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3339 const_cast and return ParagraphList::const_iterator
3340 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3341 * output_plaintext.C (writeFileAscii): remove const_cast
3342 * paragraph.[Ch] (simpleTeXOnePar): make const
3343 * paragraph_funcs.C (outerPar): use const iterators
3344 * paragraph_pimpl.C (validate): use const iterators
3345 * text.C (setHeightOfRow): use const iterators
3347 2004-05-17 Angus Leeming <leeming@lyx.org>
3350 * LyXAction.C (init): new LFUN_INSET_REFRESH.
3352 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3353 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3354 if the citation engine has changed.
3356 2004-05-14 José Matos <jamatos@lyx.org>
3358 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3359 if the textclass does not provide it. Have it different for sgml and
3361 support the language of document.
3362 * output_docbook.C (docbookParagraphs):
3363 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3364 first anchor as the id of the paragraph, remove special case code.
3365 * sgml.C (escapeChar): escape only < & >.
3367 2004-05-14 Angus Leeming <leeming@lyx.org>
3369 * bufferparams.h: move biblio::CiteEngine enum here to minimize
3370 dependencies on src/frontends/controllers/biblio.h. Define a
3371 CiteEngine_enum wrapper class to enable the enum to be forward
3374 2004-05-12 Angus Leeming <leeming@lyx.org>
3376 * buffer.C: up LYX_FORMAT to 234.
3377 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3378 use_numerical_citations with a single biblio::CiteEngine cite_engine
3380 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3382 2004-05-13 José Matos <jamatos@lyx.org>
3385 * converter.C (Converter, readFlags): add xml member.
3386 * outputparams.h: add XML flavor.
3387 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3389 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3391 * lyxfunc.C (dispatch):
3392 (getStatus): fix handling of LFUN_SEQUENCE
3394 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3396 * debug.C (showLevel): do not forget the end-of-line marker
3398 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3400 * kbmap.C (read): do not stop parsing a bind file when an error
3403 2004-04-29 Angus Leeming <leeming@lyx.org>
3408 * text2.C: wrap a bunch of #warning statements
3409 inside #ifdef WITH_WARNINGS blocks.
3411 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3413 * buffer.C: increment format to 233.
3415 2004-04-28 Angus Leeming <leeming@lyx.org>
3417 * BufferView_pimpl.C:
3420 s/updateToolbar()/updateToolbars()/
3421 s/Toolbar.h/Toolbars.h/
3423 2004-04-28 Angus Leeming <leeming@lyx.org>
3425 * BufferView.[Ch] (c-tor):
3426 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3427 No longer passes these data to the WorkArea generator.
3429 2004-04-28 Angus Leeming <leeming@lyx.org>
3431 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3433 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3435 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3437 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3439 * output_latex.C (TeXEnvironment): make sure that there is a line
3440 break before \end{foo} for the last paragraph of a document
3441 (TeXOnePar): if the paragraph is at the end of the document (or
3442 inset) and the language has to be reset, then make sure that the
3443 line break is _before_ the language command, not after (fixes bug
3444 1225); also make sure that the language reset command is the first
3445 thing after the paragraph (to ensure proper nesting of
3446 environments and thus fix bug 1404)
3448 2004-04-21 John Levon <levon@movementarian.org>
3451 * ToolbarBackend.C: make "name" be a programmatic name
3452 and a gui_name field.
3454 * lyxfunc.C: display the minibuffer on M-x
3456 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3458 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3461 2004-04-19 Angus Leeming <leeming@lyx.org>
3463 * BufferView_pimpl.C (setBuffer): changed preview interface.
3465 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3468 2004-04-19 John Levon <levon@movementarian.org>
3470 * BufferView_pimpl.C:
3471 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3473 2004-04-05 Angus Leeming <leeming@lyx.org>
3475 * text.C (redoParagraphs): add call to updateCounters(), thereby
3476 fixing the missing "Figure #:" label from the caption of a
3479 2004-04-13 Angus Leeming <leeming@lyx.org>
3481 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3482 cursor is clicked out of an inset.
3484 2004-04-13 Angus Leeming <leeming@lyx.org>
3486 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3487 than an InsetOld one.
3489 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3491 * format.[Ch]: add editor to Format
3492 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3493 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3495 2004-04-08 André Pönitz <poenitz@gmx.net>
3497 * metricsinfo.h: remove PainterInfo::width member
3499 2004-04-08 Angus Leeming <leeming@lyx.org>
3501 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3502 "\providecommand" rather than "\newcommand", thereby preventing
3503 clashes with packages that define "\boldsymbol" themselves.
3506 2004-04-08 Angus Leeming <leeming@lyx.org>
3508 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3509 thereby squashing an unnecessary warning.
3511 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3513 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3516 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3518 * BufferView.C (setCursor): call redoParagraph (some insets could
3520 (putSelectionAt): remove the 'double update' trick
3522 * BufferView_pimpl.C (fitCursor): call refreshPar
3523 (workAreaDispatch): remove an uneeded update call
3524 (dispatch): remove some manual update calls
3526 * cursor.[Ch]: remove cached_y_, updatePos
3527 (selHandle): set noUpdate when appropriate
3529 * lyxfunc.C (dispatch): track if we need an update
3531 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3533 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3534 (paintSelection): cheap optimization, do not call cursorX when not
3536 (paintPars): change signature
3539 (paintTextInset): adjust
3543 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3545 * lengthcommon.C: compilation fix: remove explicit array size from
3546 unit_name[] and friends
3548 2004-04-05 Angus Leeming <leeming@lyx.org>
3550 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3552 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3553 present only for the preferences dialog.
3554 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3556 2004-04-05 Angus Leeming <leeming@lyx.org>
3558 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3559 to enable the frontends to export changes to lyxrc correctly.
3561 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3563 2004-04-07 André Pönitz <poenitz@gmx.net>
3565 * cursor.[Ch] (selClear, adjust): remove math
3567 * cursor_slice.C: more agressive assert
3570 * BufferView_pimpl.C: rework mouse event dispatch
3577 2004-04-05 André Pönitz <poenitz@gmx.net>
3579 * cursor.[Ch] (valign, halign...): remove unneeded functions
3581 2004-04-05 Angus Leeming <leeming@lyx.org>
3583 * lyxlength.[Ch] (unit_name et al.): const-correct.
3585 2004-04-05 Angus Leeming <leeming@lyx.org>
3587 * BufferView_pimpl.C:
3596 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3598 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3600 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3602 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3604 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3605 * BufferView_pimpl.[Ch] (getStatus)
3606 * BufferView.[Ch] (getStatus): add
3607 * lyxfunc.C (getStatus): move lfuns handled in
3608 BufferView::dispatch to te function above
3609 * Cursor.C (setSelection): set selection() = true
3611 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3613 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3615 2004-03-31 Angus Leeming <leeming@lyx.org>
3617 * lyxfunc.C (dispatch): Fall through to the generic
3618 Dialogs::show("preamble").
3620 2004-03-31 Angus Leeming <leeming@lyx.org>
3622 * lyxfunc.C (dispatch): Fall through to the generic
3623 Dialogs::show("spellchecker").
3625 2004-03-31 Angus Leeming <leeming@lyx.org>
3627 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3630 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3635 * insetiterator.[Ch]:
3640 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3642 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3644 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3645 insets where we are putting the cursor.
3647 2004-03-31 Angus Leeming <leeming@lyx.org>
3650 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3652 * lyxrc.[Ch] (read, write): overloaded member functions taking
3653 a std::[io]stream arguments.
3655 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3657 2004-03-31 Angus Leeming <leeming@lyx.org>
3659 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3660 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3662 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3663 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3665 2004-03-31 Angus Leeming <leeming@lyx.org>
3667 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3668 the LFUN_ALL_INSETS_TOGGLE code.
3670 2004-03-30 Angus Leeming <leeming@lyx.org>
3672 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3673 has died. Fall through to the generic Dialogs::show("document").
3675 2004-03-30 Angus Leeming <leeming@lyx.org>
3678 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3679 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3681 * lyxfunc.C (getStatus, dispatch): define the actions for these
3682 lfuns. Little more than a cut and pste job from ControlDocument.C
3684 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3686 2004-03-30 Angus Leeming <leeming@lyx.org>
3689 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3690 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3692 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3693 open/closed state of ollapsable insets. Usage:
3695 all-inset-toggle <state> <name>, where
3696 <state> == "open" || "closed" || "toggle" and
3697 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3699 * lyxtext.h, text2.C (toggleInset): removed.
3701 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3702 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3703 now passes LFUN_INSET_TOGGLE to the found inset.
3705 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3706 is now invoked as "all-insets-toggle toggle branch".
3708 2004-03-30 Angus Leeming <leeming@lyx.org>
3712 * pariterator.[Ch]: added/corrected header blurb.
3714 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3716 * dociterator.[Ch]: add an inset_ member
3717 (backwardPos): implemented
3718 (backwardPos, forwardPos): use inset_ when the stack is empty.
3719 (doc_iterator_begin, doc_iterator_end): implemented
3720 * pariterator.[Ch]: adjust, add begin, end
3721 * insetiterator.[Ch]: adjust, add begin, end
3725 * BufferView_pimpl.C:
3726 * CutAndPaste.C: adjust
3728 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3730 * buffer.C: increment file format to 232.
3731 * LaTeXFeatures.C: add bibtopic package.
3732 * bufferparams.[Ch]: param \use_bibtopic.
3734 * lyxrc.[Ch]: add lyxrc bibtex_command
3735 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3737 * buffer.C: increment file format to 231.
3739 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3741 * dociterator.C: implement forwardPar
3742 * iterators.[Ch]: remove, replaced by
3743 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3745 * BufferView_pimpl.C:
3748 * bufferview_funcs.C:
3754 * Makefile.am: adjust
3756 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3758 * CutAndPaste.C (pasteSelection): fix 2 crashes
3759 (eraseSelection): fix a crash
3760 * paragraph_funcs.C: remove a warning
3762 2004-03-28 Angus Leeming <leeming@lyx.org>
3765 * LyXAction.C (init): new LFUN_PRINT.
3767 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3769 2004-03-27 Angus Leeming <leeming@lyx.org>
3772 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3774 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3776 2004-03-27 Angus Leeming <leeming@lyx.org>
3778 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3779 insetlist always contains non-null pointers to insets.
3781 2004-03-26 Angus Leeming <leeming@lyx.org>
3783 * src/BufferView_pimpl.C:
3784 * src/CutAndPaste.C:
3787 * src/output_plaintext.C:
3788 * src/outputparams.h:
3789 * src/paragraph_funcs.C:
3793 * src/frontends/controllers/ControlErrorList.C:
3794 * src/frontends/gtk/FileDialogPrivate.C:
3795 * src/frontends/gtk/GPainter.C:
3796 * src/frontends/gtk/GToolbar.C:
3797 * src/frontends/qt2/QRef.C:
3798 * src/mathed/math_scriptinset.C: squash compiler warnings.
3800 2004-03-26 Angus Leeming <leeming@lyx.org>
3802 * ispell.C (LaunchIspell::start):
3803 * lyx_cb.C (AutoSaveBuffer::start):
3804 invoke run(DontWait) rather than runNonBlocking().
3806 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3808 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3810 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3812 * kbsequence.C (print): adjust
3814 * kbmap.C (printKeySym): rename and change signature
3815 (printKey): use LyXKeySym::print()
3817 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3819 * undo.C: add using std::advance to compile for stlport
3821 2004-03-24 Angus Leeming <leeming@lyx.org>
3823 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3824 it leads to a crash when no buffer is present.
3826 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3827 Martin Vermeer <martin.vermeer@hut.fi>
3829 * lyxfunc.C (dispatch):
3830 * bufferparams.C (readToken): use the new LColor::setColor
3832 * LColor.[Ch] (setColor): new version that takes two strings as
3833 argument and creates a new color entry if necessary
3835 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3837 * buffer.C (makeLaTeXFile): if the main latex file that is
3838 processed is usually a subdocument of some master, then pretend
3839 for a while that it is actually the master
3841 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3843 * buffer.C (getLabelList):
3844 (getBibkeyList): use getMasterBuffer()
3845 (getMasterBuffer): new method. Returns the main document in the
3846 case where one is using included documents.
3848 2004-03-25 André Pönitz <poenitz@gmx.net>
3852 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3854 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3856 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3857 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3859 * ParameterStruct.h: merge with ParagraphParameters
3861 * lyxtext.h: remove LyXText::parOffset() and getPar()
3863 * text3.C: Remove all 'manual' update calls. We do now one per user
3864 interaction which is completely sufficient.
3868 * BufferView_pimpl.C:
3869 * FontIterator.[Ch]:
3871 * ParagraphParameters.[Ch]:
3876 * cursor_slice.[Ch]:
3883 * output_docbook.[Ch]:
3884 * output_latex.[Ch]:
3885 * output_linuxdoc.[Ch]:
3886 * output_plaintext.[Ch]:
3888 * paragraph_funcs.[Ch]:
3889 * paragraph_pimpl.[Ch]:
3897 * frontends/controllers/ControlDocument.C:
3898 * frontends/controllers/ControlErrorList.C:
3899 * frontends/controllers/ControlSpellchecker.C:
3902 * insets/insetbase.h:
3903 * insets/insetbibitem.C:
3904 * insets/insetbox.C:
3905 * insets/insetbranch.C:
3906 * insets/insetcaption.C:
3907 * insets/insetcharstyle.C:
3908 * insets/insetcharstyle.h:
3909 * insets/insetcollapsable.C:
3910 * insets/insetcollapsable.h:
3911 * insets/insetert.C:
3912 * insets/insetfloat.C:
3913 * insets/insetfoot.C:
3914 * insets/insetmarginal.C:
3915 * insets/insetnote.C:
3916 * insets/insetoptarg.C:
3917 * insets/insettabular.C:
3918 * insets/insettext.C:
3919 * insets/insettext.h:
3920 * insets/insetwrap.C:
3921 * mathed/math_mboxinset.C:
3922 * mathed/math_nestinset.C:
3923 * mathed/math_scriptinset.C:
3924 * mathed/math_scriptinset.h:
3927 2004-03-24 Angus Leeming <leeming@lyx.org>
3929 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3930 deal with any child processes that have finished but are waiting to
3931 communicate this fact to the rest of LyX.
3933 2004-03-24 Angus Leeming <leeming@lyx.org>
3935 64-bit compile fixes.
3937 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3938 (c-tor): pass lyx::pos_types rather than ints.
3940 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3943 * text.C (Delete): compile fix.
3944 (getPar): ensure that function declaration is the same as that in
3947 2004-03-23 Angus Leeming <leeming@lyx.org>
3949 * ispell.C (LaunchIspell):
3950 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3951 a boost::shred_ptr rather than a std::auto_ptr.
3953 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3955 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3956 handle LFUN_FILE_INSERT_*
3958 * lyxrc.C (setDefaults, getDescription, output, read):
3959 * lyxrc.h: remove ps_command
3961 2004-03-22 Angus Leeming <leeming@lyx.org>
3963 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3964 Ensure that error_handler is processed once only and that all data
3965 is saved before attempting to output any warning messages.
3967 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3969 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3971 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3973 2004-03-19 André Pönitz <poenitz@gmx.net>
3975 * cursor.[Ch] (reset): take main text inset as argument
3977 * BufferView: adjust
3978 * BufferView_pimpl.C: adjust
3980 * paragraph.[Ch]: fix completely broken operator=()
3982 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3984 * LColor.C (getFromLyXName): make sure that the color name is used
3987 2004-03-17 Angus Leeming <leeming@lyx.org>
3990 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3992 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3993 dialog and to kill a forked process.
3995 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3997 * text2.C (setCursorFromCoordinates): fix font problem
3999 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
4001 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
4002 bogus "rebuild cursor" code
4004 2004-03-11 André Pönitz <poenitz@gmx.net>
4006 * buffer.[Ch]: use InsetText instead of LyXText as container for
4009 * dociterator.[Ch]: drop the BufferView * member which is not needed
4010 anymore after the change to buffer.C
4012 * paragraph_funcs.C:
4016 * BufferView_pimpl.[Ch]:
4018 * cursor_slice.[Ch]: adjust
4020 * text3.C: fix bug in mathDispatch
4022 2004-03-08 André Pönitz <poenitz@gmx.net>
4024 * undo.[Ch]: use 'StableDocumentIterator' as base for
4027 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4030 * bufferparams.[Ch]: add jurabib support and param.
4032 * LaTeX.C: add FIXME/comment.
4034 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4036 * buffer.C: increment file format to 230.
4038 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
4040 * cursor.C (dispatch): avoid infinite loops
4042 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4044 * rowpainter.C (paintSelection): fix x coordinates
4046 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4048 * text.C (rowBreakPoint): fix breaking before displayed insets
4050 2004-03-01 André Pönitz <poenitz@gmx.net>
4052 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
4054 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
4058 * BufferView_pimpl.C:
4066 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4072 * BufferView_pimpl.C: rename textwidth -> maxwidth,
4073 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
4075 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4077 * Bidi.[Ch] (computeTables): const correctness
4078 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
4079 fill_hfill, fill_label_hfill and x from Row
4080 * lyxtext.h: prepareToPrint returns a RowMetrics
4081 * rowPainter.C: adjust
4082 * text.C (prepareToPrint): use width, not textWidth. adjust
4083 (redoParagraphInternal, cursorX): adjust
4084 * text2.C (getColumnNearX): adjust
4085 (init): put a default value to the top LyXText::width
4087 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4089 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
4091 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4093 * lyxtext.h: add FontIterator class
4095 * text.C (FontIterator, operator*, operator->, operator++): add
4096 (rowBreakPoint, setRowWidth): adjust (fixing a
4099 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4101 * BufferView_pimpl.C (workAreaDispatch): allow also
4102 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
4104 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
4106 * text.C (rowBreakPoint): fix a bug showing with very large insets
4108 2004-02-25 André Pönitz <poenitz@gmx.net>
4111 * cursor.[Ch]: move some mathed specific code to mathed
4113 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4115 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
4116 use_tempdir in preferences
4117 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
4119 * lyx_main.C: ensure that tempdir is valid
4120 * lyxlex.h: correct typo
4121 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
4122 * paragraph.[Ch] (isMultiLingual): make const
4123 * cursor.[Ch] (openable): make const
4125 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4127 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
4129 2004-02-20 André Pönitz <poenitz@gmx.net>
4131 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
4133 * cursor.[Ch]: prepare for localized getStatus()
4139 * text3.C: streamlines the LyXText cursor movement handlers a bit.
4141 2004-02-20 André Pönitz <poenitz@gmx.net>
4143 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
4145 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
4147 * text2.C (setCursorFromCoordinates): switch to absolute coords
4149 (cursorDown): adjust
4150 * text3.C (dispatch): adjust
4152 2004-02-16 André Pönitz <poenitz@gmx.net>
4154 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
4157 * cursor_slice.[Ch]: remove unneeded acessor function
4159 * lyxtext.h: rename rtl() to isRTL()
4167 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
4169 * rowpainter.C (paintSelection): coord fix
4171 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4173 * Spacing.C: compile fix
4175 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
4177 * cursor.C (dispatch): restore current_ before returning
4179 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
4181 * text2.C (cursorUp, cursorDown): fix coords
4184 2004-02-12 André Pönitz <poenitz@gmx.net>
4189 * text3.C: add LCursor & parameter to most cursor movement functions
4190 remove usage of LyXText::cursorRow() and cursorPar()
4192 * cursor.[Ch]: add textRow() needed members
4195 * BufferView_pimpl.C:
4198 * BufferView_pimpl.C: adjust
4200 2004-02-11 André Pönitz <poenitz@gmx.net>
4204 * BufferView_pimpl.C: shift undo/redo handling
4206 * cursor.[Ch]: fix mathed crash
4209 * lyxtext.h: move selectionAsText to LCursor
4217 * rowpainter.C: fix excessive drawing
4219 2004-02-06 André Pönitz <poenitz@gmx.net>
4222 * BufferView_pimpl.[Ch]:
4223 * text3.C: move some text specific LFUN handling
4225 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
4227 * text3.C (checkInsetHit): adjust coords
4228 * text2.C (getColumnNearX): adjust coords
4229 (edit): adjust coords
4230 * text.C (getRowNearY): add two asserts
4232 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
4235 * format.C: add using std::distance to compile on gcc 2.95/stlport
4237 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
4239 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4241 2004-02-04 André Pönitz <poenitz@gmx.net>
4243 * BufferView.[Ch] (insertInset):
4244 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4249 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4251 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4252 on the default clause of the switch
4253 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4254 wasn't catched by LCursor::dispatch
4256 2004-02-03 André Pönitz <poenitz@gmx.net>
4259 * cursor.[Ch]: some additional asserts
4261 * undo.[Ch]: remove LyXText dependency in interface
4265 * lyxtext.h (firstPar, lastPar): remove dead functions
4270 * paragraph.[Ch]: adjust
4272 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4274 * lyxfind.C (find): fix argument order in call to ::find
4276 2004-02-02 André Pönitz <poenitz@gmx.net>
4278 * cursor.[Ch]: remove direct access to anchor
4280 * text.C: remove findText() hack
4282 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4284 * iterators.[Ch] (lockPath): remove in favour of...
4285 * BufferView.[Ch] (setCursor): this addition
4286 * BufferView.C (putSelectionAt): adjust
4287 * undo.C (performUndoOrRedo): adjust
4288 * lyxfunc.C (dispatch): adjust
4290 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4292 * iterators.C (lockPath): add a missing slice
4293 * undo.C (performUndoOrRedo): remove redundant positioning code
4295 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4297 * vc-backend.C (scanMaster): ";" -> ';'
4299 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4301 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4302 std::binary_function
4304 * lyxtextclass.C (compare_name): rename to...
4305 (LayoutNamesEqual): ...this
4307 * lyxlex_pimpl.C (compare_tags): inherit from
4308 std::binary_function, put back into anon namespace
4310 * lyxfind.C (MatchString): inherig from std::binary_function
4311 (findChange): use empty() istead of !size()
4313 * format.C (FormatNamesEqual): new functor
4320 * converter.C (compare_Converter): rename to...
4321 (ConverterEqual): ...this, and fixup a bit.
4322 (getConverter): use it, and make function const
4323 (getNumber): use it, and make function const
4327 * bufferlist.C: add using boost::bind
4329 * MenuBackend.C (MenuNamesEqual): new functor
4330 (hasMenu): use it, and make function const
4331 (hasSubmenu): use nested bind to get rid of compare_memfun.
4333 2004-01-30 André Pönitz <poenitz@gmx.net>
4335 * BufferView_pimpl.C:
4338 * cursor_slice.[Ch]:
4341 * paragraph_funcs.C:
4342 * paragraph_funcs.h:
4346 * text3.C: move some of the edit(x,y) handling to the insets
4347 some coordinate changes.
4349 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4351 * text.C: add using statements for std::advance and std::distance
4353 * paragraph.C: add using statement for std::distance
4355 * lyxfind.C: add using statement for std::advance
4357 * cursor.C (region): remove std:: from swap
4358 (openable): use nucleus in stead of operator->
4360 * BufferView.C: add using statements for std::distance and std::swap
4362 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4364 * iterators.C: Remove the pimple, move the needed structures to
4365 the header file. Create accessor for the positions stack.
4366 (asPosIterator): remove function
4368 * PosIterator.C (PosIterator): move constructors to top of file
4369 (PosIterator): reimplement the constructor taking a ParIterator in
4371 (setFrom): new function
4372 (operator!=): inline it
4374 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4376 * lyxfind.C (replaceAll): use std::advance
4378 * iterators.h: inherit from std::iterator.
4380 * PosIterator.C (advance, distance): remove
4381 * PosIterator.h: interit from std::iterator.
4383 2004-01-26 André Pönitz <poenitz@gmx.net>
4386 * BufferView_pimpl.[Ch]:
4390 * bufferview_funcs.C:
4400 * output_linuxdoc.C:
4401 * output_plaintext.C:
4403 * paragraph_funcs.[Ch]:
4404 * paragraph_pimpl.[Ch]:
4410 * text3.C: more IU: dumps most of the rest of the mathcursor
4411 implementation into cursor.[Ch]; "globalize" a bit of it.
4413 2004-01-25 Angus Leeming <leeming@lyx.org>
4415 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4417 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4419 * LaTeXFeatures.h: add nice_ and nice() const
4420 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4422 2004-01-20 André Pönitz <poenitz@gmx.net>
4425 * BufferView_pimpl.C:
4427 * bufferview_funcs.C:
4429 * cursor_slice.[Ch]:
4440 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4441 LCursor and mathcursor parts to LCursor and InsetBase.
4443 2004-01-15 André Pönitz <poenitz@gmx.net>
4445 * cursor_slice.[Ch]: add a few covienience functions
4447 * funcrequest.[Ch]: remove BufferView * member
4449 * BufferView_pimpl.C:
4456 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4458 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4460 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4461 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4463 2004-01-13 André Pönitz <poenitz@gmx.net>
4466 * lyxtext.h: hide cursor and selection anchor behind accessor function
4469 * BufferView_pimpl.[Ch]:
4471 * bufferview_funcs.C:
4481 * cursor_slice.[Ch]: some integer type changes for inset unification
4483 * lyxcursor.[hC]: remove, it's CursorSlice now.
4486 * BufferView_pimpl.[Ch]:
4487 * bufferview_funcs.C:
4493 * textcursor.[Ch]: adjust
4495 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4497 * text2.C (undoSpan): add and use
4498 * text.C (breakParagraph): use undoSpan (fix bug 578)
4501 2004-01-08 Angus Leeming <leeming@lyx.org>
4503 * BufferView_pimpl.C (MenuInsertLyXFile):
4504 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4505 * lyxfunc.C (menuNew, open, doImport):
4506 FileFilterList change to the FileDialog open and save functions.
4508 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4510 * ShareContainer.h: make isEqual and isUnique adaptable
4512 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4514 2004-01-07 Angus Leeming <leeming@lyx.org>
4517 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4519 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4521 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4522 functions replacing find, replace and replaceAll.
4524 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4525 LFUN_WORDFIND(FORWARD|BACKWARD).
4527 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4529 * text.C (breakParagraph): remove an outdated #warning
4531 2004-01-07 André Pönitz <poenitz@gmx.net>
4533 * lyxfind.C: somewhat clearer logic
4535 * text.C: prevent crash in cursorX on unitialized row cache
4537 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4539 * lyxcursor.[Ch] (operator>): add
4540 * textcursor.C (selStart, selEnd): use std::min and std::max
4542 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4544 * Chktex.C: include boost/format.hpp
4546 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4548 * InsetList.C: replace functor MathcIt with adaptable functor
4550 (insetIterator): modify accordingly
4552 * BranchList.h: move the BranchNamesEqual functor here from...
4553 * BranchList.C: ... to here
4555 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4557 (add): replace a finding loop with std::find_if.
4559 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4561 * output_docbook.C: moving LatexParam functionality into
4564 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4566 * buffer.C: increment format to 229.
4568 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4571 * lyx_sty.[Ch]: remove minipageindent_def
4577 * text3.C: remove LFUN_INSET_MINIPAGE
4579 2003-12-28 Angus Leeming <leeming@lyx.org>
4581 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4583 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4585 * text2.C (setParagraph): fix off-by-one crash
4587 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4589 * output_docbook.C: header stuff for AGU
4591 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4593 * text2.C (redoCursor): remove
4596 * BufferView_pimpl.C: remove calls to redoCursor and
4597 setCursor(cursor.par(), cursor.pos()) all around
4599 2003-12-15 Angus Leeming <leeming@lyx.org>
4601 * buffer.C: up the format to 228.
4603 2003-12-15 André Pönitz <poenitz@gmx.net>
4605 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4610 * BufferView_pimpl.C:
4619 2003-12-15 Angus Leeming <leeming@lyx.org>
4621 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4622 than getFromGUIName to manipulate the color.
4624 2003-12-14 Angus Leeming <leeming@lyx.org>
4626 * BranchList.[Ch]: minimize the API.
4627 (Branch::getBranch, getColor): now return a 'const &'.
4628 (Branch::setSelected) now returns a bool set to true if the
4629 selection status changes.
4630 (BranchList::clear, size, getColor, setColor, setSelected,
4631 allBranches, allSelected, separator): removed.
4632 (BranchList::find): new functions, returning the Branch with
4634 (BranchList::add, remove): return a bool indicating that
4635 the operation was successful.
4637 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4638 new InsetBranch::isBranchSlected member function.
4640 * LColor.[Ch]: mimimize the API.
4641 (fill): renamed as addColor and made private.
4642 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4643 versions of these functions taking a string arg have been removed.
4645 * bufferparams.C (readToken):
4646 * lyxfunc.C (dispatch):
4647 * lyxrc.C (read): changes due to the altered BranchList and
4650 * factory.C (createInset, readInset): changes due to altered
4653 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4656 * lyxfunc.C: remove insetminipage. "minipage-insert"
4657 now produces a frameless minipage box inset.
4659 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4661 * textcursor.[Ch] (selStart,selEnd): add new methods
4662 remove selection::start, end, use LyXCursor::operator<
4663 * lyxcursor.[Ch] (operator<): add
4664 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4665 * BufferView.[Ch] (unsetXSel): add
4666 * text2.C (clearSelection): use unsetXSel,adjust
4669 * rowpainter.C: adjust
4670 * bufferview_funcs.C (put_selection_at): adjust
4672 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4674 * BufferView_pimpl.C: small coord. correction
4676 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4678 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4679 dragging over the splash screen.
4681 2003-12-11 Angus Leeming <leeming@lyx.org>
4683 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4684 as it is now handled in LyXText::dispatch.
4686 * text3.C (doInsertInset): remove a level of nesting.
4688 2003-12-11 Angus Leeming <leeming@lyx.org>
4690 * factory.C (createInset): changes due to the changed interface to
4691 InsetCommandMailer::string2params.
4693 2003-12-10 Angus Leeming <leeming@lyx.org>
4695 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4696 'dialog-show-new-inset <inset name>'
4698 2003-12-10 Angus Leeming <leeming@lyx.org>
4700 * buffer.C: up the format to 227.
4702 * factory.C: the box inset is now identified simply by 'Box'.
4704 2003-12-10 Angus Leeming <leeming@lyx.org>
4706 * buffer.C: up the format to 226.
4708 * factory.C: the note inset is now identified simply by 'Note'.
4710 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4712 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4713 when a pit is enough. Standarize a couple of loops.
4715 2003-12-05 Angus Leeming <leeming@lyx.org>
4717 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4718 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4719 data to the re-worked "log" dialog.
4721 2003-12-03 André Pönitz <poenitz@gmx.net>
4727 * paragraph_funcs.C:
4729 * text2.C: use Inset::getText instead of Inset::getParagraph
4731 2003-12-03 André Pönitz <poenitz@gmx.net>
4735 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4736 InsetText::read() as LyXText::read()
4738 2003-12-02 Angus Leeming <leeming@lyx.org>
4740 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4741 type. Add a comment in the implementation that the function uses
4742 the stream's bad() function rather than fail() as the std::streams
4745 2003-12-02 André Pönitz <poenitz@gmx.net>
4747 * lyxlex.[Ch]: make interface more similar to std::stream
4749 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4751 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4753 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4755 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4757 * vspace.[Ch]: remove VSpace::NONE
4759 2003-12-01 André Pönitz <poenitz@gmx.net>
4762 * lyxtext.h: move ParagraphList member to LyXText
4763 rename LyXText::ownerParagraphs to LyXText::paragraph
4766 * bufferview_funcs.C:
4776 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4778 * undo.C: fix cursor positioning
4780 2003-12-01 John Levon <levon@movementarian.org>
4782 * BufferView_pimpl.C: fix a crash on exit with
4785 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4787 * BranchList.C: fix setSelected() method.
4789 2003-11-28 André Pönitz <poenitz@gmx.net>
4791 * ParagraphParameters.[Ch]:
4792 * ParameterStruct.h: remove space above/below from Paragraph to
4795 * BufferView_pimpl.C:
4801 * paragraph_funcs.C:
4807 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4809 * factory.C: Syntax change for CharStyles
4811 2003-11-28 André Pönitz <poenitz@gmx.net>
4816 * buffer.[Ch]: move LyXText member
4818 2003-11-28 André Pönitz <poenitz@gmx.net>
4820 * BufferView.[Ch]: make LyXText * text a private member
4822 * BufferView_pimpl.C:
4833 * output_plaintext.C: cleanup
4835 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4838 * lyxtextclass.[Ch]: parametrize SGML document header
4840 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4843 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4846 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4848 * text2.C (setFont): rework using PosIterator (no more recursive)
4849 (setCharFont): no more needed
4850 (setLayout): no more selection cursors fiddling (done by redoCursor)
4851 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4852 destroy remaining ones)
4854 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4856 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4858 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4861 * text3.C: adjust + re-allow multi par depth changes
4862 * textcursor.C: simplify a bit
4864 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4870 * src/output_docbook.C:
4871 * src/output_latex.C:
4876 * src/text2.C: Introducing a number of tags parametrizing various
4877 XML formats that we may want to support
4879 2003-11-25 André Pönitz <poenitz@gmx.net>
4881 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4883 * lyxtext.h (leftMargin/rightMargin): simplify interface
4890 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4892 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4893 master file to any child files. Fixes bug 546.
4895 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4897 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4899 2003-11-24 André Pönitz <poenitz@gmx.net>
4901 * rowpainter.C: simplification
4903 * text2.C (updateCounters): remove call to redoParagraph on
4904 changed labels as this is far too expensive.
4906 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4908 * converter.C (convert): fix a crash: this function gets
4909 called with buffer == 0 from importer code.
4911 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4913 * text3.C (cursorPrevious): make sure that we do not compare
4914 iterators form different containers.
4917 * rowpainter.C (paintSelection): make sure that we do not compare
4918 iterators from different containers.
4920 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4921 iterators from different ParagraphList containers.
4924 * text2.C (LyXText): change order of initialization slightly
4925 (operator=): new function. copy all variables except cache_par_
4926 (moveUp): make sure that we do not compare iterators from
4927 different ParagraphList constainers.
4930 * text.C (firstPar): new function
4931 (lastPar): new function
4932 (endPar): new function
4934 * lyxtext.h: move things around and group public functions, public
4935 variables, private functions, private variables
4937 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4939 * factory.C: change call to InsetERT constructor to avoid
4940 additional invocation of method status
4941 * text2.C (toggleInset): remove redundant update() call
4942 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4943 instead of a Bufferview pointer
4945 2003-11-21 André Pönitz <poenitz@gmx.net>
4947 * rowpainter.C: simplification
4949 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4951 * text3.C (dispatch): make possible to extend a word/row selection
4954 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4956 * lyxtext.h: x0_,y0_ -> xo_,yo_
4957 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4958 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4959 * rowpainter.C (paintRows): paint full paragraphs
4961 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4963 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4966 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4968 * lyxtext.h: add x0_, y0_
4969 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4970 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4972 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4974 * text2.C (setCursorIntern): move the x_target update here *
4975 * text3.C: change some bv() to true/false in calls to
4976 cursorUp/Down/Right/Left
4977 * cursor.C: use helper function.
4979 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4981 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4982 * paragraph_funcs.[Ch]: correct comment
4983 * rowpainter.C: do not paint selections away from bv->cursor()
4984 Fix a long standing selection painting bug.
4985 * text3.C: generalize mouse-selection code to LyXTexts other that
4987 * textcursor.C: do not use y coords if we can use par offsets
4989 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4991 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4992 cursor position after e.g. inset insert)
4994 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4996 * lyxfind.C (replace): adjust to locking removal + some
4999 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
5001 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
5004 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
5007 * output_docbook.C: XML sanitation: new layout
5008 parameters InnerTag and CommandDepth
5010 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
5012 * BufferView_pimpl.C:
5014 * text3.C: Fix the insertion and modification of button-style
5017 2003-11-13 André Pönitz <poenitz@gmx.net>
5019 * InsetList.[Ch]: remove deleteLyXText
5021 * paragraph.[Ch]: cache beginOfBody position
5026 * text3.C: remove superfluous update() calls
5030 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
5032 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
5033 * BufferView.C (fitLockedInsetCursor): remove
5034 * cursor.[Ch] (getDim): add
5035 * text.C (getRowNearY): add faster version
5036 * text3.C: remove some update calls
5038 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
5050 * text3.C: The Character Style /XML short element patch.
5052 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
5055 * factory.C: Small step to solving 'unable to insert some insets'
5058 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
5060 * cursor.[Ch] (updatePos): new function for updating the y
5061 position of the tip inset
5062 * bufferview_funcs.C (put_selection_at):
5063 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
5065 2003-11-11 André Pönitz <poenitz@gmx.net>
5067 * text.C: remove big comment on invalid Paragraph pointers as it is
5070 2003-11-11 André Pönitz <poenitz@gmx.net>
5072 * text_funcs.[Ch]: merge with ...
5080 * Makefile.am: remove text_funcs.[Ch]
5082 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
5084 * cursor.C (getPos): return absolute cached y coord
5086 * BufferView_pimpl.C (fitCursor): new simplistic code
5087 (workAreaDispatch): add a fitCursor call
5089 2003-11-10 André Pönitz <poenitz@gmx.net>
5092 * BufferView_pimpl.[Ch]: merge update() and updateInset()
5094 2003-11-10 André Pönitz <poenitz@gmx.net>
5096 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
5097 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
5098 indicate that the cursor needs to leave an inset
5100 * lyxtext.h: remove inset locking
5102 * cursor.[Ch]: re-implement functionality provided by inset locking
5105 * BufferView_pimpl.[Ch]:
5107 * bufferview_funcs.[Ch]:
5119 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
5121 * PosIterator.[Ch]: replace the stack with a vector, add inset
5123 * iterators.[C]: adjust
5125 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
5127 * lyxfind.C (replaceAll): mark the buffer dirty if something was
5129 * paragraph_funcs.C (readParToken): put the correct id in the
5130 error item, not the id of the top paragraph
5132 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
5134 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
5135 * bufferview_funcs.C (put_selection_at): use the above
5137 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5139 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
5141 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5143 * output_linuxdoc.h:
5144 * output_plaintext.h:
5146 * output_docbook.h: add #include statements
5148 2003-11-05 José Matos <jamatos@lyx.org>
5150 * output_docbook.[Ch]:
5151 * output_latex.[Ch]:
5152 * output_linuxdoc.[Ch]:
5153 * output_plaintext.[Ch]: New files for output formats.
5154 * output.[Ch]: New file for helper functions.
5157 * paragraph_funcs.[Ch]: output functions moved to new files.
5159 * outputparams.h: rename of latexrunparams.h
5167 * paragraph_funcs.[Ch]:
5168 * paragraph_pimpl.[Ch]:
5169 * tabular.[Ch]: rename ascii to plaintext
5170 and LatexRunParams to OutputParams.
5172 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5174 * iterators.[Ch] (text): require bv argument
5175 * undo.C (recordUndo):
5176 * lyxfunc.C (dispatch):
5177 * bufferview_funcs.C (put_selection_at): adjust
5179 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
5181 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
5183 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5185 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
5188 2003-11-04 André Pönitz <poenitz@gmx.net>
5190 * cursor.[Ch]: restructure
5193 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5195 * iterators.[Ch] (asCursor): remove
5197 * lfuns.h: remove LFUN_INSET_EDIT
5203 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5205 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5207 * lyxfind.[Ch]: complete overhaul
5208 * BufferView_pimpl.C:
5210 * paragraph.[Ch] (insert): add
5212 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5216 * text.C: remove dead spellcheck code
5218 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5220 * dispatchresult.h: add a val setter
5222 * cursor.C (dispatch): use a tempvar for data_[i]
5224 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5226 * PosIterator.[Ch]: compile fix
5228 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5230 * text.C (cursorPar): deactivate the cursor cache
5232 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5234 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5236 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5238 * text3.C (dispatch): adjust for new DisptchResult semantics.
5240 * lyxfunc.C (dispatch): handle update when return from
5241 Cursor::dispatch, adjust for new DispatchResult semantics.
5243 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5244 DispatchResult(true) mean to not update. Add class functions for
5245 setting dispatched and update, as well as reading.
5247 * cursor.C (dispatch): don't handle update here
5249 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5251 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5252 * trans_mgr.C: adjust
5254 * paragraph_funcs.C (readParToken): exception safety
5256 * lyxvc.h: store the vcs pointer in a scoped_ptr
5259 * lyxsocket.C (serverCallback): exception safety
5261 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5263 * ispell.C (clone): make it return a auto_ptr
5265 * factory.C (createInset): exception safety
5266 (readInset): exception safety
5268 * bufferlist.C (newBuffer): exception safety
5270 * Thesaurus.C (Thesaurus): use initialization for aik_
5272 * MenuBackend.C (expandToc): exception safety.
5274 2003-11-03 André Pönitz <poenitz@gmx.net>
5278 * bufferview_funcs.C: remove getInsetFromId()
5281 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5287 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5289 * PosIterator.C (distance, advance): new
5290 * bufferview_funcs.[Ch] (put_selection_at): new
5291 * iterators.[Ch] (lockPath): new
5293 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
5295 * iterators.[Ch] (asPosIterator): added
5296 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5297 * PosIterator.[Ch]: added
5299 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5303 * cursor.C (dispatch):
5304 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5306 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5307 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5308 contructor, add a class function dispatched. Remove operator>=
5310 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5312 * debug.C: only use the default constructor for debugstream
5315 * main.C (main): include debug.h and setup the lyxerr streambuf
5318 2003-10-31 José Matos <jamatos@lyx.org>
5320 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5322 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5323 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5324 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5325 * paragraph_pimpl.C (simpleTeXSpecialC):
5326 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5327 add LatexRunParams argument.
5329 * exporter.C (Export): change call accordingly.
5331 * latexrunparams.h: add new member to take care of the other backends.
5332 2003-10-30 José Matos <jamatos@lyx.org>
5334 * buffer.C (makeLinuxDocFile, makeDocBookFile):
5335 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5336 factorise code for paragraph output.
5338 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5341 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5343 * text3.C (dispatch):
5344 * lyxfunc.C (dispatch):
5345 * cursor.C (dispatch):
5346 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5348 * dispatchresult.h: make the dispatch_result_t ctor explicit
5350 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
5353 * buffer.C: small refactoring of docbook stuff
5355 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5357 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5360 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5362 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5363 operator dispatch_result_t, and operators for == != and >=
5365 * cursor.C (dispatch): adjust for operator dispatch_result_t
5366 removal. comment out call to update
5368 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5370 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5378 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5381 * dispatchresult.h: new file, DispatchResult broken out of
5384 * Makefile.am (lyx_SOURCES): add dispatchresult.h
5386 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5388 * text.C (rowBreakPoint): put a hack inside #if 0
5390 2003-10-28 André Pönitz <poenitz@gmx.net>
5394 * paragraph_funcs.C:
5397 * text2.C: general cleanup (lots of small stuff)
5399 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5401 * text2.C (cursorEnd): simple fix to the "end key goes to one
5402 before the end on last row" bug
5404 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5406 * text.C (backspace): fix the "zombie characters"
5408 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5410 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5412 2003-10-27 André Pönitz <poenitz@gmx.net>
5414 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5416 * factory.C: handle new InsetPagebreak, InsetLine
5418 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5419 and move handling into new InsetPagebreak, InsetLine
5421 * BufferView_pimpl.C:
5423 * ParagraphParameters.C:
5424 * ParameterStruct.h:
5429 * paragraph_funcs.C:
5430 * paragraph_pimpl.C:
5436 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5439 * lyxrow_funcs.[Ch]:
5445 * text3.C: remove lastPos uses in favour of Row::endpos
5447 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5449 * undo.C (performUndoOrRedo): fix two crashes by setting a
5450 cursor by hand and reordering some calls. Use bv->lockInset instead
5451 of inset->edit because the latter loses cursor information
5453 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5455 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5457 (rowBreakPoint): fix width. change point to point + 1.
5458 Add a missing check.
5460 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5463 * lyxfunc.C: fix (at least partly) the problems
5464 with the Nav menu and headers inside branch insets
5467 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5469 * paragraph.C (getChar): add strong asserts
5471 * lyxrow_funcs.C (lastPos): remove hideous hack
5473 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5474 (fill): adjust to that (avoid an infinite loop)
5476 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5478 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5480 2003-10-23 André Pönitz <poenitz@gmx.net>
5482 * RowList_fwd.h: change list<> to vector<> to gain speed
5483 after suggestion from Alfredo
5485 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5487 * lyxtext.h: move the bidi stuff from here...
5490 * Bidi.[Ch]: ... to here
5492 2003-10-23 André Pönitz <poenitz@gmx.net>
5495 * text.C (isLastRow, isFirstRow): new functions
5497 * paragraph.h: new width cache member
5499 * rowpainter.C: replace RowList::iterator with Row & where possible
5501 * lyxfunc.C: replace several view()->text with a single call
5503 * toc.C: fix 'unused' warning
5505 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5507 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5508 when woring with stream::pos_type
5509 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5511 2003-10-22 André Pönitz <poenitz@gmx.net>
5514 * text.C: use Row & instead of RowList::iterator
5516 * lyxrow.h: rename end() to endpos()
5522 2003-10-22 Angus Leeming <leeming@lyx.org>
5524 * buffer.[Ch] (fully_loaded): new member function, returning true
5525 only when the file has been loaded fully.
5526 Used to prevent the premature generation of previews and by the
5527 citation inset to prevent computation of the natbib-style label.
5529 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5530 templates are all set up.
5532 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5534 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5536 * text.C: fixed an "oops" in the "is a bit silly"
5539 2003-10-21 André Pönitz <poenitz@gmx.net>
5541 * FuncStatus.[Ch]: small stuff, whitespace
5543 * lyxfont.[Ch]: operator<<() for debug reasons
5547 * lyxtext.h: whitespace, spelling
5549 * paragraph.C: naming of variables
5552 * text2.C: small stuff
5555 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5557 * text.C: (1) finish off the inset display() work;
5558 (2) fix the "is a bit silly" bug (accessing char
5561 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5563 * text.C: re-introduce display() for insets, fixing the
5564 various bugs (stretch of line above, math inset
5567 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5569 * text.C (rightMargin): remove spurious semicolon
5571 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5574 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5576 * text3.C: fix one crash due to wrong cursor def
5578 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5580 * vc-backend.C (scanMaster): make the regex static
5582 * LaTeX.C (scanAuxFile): make the regexs static
5584 * text3.C (doInsertInset, dispatch, dispatch):
5585 * text2.C (cursorUp, cursorDown):
5586 * text.C (selectNextWordToSpellcheck):
5587 * BufferView_pimpl.C (dispatch):
5588 * lyxfunc.C (dispatch): localDispatch -> dispatch
5590 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5592 * lyxsocket.C: include <cerrno>
5594 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5596 * lyxfunc.C (dispatch): remove textcache stuff
5598 * bufferlist.C (release): remove textcache stuff
5601 * TextCache.C: delete file
5602 * TextCache.h: delete file
5604 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5606 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5607 delete of the bv_->text.
5608 (resizeCurrentBuffer): remove texcache stuff
5609 (workAreaResize): ditto
5611 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5613 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5616 2003-10-16 André Pönitz <poenitz@gmx.net>
5623 * text3.C: speed up by storing y positions per paragraph plus per-row
5624 offset instead of having a 'full' y position in the row.
5626 2003-10-15 André Pönitz <poenitz@gmx.net>
5630 * undo.[Ch]: make undo aware of inner insets
5632 2003-10-14 Angus Leeming <leeming@lyx.org>
5634 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5635 static member functions LyX::ref() and LyX::cref.
5636 (lastfiles): new accessor functions for the new lastfiles_ member var.
5637 (addLyXView, views_): add a new LyXView to the list of views_.
5638 (updateInset): loop over all LyXViews to call their own updateInset
5639 member function, returning a pointer to the Buffer owning the inset.
5641 * BufferView_pimpl.C (loadLyXFile):
5642 * MenuBackend.C (expandLastfiles):
5643 * bufferlist.C (MenuWrite, QuitLyX):
5644 lastfiles is no longer a global variable.
5645 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5647 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5648 static function. Access through LyX::cref().emergencyCleanup().
5650 2003-10-14 André Pönitz <poenitz@gmx.net>
5652 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5654 * undo.[Ch]: restoring part of 'undo in insets'
5657 * undo_funcs.[Ch]: merge with undo.[Ch]
5659 * tabular.C: small cleansing stuff
5661 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5663 * paragraph_funcs.C (readParToken): report unknown insets as error
5664 boxes. Use the outer paragraph as location (also for unknown
5667 * factory.C (readInset): do not abort on reading an unknown inset.
5668 Eat it and return 0.
5670 2003-10-13 Angus Leeming <leeming@lyx.org>
5672 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5674 * lyxrc.C: displayTranslator is now a function,
5675 declared in GraphicsTypes.h.
5677 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5679 * format.C: new placeholder $$a to pass the socket address.
5681 * bufferlist.[Ch]: new function getBufferFromTmp.
5683 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5684 files in the temporary dir.
5686 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5688 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5690 * Makefile.am: add lyxsocket.[Ch].
5692 * lyx_main.C (error_handler): handle SIGPIPE.
5694 2003-10-13 André Pönitz <poenitz@gmx.net>
5696 * BufferView_pimpl.C:
5701 * undo_funcs.[Ch]: use paroffset_type instead of
5702 ParagraphList::iterators to prevent multiple conversion
5703 (and get a more robust interface)
5705 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5707 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5709 * text3.C (dispatch): ditto
5711 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5713 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5714 move the onlyfile, use onlyfile instead of foundfile in a couple
5717 * DepTable.C (update): flush the error stream a bit more
5719 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5721 * lyxserver.C (callback): adjust
5723 * lyxfunc.C (getStatus): add a missing brace in commented code
5724 (ensureBufferClean): reindent
5725 (dispatch): delete version taking a string
5727 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5729 * LaTeX.C (deplog): move found file handlig from here...
5730 (handleFoundFile): .. to new function here.
5731 (deplog): make sure to discover several files mentioned on the
5734 2003-10-10 André Pönitz <poenitz@gmx.net>
5741 * text3.C: fix some of the tabular crashes
5743 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5745 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5747 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5749 2003-10-09 André Pönitz <poenitz@gmx.net>
5751 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5754 * BufferView_pimpl.C:
5755 * bufferview_funcs.C:
5766 * undo_funcs.C: adjust
5768 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5770 * text2.C (incrementItemDepth): new function, use a backtracking
5771 algorithm to discover the correct item depth.
5772 (resetEnumCounterIfNeeded): new function, use a backtracking
5773 algorithm to discover if counter reset is needed.
5774 (setCounter): use them. Simplify a bit. Add different labels for
5775 different item depths for itemize.
5777 * paragraph.C (Paragraph): remove initialization of enumdepth
5780 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5781 enumerate and itemize. Change the type of itemdepth to signed char.
5783 2003-10-08 André Pönitz <poenitz@gmx.net>
5785 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5790 * tabular.[Ch]: fix crash after 'row-insert'
5792 2003-10-08 Angus Leeming <leeming@lyx.org>
5794 Fix doxygen warnings.
5796 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5797 Remove CutAndPaste:: prefix from header file declaration.
5799 * LColor.h (fill): remove LColor:: prefix from declaration.
5801 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5802 use lyx::depth_type rather than Paragraph::depth_type so that
5803 header file and .C file match.
5805 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5807 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5808 * aspell.C: \file aspell_local.C -> \file aspell.C
5809 * gettext.C: \file gettext.C -> \file src/gettext.C
5810 * gettext.h: \file gettext.h -> \file src/gettext.h
5811 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5812 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5813 * text.C: \file text.C -> \file src/text.C
5815 * toc.C: move comment so that doxygen is not confused.
5817 2003-10-07 Angus Leeming <leeming@lyx.org>
5819 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5821 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5824 * aspell_local.h: add forgotten std::string's.
5826 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5833 * text3.C: The Box patch. Fancybox support, minipage, parbox
5835 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5841 * ParagraphParameters.h:
5851 * lyxtextclasslist.h:
5854 * paragraph_pimpl.C:
5855 * textcursor.h: add <string> and other small fixes to make Lars'
5856 std::string patch compile with STLport.
5858 2003-10-06 Angus Leeming <leeming@lyx.org>
5860 * LColor.h: Add missing #include <string>.
5862 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5864 * All most all file in all subdirs: Make <string> be the prefered
5865 way of getting to std::string, add using declarations.
5867 2003-10-06 André Pönitz <poenitz@gmx.net>
5869 * metricsinfo.C: initialize LyXFont before changing attribute.
5870 (fixes the 'math in \emph is upright' bug)
5872 2003-10-06 André Pönitz <poenitz@gmx.net>
5874 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5876 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5879 * paragraph_pimpl.C: Small fixes to build using STLport
5881 2003-10-02 André Pönitz <poenitz@gmx.net>
5884 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5886 2003-10-01 André Pönitz <poenitz@gmx.net>
5888 * factory.C: assert early
5890 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5892 * lyx_main.C: remove the global debug object
5894 * debug.h: adjust for new debugstream
5896 * debug.C: adjust for new debugstream and keep the global debug
5899 2003-09-22 Angus Leeming <leeming@lyx.org>
5901 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5902 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5903 an incomplete class LyXFont.
5905 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5907 * factory.C: bug fix in branches
5909 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5911 * lyxfunc.C (processKeySym): adjust
5913 (dispatch): change arg name from ev to func, adjust
5914 (sendDispatchMessage): ditto
5916 * lyx_main.C (defaultKeyBindings): adjust keybindings
5917 (deadKeyBindings): ditto
5919 * kbsequence.C (addkey): return a FuncRequest
5921 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5923 * kbmap.C (bind): take a FuncRequest as arg, adjust
5926 (defkey): change to take a FuncRequest as arg, adjust
5927 (findbinding): take a FuncRequest as arg, adjust.
5929 * funcrequest.h (operator=): added
5931 * funcrequest.C (FuncRequest): default kb_action changed from
5932 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5934 * buffer.C (dispatch): simplify
5935 (dispatch): adjust to take a FuncRequest as arg, adjust
5937 * boost.C (assertion_failed): change assertion message slightly
5939 * ToolbarBackend.C (read): simplify
5941 * MenuBackend.C (binding): adjust call to findbinding, add a
5942 message if no binding is found.
5944 (expandToc): correct by adding a empty FuncRequest
5946 * LyXAction.C: include <boost/assert.hpp>
5947 (isPseudoAction): delete function
5948 (LookupFunc): change name to...
5949 (lookupFunc): this. change return type to FuncRequest.
5950 (getActionName): take kb_action as arg, simplify
5951 (funcHasFlag): add an assert, simplify.
5953 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5955 * toc.C (action): return a FuncRequest, simplify
5957 * lyxfunc.C (processKeySym): adjust
5958 (getStatus): delete version that takes an int.
5960 (dispatch): delete version that takes action as int
5962 (sendDispatchMessage): simplify and adjust
5964 * funcrequest.C (getArg): take unsigned int as arg
5966 * ToolbarBackend.C (read): adjust
5967 (add): delete version that takes func as a string.
5968 (getIton): take a FuncRequest as arg
5970 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5973 * MenuBackend.C (MenuItem): add a new construct that only takes a
5974 Kind, simplify the constructor use for submenus.
5976 (expandLastfiles): adjust
5977 (expandDocuments): adjust
5978 (expandFormats): adjust
5979 (expandFloatListInsert): adjust
5980 (expandFloatInsert): adjust
5981 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5983 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5984 Remove class variables lyx_pseudo_map and lyx_arg_map
5986 * LyXAction.C (searchActionArg): delete function
5987 (getPseudoAction): delete function
5988 (retrieveActionArg): delete function
5989 (LookupFunc): make it return kb_action, simplify.
5990 (getActionName): simplify
5992 * factory.C (createInset): fix new bug
5994 2003-09-19 Angus Leeming <leeming@lyx.org>
5996 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5997 masterFilename_ parameter in the include inset.
5999 * factory.C (createInset): changes due to the changes to InsetInclude.
6001 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6003 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
6005 2003-09-18 Angus Leeming <leeming@lyx.org>
6008 * BufferView.C: pass the buffer when calling Inset::getLabelList,
6009 Inset::fillWithBibKeys.
6010 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
6012 2003-09-18 Angus Leeming <leeming@lyx.org>
6014 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
6016 (ctor): pass and store a 'Buffer const &'
6017 (buffer): new member function.
6019 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
6020 '*this' to the LaTeXFeatures ctor.
6022 2003-09-18 Angus Leeming <leeming@lyx.org>
6028 * text.C: rename EnumLColor as LColor_color.
6030 2003-09-18 Angus Leeming <leeming@lyx.org>
6032 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
6033 remove #include "insets/insetbase.h" from cursor.h.
6035 2003-09-18 Angus Leeming <leeming@lyx.org>
6037 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
6038 InsetOld_code to remove #include "inset.h".
6040 * iterators.C: add #include "insets/inset.h"
6042 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
6044 * BufferView.C: remove more locking stuff that apparently doesn't
6045 do anything sensible.
6047 2003-09-16 André Pönitz <poenitz@gmx.net>
6050 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
6053 2003-09-16 Angus Leeming <leeming@lyx.org>
6055 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
6057 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
6060 * paragraph.h: remove #include "lyxfont.h". Forward declare
6063 2003-09-16 Angus Leeming <leeming@lyx.org>
6065 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
6066 of support/textutils.h.
6067 (isWord): move the contents of support/textutils.h's IsWordChar here.
6073 * text2.C: add #include "paragraph.h".
6076 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
6078 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6084 * LaTeX.C: use namespace alias for lyx::support::os
6086 2003-09-16 Angus Leeming <leeming@lyx.org>
6089 * bufferview_funcs.C:
6092 * paragraph_pimpl.C:
6094 * text.C: add #include "LColor.h".
6096 2003-09-16 Angus Leeming <leeming@lyx.org>
6098 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
6099 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
6101 Store the FontBits::color variable as an int rather than as an
6102 LColor::colorso that we can move LColor.h out of the lyxfont.h header
6105 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
6106 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
6107 string calls together.
6109 * lyxrc.C: add #include "LColor.h".
6111 2003-09-15 Angus Leeming <leeming@lyx.org>
6113 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
6116 2003-09-15 Angus Leeming <leeming@lyx.org>
6118 * LColor.h: add an EnumLColor wrapper for LColor::color.
6120 * lyxfont.[Ch] (color, setColor, realColor):
6121 * lyxtext.h, text.C (backgroundColor):
6122 pass EnumLColor args to/from the functions, rather than LColor::color
6126 * lyxtext.h: forward declare EnumLColor.
6128 * lyx_main.C: add #include "LColor.h".
6130 2003-09-15 Angus Leeming <leeming@lyx.org>
6132 * .cvsignore: add lyx-gtk.
6134 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6139 * ParagraphParameters.C
6143 * bufferview_funcs.C
6153 * vc-backend.C: remove usage of STRCONV
6155 2003-09-15 Angus Leeming <leeming@lyx.org>
6157 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
6158 explicitly define the color passed to the painter.
6160 2003-09-15 Angus Leeming <leeming@lyx.org>
6162 * bufferparams.C (BufferParams): reorder member initializers to avoid
6165 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
6167 * CutAndPaste.C (pasteSelection): remove an outdated #warning
6168 * text.C (updateRowPositions): remove an unusual nop
6170 2003-09-12 André Pönitz <poenitz@gmx.net>
6172 * BufferView_pimpl.C:
6181 * Counters.[Ch]: finish the 'automatic counters' job
6183 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6185 * aspell.C: include <boost/assert.cpp> (compile fix)
6187 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
6189 * boost.C (assertion_failed): use lyx::support::abort instead of
6192 2003-09-10 Angus Leeming <leeming@lyx.org>
6194 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6195 with their _fwd progeny.
6197 2003-09-09 Angus Leeming <leeming@lyx.org>
6199 134 files throughtout the source tree: replace 'using namespace abc;'
6200 directives with the appropriate 'using abc::xyz;' declarations.
6202 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
6204 * boost.C (emergencyCleanup): moved here from LAssert.c
6205 (assertion_failed): new function, called by BOOST_ASSERT
6207 * several files: change Assert to BOOST_ASSERT
6209 2003-09-09 Angus Leeming <leeming@lyx.org>
6211 * buffer.[Ch]: Add an Impl class and move Buffer's member
6212 variables into it. As a result move several header files out of
6215 Add header files to lots of .C files all over the tree as a result.
6217 2003-09-09 Angus Leeming <leeming@lyx.org>
6219 * buffer.[Ch]: make Buffer's member variables private. Add
6222 Lots of changes all over the tree as a result.
6224 2003-09-08 Angus Leeming <leeming@lyx.org>
6226 * graph.C: #include <config.h>.
6228 2003-09-08 Angus Leeming <leeming@lyx.org>
6232 * BufferView_pimpl.C:
6261 * toc.C: remove redundant using directives.
6263 2003-09-07 Angus Leeming <leeming@lyx.org>
6265 * LaTeXFeatures.h: remove #include "support/types.h".
6266 * ToolbarBackend.h: remove #include <algorithm>.
6267 * changes.h: remove #include <ctime>.
6268 * debug.h: remove #include <iosfwd>.
6269 * graph.h: remove #include "support/std_string.h".
6270 * lyx_main.h: remove #include <csignal>.
6271 * lyxlex_pimpl.h: remove #include <fstream>.
6272 * sgml.h: remove #include <algorithm>, <utility>.
6273 * toc.h: remove #include "support/std_ostream.h".
6274 Add #include <iosfwd>.
6276 2003-09-07 Angus Leeming <leeming@lyx.org>
6278 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6280 * converter.h: forward declare LatexRunParams.
6281 * encoding.h: remove #include "lyxrc.h".
6282 * lyxtext.h: remove #include "LColor.h".
6283 * lyxtextclass.h: remove #include "support/types.h".
6284 * trans.h: remove #include "tex-accent.h".
6285 * trans_mgr.h: remove #include "tex-accent.h".
6286 * insets/inset.h: remove #include "support/types.h", <vector>.
6287 * insets/insetcollapsable.h: remove #include "LColor.h".
6288 * insets/insetinclude.h: remove #include "dimension.h".
6289 * insets/insetlatexaccent.h: remove #include "dimension.h".
6290 * insets/insetoptarg.h:: remove #include "insettext.h".
6291 * insets/insettext.h: remove #include "dimension.h",
6292 <boost/shared_ptr.hpp>
6294 * insets/renderers.h: add #include "dimension.h".
6295 * insets/updatableinset.h: add #include "support/types.h".
6297 * many .C files: Associated changes.
6299 2003-09-06 Angus Leeming <leeming@lyx.org>
6301 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6302 one, inside testInvariant.
6304 * PrinterParams.C: new file.
6305 * PrinterParams.[Ch]: move the function bodies out of line.
6307 2003-09-06 Angus Leeming <leeming@lyx.org>
6309 * ParagraphParameters.h: forward declare ParameterStruct rather than
6310 including its header file.
6311 (depth): moved out-of-line.
6313 2003-09-06 Angus Leeming <leeming@lyx.org>
6315 * BufferView_pimpl.h:
6318 * lyxfunc.h: forward declare LyXKeySym rather than
6319 #include "frontends/LyXKeySym.h".
6321 * BufferView_pimpl.C:
6324 * lyxfunc.C: associated changes.
6326 2003-09-06 Angus Leeming <leeming@lyx.org>
6328 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6329 As a result, can remove the #include "insets/inset.h" from BufferView.h
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>
6342 * bufferview_funcs.C:
6343 * BufferView_pimpl.C:
6348 * ParagraphParameters.C:
6353 * frontends/controllers/ControlDocument.C:
6354 * insets/insetcaption.C: rearrange the #includes into some sort of
6357 * buffer.h: remove #includes ErrorList.h, undo.h
6359 2003-09-06 Angus Leeming <leeming@lyx.org>
6361 * support/types.h: add a 'depth_type' typedef, used to store the
6362 nesting depth of a paragraph.
6365 * ParameterStruct.h: use this lyx::depth_type typedef rather than
6366 defining explicitly.
6369 * paragraph_funcs.h:
6370 * ParagraphParameters.h:
6371 * sgml.h: use lyx::depth_type rather than Paragraph or
6372 ParameterStruct's depth_type.
6375 * paragraph_funcs.h: no need to #include paragraph.h anymore.
6378 * BufferView_pimpl.C:
6380 * ParagraphParameters.C:
6383 * bufferview_funcs.C:
6390 * frontends/LyXView.C:
6391 * frontends/controllers/ControlDocument.C:
6392 * frontends/controllers/ControlErrorList.C:
6393 * insets/insetbibitem.C:
6394 * insets/insetbranch.C:
6395 * insets/insetcaption.C:
6396 * insets/insetcollapsable.C:
6397 * insets/insetenv.C:
6398 * insets/insetert.C:
6399 * insets/insetfloat.C:
6400 * insets/insetfoot.C:
6401 * insets/insetfootlike.C:
6402 * insets/insetnewline.C:
6403 * insets/insetquotes.C:
6404 * insets/insettabular.C:
6405 * insets/insettext.C:
6406 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6408 * frontends/controllers/ControlChanges.C: #include "changes.h".
6410 2003-09-06 Angus Leeming <leeming@lyx.org>
6412 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6413 than #including paragraph.h.
6416 * RowList.h: deleted. Superfluous.
6426 * insets/insettext.h: use ParagraphList_fwd.h rather than
6429 * paragraph.h: don't forward declare ParagraphList.
6432 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6433 rather than ParagraphList.h. paragraph.h is still needed for the
6434 Paragraph::depth_type parameters.
6436 * textcursor.h: enable it to compile stand-alone in light of the
6439 * bufferview_funcs.C:
6451 * frontends/controllers/ControlParagraph.C:
6452 * frontends/controllers/ControlTabular.C:
6453 * insets/insetmarginal.C:
6454 * insets/insetminipage.C:
6455 * insets/insetnote.C:
6456 * insets/insetoptarg.C: add header files needed to compile again.
6458 2003-09-06 Angus Leeming <leeming@lyx.org>
6460 * RowList_fwd.h: new file, forward-declaring Row rather than
6461 #including lyxrow.h.
6466 * insets/insettext.h: use it instead of RowList.h
6468 * bufferview_funcs.C:
6475 * text3.C: #include "RowList.h".
6477 2003-09-05 Angus Leeming <leeming@lyx.org>
6479 * factory.C (createInset):
6480 * vspace.C (c-tor): replace sscanf call with an istringstream.
6481 * ispell.C: re-add missing HP/UX headers.
6482 * lyxserver.C: re-add missing os2 headers.
6484 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6493 * text3.C: re-add missing system headers, needed for 2.95.2.
6495 2003-09-05 Angus Leeming <leeming@lyx.org>
6497 Changes most place everywhere due to the removal of using directives
6498 from support/std_sstream.h.
6500 2003-09-05 Angus Leeming <leeming@lyx.org>
6502 Replace LString.h with support/std_string.h,
6503 Lsstream.h with support/std_sstream.h,
6504 support/LIstream.h with support/std_istream.h,
6505 support/LOstream.h with support/std_ostream.h.
6507 Changes resulting throughout the tree.
6509 2003-09-05 Angus Leeming <leeming@lyx.org>
6511 * sgml.h: ensure that the header file can be compiled stand-alone.
6512 * *.C: strip out redundant #includes. (320 in total.)
6514 2003-09-04 Angus Leeming <leeming@lyx.org>
6516 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6517 here (from getPackages).
6519 * debug.[Ch]: add a new EXTERNAL tag.
6521 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6523 * text2.C (cursorEnd): simplify
6525 (getColumnNearX): adjust
6527 * text.C (computeBidiTables): adjust
6530 * rowpainter.C (paintChars): adjust
6531 (paintSelection): adjust
6532 (paintChangeBar): adjust
6535 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6537 (numberOfSeparators): adjust
6539 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6545 * text3.C: Restricts the mouse click functionality
6546 of insets like bibtex, include, toc and floatlist to the visible
6547 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6548 up the dialogs. Cursor has to be in front of the inset (i.e.
6549 start of row) for this to function.
6551 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6553 * bufferview_funcs.C (currentState): output row information
6555 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6557 * bufferview_funcs.C (currentState): output paragraph position
6559 2003-09-04 Angus Leeming <leeming@lyx.org>
6561 * FloatList.h: move out #include "Floating.h".
6562 * LaTeX.h: move out #include "DepTable.h".
6563 * LyXAction.h: move out #include "funcrequest.h".
6564 * buffer.h: move out #include "author.h", "iterators.h".
6565 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6566 * lyx_main.h: move out #include "errorlist.h".
6567 * lyxfunc.h: move out #include "FuncStatus.h".
6568 * lyxtext: move out #include "lyxcursor.h".
6569 * paragraph_pimpl.h: move out #include "counters.h".
6571 2003-09-03 Angus Leeming <leeming@lyx.org>
6573 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6574 preamble_snippets list, enabling us to add snippets to the preamble
6575 only if the snippet was not there already.
6577 2003-09-04 Angus Leeming <leeming@lyx.org>
6579 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6581 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6583 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6586 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6588 * BranchList.C: point fix, earlier forgotten
6590 2003-09-02 Angus Leeming <leeming@lyx.org>
6592 * box.C (contains): renamed from 'contained' after a fantastic
6595 2003-09-02 John Levon <levon@movementarian.org>
6601 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6603 2003-09-02 John Levon <levon@movementarian.org>
6605 * text2.C: simplification of cursorEnd(), including partial
6608 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6610 * buffer.C (readFile): add a space
6612 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6614 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6616 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6618 * buffer.C (readFile): new function, take a filename and a
6619 ParagraphList::iterator
6621 (readFile): adjust, make it private. don't use setStream, make
6622 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6623 always contain the filename.
6625 * BufferView.C (insertLyXFile): simplify and make it work for
6628 2003-08-30 John Levon <levon@movementarian.org>
6630 * Makefile.am: fix dist (from Kayvan)
6632 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6634 * most files: change to use const Buffer refs
6636 2003-08-27 André Pönitz <poenitz@gmx.net>
6638 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6639 on top of ownerPar().
6641 2003-08-27 John Levon <levon@movementarian.org>
6643 * funcrequest.C: properly initialise POD members
6645 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6647 * lyxtext.h (top_y): move top_y from here
6652 * BufferView_pimpl.[Ch]: to here
6653 * frontends/screen.C:
6654 * insets/insettabular.C:
6655 * insets/insettext.C: adjust
6656 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6658 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6661 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6663 2003-08-26 André Pönitz <poenitz@gmx.net>
6665 * paragraph_func.[Ch] (outerPar): new function
6668 * paragraph_funcs.C:
6669 * paragraph_funcs.h:
6670 * paragraph_pimpl.C:
6671 * text2.C: remove Inset::par_owner
6673 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6678 * text2.C: eliminates the needFullRow/display() stuff
6679 altogether, putting the logic in metrics/draw in the insets.
6681 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6683 * text2.C (redoParagraphInternal, redoParagraphs):
6684 * text.C (redoParagraph): add a call to updateRowPositions at the
6685 end of each 'metrics-like' call. Remove all others.
6686 (getRow): remove the 'y-computing' version.
6687 (getRowNearY): do not compute nor return the real y. Solve the
6688 'y < 0' problem and simplify.
6690 2003-08-22 Angus Leeming <leeming@lyx.org>
6692 * *.[Ch]: clean-up of licence and author blurbs.
6693 Also move config.h out of a few .h files and into a few .C files.
6695 2003-08-22 André Pönitz <poenitz@gmx.net>
6697 * lyxrow.[Ch]: add x_ and *fill_ members
6702 * text2.C: adjust/remove prepareToPrint() calls
6704 2003-08-22 André Pönitz <poenitz@gmx.net>
6706 * lyxrow.[Ch]: add end_ member
6708 * lyxrow_funcs.C: use LyXRow::end_
6710 * lyxtext.h (singleWidth): add LyXFont parameter
6713 * text2.C: adjust LyXText::singleWidth() calls
6715 * text.C (redoParagraph): simplify row breaking logic
6718 2003-08-19 André Pönitz <poenitz@gmx.net>
6720 * funcrequest.C: initialize button_ member
6723 * rowpainter.[Ch]: interface consolidation
6725 2003-08-18 André Pönitz <poenitz@gmx.net>
6728 * BufferView_pimpl.C:
6730 * paragraph_funcs.C:
6732 * text3.C: remove LyXScreen::draw() and fitCursor calls
6734 * BranchList.h: remove spurious semicolons
6736 * MenuBackend.C: fix branchlist related crash
6738 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6746 * bufferparams.[Ch]:
6750 * text3.C: implements the 'branch inset'
6751 idea. This allows the output of various versions of a document
6752 from a single source version, selectively outputing or suppressing
6753 output of parts of the text.
6754 This implementation contains a 'branch list editor' in a separate
6755 tab of the document settings dialog. Branches are user definable
6756 and have a "display colour" to distinguish them on-screen.
6758 ColorHandler was somewhat cleaned up.
6759 (1) make possible a dynamically growing LColor list by allowing
6760 the graphic context cache to grow along (vector);
6761 (2) eliminate an IMHO unnecessary step in colour allocation.
6763 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6765 * BufferView_pimpl.C: compile fix
6767 2003-08-15 André Pönitz <poenitz@gmx.net>
6769 * rowpainter.C: remove extra metrics calls
6771 * lyxtext.h: merge the two constructors into a single one,
6772 pass reference to owner's par list
6774 * BufferView_pimpl.C:
6778 2003-08-15 André Pönitz <poenitz@gmx.net>
6780 * lyxrow_funcs.[Ch]:
6783 * paragraph_funcs.C:
6788 * text_funcs.C: split LyXText::rowlist_ into individual
6789 Paragraph::rows_ chunks
6792 * BufferView_pimpl.[Ch]:
6795 * text3.C: remove toggleSelection()
6797 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6799 * bufferlist.C: beautify two alerts (shorter text of buttons)
6800 * buffer.C: Remove redundant ' ' from message
6802 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6803 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6804 rename VALIGN_CENTER to VALIGN_MIDDLE
6806 2003-08-11 André Pönitz <poenitz@gmx.net>
6808 * lyxtext.h (getPar):
6809 * text.C: new function
6811 2003-08-11 André Pönitz <poenitz@gmx.net>
6814 * tracer.[Ch]: remove unneeded files
6816 * InsetList.[Ch]: remove resizeInsetsLyXText()
6821 * text3.C: merge insertParagraphs() and appendParagraph()
6822 remove breakAgain(), update()
6824 * BufferView_pimpl.[Ch]:
6825 * bufferview_funcs.[Ch]:
6829 * tabular.C: adjust after text & InsetList changes.
6831 2003-08-08 André Pönitz <poenitz@gmx.net>
6833 * text.C (insertChar, backspace): replace rowlist fiddling
6834 with rebreak of full par
6837 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6838 checkParagraph, updateInset): removed
6840 2003-08-07 André Pönitz <poenitz@gmx.net>
6843 * text3.C: merge some LFUN handlers, remove dead code
6845 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6847 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6849 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6851 * text2.C (DEPM): fix part of bug 1255 and 1256
6853 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6855 * BufferView_pimpl.C (workAreaDispatch): change to use
6856 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6857 that are no mouse related.
6859 2003-08-05 André Pönitz <poenitz@gmx.net>
6862 * BufferView_pimpl.[Ch]:
6863 * bufferview_funcs.C:
6865 * text3.C: rip out "deep update"
6867 * textcursor.[Ch] (last_sel_cursor): remove unused member
6869 2003-08-04 André Pönitz <poenitz@gmx.net>
6872 * BufferView_pimpl.[Ch]:
6873 * ParagraphParameters.C:
6874 * bufferview_funcs.C:
6880 * text3.C: replace "complicated" BufferView::update(...) calls with
6883 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6885 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6887 * Makefile.am (lyx_SOURCES): add paper.h
6889 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6891 * Makefile.am: move things around so that both lyx-qt and
6892 lyx-xforms can be built (according to --with-frontend). Then lyx
6893 is a symbolic link to lyx-[firstfrontend]
6895 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6897 * Always use std::endl with lyxerr
6899 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6901 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6903 2003-08-01 André Pönitz <poenitz@gmx.net>
6906 * BufferView_pimpl.[Ch]:
6908 * text3.C: merge BufferView::repaint() and BufferView::update()
6910 2003-08-01 José Matos <jamatos@lyx.org>
6912 * buffer.[Ch]: file_format is no longer a buffer data element.
6914 2003-08-01 André Pönitz <poenitz@gmx.net>
6919 * text2.C: make redoParagraph more independent of current cursor
6921 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6923 * text2.C: remove unneeded members
6925 2003-07-30 André Pönitz <poenitz@gmx.net>
6927 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6929 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6930 create a single function...
6932 * paragraph_funcs.C (moveItem): ... here.
6935 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6937 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6939 * LColor.[Ch]: Add comment and greyedout logical colors.
6941 2003-07-30 André Pönitz <poenitz@gmx.net>
6943 * tabular.C: don't use Assert too heavily. This crashes where it
6946 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6948 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6949 is disabled (bug 1232)
6951 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6953 * factory.C: limited 'arg' scope
6955 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6957 * factory.C: fixed Note submenu issues
6959 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6961 * factory.C: submenu for Note/Comment/Greyedout
6963 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6966 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6968 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6971 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6972 greyedout. Patch provided by Jürgen Spitzmüller.
6974 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6976 * kbmap.C (read): fix error message when reading bind files
6978 2003-07-29 Angus Leeming <leeming@lyx.org>
6980 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6981 certainly does not do what it purports to do. I am doing it, and
6982 us, a favour by killing it.
6984 2003-07-28 José Matos <jamatos@lyx.org>
6986 * buffer.C (readBody, do_writeFile):
6987 * paragraph.C(readParagraph): \end_document replaces \the_end.
6989 2003-07-29 André Pönitz <poenitz@gmx.net>
6992 * BufferView_pimpl.[Ch]:
6996 * textcursor.[Ch]: remove toggleToggle & Co
6998 2003-07-28 José Matos <jamatos@fep.up.pt>
7000 * buffer.C (readParagraph):
7001 * params_func (readParToken, readParagraph):
7002 * paragraph.C (write): \layout -> \begin_layout.
7004 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7006 * lyxlex_pimpl.C (setFile): clean up slightly.
7008 * bufferparams.h: add compressed var
7010 * buffer_funcs.C (readFile): adjust for LyXLex change
7011 (newFile): ditto + simplify
7013 * buffer.C (writeFile): handle writing of compressed files
7015 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
7016 Check if the file is compressed and set a bufferparm if so.
7018 * Makefile.am (lyx_LDADD): remove explicit -lz
7020 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7022 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
7023 makeDocBookFile): put the real LyX version in the first line of
7027 * version.C.in: remove lyx_docversion
7029 * tabular.C (write_attribute): add a template-based version to
7030 write enums properly
7032 2003-07-28 André Pönitz <poenitz@gmx.net>
7037 * text3.C: use doubles again for x-coordinates. They are needed.
7039 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7041 * messages.C (getLocaleDir): use lyx_localedir()
7043 * lyxlex_pimpl.C (setFile): compress stuff
7045 * buffer.C (writeFile): add some compression stuff
7046 (do_writeFile): new func, dont call expliti close... will this
7049 * Makefile.am (lyx_LDADD): add -lz
7051 2003-07-28 José Matos <jamatos@fep.up.pt>
7053 * buffer.C: increment file format.
7054 * paragraph_funcs (readParagraph, readParToken):
7055 * paragraph.C (readParagraph): add \end_layout.
7057 2003-07-27 Angus Leeming <leeming@lyx.org>
7059 * Makefile.am: remove special casing for configure-time setting of
7060 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
7062 * lyx_main.C (init): remove all Jean-Marc's magic setting of
7063 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
7065 2003-07-26 André Pönitz <poenitz@gmx.net>
7067 * paragraph_func.[Ch]:
7068 * paragraph.C (realizeFont): inline it whereever it is used
7073 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
7076 2003-07-26 André Pönitz <poenitz@gmx.net>
7080 * text2.C: get rid of LyXText::need_break_row
7082 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7084 * toc.[Ch]: put namespace toc inside namespace lyx
7086 * MenuBackend.C (expandToc2): adjust for lyx::toc
7089 * lyxfunc.C (dispatch): adjust for lyx::find
7091 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
7092 lyx::find instead. Reorganize a bit.
7093 (LyXReplace): rename to replace
7094 (LyXFind): rename to find
7096 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
7099 2003-07-26 André Pönitz <poenitz@gmx.net>
7101 * text.C (setHeightOfRow): restrict scope of temporary variable
7103 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
7104 code (never has been used?)
7106 2003-07-27 Asger Alstrup <alstrup@local>
7108 * text.C (fill): Optimise algorithm to exploit that we can reuse
7109 the LyXFont for many characters.
7110 (setHeightOfRow): Same thing.
7111 (rowBreakPoint): Same thing.
7113 2003-07-26 Asger Alstrup <alstrup@local>
7115 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
7117 * text.C (singleWidth): Spurious font copying in hot-spot
7118 singleWidth avoided. Reorder tests for arabic for efficiency.
7120 * text.C (fill): handle empty paragraphs better.
7122 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7125 * encoding.h: add includes
7127 * lyxrc.C: remove reading of bind files
7129 * lyx_main.C (init): setup bindings and menus only if we have a
7132 * kbmap.C (read): new method. Do the actual reading of bind
7135 * converter.C (dvipdfm_options):
7138 (output): adapt PAPER_* enums.
7140 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
7142 * bufferparams.h: remove paper-related enums from there
7144 * paper.h: New file. A trivial header file to hold paper-related
7145 enums. It should later expand to contain many paper-related
7148 * lyxrc.C: declare extern displayTranslator
7150 2003-07-27 José Matos <jamatos@fep.up.pt>
7152 * tabular.[Ch] (linuxdoc): add support for tables and figures
7155 2003-07-27 José Matos <jamatos@fep.up.pt>
7157 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
7158 consistency in both functions.
7159 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
7161 2003-07-26 Asger Alstrup <alstrup@local>
7163 * rowpainter.C (paintRows): Change algorithm to work directly on
7164 the insets rather than asking every character in the document
7165 whether its an inset.
7167 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
7169 * buffer.C (openFileWrite): factorize some code
7171 2003-07-26 Angus Leeming <leeming@lyx.org>
7174 * lyx_main.[Ch]: replace occurances of system_tempdir with
7177 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7179 * rename Inset to InsetOld
7181 2003-07-25 Asger Alstrup <alstrup@diku.dk>
7183 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
7184 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
7185 which I think is a bit clearer. EDIT is gone, since it was
7186 premature optimisation, and broken for mathed anyway.
7187 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7188 with cursor positioning in insets as well (math insets still do not
7189 work, but that's a different story anyway.) It mysteriously
7190 crashes sometimes with undo in the first paragraph, but I'm fairly
7191 confident that this is a compiler bug.
7193 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7195 * paragraph.C (Paragraph): adjust for new clone return type
7197 (copyIntoMinibuffer): ditto
7199 2003-07-25 Asger Alstrup <alstrup@lyx.org>
7201 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7202 by not having a special case, and always doing a full rebreak of
7203 the document after undo.
7205 2003-07-23 Angus Leeming <leeming@lyx.org>
7207 * factory.C (createInset): InsetExternal::setParams now takes a
7210 2003-07-23 Angus Leeming <leeming@lyx.org>
7212 * factory.C (createInset): changed interface to the external and
7213 graphics mailers' string2params functions.
7215 2003-07-23 Angus Leeming <leeming@lyx.org>
7217 * factory.C (createInset): pass a
7218 Buffer const * parameter to InsetExternalMailer's string2params.
7220 2003-07-22 John Levon <levon@movementarian.org>
7222 * Thesaurus.h: include the right aiksaurus header
7224 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7226 * MenuBackend.C (expand): check menu shortcuts unconditionally
7228 2003-07-21 Angus Leeming <leeming@lyx.org>
7230 * factory.C (createInset): pass a
7231 buffer_path parameter to InsetGraphicsMailer's string2params.
7233 2003-07-21 Angus Leeming <leeming@lyx.org>
7235 * BufferView_pimpl.C (buffer):
7238 * lyxfunc.C (dispatch):
7239 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7240 rather than the grfx shortcut.
7242 2003-07-21 André Pönitz <poenitz@gmx.net>
7244 * rowpainter.C: remove unused variables
7247 * tabular_funcs.h: move to tabular.C
7248 * Makefile.am: adjust
7250 * tabular.[Ch]: basic optical cleaning
7252 * author.h: pass references, not values
7254 2003-07-18 André Pönitz <poenitz@gmx.net>
7262 * text3.C: two-phase drawing for InsetText and InsetTabular
7263 some float -> int changes.
7265 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7267 * lyx_main.C: fix the fix
7269 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7271 * lyx_main.C: fix a crash in batch mode if no files specified
7274 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
7276 * format.[Ch] (papersize): moved to BufferParams
7277 * converter.[Ch] (dvips_options): moved to BufferParams
7278 (dvipdfm_options): moved to anon namespace
7279 * bufferparams.[Ch]: added above functions.
7281 2003-07-17 André Pönitz <poenitz@gmx.net>
7285 * text2.C: don't call inset->update() anymore
7287 * metricsinfo.[Ch]: add convenience constructor
7289 2003-07-16 André Pönitz <poenitz@gmx.net>
7294 * text2.C: replace the LyXCursor::irow_ member with
7295 on-demand computation of the value
7297 2003-07-16 John Levon <levon@movementarian.org>
7299 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7301 2003-07-15 André Pönitz <poenitz@gmx.net>
7304 * text2.C: remove no more needed refresh_row
7306 2003-07-15 André Pönitz <poenitz@gmx.net>
7311 * text3.C: refresh_status tristate -> need_update bool
7313 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
7315 * lyxtext.h (init): remove reinit argument (act as if always true)
7316 * text2.C: adjust to that
7318 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7320 * bufferview_funcs.[Ch]: introduce function replaceSelection()
7321 * text3.C: use it to delete selections in some cases
7322 (bugs 441, 673, 702, 954).
7324 2003-07-14 André Pönitz <poenitz@gmx.net>
7326 * rowpainter.[Ch]: reduce interface
7328 2003-07-14 André Pönitz <poenitz@gmx.net>
7330 * BufferView_pimpl.C:
7331 * text2.C: adjust after removing unused BufferView * argument
7333 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
7335 * text2.C (init): fix a crash fired on resize
7337 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
7339 * buffer.[Ch]: added new closing signal
7340 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7341 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7342 BufferView::Pimpl via the closing the signal
7344 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
7346 * buffer.[Ch]: take out all bv-related from buffer
7348 * BufferView_pimpl.[Ch]: connect to new signals
7349 * CutAndPaste.C: removed useless asserts
7350 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7353 * lyxfunc.C: moved view-related funciontality from vc here
7354 * paragraph.C: removed outdated comments
7357 2003-07-10 André Pönitz <poenitz@gmx.net>
7359 * BufferView_pimpl.C:
7363 * text2.C: remove InsetText::InnerCache, clean up consequences
7365 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7367 * ispell.C: fix two typos in error messages
7369 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
7371 * Extend Note inset to other forms of annotation like Comment
7372 and Greyedout. Right button click gives dialog.
7374 Files modified or added (+):
7378 * ControlNote.[Ch] +
7380 * Makefile.am in frontends/xforms, frontends/xforms/forms,
7381 frontends/controllers
7385 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7387 * aspell.C: add missing namespace lyx::support
7389 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
7391 * BufferView.[Ch] (newFile): Add
7392 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7393 * LaTeX.[Ch] (message): added this signal and use it
7394 * buffer.[Ch] (busy, message): added these signals and use them
7395 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7399 * importer.C: use buffer signals instead of direct bv calling
7400 * lyx_cb.[Ch] (ShowMessage): removed
7403 * paragraph_funcs.C:
7404 * text2.C: use buffer signals
7406 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7408 * introduce namespace lyx::graphics
7410 2003-07-02 André Pönitz <poenitz@gmx.net>
7412 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7414 2003-07-01 André Pönitz <poenitz@gmx.net>
7421 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7422 text*.C to text_func.C
7424 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7426 * introduce namespace lyx::support
7428 2003-06-30 André Pönitz <poenitz@gmx.net>
7433 * text.C: re-enable --with-included-string
7435 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7437 * textcursor.C: add <config.h>
7439 * text.C (getWord): remove const from word_location arg
7441 * lyxvc.C (getLogFile): fix const type order
7443 * lyxtext.h: remove const from word_location arg, add arg name
7445 * lyxlayout.h: currect type on labeltype.
7447 * importer.C: correct \file
7449 * converter.C (intToFormat): use std:: on ret val, ws changes
7451 * bufferlist.h: correct \file
7453 * buffer.C (makeLinuxDocFile): fix const type order
7454 (makeDocBookFile): ditto
7455 (fillWithBibKeys): use std:: on stdlib args.
7457 * CutAndPaste.C: fix authors.
7458 (availableSelections): use std:: on return vector
7460 2003-06-27 André Pönitz <poenitz@gmx.net>
7462 * BufferView_pimpl.C:
7463 * bufferview_funcs.C:
7471 * text3.C: remove LyXCursor::row_ member
7474 * text.C: rename fullRebreak() to partialRebreak() and implement
7475 a fullRebreak() that really bereks fully
7477 * textcursor.h: new struct for cursor-related data
7479 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7481 * lyx_main.C (LyX): get full path of document loaded on the
7484 2003-06-26 André Pönitz <poenitz@gmx.net>
7486 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7487 remove unused/broken operator>,<,>=.
7489 * text.C: remove only use of broken operator<= in an Assert().
7491 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7493 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7494 moved errorlist_.clear to showErrorList
7496 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7498 * converter.C (scanLog, runLaTeX):
7499 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7500 move the bv->showErrorList call to the callers
7501 * lyxfunc.C: i.e. here...
7503 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7504 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7505 namespace, the second to...
7506 * buffer_funcs (BufferFormat, parseErrors): added
7507 * errorlist.C (ErrorList(TeXErrors const &)): removed
7509 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7511 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7513 2003-06-24 "Garst R. Reese" <reese@isn.net>
7517 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7519 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7521 * version.C.in: change docversion to 1.4
7523 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7525 * buffer.C: fix a bug just introduced
7527 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7529 * buffer.[Ch]: added the parseError signal and use it, removed
7531 * BufferView.[Ch] (addError): moved to ...
7532 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7533 to the Buffer::parseError signal to catch (guess what) parse errors
7534 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7536 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7538 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7539 ability to create a buffer and to return an existing one from
7540 the list. Moved these functions to...
7541 * buffer_funcs.[Ch]: added
7542 * BufferView.[Ch] (loadLyXFile): added
7543 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7544 job removed from bufferlist::loadLyXFile.
7545 * buffer.C (setReadOnly): make it work without view
7546 (i.e added an if (users))
7548 2003-06-19 Angus Leeming <leeming@lyx.org>
7551 * LyXAction.C (init):
7552 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7553 with LFUN_DIALOG_SHOW <name> <data>.
7555 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7557 * CutAndPaste.C (availableSelections): small compilation fix for
7558 ancient (gcc 2.9x) compilers
7560 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7562 * text3.C (cursorNext): add tmp var
7564 * text2.C (updateCounters): for function calling out of for clause
7565 (replaceSelectionWithString): ditto
7566 (insertStringAsParagraphs): ditto
7567 (getColumnNearX): add tmp var
7568 (setCursorFromCoordinates): add tmp var
7569 (cursorDownParagraph): add tmp var
7570 (deleteEmptyParagraphMechanism): add tmp var
7572 * text.C (insertChar): add tmp var
7574 * rowpainter.C (paintDepthBar): add tmp var
7576 * CutAndPaste.C (availableSelections): potentially check all
7577 paragraphs in a cut to fill the shown strings.
7579 2003-06-18 André Pönitz <poenitz@gmx.net>
7581 * kbmap.[Ch]: use vector<> instead of list<>
7583 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7585 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7586 pasteSelection with index
7588 * text2.C (pasteSelection): modify, call pasteSelection with index
7590 * paragraph.C (asString): reimplement version with no interval to
7591 call the one with interval.
7593 * lyxtext.h: add index arg to pasteSelection
7595 * MenuBackend.C (MenuItem): handle PasteRecent
7596 (Menu::read::Menutags): add md_pasterecent
7598 (expandPasteRecent): new function
7601 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7603 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7605 (availableSelections): new function
7607 2003-06-17 Angus Leeming <leeming@lyx.org>
7609 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7611 2003-06-17 Angus Leeming <leeming@lyx.org>
7614 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7616 * lyxfunc.C (dispatch): invoke it.
7618 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7620 * iterators.C (operator++, ParPosition): reintroduce some
7621 const_cast for the benefit of older compilers.
7623 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7625 * text3.C (dispatch): do not modify clipboard when doing
7626 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7627 LFUN_DELETE_SKIP on a selection selection
7629 2003-06-16 André Pönitz <poenitz@gmx.net>
7635 * tabular.[Ch]: IU of clone() and getLabelList();
7637 2003-06-13 André Pönitz <poenitz@gmx.net>
7639 * tabular.h: compactification
7641 2003-06-12 André Pönitz <poenitz@gmx.net>
7645 * tabular_funcs.h: some renaming plus whitespace
7647 2003-06-12 André Pönitz <poenitz@gmx.net>
7650 * BufferView_pimpl.C:
7656 * toc.C: Return a Paragraph & for ParIterator::operator*()
7658 2003-06-11 John Levon <levon@movementarian.org>
7662 * ToolbarBackend.C: add "Toolbars" section and
7665 2003-06-10 Angus Leeming <leeming@lyx.org>
7668 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7670 * lyxfunc.C (dispatch): invoke it.
7672 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7674 * main.C: protect <ios> with HAVE_IOS
7675 (main): protect sync_with_stdio with HAVE_IOS
7677 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7679 * text2.C (cutSelection): adjust
7680 (pasteSelection): adjust
7682 * messages.C: handle get of empty string
7684 * main.C (main): use sync_with_stdio(false)
7686 * lyxfunc.C (dispatch): adjust
7688 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7689 (WriteAs): remove unneeded BufferView arg.
7691 * bufferparams.h: use correct types on papersize, papersize2 and
7694 * bufferparams.C (readToken): adjust for type
7695 (writeLaTeX): add missing cases to switch.
7697 * bufferlist.C (quitWriteBuffer): adjust
7700 * buffer.C (asciiParagraph): remove some commented code.
7702 * CutAndPaste.C: remove current_view extern variable.
7703 (cutSelection): add BufferParams arg.
7704 (eraseSelection): add BufferParams arg.
7705 (pasteSelection): add Buffer const & arg
7707 2003-06-07 John Levon <levon@movementarian.org>
7710 * paragraph_funcs.C:
7711 * paragraph_pimpl.C:
7715 * paragraph.C: allow InsetERT to freely space lines,
7716 and some consolidation of code
7718 2003-06-06 José Matos <jamatos@fep.up.pt>
7720 * buffer.C (makeDocBookFile): fix bug #821
7722 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7724 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7726 2003-06-04 Angus Leeming <leeming@lyx.org>
7728 * buffer.C: bump format to 224.
7730 2003-06-05 André Pönitz <poenitz@gmx.net>
7732 * text2.C (redoParagraphs): remove two const_cast<>
7734 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7736 * ParagraphList.h: remove last remnants of NO_STD_LIST
7738 2003-06-03 Angus Leeming <leeming@lyx.org>
7740 * factory.C (createInset): small change to the way InsetExternal's params
7743 2003-06-04 André Pönitz <poenitz@gmx.net>
7745 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7747 * paragraph_pimpl.h:
7748 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7750 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7752 * undo_funcs.C: make some simple cases of undo work again
7754 2003-06-03 John Levon <levon@movementarian.org>
7756 * ispell.C: HPUX doesn't have sys/select.h
7759 2003-06-03 John Levon <levon@movementarian.org>
7761 * CutAndPaste.C: update tabular and include inset
7766 * paragraph.C: remove owningBuffer(), don't pass Buffer
7769 * factory.C: insetGraphicsParams changed
7771 2003-06-02 John Levon <levon@movementarian.org>
7777 * text3.C: remove insetparent
7779 2003-06-02 John Levon <levon@movementarian.org>
7782 * buffer.C: fix inset_iterator.end(), move out of line
7785 2003-06-01 John Levon <levon@movementarian.org>
7787 * text3.C: use a proper cut/paste when doing inset
7788 insert (from Jürgen Spitzmüller)
7790 2003-06-01 John Levon <levon@movementarian.org>
7792 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7794 2003-05-30 André Pönitz <poenitz@gmx.net>
7796 * rowpainter.C: unify second drawing phase
7798 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7800 * trans_mgr.C: remove one case of current_view
7802 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7804 * paragraph_funcs.h: remove paragraph.h include
7806 * paragraph.h: delete NO_STD_LIST stuff
7808 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7810 * buffer.h: remove paragraph.h include
7812 * ParagraphList.C: delete file
7814 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7816 * toc.C (getTocList): adjust
7818 * paragraph_pimpl.C (validate): adjust
7820 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7822 * paragraph.C (Paragraph): adjust
7823 (getPositionOfInset): use const_iterator, adjust
7824 (bibitem): use const_iterator, adjust
7825 (setInsetOwner): adjust
7827 * iterators.C (operator++): adjust
7829 * InsetList.[Ch]: Replace selfmade iterator with standard
7830 vector::iterator also introduce const_iterator. Remove getPos,
7831 getInset and setInset from InsetTable. Adjust accordingly.
7833 * BufferView.C (lockInset): adjust
7834 (ChangeInsets): adjust
7836 * tabular.[Ch]: delete commented same_id functions
7838 2003-05-28 John Levon <levon@movementarian.org>
7840 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7842 2003-05-28 André Pönitz <poenitz@gmx.net>
7844 * metricsinfo.[Ch]: remove 'fullredraw' member
7846 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7848 * lyxtextclass.C (operator): remove caching.
7850 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7854 * text2.C (cursorBottom): adjust
7855 (setCounter): use ParagraphList::find, adjust
7857 * text.C (workWidth): use ParagraphList::find, adjust
7859 * lyxcursor.C (LyXCursor): adjust
7861 * buffer.C (inset_iterator): adjust
7863 * ParagraphList.h: make iterator(value_type) private, make
7864 ParagraphList a friend of iterator.
7866 * ParagraphList.C (find): new function
7868 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7870 2003-05-27 André Pönitz <poenitz@gmx.net>
7872 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7874 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7876 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7878 2003-05-26 John Levon <levon@movementarian.org>
7880 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7882 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7884 * remove same_id from function signatures, adjust.
7886 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7888 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7890 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7892 * paragraph.C (Paragraph): get rid of same_ids parameter
7894 * ParagraphList.C (insert): adjust
7897 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7899 * paragraph_funcs.C (breakParagraph): adjust
7900 (breakParagraphConservative): adjust
7902 * buffer.C (readParagraph): adjust
7904 * ParagraphList.C (insert): take a reference instead of a pointer
7907 * paragraph.[Ch] (id): new function
7909 * bufferlist.C (newFile): adjust
7911 * ParagraphList.C (ParagraphList): adjust
7913 (push_back): take a reference instead of a pointer.
7915 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7917 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7920 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7921 set else use old code.
7923 * ParagraphList.C: remove all NO_NEXT code and only compile this
7924 code of NO_STD_LIST is set.
7926 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7928 * BufferView_pimpl.C:
7938 * graphics/GraphicsConverter.C:
7939 * graphics/PreviewLoader.C: header adjustment
7941 2003-05-23 Angus Leeming <leeming@lyx.org>
7943 * LaTeXFeatures.[Ch] (useBabel): new method.
7944 * bufferparams.C (writeLaTeX): use it.
7946 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7948 * ParagraphList.h (set): remove unused function.
7950 2003-05-23 André Pönitz <poenitz@gmx.net>
7953 * BufferView_pimpl.C:
7957 * undo_funcs.C: setUndo reworked
7959 * iterators.[Ch]: add access to topmost ParagraphList
7961 * lyxtext.[Ch] (workWidth): add a const
7963 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7965 * texrow.[Ch] (increasePos): remove function
7966 * exporter.C (export): removed unused var and outdated comment
7968 2003-05-23 Angus Leeming <leeming@lyx.org>
7970 * latexrunparams.h: rename fragile as moving_arg.
7971 * paragraph.C (simpleTeXOnePar): ditto.
7972 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7974 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7976 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7978 (textUndoOrRedo): comment out a currently unused var.
7980 * paragraph.h (NO_NEXT): enable NO_NEXT
7982 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7984 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7986 * exporter.C (Export): adjust for removeAutoInsets removal.
7988 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7990 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7992 * BufferView.[Ch] (removeAutoInsets): delete function
7994 2003-05-22 Angus Leeming <leeming@lyx.org>
7996 * latexrunparams.h: add a free_spacing variable.
7998 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7999 to pass moving_arg, as the data is stored in runparams.fragile.
8001 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
8002 to Inset::latexOptional or to simpleTeXOnePar.
8004 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
8005 free_spacing arg to Inset::latexOptional.
8007 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
8010 2003-05-22 Angus Leeming <leeming@lyx.org>
8012 * latexrunparams.h: add fragile and use_babel variables.
8014 * bufferparams.[Ch] (writeLaTeX): return use_babel.
8015 * buffer.C (makeLaTeXFile): store this returned value in
8016 runparams.use_babel, thus passing it to the inset::latex methods.
8018 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
8019 simpleTeXSpecialChars as it is now stored in runparams.fragile.
8021 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
8022 longer has a fragile arg, as it is stored in runparams.fragile.
8024 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
8025 moving_arg parameter as the data is stored in runparams.fragile.
8027 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
8028 a fragile parameter as the data is stored in runparams.fragile.
8030 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8032 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
8034 2003-05-22 Angus Leeming <leeming@lyx.org>
8036 * latexrunparams.h: add a 'bool nice' which defaults to false.
8038 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
8039 now encapsulated within runparams.
8041 * bufferlist.C (updateIncludedTeXfiles):
8042 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
8044 2003-05-22 Angus Leeming <leeming@lyx.org>
8046 * latexrunparams.h: new file containing struct LatexRunParams.
8047 * Makefile.am: add new file.
8049 * LaTeX.[Ch] (c-tor, run):
8050 * buffer.[Ch] (makeLaTeXFile):
8051 * bufferlist.[Ch] (updateIncludedTeXfiles):
8052 * converter.C (convert, scanLog):
8053 * converter.[Ch] (runLaTeX):
8054 * exporter.C (Export):
8055 * paragraph.[Ch] (simpleTeXOnePar):
8056 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
8057 * paragraph_funcs.[Ch] (latexParagraphs):
8058 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
8059 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
8060 pass around a LatexRunParams parameter.
8062 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8064 * paragraph.[Ch]: remove unused constructor
8066 * ParagraphList.C (erase): new function, taking two iterators
8068 2003-05-22 André Pönitz <poenitz@gmx.net>
8070 * undo_funcs.C: remove duplicated code
8072 * iterator.[Ch]: operator=
8074 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8076 * tabular.C (SetMultiColumn): ws changes
8078 * rowpainter.C (paintFirst): get rid of a ->previous
8080 * lyx_cb.C (getPossibleLabel): parlist simplification
8082 * BufferView.C (ChangeInsets): simplify slightly.
8084 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8086 * LyXAction.C: new lfun space-insert, kill protected-space-insert
8087 * lfuns.h: new LFUN_SPACE
8088 * lyxfunc.C: protected space has a new lfun
8089 * paragraph_funcs.C: read new space insets
8091 * factory.C: handle new space insets
8093 2003-05-22 André Pönitz <poenitz@gmx.net>
8096 * BufferView_pimpl.C:
8099 * undo_funcs.C: return a ParIterator from getParFromID.
8101 * iterators.[Ch]: add two const's
8103 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8105 * toc.C (getTocList): adjust
8107 * iterators.[Ch]: rework for parlist
8109 * buffer.C (par_iterator_begin): adjust
8110 (par_iterator_end): adjust
8112 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
8114 * BufferView.C (removeAutoInsets): adjust
8115 (ChangeInsets): adjust
8117 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
8119 * text.C (top_y): fix bug 1110
8121 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
8123 * errorlist.[Ch]: added
8126 * BufferView_pimpl.C:
8127 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
8130 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8132 * Makefile.am: ensure that lyx is relinked upon changes to the
8133 various "convenience" libs.
8135 2003-05-20 Angus Leeming <leeming@lyx.org>
8137 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
8138 files are compiled in alphabetical order again.
8140 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
8142 2003-05-19 Angus Leeming <leeming@lyx.org>
8144 * gettext.[Ch]: remove "char const * _(char const *)".
8146 2003-05-19 André Pönitz <poenitz@gmx.net>
8148 * dimension.[Ch]: promote from mathed/dimension.[Ch]
8157 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
8159 2003-05-19 André Pönitz <poenitz@gmx.net>
8163 * lyxtextclass.[Ch]:
8165 * paragraph_funcs.[Ch]:
8167 * text3.C: more insetenv work
8169 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
8171 * ParagraphParameters.C (params2string): small bug fixed
8173 2003-05-16 André Pönitz <poenitz@gmx.net>
8176 * bufferview_funcs.C: patch from Kornel Benko to prevent
8177 crash when _(...) is called twice in a statement
8179 2003-05-16 André Pönitz <poenitz@gmx.net>
8186 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8188 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
8190 * lyx_main.C (init): remove spurious static_cast
8192 2003-05-14 André Pönitz <poenitz@gmx.net>
8194 * BufferView.C: fix format string
8196 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
8198 * BufferView.[Ch] (insertErrors): removed
8199 * BufferView.[Ch] (showErrorList): added
8200 * buffer.C (runChkTeX):
8201 * converter.C (scanLog): call showErrorList instead of inserterrors
8203 2003-05-13 André Pönitz <poenitz@gmx.net>
8205 * BufferView_pimpl.C:
8207 * bufferview_func.C:
8214 * tabular_funcs.h: tostr() from its own header
8216 * ParagraphParameters.C:
8221 * text3.C: STRCONV()
8223 2003-05-12 André Pönitz <poenitz@gmx.net>
8226 * BufferView_pimpl.C:
8230 * ParagraphParameters.C:
8234 * bufferview_funcs.C:
8247 * paragraph_funcs.C:
8251 * text3.C: boost::format -> bformat all over the place
8254 2003-05-09 André Pönitz <poenitz@gmx.net>
8256 * LColor.[Ch]: Pimpl the #include <map> away
8258 2003-05-09 John Levon <levon@movementarian.org>
8260 * bufferlist.C: never remove emergency saves
8262 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8264 * Makefile.am: better lib building
8266 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
8268 * texrow.[Ch]: remove dependency on Paragraph and just store a id
8270 * paragraph_pimpl.C (simpleTeXBlanks): adjust
8271 (simpleTeXSpecialChars): adjust
8272 (simpleTeXSpecialChars): adjust
8273 * paragraph.C (simpleTeXOnePar): adjust
8274 * buffer.C (makeLaTeXFile): adjust
8276 * Makefile.am (BOOST_LIBS): allow boost as system lib.
8278 * text2.C (changeDepth): parlist cleanup
8279 (getColumnNearX): ditto
8281 * rowpainter.C (getLabelFont): parlist cleanup
8283 * bufferlist.C (newFile): parlist cleanup
8285 * CutAndPaste.C (eraseSelection): parlist cleanup
8287 * BufferView_pimpl.C (trackChanges): parlist cleanup
8290 * BufferView.C (lockInset): parlist cleanup.
8291 (ChangeInsets): ditto
8293 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8295 * CutAndPaste.h: Update file header.
8297 * CutAndPaste.C: Update file header.
8298 Store the parts cut out of the Document in a limited_stack.
8299 (copySelection): adjust
8300 (pasteSelection): new function, takes the index in the limited stack.
8301 (nrOfParagraphs): adjust
8302 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8303 simplify error inset insertion.
8304 (checkPastePossible): adjust
8306 2003-05-06 John Levon <levon@movementarian.org>
8308 * text2.C: don't cast wrap inset to float
8310 2003-05-05 André Pönitz <poenitz@gmx.net>
8313 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8315 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8316 few naked Paragraph *.
8318 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
8320 * bufferparams.C: Output warning if a document with missing
8321 TeX document class is loaded
8322 * exporter.C: Disable TeX exports if the document class is missing
8325 * lyxtextclasslist.C: Handle new textclass.lst format; new method
8326 isTeXClassAvailable()
8328 2003-05-03 John Levon <levon@movementarian.org>
8331 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8332 explicit cursor show/hide
8334 * BufferView_pimpl.h:
8335 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8336 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8338 * lyxfunc.C: hide cursor before dispatching.
8343 * text3.C: remove explicit cursor hides
8345 2003-05-02 André Pönitz <poenitz@gmx.net>
8347 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8350 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8353 * text2.C: tiny whitespace
8355 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8357 * undo_funcs.C: almost only ws changes.
8359 * ParagraphList.C (splice): just return if pl is empty.
8361 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8363 * ParagraphList.C (splice): new function.
8365 * CutAndPaste.C (pasteSelection): use it
8367 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8369 * CutAndPaste.C (pasteSelection): remove the last next and
8370 previous from this file.
8372 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8374 * CutAndPaste.C (pasteSelection): more clean up, user proper
8375 ParagraphList functions for pasteing.
8377 * ParagraphList.C (insert): new function, three arg insert
8379 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8381 * ParagraphList.C (insert): new function, three arg insert
8383 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8386 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8388 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8390 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8392 * CutAndPaste.C (pasteSelection): remove some unneeded code.
8394 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8396 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8397 (copySelection): clean up a bit.
8398 (pasteSelection): use make_pair
8400 * ParagraphList.C (ParagraphList): implement copy constructor
8401 (operator=): implement, base on copy constructor.
8404 * paragraph.C (erase): return a bool
8406 * paragraph_pimpl.C (erasePos): remove function, move contents...
8407 (erase): ... here. Return a bool.
8408 (erase): call erase instead of erasePos.
8410 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
8412 * ParagraphList.h: define PitPosPair
8413 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8414 ParagraphList, fix a bug on pasting multiple pars
8415 * text2.C: change interface to C&P
8417 2003-04-30 André Pönitz <poenitz@gmx.net>
8419 * undo_func.C: revert part of yesterday's patch 2
8421 2003-04-30 John Levon <levon@movementarian.org>
8423 * LColor.C: s/tabular/table/
8425 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8427 * text3.C (dispatch): do not convert iterator -> pointer
8428 * undo_funcs.C (setCursorParUndo): ditto
8429 * text_funcs.C (transposeChars): ditto
8431 * text2.C (setLayout): ws changes only
8433 * text.C (breakParagraph): do not convert iterator -> pointer
8435 (acceptChange): ditto
8436 (rejectChange): ditto
8441 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8444 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8446 * text3.C (gotoInset): YABG (yet another bad getChar)
8448 2003-04-29 André Pönitz <poenitz@gmx.net>
8450 * paragraph.h: make operator= private unimplemented as long as
8453 * ParagraphList.C: whitespace
8456 * paragraph_pimpl.[Ch]:
8457 * paragraph_funcs.C:
8459 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8462 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8464 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8466 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8467 * paragraph.[Ch] (erase):
8468 * paragraph_pimpl.[Ch] (erase): change return type and value
8469 * text2.C (cutSelection): some rework
8471 2003-04-28 John Levon <levon@movementarian.org>
8473 * bufferlist.C: changes for unsaved changes dialog
8475 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8477 * bufferlist.C (newFile): set language (messages_) for new
8480 * buffer.C (readFile): ws changes only.
8482 2003-04-28 André Pönitz <poenitz@gmx.net>
8487 * BufferView_pimpl.C:
8488 * BufferView.C: getParFromID related ParagraphList::iterator changes
8490 2003-04-28 André Pönitz <poenitz@gmx.net>
8492 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8495 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8497 * messages.C: remove one more localedir class variable.
8499 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8501 * messages.C (getLocaleDir): singleton generation function
8503 (Messages): add a default constructor.
8505 * main.C (main): do not setup localedir here, do not call
8508 * gettext.C (_): use it.
8509 (gettext_init): delete funciton
8511 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8513 * gettext.C (getLyXMessages): new singleton generating function.
8515 * buffer.C (updateDocLang): adjust
8517 * Makefile.am (messages.o): add target
8518 (main.o): remove target
8520 2003-04-27 John Levon <levon@movementarian.org>
8525 * lyxvc.C: specify cancel button in Alert::prompt
8527 2003-04-26 John Levon <levon@movementarian.org>
8532 * LyXAction.C: add LFUN_INSET_SETTINGS
8534 * lyxfunc.C: don't enable tabular-feature when there's
8535 just any locking inset
8537 2003-04-26 John Levon <levon@movementarian.org>
8539 * bufferlist.C: re-add Cancel to buffer close question
8541 * lyxfunc.C: fix import UI a bit
8543 2003-04-25 John Levon <levon@movementarian.org>
8545 * gettext.C: remove the broken asserts for now
8547 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8549 * messages.C: make case where setlocale cannot comply work better.
8551 * buffer.C (updateDocLang): new function
8552 (changeLanguage): use it
8555 * text2.C (setCounter): use B_ a bit.
8557 * lyxlayout.C (Read): be sure to trim the label strings.
8559 * messages.C (Messages): fix typo in comment
8561 * buffer.C (readFile): set message_ after file is loaded.
8562 (makeDocBookFile): remove double return
8563 (changeLanguage): reset message_ upon language change.
8564 (B_): new func, use this to get translated buffer strings.
8566 * main.C: add myself and Jean Marc as authors.
8568 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8570 * messages.[hC]: pimplify Messages, and three different pimpls to be
8571 used in different circumstances.
8573 * gettext.[Ch]: change for use with new message code.
8575 2003-04-24 André Pönitz <poenitz@gmx.net>
8577 * factory.C: support for eqref
8579 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8581 * messages.[Ch]: add missing char
8583 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8585 * messages.[Ch]: New files
8587 2003-04-18 John Levon <levon@movementarian.org>
8591 * BufferView_pimpl.C:
8595 * text2.C: remove layout-copy/paste (bug 778)
8597 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8599 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8601 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8603 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8604 if they succeed. Act accordingly.
8606 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8608 * text2.C (setCharFont): adjust
8609 (setCounter): adjust
8610 (insertStringAsLines): adjust
8612 * text.C (leftMargin): adjust
8613 (setHeightOfRow): adjust
8615 * rowpainter.C (paintFirst): adjust
8618 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8620 (isFirstInSequence): ditto
8621 (getEndLabel): ditto
8624 * paragraph.C (getParLanguage): comment out some hard stuff.
8626 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8628 (simpleDocBookOnePar): ditto
8629 (makeDocBookFile): use ParagraphList::iterator
8631 * CutAndPaste.C (pasteSelection): adjust
8633 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8635 * text2.C (getFont): adjust
8636 (getLayoutFont): adjust
8637 (getLabelFont): adjust
8639 * paragraph_funcs.C (TeXOnePar): adjust
8641 * buffer.C (simpleLinuxDocOnePar): adjust
8642 (simpleDocBookOnePar): adjust
8644 * CutAndPaste.C (pasteSelection): adjust
8646 * BufferView.C (getEncoding): adjust
8648 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8650 2003-04-16 John Levon <levon@movementarian.org>
8652 * lyxfind.C: use parlist stuff for search/changes
8654 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8656 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8658 * text2.C (deleteEmptyParagraphMechanism): adjust
8660 * text2.[Ch] (ownerParagraph): delete func (both of them
8662 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8664 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8666 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8668 * ParagraphList.C: prepare for NO_NEXT
8670 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8672 * text2.C (getFont): adjust
8673 (getLayoutFont): adjust
8674 (getLabelFont): adjust
8676 * paragraph.C (getFont): adjust
8677 (getLabelFont): adjust
8678 (getLayoutFont): adjust
8680 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8682 2003-04-15 John Levon <levon@movementarian.org>
8686 * lyx_main.C: handle Include in .ui files
8688 2003-04-15 John Levon <levon@movementarian.org>
8690 * MenuBackend.C: make the doc files length shorter
8693 * ToolbarBackend.C: handle toolbar placement flags,
8696 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8698 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8701 * paragraph_funcs.C (TeXOnePar): adjust
8703 * paragraph.C (getLabelFont): add outerfont arg, adjust
8704 (getLayoutFont): ditto
8705 (simpleTeXOnePar): adjust
8707 * paragraph_pimpl.C (realizeFont): delete func
8709 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8711 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8712 row argument, constify cur argument.
8714 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8716 * text2.C (getFont): adjust
8717 (getLayoutFont): adjust
8718 (getLabelFont): adjust
8720 * paragraph_funcs.C (TeXOnePar): adjust
8721 (outerFont): new func...
8722 (realizeFont): ...moved out from here, changed this to facilitate
8725 * paragraph.C (getFont): take outerfont as arg, adjust
8726 (simpleTeXOnePar): add outerfont arg, adjust
8728 * buffer.C (simpleLinuxDocOnePar): adjust
8729 (simpleDocBookOnePar): adjust
8731 * CutAndPaste.C (pasteSelection): adjust
8733 * BufferView.C (getEncoding): adjust
8735 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8737 * text2.C (setCharFont): adjust
8738 (setCounter): adjust
8740 * text.C (leftMargin): adjust
8741 (setHeightOfRow): adjust
8743 * rowpainter.C (paintFirst): adjust
8746 * paragraph_pimpl.C (realizeFont): adjust
8748 * paragraph.C (isFirstInSequence): move from here...
8749 * paragraph_funcs.C (isFirstInSequence): ...to here
8751 * paragraph.C (outerHook): move from here...
8752 * paragraph_funcs.C (outerHook): ...to here
8754 * paragraph.C (depthHook): move from here...
8755 * paragraph_funcs.C (depthHook): ...to here
8757 * paragraph.C (getEndLabel): move from here...
8758 * paragraph_funcs.C (getEndLabel): ...to here
8760 * text2.C (realizeFont): move from here...
8761 * paragraph_funcs.C (realizeFont): ...to here
8763 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8765 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8767 2003-04-14 Angus Leeming <leeming@lyx.org>
8769 * LColor.[Ch]: scrap LColor mathcursor.
8771 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8773 * lyxlex.[Ch] (text): delete function
8774 * trans.C (Load): adjust
8775 * paragraph_funcs.C (readParToken): adjust
8777 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8779 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8780 vector<char> instead of a char[].
8782 * lyxlex_pimpl.C (getString): adjust
8784 (lex): use getString
8788 * lyxlex.C (text): use pimpl_->getString()
8792 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8794 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8795 (makeFontEntriesLayoutSpecific): temp var for par.size()
8796 (setLayout): temp var for ownerParagraphs().end()
8797 (fullRebreak): temp var for rows().end()
8798 (selectionAsString): temp var for boost::next(startpit), realize
8799 that the while really is a regular for loop.
8800 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8801 setCursor in one place.
8802 (setParagraph): temp vr for ownerParagraphs().end()
8803 (updateCounters): make the while loop a for loop
8804 (cutSelection): temp var for ownerParagraphs().end()
8805 (updateInset): make the do {} while() a regular for loop
8806 (getCursorX): use temp vars
8807 (setCurrentFont): use temp vars
8808 (getColumnNearX): use temp vars
8810 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8812 * text.C (transformChar): use temp var for getChar
8813 (computeBidiTables): use temp var for row->par()
8814 (fill): move temp vars for row->par() and pit->layout() earlier in
8816 (labelFill): use temp var for row->par()
8817 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8818 asc and desc, realize that pit never changes and that firstpit is
8819 just a duplicate and not needed. Exchange rit->par() with pit in a
8821 (breakAgain): use a temp var for boost::next(rit)
8822 (breakAgainOneRow): ditto
8823 (breakParagraph): use a temp var for rows().begin()
8824 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8825 (cursorRightOneWord): use temp var for cursor.par() and
8826 cursor.pos(), remove usage of tmpcursor.
8827 (cursorLeftOneWord): use temp var for cursor.par() and
8828 cursor.pos() only set cur at end of function.
8830 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8832 * text.C, text2.C: exchange all usage of Paragraph::next with
8833 boost::next(ParagraphList::iterator)
8835 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8837 * text2.C (cursorTop): simplify implementation
8838 (cursorBottom): ditto
8839 (setParagraph): use ParagraphList::iterator
8840 (setCurrentFont): adjust
8841 (getColumnNearX): adjust
8842 (cursorRight): adjust
8843 (cursorLeft): remove usage of Paragraph::previous
8844 (cursorUpParagraph): ditto
8845 (deleteEmptyParagraphMechanism): slight cleanup
8847 * text.C (isBoundary): take a Paragraph const & instead of a
8849 (addressBreakPoint): ditto
8850 (leftMargin): remove usage of Paragraph::previous.
8851 (setHeightOfRow): ditto
8852 (cursorLeftOneWord): ditto
8853 (selectNextWordToSpellcheck): ditto
8856 (breakParagraph): remove one usage of Paragraph::next
8857 (redoParagraph): ditto
8858 (acceptChange): ditto
8859 (insertChar): adjust
8860 (rowBreakPoint): adjust
8862 * bufferview_funcs.C (toggleAndShow): adjust
8864 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8866 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8867 methods to access it.
8869 * text.C: Added updateRowPositions to compute all row positions.
8870 Make top_y and getRowNearY() to use the cached y position
8872 2003-04-11 John Levon <levon@movementarian.org>
8874 * text.C (rowBreakPoint): reintroduce the labelEnd
8875 checks, code copied from the row fill stuff. Deep voodoo.
8877 * text.C (fill): add a comment and debugging for the
8880 2003-04-11 John Levon <levon@movementarian.org>
8882 * text.C: make sure fullrow insets get wrapped to the next line,
8883 even when they're in a manual label
8885 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8887 * text2.C (insertParagraph): make it take ParagraphList::iterator
8889 (setLayout): make it return ParagraphList::iterator
8890 (redoParagraphs): ditto
8892 (checkParagraph): ditto
8894 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8896 * text2.C: adjust several funcs.
8897 (realizeFont): take a ParagraphList::iterator as arg.
8898 (getLayoutFont): ditto
8899 (getLabelFont): ditto
8900 (setCharFont): ditto
8902 * text.C: adjust several funcs.
8904 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8906 * text.C (selectNextWordToSpellcheck): don't accidentally
8909 2003-04-10 John Levon <levon@movementarian.org>
8911 * ToolbarBackend.C (getIcon): special handling for
8914 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8916 * text2.C (cursorRight): a getChar assert fixed
8918 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8920 * text2.C (getFont): change to take a ParagraphList::iterator
8921 instead of Paragraph*
8922 Adjust several functions.
8924 * text.C (transformChar): change to take a ParagraphList::iterator
8925 instead of Paragraph*
8926 (singleWidth): ditto
8927 Adjust several functions.
8929 * rowpainter.C: adjust several functions
8930 * rowpainter.h:store a ParagraphList::iterator and not a
8934 2003-04-09 John Levon <levon@movementarian.org>
8939 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8940 and the "help" bits as well
8942 2003-04-09 John Levon <levon@movementarian.org>
8945 * ToolbarBackend.C: allow multiple toolbars
8947 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8949 * undo_funcs.C (setCursorParUndo): adjust
8951 * text_funcs.C (transposeChars): adjust
8953 * text3.C (gotoNextInset): adjust
8956 * text2.C (setLayout): adjust
8957 (changeDepth): adjust
8959 (redoParagraphs): adjust
8960 (selectionAsString): adjust
8961 (setParagraph): adjust
8962 (insertInset): adjust
8963 (cutSelection): adjust
8964 (copySelection): adjust
8965 (pasteSelection): adjust
8966 (insertStringAsLines): adjust
8967 (updateInset): adjust
8968 (setCursor): change to take a ParagraphList::iterator parameter
8969 (setCursorIntern): change to take a ParagraphList::iterator parameter
8970 (setCurrentFont): adjust
8971 (cursorLeft): adjust
8972 (cursorRight): adjust
8973 (deleteEmptyParagraphMechanism): adjust
8975 * text.C (breakParagraph): adjust
8976 (insertChar): adjust
8977 (acceptChange): adjust
8978 (rejectChange): adjust
8979 (selectNextWordToSpellcheck): adjust
8980 (changeCase): adjust
8984 * lyxfind.C (SearchForward): adjust
8985 (SearchBackward): adjust
8986 (nextChange): adjust
8988 * lyxcursor.C (par): adjust
8990 * lyxcursor.h: store a ParagraphList::iterator instead of a
8993 * lyx_cb.C (getPossibleLabel): adjust
8995 * bufferview_funcs.C (toggleAndShow): adjust
8997 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
9000 * BufferView.C (removeAutoInsets): adjust
9001 (lockedInsetStoreUndo): adjust
9003 2003-04-09 John Levon <levon@movementarian.org>
9005 * ToolbarBackend.C: try icon without argument
9006 if with argument fails
9008 2003-04-08 John Levon <levon@movementarian.org>
9011 * ToolbarBackend.C: add getIcon(), handle tooltip,
9012 and change from "Icon" to "Item".
9014 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
9016 * BufferView.C (lockInset): another bad getchar crunched
9018 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
9020 * text2.C (changeDepth): do not setUndo on test_only (make undo work
9023 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
9025 * lyxfind.C (searchForward, searchBackwards): bug 782
9027 2003-04-07 John Levon <levon@movementarian.org>
9029 * paragraph.C: remove dead comment
9031 * text.C: remove troublesome depth-fiddling code
9032 in leftMargin() and rightMargin() (bug 1017)
9034 * text.C: fix breaking of rows in nested lists
9037 * text2.C (updateCounters): fix up depth values
9040 2003-04-07 John Levon <levon@movementarian.org>
9042 * BufferView_pimpl.C: clear message when doc finishes resizing,
9043 and after a mouse event
9045 * lyxfunc.C: clear message after exiting inset
9047 2003-04-07 John Levon <levon@movementarian.org>
9049 * bufferview_funcs.C: show math status not outside
9050 status in the statusbar
9052 2003-04-07 John Levon <levon@movementarian.org>
9054 * lyxfunc.C: note status changed after a depth change
9056 2003-04-04 Angus Leeming <leeming@lyx.org>
9058 * LaTeX.h: move AuxInfo operator==, != out of line.
9059 Remove LaTeX virtual destructor; nothing derives from it.
9060 Move operator()() out of public area and rename it startscript().
9061 Change protected for private.
9063 2003-04-04 Angus Leeming <leeming@lyx.org>
9066 * text2.C: remove unneeded #includes.
9068 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
9070 * text2.C (dEPM): fix the heigth of the next row
9072 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
9074 * text.C: squashed an invalid getChar requester + some ws changes
9076 2003-04-03 John Levon <levon@movementarian.org>
9078 * bufferview_funcs.h:
9079 * bufferview_funcs.C:
9082 * text2.C: make getStatus work for the env depth lfuns
9084 2003-04-03 John Levon <levon@movementarian.org>
9086 * bufferview_funcs.h:
9087 * bufferview_funcs.C:
9090 * text2.C: parlistize decDepth(), by merging it with incDepth()
9092 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9094 * lyxrow.h: store a ParagraphList::iterator instead of a
9095 Paragraph* and adjust other class functions to suit.
9097 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
9100 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
9102 * text2.C (setCursor): do not anchor to cursor row for the time being
9104 2003-04-02 John Levon <levon@movementarian.org>
9111 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
9113 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9115 * paragraph.h: make ParagraphList and ParagraphList::iterator
9116 friends of Paragraph.
9118 * buffer.C (makeLinuxDocFile): move towards ParagraphList
9120 * ParagraphList.C: Use the private next_ and previous_ from
9123 2003-04-01 John Levon <levon@movementarian.org>
9127 * Makefile.am: rename, remove defaults gunk
9130 * MenuBackend.C: remove defaults gunk
9133 * Languages.C: remove defaults gunk
9136 * lyx_main.C: error out if files couldn't be found.
9138 2003-04-02 John Levon <levon@movementarian.org>
9140 * text2.C: make incDepth() use parlist
9142 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9144 * undo_funcs.C (firstUndoParagraph): adjust
9146 * text3.C (gotoInset): adjust
9147 (dispatch): adjust, and rewrite loop.
9149 * text2.C (init): adjust, and rewrite loop.
9150 (redoParagraphs): adjust
9151 (updateInset): adjust, and rewrite loop.
9152 (deleteEmptyParagraphMechanism): adjust
9154 * tabular.C (LyXTabular): adjust
9155 (SetMultiColumn): adjust
9158 * lyxtext.[Ch] (ownerParagraph): delete function
9159 (ownerParagraphs): new function returns a ParagraphList.
9161 * BufferView.C (removeAutoInsets): adjust
9162 (insertErrors): adjust
9163 (setCursorFromRow): adjust
9165 2003-04-01 Angus Leeming <leeming@lyx.org>
9167 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
9170 2003-04-02 John Levon <levon@movementarian.org>
9176 * text_funcs.C: make transposeChars a free function
9178 * lyxrow_funcs.C: remove wrong comment
9180 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9183 * rowpainter.C: adjust
9188 * lyxrow_funcs. [Ch]: new files
9190 * lyxrow.[Ch]: remove next and previous pointers
9191 (next,previous): remove accessor functions
9192 (isParEnd): move to lyxrow_funcs
9193 (lastPos): move to lyxrow_funcs
9194 (nextRowIsAllInset): move to lyxrow_funcs
9195 (lastPrintablePos): move to lyxrow_funcs
9196 (numberOfSeparators): move to lyxrow_funcs
9197 (numberOfHfills): move to lyxrow_funcs
9198 (numberOfLabelHfills): move to lyxrow_funcs
9199 (hfillExpansion): move to lyxrow_funcs
9203 * bufferview_funcs.C (toggleAndShow): adjust
9205 * RowList.h: Remove class RowList from file leave just a
9208 * RowList.C: delete file
9210 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9213 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9215 * text3.C (cursorPrevious): adjust
9216 (cursorNext): adjust
9219 * text2.C (redoHeightOfParagraph): adjust
9220 (redoDrawingOfParagraph): adjust
9223 * text.C (breakParagraph): adjust
9224 (insertChar): adjust
9227 * rowpainter.C (RowPainter): adjust
9228 (leftMargin): simplify and adjust
9229 (most rowpainter functions): adjust.
9231 * rowpainter.h: store the row as RowList::iterator not as Row*
9233 * lyxcursor.C (row): taka RowList::iterator as arg
9236 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9239 2003-04-01 Angus Leeming <leeming@lyx.org>
9241 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9242 stuff like bool Bool.
9244 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
9246 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9249 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9251 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9254 * lyxtext.h (rows): drop one version and leve a const variant that
9255 returns a RowList::iterator.
9257 2003-03-31 Angus Leeming <leeming@lyx.org>
9259 * text.C (fill): ensure that the signature is the same as that in the
9262 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
9264 * text2.C (redoParagraphs): adjust
9265 (updateCounters): adjust
9266 (checkParagraph): adjust
9267 (getColumnNearX): adjust and reformat a bit.
9269 * text.C (top_y): adjust
9271 (leftMargin): adjust
9272 (prepareToPrint): adjust
9274 (getRowNearY): adjust
9276 * lyxtext.h: make rowlist_ mutable.
9278 * RowList.h: add const_iterator
9279 * RowList.C: adjust for RowList::const_iterator.
9281 * text2.C (getCursorX): make it take a RowList::iterator as arg,
9284 2003-03-31 John Levon <levon@movementarian.org>
9287 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9289 * lyx_main.C: set default fonts from using lyx_gui funcs
9291 * exporter.C: pdf_mode moved from lyxrc
9294 * lyxfunc.C: changes from above
9296 2003-03-31 John Levon <levon@movementarian.org>
9298 * lyx_main.C: fix to the last fix
9300 2003-03-31 John Levon <levon@movementarian.org>
9302 * bufferlist.C: "Load original" -> "Load Original"
9308 * format.C: more Alert cleanups
9310 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9312 * text2.C (removeParagraph): make it take a RowList::iterator as
9314 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9315 (postRowPaint): make it take a RowList::iterator as arg, adjust.
9317 * text.C (anchor_row): make it take a RowList::iterator as arg,
9319 (computeBidiTables): make it take a const reference to Row instead
9320 of Row pointer, adjust.
9321 (leftMargin): make it take a RowList::iterator as arg, adjust.
9322 (rowBreakPoint): adjust
9323 (breakAgainOneRow): make it take a RowList::iterator as arg,
9325 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9327 * bufferview_funcs.C (toggleAndShow): adjust
9329 2003-03-30 John Levon <levon@movementarian.org>
9333 * boost-inst.C: moved to support
9335 * several files: changes as a result
9337 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9339 * text2.C (LyXText): adjust.
9341 (removeRow): make it take a RowList::iterator as arg, adjust.
9342 (fullRebreak): adjust
9343 (deleteEmptyParagraphMechanism): adjust
9344 (clearPaint): adjust
9347 * text.C (top_y): adjust
9348 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9349 (breakAgain): make it take a RowList::iterator as arg, adjust.
9350 (breakParagraph): adjust
9351 (insertChar): adjust
9354 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9355 need_break_row, and refresh_row.
9357 * text3.C (dispatch): adjust
9359 * text2.C (checkParagraph): adjust
9361 (setCursorFromCoordinates): adjust
9363 * text.C (top_y): adjust
9365 (getRow): make it return a RowList::iterator, adjust
9366 (getRowNearY): make it return a RowList::iterator, adjust
9368 * text2.C (init): adjust
9369 (insertRow): remove function
9370 (insertParagraph): adjust
9371 (redoParagraphs): adjust
9372 (fullRebreak): adjust
9373 (updateCounters): adjust
9375 * text.C (top_y): rewrite to use RowList iterators.
9377 (setHeightOfRow): rewrite to sue RowList iterators.
9378 (appendParagraph): adjust
9379 (breakAgain): adjust
9380 (breakAgainOneRow): adjust
9381 (breakParagraph): adjust
9383 (getRowNearY): adjust, and remove commented code.
9385 * lyxtext.h (firstRow): delete function
9386 (lastRow): delete function
9387 (rows): new function (const and non-const versions.)
9388 (insertRow): delete function
9390 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9392 2003-03-29 John Levon <levon@movementarian.org>
9394 * BufferView_pimpl.C: always update scrollbar top
9395 because pasting text when we're anchored could mean we
9396 miss an update altogether
9398 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9400 * text2.C (init): use rowlist_.end() and not 0.
9401 (insertRow): change to take a RowList::iterator as arg, adjust
9403 (insertParagraph): change to take a RowList::iterator as arg,
9405 (redoParagraphs): remove some debug msgs.
9407 * text.C (appendParagraph): change to take a RowList::iterator
9408 arg, adjust for this.
9409 (breakAgain): add an assert
9410 (breakAgainOneRow): ditto
9412 2003-03-29 John Levon <levon@movementarian.org>
9414 * text2.C: do not clear selection after inc/decDepth
9417 2003-03-29 John Levon <levon@movementarian.org>
9420 * buffer.C: fix broken strerrors according to Lars
9422 2003-03-29 John Levon <levon@movementarian.org>
9424 * converters.C: more Alert cleanups
9426 2003-03-29 John Levon <levon@movementarian.org>
9428 * bufferview_funcs.C: remove pointless Alert
9430 * buffer.C: fix confusing error message when
9431 a template is chmoded 000
9433 2003-03-29 John Levon <levon@movementarian.org>
9437 * BufferView_pimpl.C: Alert fixes
9441 * tabular-old.C: remove unused table compat reading
9443 2003-03-29 John Levon <levon@movementarian.org>
9448 * lyx_cb.C: more Alert cleanups
9450 * lyxfunc.C: don't allow chktex if not latex document
9452 2003-03-29 John Levon <levon@movementarian.org>
9456 * buffer.C: warnings pushed down from support/,
9459 2003-03-29 John Levon <levon@movementarian.org>
9461 * lyxfunc.C: safety check for C-r (revert)
9463 2003-03-29 John Levon <levon@movementarian.org>
9466 * bufferlist.C: several UI fixes using Alert::prompt.
9467 Fix the pointless looping quit code. Fix stupid revert
9472 * lyx_cb.C: use Alert::prompt
9474 * lyx_main.C: remove a silly question
9476 * lyxfunc.C: remove a couple of silly questions,
9479 2003-03-28 John Levon <levon@movementarian.org>
9481 * text2.C: fix bug 974 (End on empty par)
9483 2003-03-28 John Levon <levon@movementarian.org>
9485 * BufferView_pimpl.C:
9487 * lfuns.h: remove do-nothing math greek lfuns
9489 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9491 * lyxgluelength.h (isValidGlueLength): add default arg on
9492 parameter 2. Remove default arg from friend in class.
9494 * lyxlength.h (isValidLength): add default arg on parameter 2.
9495 Remove default arg from friend in class.
9497 * text2.C (LyXText): adjust, initialize refresh_row.
9501 (insertParagraph): adjst
9502 (redoParagraphs): adjust
9503 (fullRebreak): adjust
9504 (updateCounters): adjust
9505 (deleteEmptyParagraphMechanism): first attempt at fixing a
9508 * text.C (top_y): adjust
9509 (setHeightOfRow): adjust
9511 (getRowNearY): adjust
9513 * lyxtext.h: include RowList.h
9514 (~LyXText): not needed anymore, deleted.
9515 (firstRow): modify for RowList
9516 (lastRow): new function
9517 Delete firstrow and lastrow class variables, add a Rowlist
9518 rowlist_ class variable.
9520 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9523 * RowList.C (insert): fix case where it == begin().
9525 2003-03-26 Angus Leeming <leeming@lyx.org>
9527 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9528 the thesaurus dialog.
9530 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9532 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9534 * RowList.[Ch]: new files
9536 * ParagraphList.C (erase): handle the case where it == begin
9539 2003-03-25 John Levon <levon@movementarian.org>
9543 * aspell.C: add new aspell support
9546 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9549 2003-03-25 Angus Leeming <leeming@lyx.org>
9552 * LyXAction.C (init): new LFUN_INSET_INSERT.
9554 * BufferView_pimpl.C (dispatch): split out part of the
9555 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9557 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9560 2003-03-25 Angus Leeming <leeming@lyx.org>
9562 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9564 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9567 * text3.C: remove useless row->height(0)
9569 2003-03-25 John Levon <levon@movementarian.org>
9573 * text3.C: rename the refreshing stuff to better names
9575 2003-03-24 John Levon <levon@movementarian.org>
9577 * BufferView_pimpl.h:
9578 * BufferView_pimpl.C: update layout choice on a mouse
9581 2003-03-23 John Levon <levon@movementarian.org>
9583 * Makefile.am: fix commandtags.h reference
9585 2003-03-22 John Levon <levon@movementarian.org>
9587 * BufferView_pimpl.C:
9592 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9594 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9597 * text.C: take the rtl methods out of line
9599 2003-03-21 André Pönitz <poenitz@gmx.net>
9601 * metricsinfo.[Ch]: new files containing structures to be passed around
9602 during the two-phase-drawing...
9604 2003-03-21 André Pönitz <poenitz@gmx.net>
9606 * lyxtextclass.C: read 'environment' tag.
9608 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9610 * text2.C (removeRow): fix bug 964
9612 2003-03-20 John Levon <levon@movementarian.org>
9616 * text2.C: paint cleanups. Inset::update() dropped font
9619 2003-03-19 John Levon <levon@movementarian.org>
9621 * lyxfunc.C: only fitcursor/markDirty if available()
9623 2003-03-19 John Levon <levon@movementarian.org>
9625 * commandtags.h: rename to ...
9627 * lfuns.h: ... this, and renumber / cleanup
9629 2003-03-19 John Levon <levon@movementarian.org>
9631 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9632 fit the cursor after an lfun
9636 * BufferView_pimpl.h:
9637 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9639 * LyXAction.C: layout-character should have ReadOnly
9641 * ParagraphParameters.C:
9643 * bufferview_funcs.C:
9650 * undo_funcs.C: changes from above
9652 2003-03-18 John Levon <levon@movementarian.org>
9654 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9655 remove it from update()
9657 * lyxfunc.C: update layout choice after an lfun
9659 * text3.C: remove extra updateLayoutChoice()s
9661 2003-03-18 John Levon <levon@movementarian.org>
9663 * text.C: top_y change means full repaint, fix
9664 a drawing bug with cursor movement
9666 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9670 * text2.C: anchor row on setCursor
9672 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9674 * lyxtext.h: remove almost all mutable keywords
9677 * text3.C: remove const keywords accordingly
9679 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9681 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9683 (TeXEnvironment): ditto
9686 2003-03-17 John Levon <levon@movementarian.org>
9688 * text.C (rowBreakPoint): remove attempt to fix displayed
9689 math insets inside a manual label
9691 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9693 * lyxtext.h: remove BufferView* as first arg from almost all class
9695 * other files: adjust.
9697 2003-03-17 John Levon <levon@movementarian.org>
9701 * text2.C: more paint cleanups
9703 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9706 * rowpainter.C: remove "smart" background painting code
9708 2003-03-16 John Levon <levon@movementarian.org>
9713 * text3.C: add helper functions for setting refresh_row/y
9715 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9717 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9718 newline inset which *can* get inserted in the pass_thru layouts.
9719 This is primarily for literate documents.
9721 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9723 * buffer.C: increment LYX_FORMAT to 223
9725 2003-03-14 André Pönitz <poenitz@gmx.net>
9727 * textclass.h: prepare for environment handling, ws changes
9728 * lyxlayout.C: read latexheader and latexfooter tags
9730 2003-03-14 John Levon <levon@movementarian.org>
9732 * text2.C: rewrite ::status() a bit
9734 2003-03-13 John Levon <levon@movementarian.org>
9736 * lyxtext.h: add some docs
9738 2003-03-13 John Levon <levon@movementarian.org>
9743 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9745 2003-03-13 John Levon <levon@movementarian.org>
9747 * text3.C: fix appendix redrawing
9749 2003-03-13 John Levon <levon@movementarian.org>
9751 * text.C (setHeightOfRow):
9753 * rowpainter.C: make appendix mark have the text
9754 "Appendix" so the user knows what it is
9757 * LColor.C: s/appendixline/appendix/ from above
9759 2003-03-13 John Levon <levon@movementarian.org>
9761 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9763 * text.C: fix a getChar(pos) bug properly
9765 2003-03-13 Angus Leeming <leeming@lyx.org>
9768 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9769 Probably only temporary. Let's see how things pan out.
9771 * BufferView.C (unlockInset):
9772 * BufferView_pimpl.C (fitCursor):
9773 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9775 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9776 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9778 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9779 new functions that convert ParagraphParameters to and from a string.
9781 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9782 BufferView::Pimpl's dispatch.
9783 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9785 2003-03-13 André Pönitz <poenitz@gmx.net>
9789 * factory.C: make it aware of InsetEnv
9791 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9793 * text2.C (setCursor): never ask for one past last
9794 (setCursor): add some debugging messages.
9796 * text.C (singleWidth): never ask for one past last
9797 (singleWidth): ditto
9799 (rightMargin): ditto
9800 (rowBreakPoint): ditto
9801 (setHeightOfRow): ditto
9802 (prepareToPrint): ditto
9804 * rowpainter.C (paintBackground): never ask for one past last
9805 (paintText): never ask for one past last
9807 * paragraph_pimpl.C (getChar): make the assert stricter, never
9808 allow the one past last pos to be taken
9810 * paragraph.C (getChar): ws changes only
9812 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9813 (numberOfSeparators): ditto
9814 (numberOfHfills): ditto
9816 2003-03-12 John Levon <levon@movementarian.org>
9822 * paragraph_funcs.C: fix per-buffer authorlists
9824 2003-03-12 John Levon <levon@movementarian.org>
9826 * text.C: fix newline in right address
9828 2003-03-12 Angus Leeming <leeming@lyx.org>
9830 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9831 duplicate those in LyXFunc::dispatch.
9835 * ToolbarDefaults.C:
9836 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9837 Add LFUN_FONTFREE_UPDATE.
9839 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9840 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9842 * bufferview_func.[Ch]: several new functions to facilliate
9843 transfer of data to and from the character dialog.
9845 2003-03-12 John Levon <levon@movementarian.org>
9850 * paragraph_funcs.C:
9851 * paragraph_pimpl.C:
9855 * text3.C: remove META_NEWLINE in favour of an inset
9858 * rowpainter.C: remove paintNewline (done by inset)
9860 2003-03-12 John Levon <levon@movementarian.org>
9862 * paragraph_pimpl.C: complain about bad getChar()s
9863 for a while at least
9865 2003-03-12 John Levon <levon@movementarian.org>
9868 * buffer.C: move paragraph read into a separate function,
9869 a little renaming to reflect that.
9872 * bufferparams.C: remove the author_ids map, not necessary now
9875 * factory.C: moved Buffer::readInset to here
9877 * paragraph_funcs.h:
9878 * paragraph_funcs.C: readParagraph free function moved from
9881 * tabular.C: name change
9883 2003-03-12 John Levon <levon@movementarian.org>
9886 * ParagraphParameters.C: move par params input to
9889 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9890 behave like a normal read from the stream wrt reading
9891 a line vs. a \\token
9893 2003-03-12 John Levon <levon@movementarian.org>
9896 * ParagraphParameters.h:
9897 * ParagraphParameters.C: move output code to a
9900 2003-03-12 John Levon <levon@movementarian.org>
9902 * BufferView.C (insertLyXFile):
9905 * tabular.C: use a parlist iterator for creating the
9908 2003-03-12 John Levon <levon@movementarian.org>
9910 * buffer.C: make current_change static local not
9913 2003-03-12 John Levon <levon@movementarian.org>
9915 * buffer.C: fix insertStringAsLines for change tracking
9917 2003-03-12 John Levon <levon@movementarian.org>
9924 * bufferparams.C: move author list into params. Rename some
9925 functions. Move the header reading into a separate token
9926 loop. Move the header token reading into BufferParams.
9928 2003-03-12 John Levon <levon@movementarian.org>
9930 * changes.C: put debug inside lyxerr.debugging() checks
9932 2003-03-11 André Pönitz <poenitz@gmx.net>
9934 * factory.C: make it aware of InsetHFill
9936 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9938 * buffer.C (latexParagraphs): move function from here...
9939 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9942 2003-03-10 Angus Leeming <leeming@lyx.org>
9944 * LyXAction.C (init): fix bug in poplating array with multiple entries
9945 with the same LFUN (spotted by JMarc).
9947 2003-03-10 John Levon <levon@movementarian.org>
9950 * text2.C: move getColumnNearX() near its
9953 2003-03-10 John Levon <levon@movementarian.org>
9955 * text.C: fix break before a minipage
9957 2003-03-10 John Levon <levon@movementarian.org>
9959 * text.C: fix the last commit
9961 2003-03-09 John Levon <levon@movementarian.org>
9965 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9966 bug 365 (don't break before insets unless needed). Don't
9967 return a value > last under any circumstances.
9969 2003-03-09 Angus Leeming <leeming@lyx.org>
9971 * BufferView_pimpl.C (trackChanges, dispatch): call
9972 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9974 2003-03-09 Angus Leeming <leeming@lyx.org>
9976 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9977 than Dialogs::showAboutlyx().
9979 2003-03-09 Angus Leeming <leeming@lyx.org>
9981 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9982 than Dialogs::showTabularCreate().
9984 2003-03-09 John Levon <levon@movementarian.org>
9988 * text2.C: 3rd arg to nextBreakPoint was always the same.
9991 2003-03-08 John Levon <levon@movementarian.org>
9998 * text2.C: Remove the "main" bit from the "main body"
10001 2003-03-08 John Levon <levon@movementarian.org>
10003 * text.C (leftMargin): The left margin of an empty
10004 manual label paragraph should not include the label width
10007 * text.C (prepareToPrint): don't attempt to measure hfills
10008 for empty manual label paragraphs - the answer should be 0
10010 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10012 * CutAndPaste.C: remove commented code and reindent.
10014 2003-03-08 John Levon <levon@movementarian.org>
10017 * lyxfunc.C: move reloadBuffer()
10020 * BufferView.C: to here
10022 * lyxvc.C: add comment
10025 * vc-backend.C: call bv->reload() to avoid
10026 getStatus() check on MENURELOAD
10028 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
10030 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
10031 to an old format .dep file.
10033 2003-03-07 Angus Leeming <leeming@lyx.org>
10035 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
10036 when the LFUN_MOUSE_RELEASE should have been handled by
10037 inset->localDispatch.
10039 2003-03-07 Angus Leeming <leeming@lyx.org>
10041 * BufferView_pimpl.C (dispatch):
10042 * LyXAction.C (init):
10043 * ToolbarDefaults.C (init):
10045 * lyxfunc.C (getStatus):
10046 remove LFUN_INSET_GRAPHICS.
10048 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
10050 2003-03-07 Angus Leeming <leeming@lyx.org>
10053 * LyXAction.C (init):
10054 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
10056 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
10059 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
10061 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
10062 localDispatch method LFUN_INSET_DIALOG_UPDATE.
10064 2003-03-07 Angus Leeming <leeming@lyx.org>
10066 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
10069 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10071 * ParagraphList.C (front): new function
10074 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
10076 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
10077 and top_row_offset_. removed var first_y.
10079 * text2.C (LyXText, removeRow):
10081 * BufferView_pimpl.C:
10082 use these methods instead of using first_y
10084 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10086 * text2.C (pasteSelection): adjust for checkPastePossible
10088 * CutAndPaste.C: remove Paragraph * buf and replace with
10089 ParagraphList paragraphs.
10090 (DeleteBuffer): delete
10091 (cutSelection): change the tc type to textclass_type
10092 (copySelection): change the tc type to textclass_type
10093 (copySelection): adjust for ParagraphList
10094 (pasteSelection): change the tc type to textclass_type
10095 (pasteSelection): adjust for Paragraphlist
10096 (nrOfParagraphs): simplify for ParagraphList
10097 (checkPastePossible): simplify for ParagraphList
10098 (checkPastePossible): remove unused arg
10100 * ParagraphList.C (insert): handle the case where there are no
10103 * CutAndPaste.h: make CutAndPaste a namespace.
10105 * text3.C (dispatch): adjust
10107 * text.C (breakParagraph): add a ParagraphList as arg
10109 * paragraph_funcs.C (breakParagraph): change to take a
10110 BufferParams and a ParagraphList as args.
10111 (breakParagraphConservative): ditto
10112 (mergeParagraph): ditto
10113 (TeXDeeper): add a ParagraphList arg
10114 (TeXEnvironment): ditto
10117 * buffer.C (readLyXformat2): adjust
10118 (insertStringAsLines): adjust
10119 (latexParagraphs): adjust
10121 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
10122 (cutSelection): adjust
10123 (pasteSelection): adjust
10125 * BufferView_pimpl.C (insertInset): adjust
10127 2003-03-05 Angus Leeming <leeming@lyx.org>
10130 * LyXAction.C (init):
10131 * BufferView_pimpl.C (dispatch):
10132 * lyxfunc.C (getStatus):
10133 remove LFUN_CHILD_INSERT.
10135 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
10137 2003-03-05 Angus Leeming <leeming@lyx.org>
10140 * LyXAction.C (init):
10141 * src/factory.C (createInset):
10142 * lyxfunc.C (getStatus):
10143 * text3.C (dispatch):
10144 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
10146 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
10148 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10150 * ParagraphList.C (insert): handle insert right before end()
10151 (erase): fix cases where it can be first or last paragraph.
10153 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10155 * paragraph_funcs.C (TeXEnvironment): remove all usage of
10156 Paragraph::next and Paragraph::previous
10159 * text.C (breakParagraph): adjust
10161 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
10162 BufferParams& as arg.
10163 (breakParagraph): use ParagraphList::insert
10164 (breakParagraphConservative): take a Buffer* instead of a
10165 BufferParams& as arg.
10166 (breakParagraphConservative): use ParagraphList::insert.
10168 * buffer.C (insertStringAsLines): un-const it
10169 (insertStringAsLines): adjust
10171 * ParagraphList.C (insert): new function
10173 * CutAndPaste.C (pasteSelection): adjust
10175 * text.C (backspace): adjust
10177 * tabular.C (SetMultiColumn): adjust
10179 * CutAndPaste.C (cutSelection): adjust
10180 (pasteSelection): adjust
10182 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
10183 Buffer const * as arg
10185 * ParagraphList.C (erase): new function
10186 * paragraph_funcs.C (mergeParagraph): use it
10187 (mergeParagraph): make it take a Buffer* instead of a
10188 BufferParams* as arg
10190 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10192 (breakParagraphConservative): ditto
10194 * paragraph.h: remove the breakParagraph friend
10196 * paragraph.C (eraseIntern): new function
10197 (setChange): new function
10199 * paragraph_funcs.C (mergeParagraph): make it take a
10200 ParagraphList::iterator instead of a Paragraph *, adjust
10203 * paragraph.h: move an #endif so that the change tracking stuff
10204 also works in the NO_NEXT case.
10206 2003-03-04 Angus Leeming <leeming@lyx.org>
10209 * LyXAction.C: new LFUN_INSET_MODIFY.
10211 * BufferView_pimpl.C (dispatch): if an inset is found to be open
10212 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10214 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10216 * several files: ws changes only
10218 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10219 (TeXEnvironment): ditto
10222 * buffer.C (makeLaTeXFile): adjust
10223 (latexParagraphs): make it take ParagraphList::iterator as args
10225 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
10227 * buffer.C (latexParagraphs): adjust
10229 * paragraph.C (TeXOnePar): move function...
10230 (optArgInset): move function...
10231 (TeXEnvironment): move function...
10232 * paragraph_pimpl.C (TeXDeeper): move function...
10233 * paragraph_funcs.C: ...here
10235 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10237 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10239 * buffer.C (readInset): remove compability code for old Figure and
10242 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10244 * buffer.C: ws changes
10247 * BufferView_pimpl.C: ditto
10250 * bufferlist.h: ditto
10254 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
10256 * converter.[Ch]: split into itself +
10259 * Makefile.am: += graph.[Ch] + format.[Ch]
10266 * lyxrc.C: added #include "format.h"
10268 2003-02-27 Angus Leeming <leeming@lyx.org>
10270 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10273 * factory.C (createInset): add "label" to the factory.
10275 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10276 string and do no more.
10278 2003-02-27 Angus Leeming <leeming@lyx.org>
10281 * LyXAction.C (init):
10282 * factory.C (createInset):
10283 * BufferView_pimpl.C (dispatch):
10284 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10286 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10288 * lyxfunc.C (dispatch):
10289 * text3.C (dispatch): pass name to params2string.
10291 2003-02-26 Angus Leeming <leeming@lyx.org>
10293 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10295 Rearrange the ~includes. Strip out the unnecessary ones.
10297 * factory.C (createInset): reformat.
10298 create new insets for the various LFUN_XYZ_APPLY lfuns.
10300 2003-02-26 John Levon <levon@movementarian.org>
10303 * lyxrow.C: add isParStart,isParEnd helpers
10305 * paragraph.h: make isInserted/DeletedText take refs
10307 * paragraph_funcs.h:
10308 * paragraph_funcs.C: remove #if 0'd code
10313 * text.C: use lyxrow helpers above.
10314 Move draw and paint routines to RowPainter.
10315 Make several methods use refs not pointers.
10316 Make backgroundColor() const.
10317 Add markChangeInDraw(), isInInset().
10318 Merge changeRegionCase into changeCase.
10319 Make workWidth() shouldn't-happen code into an Assert.
10322 * rowpainter.C: new class for painting a row.
10325 * vspace.C: make inPixels take a ref
10327 2003-02-26 Angus Leeming <leeming@lyx.org>
10329 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10332 2003-02-25 John Levon <levon@movementarian.org>
10334 * ispell.C: give the forked command a more accurate name
10336 2003-02-22 John Levon <levon@movementarian.org>
10339 * toc.C: make TocItem store an id not a Paragraph *
10342 2003-02-21 Angus Leeming <leeming@lyx.org>
10344 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10345 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10346 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10347 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10348 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10349 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10351 * BufferView_pimpl.C (dispatch):
10352 * LyXAction.C (init):
10353 * factory.C (createInset):
10354 * lyxfunc.C (getStatus, dispatch):
10355 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10357 2003-02-21 Angus Leeming <leeming@lyx.org>
10359 * BufferView_pimpl.C (MenuInsertLyXFile):
10360 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10361 * lyxfunc.C (menuNew, open, doImport):
10362 no longer pass a LyXView & to fileDlg.
10364 2003-02-21 Angus Leeming <leeming@lyx.org>
10366 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10367 * LyXAction.C: change, BIBKEY to BIBITEM.
10368 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10369 Change InsetBibKey to InsetBibitem.
10370 Change BIBKEY_CODE to BIBITEM_CODE.
10371 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10372 * factory.C: replace insetbib.h with insetbibitem.h.
10373 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10374 * paragraph.C: replace insetbib.h with insetbibitem.h.
10375 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10376 Change bibkey() to bibitem().
10377 * text.C: remove insetbib.h.
10378 * text2.C: replace insetbib.h with insetbibitem.h.
10379 change bibkey() to bibitem().
10380 * text3.C: remove insetbib.h.
10381 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10383 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10385 * lyxrc.C (output): enclose user email in quotes (in case there are
10388 2003-02-18 John Levon <levon@movementarian.org>
10390 * buffer.h: add std::
10392 2003-02-17 John Levon <levon@movementarian.org>
10398 * pspell.C: reworking. Especially in ispell, a large
10399 number of clean ups and bug fixes.
10401 * lyxfunc.C: fix revert to behave sensibly
10403 2003-02-17 André Pönitz <poenitz@gmx.net>
10406 * commandtags.h: new LFUN_INSERT_BIBKEY
10416 * paragraph_func.C: remove special bibkey handling
10418 2003-02-17 John Levon <levon@movementarian.org>
10420 * text.C (Delete): fix case where delete at the end of
10421 the very first paragraph would not merge the pars
10423 2003-02-17 John Levon <levon@movementarian.org>
10425 * lyxrow.C: fix lastPrintablePos()
10427 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10429 * bufferparams.C (writeLaTeX): add a std:here
10431 * buffer.C: and remove a using directive there
10433 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10435 * buffer.C (makeLaTeXFile): move the code that generates the
10438 * bufferparams.C (writeLaTeX): ... in this new method
10440 * LaTeXFeatures.C (getEncodingSet): make const
10441 (getLanguages): make const
10443 * MenuBackend.C (binding): returns the binding associated to this
10445 (add): sets the status of each item by calling getStatus. Adds
10447 (read): add support for OptSubMenu
10448 (expand): remove extra separator at the end of expanded menu
10450 2003-02-15 John Levon <levon@movementarian.org>
10453 * BufferView_pimpl.C:
10455 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10456 inset code that had no actual effect. Remove unneeded status
10459 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10461 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10464 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10466 * text.C (drawLengthMarker): also draw an arrow marker for
10467 symbolic lengths (medskip...)
10469 2003-02-14 John Levon <levon@movementarian.org>
10472 * tabular.C: better method names
10474 2003-02-14 John Levon <levon@movementarian.org>
10476 * BufferView_pimpl.C:
10481 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10482 it's a more accurate name. Remove some pointless uses.
10484 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10486 * text2.C (LyXText): change order of initilizers to shut off
10489 2003-02-14 John Levon <levon@movementarian.org>
10491 * buffer.C: use ParIterator for getParFromID()
10495 * paragraph_pimpl.h:
10496 * paragraph_pimpl.C: remove unused getParFromID()
10498 2003-02-14 John Levon <levon@movementarian.org>
10500 * buffer.C: remove some very old #if 0'd parse code
10502 2003-02-13 John Levon <levon@movementarian.org>
10506 * text2.C: move hfillExpansion(), numberOfSeparators(),
10507 rowLast(), rowLastPrintable(), numberofHfills(),
10508 numberOfLabelHfills() ...
10511 * lyxrow.C: ... to member functions here.
10516 * text.C: remove LyXText::beginningOfMainBody(), and call
10517 p->beginningOfMainBody() directly. Move the check for
10518 LABEL_MANUAL into the latter.
10525 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10531 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10532 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10534 2003-02-13 John Levon <levon@movementarian.org>
10536 * CutAndPaste.C: remove debug
10538 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10540 * paragraph.C (asString): remove two unused variables
10542 * lyxtextclass.C (readTitleType):
10544 (LyXTextClass): handle new members titletype_ and titlename_
10546 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10548 2003-02-09 John Levon <levon@movementarian.org>
10551 * buffer.C: replace hand-coded list with a map for the dep clean
10553 2003-02-08 John Levon <levon@movementarian.org>
10555 * LaTeX.C: consolidate code into showRunMessage() helper
10557 2003-02-08 John Levon <levon@movementarian.org>
10562 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10563 and pass the size in explicitly
10565 * BufferView_pimpl.h:
10566 * BufferView_pimpl.C:
10568 * BufferView.C: add getCurrentChange()
10570 * BufferView_pimpl.h:
10571 * BufferView_pimpl.C: handle change lfuns
10573 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10574 for changes. Mark pasted paragraphs as new.
10576 * support/lyxtime.h:
10577 * support/lyxtime.C:
10578 * DepTable.C: abstract time_t as lyx::time_type
10581 * LColor.C: add colours for new text, deleted text, changebars
10583 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10584 package use "usenames" option.
10588 * LyXAction.C: add change lfuns
10592 * author.C: author handling
10595 * buffer.C: add a per-buffer author list, with first entry as
10596 current author. Handle new .lyx tokens for change tracking. Output
10597 author list to .lyx file. Output dvipost stuff to .tex preamble.
10598 Bump lyx format to 222.
10601 * bufferlist.C: add setCurrentAuthor() to reset current author details
10605 * bufferparams.C: add param for tracking
10607 * bufferview_funcs.C: output change info in minibuffer
10611 * changes.C: add change-tracking structure
10614 * debug.C: add CHANGES debug flag
10617 * lyxfind.C: add code for finding the next change piece
10620 * lyxrc.C: add user_name and user_email
10623 * lyxrow.C: add a metric for the top of the text line
10626 * text.C: implement accept/rejectChange()
10629 * text.C: paint changebars. Paint new/deleted text in the chosen
10630 colours. Strike through deleted text.
10634 * paragraph_pimpl.h:
10635 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10636 in the current change to the insert functions. Rework erase to
10637 mark text as deleted, adding an eraseIntern() and a range-based
10638 erase(). Implement per-paragraph change lookup and
10641 * paragraph_funcs.C: Fixup paste for change tracking.
10643 * tabular.C: mark added row/columns as new.
10645 * text.C: fix rowLast() to never return -1. Don't allow
10646 spellchecking of deleted text. Track transpose changes. Don't
10647 allow paragraph break or merge where appropriate.
10649 * text2.C: leave cursor at end of selection after a cut.
10651 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10653 * text.C (getLengthMarkerHeight):
10654 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10655 visible on screen too.
10657 2003-02-07 John Levon <levon@movementarian.org>
10659 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10661 2003-02-05 Angus Leeming <leeming@lyx.org>
10663 * lyxserver.C (read_ready): revert my patch of 11 September last year
10664 as it sends PC cpu through the roof. Presumably this means that
10665 the lyxserver will no longer run on an Alpha...
10667 2003-01-30 Angus Leeming <leeming@lyx.org>
10669 * factory.C (createInset): create an InsetCommandParam of type "index"
10670 and use it to 'do the right thing'.
10672 * text2.C (getStringToIndex): ensure that cursor position is always
10673 reset to the reset_cursor position.
10675 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10677 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10680 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10684 * lyxfunc.C: Output messages with identical spelling, punctuation,
10687 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10689 * MenuBackend.C (expandFormats): List only viewable export formats
10692 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10695 * lyxfunc.C (getStatus): Make sure that formats other than
10696 "fax" can also be disabled
10698 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10700 * text3.C (dispatch): put the lfuns that insert insets in 3
10701 groups, and call doInsertInset with appropriate arguments.
10702 (doInsertInset): new function, that creates an inset and inserts
10703 it according to some boolean parameters.
10705 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10707 * buffer.C (readFile): remember to pass on 'par' when calling
10708 readFile recursively.
10710 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10712 * MenuBackend.C (expandFormats): add "..." to import formats.
10714 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10716 * paragraph.C (asString): Remove XForms RTL hacks.
10718 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10719 * buffer.C: fix typo
10721 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10723 * Makefile.am (LIBS): delete var
10724 (lyx_LDADD): add @LIBS@ here instead.
10726 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10728 * Clarify the meaning of "wheel mouse jump"
10730 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10732 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10735 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10737 * importer.C (Loaders): do not preallocate 3 elements in the
10738 vector, since one ends up with 6 elements otherwise
10740 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10742 * DepTable.C (write): write the file name as last element of the
10743 .dep file (because it may contain spaces)
10744 (read): read info in the right order
10746 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10748 * paragraph_pimpl.C (simpleTeXBlanks):
10749 (simpleTeXSpecialChars):
10750 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10752 * tabular.C (latex): add some missing case statements. Reindent.
10754 * MenuBackend.C (expandToc): remove unused variable.
10756 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10765 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10768 2003-01-05 John Levon <levon@movementarian.org>
10771 * BufferView.C: add getEncoding()
10774 * kbsequence.C: do not store last keypress
10777 * lyxfunc.C: store last keypress here instead. Pass encoding
10780 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10782 * lyx_main.C (init): remove annoying error message when following
10783 symbolic links (bug #780)
10785 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10787 * text.C (insertChar):
10788 * lyxrc.C (getDescription): remove extra spaces
10790 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10792 * lyxrc.C (getDescription): remove extra spaces
10794 2002-12-20 John Levon <levon@movementarian.org>
10796 * text3.C: hack fix for page up/down across tall rows
10798 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10800 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10803 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10805 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10806 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10807 thesaurus is not compiled in
10809 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10811 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10813 2002-12-16 Angus Leeming <leeming@lyx.org>
10816 * lyx_main.C (init): remove override_x_deadkeys stuff.
10818 2002-12-12 John Levon <levon@movementarian.org>
10820 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10821 insert. Only remove shift modifier under strict
10824 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10826 * MenuBackend.C (expandToc): fix crash.
10828 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10830 * MenuBackend.C (expandToc): gettext on float names.
10832 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10834 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10835 implement bool empty() [bug 490]
10837 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10839 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10841 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10843 * several files: ws changes
10845 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10847 * text2.C (setCounter): clean up a bit, use boost.format.
10848 (updateCounters): initialize par upon declaration.
10850 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10851 if the layout exists. We do not just store the layout any more.
10852 (SwitchLayoutsBetweenClasses): use boost.format
10854 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10856 * converter.C (convert): if from and to files are the same, use a
10857 temporary files as intermediary
10859 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10862 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10864 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10866 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10868 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10870 * tabular.C (asciiPrintCell): use string(size, char) instead of
10873 * sgml.C (openTag): fix order of arguments to string constructor
10876 * lyxfunc.C (dispatch): use boost.format
10878 * lots of files: change "c" -> 'c'
10880 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10882 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10884 2002-11-25 Angus Leeming <leeming@lyx.org>
10886 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10888 * lyx_main.C (init): compile fix.
10890 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10892 * lyx_cb.C (start): boost.formatify
10893 do not include <iostream>
10895 * lengthcommon.C: ws only
10897 * boost-inst.C,BoostFormat.h: add more explict instantations
10899 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10901 * lots of files: handle USE_BOOST_FORMAT
10903 2002-11-21 John Levon <levon@movementarian.org>
10905 * pspell.C: fix compile
10907 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10909 * lyxfunc.C (dispatch): use boost::format
10913 * lyxfont.C (stateText): use boost::format
10915 * lyx_main.C (LyX): use boost::format
10917 (queryUserLyXDir): ditto
10918 (readRcFile): ditto
10920 (typedef boost::function): use the recommened syntax.
10922 * importer.C (Import): use boost::format
10924 * debug.C (showLevel): use boost::format
10926 * converter.C (view): use boost::format
10931 * bufferview_funcs.C (currentState): use boost::format
10933 * bufferlist.C (emergencyWrite): use boost::format
10935 * buffer.C (readLyXformat2): use boost::format
10936 (parseSingleLyXformat2Token): ditto
10938 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10940 * LaTeX.C (run): use boost::format
10942 * Chktex.C (scanLogFile): use boost::format
10944 * BufferView_pimpl.C (savePosition): use boost::format
10945 (restorePosition): ditto
10946 (MenuInsertLyXFile): ditto
10948 * BoostFormat.h: help file for explicit instation.
10950 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10952 * tabular.C (latex): Support for block alignment in fixed width
10955 2002-11-17 John Levon <levon@movementarian.org>
10957 * BufferView_pimpl.C:
10959 * lyxfunc.C: split filedialog into open/save
10961 2002-11-08 Juergen Vigna <jug@sad.it>
10963 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10964 by my last patch (hopefully).
10966 2002-11-08 John Levon <levon@movementarian.org>
10975 * toc.C: ParConstIterator, and use it (from Lars)
10977 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10979 * lyxtextclass.[Ch]: revise and add doxygen comments
10981 2002-11-07 John Levon <levon@movementarian.org>
10983 * text.C: fix progress value for spellchecker
10985 * toc.C: fix navigate menu for insetwrap inside minipage
10987 * paragraph_funcs.C: added FIXME for suspect code
10989 2002-11-07 John Levon <levon@movementarian.org>
10991 * BufferView_pimpl.C: fix redrawing of insets
10994 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10996 * text2.C (updateCounters): fix bug 668
10998 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
11000 * text3.C (dispatch): Do not make the buffer dirty when moving the
11003 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
11005 * vc-backend.C: STRCONV
11006 (scanMaster): ditto
11008 * text2.C (setCounter): STRCONV
11010 * paragraph.C (asString): STRCONV
11012 * lyxlength.C (asString): STRCONV
11013 (asLatexString): ditto
11015 * lyxgluelength.C (asString): STRCONV
11016 (asLatexString): ditto
11018 * lyxfunc.C (dispatch): STRCONV
11021 * lyxfont.C (stateText): STRCONV
11023 * importer.C (Import): STRCONV
11025 * counters.C (labelItem): STRCONV
11026 (numberLabel): ditto
11027 (numberLabel): remove unused ostringstream o
11032 * bufferview_funcs.C (currentState): STRCONV
11034 * buffer.C (readFile): STRCONV
11035 (asciiParagraph): ditto
11036 (makeLaTeXFile): ditto
11038 * Spacing.C (writeEnvirBegin): STRCONV
11040 * LaTeXFeatures.C (getLanguages): STRCONV
11041 (getPackages): ditto
11043 (getBabelOptions): ditto
11044 (getTClassPreamble): ditto
11045 (getLyXSGMLEntities): ditto
11046 (getIncludedFiles): ditto
11050 (scanAuxFile): ditto
11053 * LString.h: add the STRCONV macros
11055 * BufferView_pimpl.C (savePosition): STRCONV
11056 (restorePosition): ditto
11057 (MenuInsertLyXFile): ditto
11059 * vc-backend.C (scanMaster): change from submatch[...] to
11062 * funcrequest.C: include config.h
11064 * factory.C: include config.h
11066 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
11068 * box.C: include config.h
11070 * LaTeX.C (scanAuxFile): change from submatch[...] to
11074 2002-10-25 Angus Leeming <leeming@lyx.org>
11076 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
11078 * ispell.[Ch] (setError): new method.
11079 * ispell.C (c-tor): move out child process into new class LaunchIspell.
11080 Use setError() insetead of goto END.
11082 * lyx_cb.C (AutoSave): move out child process into new class
11085 2002-10-30 John Levon <levon@movementarian.org>
11087 * text3.C: make start appendix undoable
11089 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
11091 * lyxlength.C (inPixels): Fix returned value.
11093 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
11096 2002-10-24 Angus Leeming <leeming@lyx.org>
11098 * lyxgluelength.h: no need to forward declare BufferParams
11099 or BufferView, so don't.
11101 2002-10-21 John Levon <levon@movementarian.org>
11103 * BufferView.C: menuUndo ->undo, redo
11105 * BufferView.h: document, remove dead, make some methods private
11107 * paragraph_funcs.h:
11108 * paragraph_funcs.C:
11109 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
11114 * sgml.C: move sgml open/close tag into sgml.C
11116 * bufferview_funcs.h: unused prototype
11119 * lyxfunc.C: remove unused
11122 * text.C: remove unused
11124 2002-10-21 John Levon <levon@movementarian.org>
11128 * BufferView_pimpl.h:
11129 * BufferView_pimpl.C: fix mouse wheel handling based on
11130 patch from Darren Freeman
11132 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
11134 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
11136 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
11138 * lyxlength.C (inPixels): Fix hanfling of negative length.
11139 Fix LyXLength::MU case.
11141 2002-10-16 John Levon <levon@movementarian.org>
11143 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
11145 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11147 * converter.C (view): add support for $$i (file name) and $$p
11148 (file path) for the viewer command. If $$i is not specified, then
11149 it is appended to the command (for compatibility with old syntax)
11151 2002-10-14 Juergen Vigna <jug@sad.it>
11153 * undo_funcs.C (textHandleUndo): alter the order in which the
11154 new undopar is added to the LyXText, as we have to set first
11155 the right prev/next and then add it as otherwise the rebuild of
11156 LyXText is not correct. Also reset the cursor to the right paragraph,
11157 with this IMO we could remove the hack in "redoParagraphs()".
11159 2002-10-09 Angus Leeming <leeming@lyx.org>
11161 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
11162 to turn off an optimisation if a new inset is to be inserted.
11164 2002-10-11 André Pönitz <poenitz@gmx.net>
11166 * lyxtext.h: make some functions public to allow access
11167 from inset/lyxtext for handling LFUN_PRIOR/NEXT
11169 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11171 * text3.C (dispatch): when changing layout, avoid an infinite loop
11174 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11176 * lyxrc.C (read): treat a viewer or converter command of "none" as
11179 * MenuBackend.C (expandFormats): for an update, also allow the
11180 formats that are not viewable
11182 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
11183 script if it is newer than the lyxrc.defaults in user directory
11185 2002-10-07 André Pönitz <poenitz@gmx.net>
11187 * text.C: Vitaly Lipatov's small i18n fix
11189 2002-09-25 Angus Leeming <leeming@lyx.org>
11191 * ispell.h: doxygen fix.
11193 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
11195 * buffer.h (readFile): Add a new argument to the method, to allow
11196 reading of old-format templates.
11198 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
11200 * toc.C (getTocList): Get TOC from InsetWrap.
11202 2002-09-16 John Levon <levon@movementarian.org>
11204 * lyxfunc.C: check tabular for cut/copy too
11206 2002-09-12 John Levon <levon@movementarian.org>
11208 * LyXAction.C: tidy
11211 * factory.C: add header
11213 * paragraph_funcs.h:
11214 * paragraph_funcs.C: cleanup
11216 2002-09-11 John Levon <levon@movementarian.org>
11218 * PrinterParams.h: odd/even default to true
11220 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
11222 * PrinterParams.h: update printer parameters for new xforms dialog
11224 2002-09-11 Angus Leeming <leeming@lyx.org>
11226 * lyxserver.C (read_ready): re-write to make it more transparent
11227 and to make it work in coherent fashion under Tru64 Unix.
11229 2002-09-11 André Pönitz <poenitz@gmx.net>
11233 * text3.C: implement LFUN_WORDSEL
11235 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11237 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11238 make floatlist_ a boost::shared_ptr<FloatList>
11240 * lyxtextclass.C: include FloatList.h
11241 (LyXTextClass): initialize floatlist_
11242 (TextClassTags): add TC_NOFLOAT
11243 (Read): match "nofloat" to TC_NOFLOAT and use it.
11244 (readFloat): modify call to floatlist_
11248 * FloatList.[Ch] (FloatList): remove commented out float
11250 (erase): new function
11252 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11254 * MenuBackend.C (expandToc): fix crash when there is no document
11257 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
11259 * many files: Add insetwrap.
11261 2002-09-09 John Levon <levon@movementarian.org>
11263 * text2.C: remove confusing and awkward depth wraparound
11265 2002-09-09 John Levon <levon@movementarian.org>
11267 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11270 * buffer.C: remove getIncludeonlyList()
11273 * lyxfunc.C: remove headers
11275 2002-09-09 Juergen Vigna <jug@sad.it>
11277 * text.C (getColumnNearX): fix form Michael this is most
11278 probably a cut&paste bug.
11280 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
11282 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11284 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11285 references, ws changes.
11287 * text2.C (init): update counters after init
11288 (insertParagraph): no need to set counter on idividual paragraphs.
11289 (setCounter): access the counters object in the textclass object
11290 on in the buffer object.
11291 (updateCounters): ditto
11293 * lyxtextclass.C: include counters.h, add variable ctrs_ as
11294 shared_ptr<Counters> to avoid loading counters.h in all
11296 (LyXTextClass): initialize ctrs_
11297 (TextClassTags): add TC_COUNTER, and ...
11298 (Read): use it here.
11299 (CounterTags): new tags
11300 (readCounter): new function
11301 (counters): new funtion
11302 (defaultLayoutName): return a const reference
11304 * counters.C (Counters): remove contructor
11305 (newCounter): remove a couple of unneeded statements.
11306 (newCounter): simplify a bit.
11307 (numberLabel): some small formatting changes.
11309 * buffer.[Ch]: remove all traces of counters, move the Counters
11310 object to the LyXTextClass.
11312 2002-09-06 Alain Castera <castera@in2p3.fr>
11314 * tabular.C: uses \tabularnewline; uses >{...} construct from array
11315 package to set the horizontal alignment on fixed width columns.
11318 * lyx_sty.h: added tabularnewline macro def.
11320 * LaTeXFeatures.C: added NeedTabularnewline macro feature
11322 2002-09-06 John Levon <levon@movementarian.org>
11324 * LyXAction.C: tooltips for sub/superscript
11326 * MenuBackend.C: a bit more verbose
11328 * lyxfunc.C: tiny clean
11330 * undo_funcs.C: document undo_frozen
11332 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
11334 * counters.C (Counters): add missing algorithm counter.
11336 * text2.C (setCounter): lookup the counter with layouts latexname
11337 instead of by section number.
11338 (setCounter): use a hackish way to lookup the correct enum
11340 a float name->type change
11341 reset enum couners with counter name directly instead of depth value.
11343 * counters.C (Counters): remove the push_backs, change to use the
11344 float type not the float name.
11345 (labelItem): remove unused string, float name->type change
11347 * counters.h: don't include vector, loose the enums and sects vectors
11349 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
11351 * lyxtextclass.C (TextClassTags): add TC_FLOAT
11352 (Read): add float->TC_FLOAT to textclassTags
11353 (Read): and handle it in the switch
11354 (readFloat): new function
11356 * FloatList.C (FloatList): comment out the hardcoded float
11359 * lyxlayout.h: ws change.
11361 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
11363 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11365 2002-09-03 Angus Leeming <leeming@lyx.org>
11367 * BufferView_pimpl.h: qualified name is not allowed in member
11368 declaration: WorkArea & Pimpl::workarea() const;
11370 * factory.C: added using std::endl directive.
11372 * text3.C: added using std::find and std::vector directives.
11374 2002-08-29 André Pönitz <poenitz@gmx.net>
11377 * text2.C: remove unused member number_of_rows
11380 * BufferView2.C: remove file, move contents to...
11381 * BufferView.C: ... here
11383 * BufferView_pimpl.C:
11384 * factory.C: move more inset creation to factory
11386 * vspace.C: avoid direct usage of LyXText, ws changes
11389 don't provide direct access to WorkArea, use two simple
11390 acessors haveSelction() and workHeight() instead
11393 2002-08-29 John Levon <levon@movementarian.org>
11395 * BufferView_pimpl.C (dispatch): do not continue when
11398 2002-08-28 André Pönitz <poenitz@gmx.net>
11400 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11403 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11405 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
11407 * buffer.C: increment LYX_FORMAT to 221
11409 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11410 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11412 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11414 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11416 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11418 * factory.C (createInset): use LyXTextClass::floats
11420 * MenuBackend.C (expandFloatListInsert):
11421 (expandFloatInsert):
11424 * text2.C (setCounter):
11426 * LaTeXFeatures.C (useFloat):
11427 (getFloatDefinitions):
11429 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11431 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11432 floatlist_, with accessor floats().
11434 * FloatList.h: remove global FloatList
11436 2002-08-26 André Pönitz <poenitz@gmx.net>
11438 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11442 * BufferView_pimpl.C:
11443 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11445 2002-08-25 John Levon <levon@movementarian.org>
11447 * LyXAction.C: fix margin note description
11449 2002-08-24 John Levon <levon@movementarian.org>
11453 * bufferview_funcs.C:
11455 * undo_funcs.C: cleanups
11457 * lyxfunc.C: disable CUT/COPY when no selection
11459 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11461 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11462 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11464 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11465 Add backward compatibility to "mono", "gray" and "no".
11467 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11469 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11470 (and file_format >= 200).
11472 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11474 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11476 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11478 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11480 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11482 * BufferView_pimpl.C:
11489 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11490 inset and code to make it work with the paragraph code. The inset
11491 can be anywhere in the paragraph, but will only do the expected
11492 thing in LaTeX if the layout file contains the parameter line
11494 (or more generally, a nonzero value) for that layout.
11496 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11498 * paragraph.h: remove the declaration of undefined counters class
11501 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11503 * text2.C (setCounter): fixed enumeration mis-count as reported by
11504 Dr. Richard Hawkins.
11506 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11508 * paragraph_funcs.h: remove some unneeded includes
11510 * text.C (backspace): pasteParagraph now in global scipe
11512 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11513 (pasteSelection): ditto
11515 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11516 * paragraph_funcs.C (pasteParagraph): ... here
11518 2002-08-20 André Pönitz <poenitz@gmx.net>
11520 * commandtags.h: new LFUNs for swapping/copying table row/colums
11523 * lyxfunc.C: support for new lfuns
11525 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11528 * buffer.[Ch]: remove NO_COMPABILITY stuff
11530 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11532 * boost.C (throw_exception): new file, with helper function for
11533 boost compiled without exceptions.
11538 * ParameterStruct.h:
11539 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11541 * bufferlist.C (emergencyWriteAll): use boost bind
11543 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11545 * text.C: include paragraph_funcs.h
11546 (breakParagraph): breakParagraph is now in global scope
11548 * paragraph_funcs.[Ch]: new files
11550 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11553 * buffer.C: include paragraph_funcs.h
11554 (insertStringAsLines): breakParagraph is now in global scope
11556 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11559 * CutAndPaste.C: include paragraph_funcs.h
11560 (cutSelection): breakParagraphConservative is now in global scope
11561 (pasteSelection): ditto
11563 * buffer.h: declare oprator== and operator!= for
11564 Buffer::inset_iterator
11566 * bufferlist.C (emergencyWrite): don't use fmt(...)
11568 * text3.C: add using std::endl
11570 * BufferView.C (moveCursorUpdate): remove default arg
11572 2002-08-20 André Pönitz <poenitz@gmx.net>
11574 * buffer.[Ch]: move inline functions to .C
11577 * BufferView_pimpl.C:
11579 * buffer.[Ch]: use improved inset_iterator
11582 * paragraph.[Ch]: write one paragraph at a time
11584 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11586 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11587 style if style is not specified.
11589 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11591 * text2.C (setCounter): when searching for right label for a
11592 caption, make sure to recurse to parent insets (so that a caption
11593 in a minipage in a figure float works) (bug #568)
11595 2002-08-20 André Pönitz <poenitz@gmx.net>
11597 * text3.C: new file for LyXText::dispatch() and helpers
11599 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11601 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11603 2002-08-19 André Pönitz <poenitz@gmx.net>
11606 * text.C: new LyXText::dispatch()
11608 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11610 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11612 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11614 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11617 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11619 * Makefile.am: use $(variables) instead of @substitutions@
11621 2002-08-15 André Pönitz <poenitz@gmx.net>
11624 * BufferView_pimpl.C: streamlining mathed <-> outer world
11628 * LyXAction.C: remove unused LFUN_MATH
11630 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11632 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11634 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11636 * paragraph.C (Paragraph): reformat a bit
11637 (cutIntoMinibuffer): use builtin InsetList function instad of
11641 * buffer.C: include boost/bind.hpp, add using std::for_each
11642 (writeFileAscii): use ParagraphList iterators
11643 (validate): use for_each for validate traversal of paragraphs
11644 (getBibkeyList): use ParagraphList iterators
11645 (resizeInsets): use for_each to resizeInsetsLyXText for all
11647 (getParFromID): use ParagraphList iterators
11649 * BufferView2.C (lockInset): use paragraph list and iterators
11651 2002-08-14 John Levon <levon@movementarian.org>
11653 * lyxserver.C: remove spurious xforms include
11655 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11657 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11659 2002-08-13 André Pönitz <poenitz@gmx.net>
11662 * lyxfunc.C: further cleaning
11664 2002-08-13 André Pönitz <poenitz@gmx.net>
11666 * funcrequest.h: new constructor
11668 * funcrequest.C: move stuff here from .h
11671 * BufferView_pimpl.C:
11674 * lyxfunc.C: subsequent changes
11676 * lyxfunc.h: new view() member function
11678 * lyxfunc.C: subsequent changes
11680 2002-08-13 Angus Leeming <leeming@lyx.org>
11683 * BufferView_pimpl.C:
11691 changes due to the changed LyXView interface that now returns references
11692 to member variables not pointers.
11694 2002-08-13 Angus Leeming <leeming@lyx.org>
11696 * WordLangTuple (word, lang_code): return references to strings,
11701 * lyxtext.h: forward-declare WordLangTuple.
11706 * text.C: #include "WordLangTuple.h".
11709 * text.C: (selectNextWordToSpellcheck): constify return type.
11711 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11717 * paragraph_pimpl.h:
11720 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11721 suggested by Angus.
11722 Made updateCounter always count from start of buffer, and removed
11723 second argument (par).
11724 Reverted floats number display to '#'. Perhaps I'll try again when the
11725 code base is sanitized a bit.
11727 2002-08-12 Angus Leeming <leeming@lyx.org>
11729 * buffer.[Ch] (getLabelList): constify.
11731 2002-08-07 André Pönitz <poenitz@gmx.net>
11733 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11735 * funcrequest.h: extension to keep mouse (x,y) position
11737 2002-08-12 Juergen Vigna <jug@sad.it>
11739 * BufferView2.C (insertErrors): forbid undo when inserting error
11742 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11744 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11746 * ParagraphList.[Ch]: new files
11748 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11750 * BufferView2.C (lockInset): ParagraphList changes
11753 * bufferlist.C: ditto
11757 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11759 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11760 unused class variable counter_,
11762 * paragraph.[Ch] (getFirstCounter): delete unused function
11764 * counters.C: include LAssert.h
11765 (reset): add a new function with no arg, change other version to
11766 not have def. arg and to not allow empty arg.
11768 * text2.C (setCounter): remove empty arg from call to Counters::reset
11770 2002-08-11 John Levon <levon@movementarian.org>
11772 * Makefile.am: add WordLangTuple.h
11774 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11776 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11777 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11779 * insets/insettext.C: InsetList changes
11781 * graphics/GraphicsSupport.C (operator()): InsetList changes
11783 * toc.C (getTocList): InsetList changes
11785 * paragraph_pimpl.[Ch]: InsetList changes
11787 * paragraph.[Ch]: InsetList changes
11789 * buffer.C (inset_iterator): InsetList changes
11790 (setParagraph): ditto
11791 * buffer.h (inset_iterator): ditto
11792 * iterators.C (operator++): ditto
11793 * iterators.h: ditto
11795 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11797 * InsetList.[Ch]: new files, most InsetList handling moved out of
11800 * BufferView2.C (removeAutoInsets): InsetList changes
11802 (ChangeInsets): ditto
11804 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11806 * paragraph_pimpl.h (empty): new function
11808 * paragraph.[Ch] (empty): new function
11810 * other files: use the new Paragraph::empty function
11812 2002-08-09 John Levon <levon@movementarian.org>
11814 * lyxtext.h: remove unused refresh_height
11816 2002-08-09 John Levon <levon@movementarian.org>
11823 * paragraph.C: move sgml char escaping out of paragraph
11826 * paragraph.C: remove id setter
11830 * paragraph_pimpl.C: remove dead tex_code_break_column
11832 * bufferview_funcs.C: small cleanup
11834 * lyxfunc.C: remove dead proto
11836 * lyxtext.h: make some stuff private. Remove some dead stuff.
11838 * lyxgluelength.C: make as[LyX]String() readable
11840 2002-08-08 John Levon <levon@movementarian.org>
11845 * ToolbarDefaults.C:
11848 * toc.C: lyxaction cleanup
11850 2002-08-08 John Levon <levon@movementarian.org>
11852 * BufferView2.C: small cleanup
11855 * lyxfind.C: move unnecessary header into the .C
11857 2002-08-08 John Levon <levon@movementarian.org>
11859 * funcrequest.h: just tedious nonsense
11862 * lyx_main.C: cleanups
11865 * vspace.C: remove dead header lyx_main.h
11867 2002-08-07 Angus Leeming <leeming@lyx.org>
11870 * paragraph_pimpl.h:
11871 Forward declare class Counters in paragraph.h by moving the ctrs member
11872 variable into Paragraph::Pimpl.
11873 (counters): new method, returning a reference to pimpl_->ctrs.
11875 * text2.C: ensuing changes.
11877 2002-08-07 John Levon <levon@movementarian.org>
11879 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11881 * BufferView_pimpl.C: announce X selection on double/triple
11884 * lyx_main.C: use correct bool in batch dispatch
11886 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11888 2002-08-07 André Pönitz <poenitz@gmx.net>
11890 * funcrequest.h: new class to wrap a kb_action and its argument
11893 * BufferView_pimpl[Ch]:
11897 * lyxrc.C: subsequent changes
11900 2002-08-07 John Levon <levon@movementarian.org>
11902 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11903 document options change.
11905 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11910 * makefile.am: move counters functionality over from
11911 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11913 2002-08-06 John Levon <levon@movementarian.org>
11915 * WordLangTuple.h: new file for word + language code tuple
11926 * BufferView2.C: use WordLangTuple
11929 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11931 2002-08-06 John Levon <levon@movementarian.org>
11933 * lyx_main.C: fix cmdline batch handling
11935 2002-08-06 André Pönitz <poenitz@gmx.net>
11937 * lyxrc.C: set default for show_banner to true
11939 2002-08-06 John Levon <levon@movementarian.org>
11941 * pspell.C: fix a crash, and allow new aspell to work
11943 2002-08-06 John Levon <levon@movementarian.org>
11946 * kbmap.C: small cleanup
11949 * vspace.C: add const
11951 2002-08-05 John Levon <levon@movementarian.org>
11953 * LyXAction.C: back to tabular-insert
11955 2002-08-04 John Levon <levon@movementarian.org>
11958 * BufferView.C: cosmetic change
11960 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11970 * BufferView2.C: purge all "Lyx" not "LyX" strings
11973 * lyxcursor.C: attempt to add some documentation
11978 * ToolbarDefaults.C:
11979 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11980 merge with LFUN_TABULAR_INSERT
11987 * pspell.C: split up i/pspell implementations into separate
11988 files, many cleanups
11990 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11992 * text2.C: some cleanup
11994 * lyxfunc.C: don't check for isp_command == "none" any more, it
11995 didn't make any sense
11997 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
12002 * makefile.am: move counters functionality over
12003 from text2.C/paragraph.[Ch] to counters.[Ch], and
12005 2002-08-02 John Levon <levon@movementarian.org>
12007 * buffer.C: s/lyxconvert/lyx2lyx/
12009 2002-08-02 Angus Leeming <leeming@lyx.org>
12011 * lyxlex.C: revert John's change as it breaks reading of the user
12014 2002-08-02 Angus Leeming <leeming@lyx.org>
12016 * importer.C (Import):
12017 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
12018 changes due to LyXView::view() now returning a boost::shared_ptr.
12020 2002-08-02 John Levon <levon@movementarian.org>
12022 * lyxlex.C: small cleanup
12024 2002-08-02 John Levon <levon@movementarian.org>
12026 * text2.C (status): small cleanup, no logic change
12028 2002-08-01 John Levon <levon@movementarian.org>
12031 * buffer.C (writeFile): don't output alerts, caller
12035 * lyx_cb.C: from above
12037 * lyxfunc.C: allow to open non-existent files
12039 2002-07-31 John Levon <levon@movementarian.org>
12041 * lyxserver.C: don't let incidental errors get
12044 2002-07-30 John Levon <levon@movementarian.org>
12046 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
12048 2002-07-30 John Levon <levon@movementarian.org>
12051 * lyxserver.C: remove I/O callback too
12053 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12055 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
12058 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
12060 * many files: strip,frontStrip -> trim,ltrim,rtrim
12062 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
12064 * PrinterParams.h: remove extern containsOnly, and include
12065 support/lstrings.h instead.
12067 * LaTeX.C (scanAuxFile): modify because of strip changes
12069 * buffer.C (makeLaTeXFile): ditto
12070 * bufferparams.C (writeFile): ditt
12071 * lyxfont.C (stateText): ditto
12072 * lyxserver.C (read_ready): ditto
12073 * vc-backend.C (scanMaster): ditto
12075 * BufferView_pimpl.h: ws changes
12077 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
12079 2002-07-26 André Pönitz <poenitz@gmx.net>
12081 * kb_sequence.C: remove unnedred usings
12083 2002-07-26 Juergen Vigna <jug@sad.it>
12085 * lyxfind.C (LyXReplace): we have to check better if the returned
12086 text is not of theLockingInset()->getLockingInset().
12088 2002-07-25 Juergen Vigna <jug@sad.it>
12090 * lyxfind.C (LyXReplace): don't replace if we don't get the
12093 * undo_funcs.C (createUndo): remove debugging code.
12095 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
12097 * buffer.C (parseSingleLyXformat2Token): Use default placement
12098 when reading old floats.
12100 * FloatList.C (FloatList): Change the default placement of figure
12101 and tables to "tbp".
12103 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
12105 * MenuBackend.C: using std::max
12107 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12109 * MenuBackend.C (expandToc):
12110 (expandToc2): code moved from xforms menu frontend. It is now
12111 generic and TOCs are transparent to menu frontends.
12113 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12115 * toc.C (getTocList): protect against buf=0
12117 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
12118 Menu as first parameter. Now, this calls itself recursively to
12119 expand a whole tree (this will be useful for TOC handling)
12120 (expandFloatInsert): remove 'wide' version of floats
12122 * MenuBackend.h (submenuname): returns the name of the submenu.
12123 (submenu): returns the submenu itself, provided it has been
12124 created by MenuBackend::expand
12126 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12128 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
12129 insets which have noFontChange == true. (bug #172)
12131 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12133 * BufferView_pimpl.C: add connection objects and use them...
12136 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12138 * MenuBackend.C (expandLastfiles):
12141 (expandFloatListInsert):
12142 (expandFloatInsert):
12143 (expand): split expand in parts
12145 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12147 * lyx_gui.C: use lyx_gui::exit()
12149 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12151 * LyXAction.C: show the failing pseudo action
12153 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
12155 * buffer.C (readFile): Run the lyxconvert script in order to read
12158 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12162 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
12164 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12168 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
12170 2002-07-22 Herbert Voss <voss@lyx.org>
12173 * lyxlength.[Ch]: add support for the vertical lengths
12175 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
12177 * toc.[Ch]: std:: fixes
12179 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12181 * lyxrc.C: do not include lyx_main.h
12183 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
12189 * BufferView2.C: include "lyxlex.h"
12192 * bufferparams.h: do not #include "lyxlex.h"
12194 * lyxtextclasslist.C (Add): remove method
12195 (classlist): renamed to classlist_
12197 * paragraph_pimpl.C:
12201 * bufferview_funcs.C:
12206 * toc.C (getTocList): use BufferParams::getLyXTextClass
12208 * toc.C (getTocList): use InsetFloat::addToToc
12210 * toc.[Ch]: new files, containing helper functions to handle table
12213 * lyxfunc.C (dispatch): no need to remove spaces around command
12215 (getStatus): handle LFUN_SEQUENCE by returning the status of the
12216 first command of the sequence; it is not very clever, but I do not
12217 have a better idea, actually
12219 * LyXAction.C (LookupFunc): make sure to remove space at the
12220 beginning and end of the command
12222 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12224 * MenuBackend.C (getMenubar): new method: return the menubar of
12226 (read): treat differently reading of menu and menubar (in
12227 particular, the menubar has no name now)
12228 (Menu::menubar): remove
12230 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12233 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
12235 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12236 a bibitem inset in a RTL paragraph.
12238 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
12240 * paragraph_pimpl.C: constify
12242 * BufferView_pimpl.C:
12244 * lyxfunc.C: fix dispatch in a nicer way
12246 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12248 * lyxfunc.C (dispatch):
12249 * BufferView_pimpl.C:
12250 * BufferView_pimpl.h:
12252 * BufferView.h: rename Dispatch() to dispatch()
12254 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12256 * lyxlayout.C (Read): honor DependsOn tag
12258 * lyxlayout.[Ch] (depends_on): new method
12260 * version.C.in: update lyx_docversion
12262 * LaTeXFeatures.C (getMacros): only define \LyX when needed
12264 * paragraph.C (validate): remove from here...
12265 * paragraph_pimpl.C (validate): ... and move here
12266 (isTextAt): make it const
12268 * buffer.C (getLists): ws cleanup
12270 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
12272 * language.C (read): Use iso8859-1 encoding in latex_lang
12273 (this prevents LyX from crashing when using iso10646-1 encoding).
12275 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12277 * text2.C (toggleInset): if cursor is inside an inset, close the
12278 inset and leave cursor _after_ it
12280 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12282 * lyxfunc.C: move minibuffer completion handling out of here
12284 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12286 * BufferView_pimpl.C:
12287 * LaTeX.C: fix dispatch calls
12289 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
12291 * text.C (drawChars): Fix Arabic text rendering.
12293 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
12297 * lyxfunc.C: remove message-push/pop
12301 * lyxfunc.C: rationalise some code by removing verboseDispatch
12302 in favour of a bool argument to dispatch()
12304 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12306 * lyx_main.C (init): make sure to read symlinks as absolute paths
12308 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12311 * lyxfunc.C: no need for commandshortcut to be a member
12313 2002-07-15 André Pönitz <poenitz@gmx.net>
12315 * converter.C: add support for $$s (scripts from lib/scripts dir)
12316 * lyx_main.C: white space
12318 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12322 * lyxrc.C: remove second exit confirmation
12324 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12329 * BufferView_pimpl.h:
12330 * BufferView_pimpl.C:
12331 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12333 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12335 * MenuBackend.C (expand): add numeric shortcuts to document menu
12337 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12339 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12341 * lyxfont.C (setLyXFamily):
12348 * buffer.C (asciiParagraph): use ascii_lowercase
12350 2002-07-15 Mike Fabian <mfabian@suse.de>
12352 * lyxlex_pimpl.C (search_kw):
12353 * lyxlex.C (getLongString):
12354 * converter.h (operator<):
12355 * converter.C (operator<):
12356 * buffer.C (parseSingleLyXformat2Token):
12358 * ToolbarDefaults.C (read):
12359 * MenuBackend.C (checkShortcuts):
12361 * LColor.C (getFromGUIName):
12362 (getFromLyXName): use the compare_ascii_no_case instead of
12363 compare_no_case, because in turkish, 'i' is not the lowercase
12364 version of 'I', and thus turkish locale breaks parsing of tags.
12366 2002-07-16 Angus Leeming <leeming@lyx.org>
12368 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12369 now takes a Buffer const & argument.
12371 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
12373 * BufferView.C (resize): check there's a buffer to resize
12375 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
12377 * lyxfunc.C: remove dead code
12380 * lyxserver.C: use lyx_guii::set_read_callback
12382 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
12384 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12385 an inset in a RTL paragraph.
12387 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12389 * lyxfunc.C: repaint after a font size update
12391 2002-07-15 André Pönitz <poenitz@gmx.net>
12393 * lyxlength.C: inBP should be able to return negative values
12395 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12397 * lyxfunc.C: use lyx_gui::update_fonts()
12399 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12401 * lyxfunc.C: use lyx_gui::update_color()
12403 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12409 * lyxrc.C: remove file->new asks for name option, and let
12410 buffer-new take an argument
12412 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12414 * BufferView_pimpl.C: remove unneeded extra repaint()
12416 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
12418 * LyXAction.C: allow command-sequence with NoBuffer
12420 * lyxfunc.C: don't insist on trailing ';' for command-sequence
12422 2002-07-10 Angus Leeming <leeming@lyx.org>
12424 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12426 2002-07-09 Angus Leeming <leeming@lyx.org>
12428 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12430 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12432 * lengthcommon.h: whitespace
12434 * lyxfunc.C: update scrollbar after goto paragraph
12436 * lyxtext.h: factor out page break drawing, and fix it so
12437 page break/added space paints as selected nicely
12439 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12441 * BufferView_pimpl.C: add FIXMEs, clean up a little
12443 2002-07-09 André Pönitz <poenitz@gmx.net>
12445 * lyxfont.[Ch]: support for wasy symbols
12447 2002-07-08 André Pönitz <poenitz@gmx.net>
12449 * BufferView_pimpl.C: apply John's patch for #93.
12451 2002-07-05 Angus Leeming <leeming@lyx.org>
12453 * BufferView_pimpl.C (buffer): generate previews if desired.
12455 * LColor.h: add "preview" to the color enum.
12457 * LColor.C (LColor): add a corresponding entry to the items array.
12459 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12462 2002-07-05 Angus Leeming <leeming@lyx.org>
12464 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12465 The body of the code is now in the method that is passed an ostream &
12466 rather than a file name.
12467 Pass an additional only_preamble parameter, useful for the forthcoming
12470 2002-07-03 André Pönitz <poenitz@gmx.net>
12472 * lyxfunc.C: simplify getStatus() a bit for math stuff
12474 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12476 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12478 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12480 * text.C (changeRegionCase): do not change case of all the
12481 document when region ends at paragraph end (bug #461)
12483 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12485 * paragraph.C (startTeXParParams):
12486 (endTeXParParams): add \protect when necessary
12488 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12490 * BufferView_pimpl.C (workAreaExpose): remove warning
12492 2002-06-27 Angus Leeming <leeming@lyx.org>
12494 * Makefile.am: add lyxlayout_ptr_fwd.h.
12496 2002-06-26 André Pönitz <poenitz@gmx.net>
12498 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12500 2002-06-25 Angus Leeming <leeming@lyx.org>
12502 * lyxfunc.C (dispatch): Comment out the call to
12503 grfx::GCache::changeDisplay. The method no longer exists now that the
12504 pixmap generation part of the graphics loader has been moved into
12507 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12509 * text2.C: layout as layout
12511 * text.C: layout as layout
12513 * tabular.C (OldFormatRead): layout as layout
12515 * paragraph_pimpl.C (TeXDeeper): layout as layout
12516 (realizeFont): layout as layout
12518 * paragraph.C (writeFile): layout as layout
12519 (validate): layout as layout
12520 (getFont): layout as layout
12521 (getLabelFont): layout as layout
12522 (getLayoutFont): layout as layout
12523 (breakParagraph): layout as layout
12524 (stripLeadingSpaces): layout as layout
12525 (getEndLabel): layout as layout
12526 (getMaxDepthAfter): layout as layout
12527 (applyLayout): layout as layout
12528 (TeXOnePar): layout as layout
12529 (simpleTeXOnePar): layout as layout
12530 (TeXEnvironment): layout as layout
12531 (layout): layout as layout
12532 (layout): layout as layout
12534 * lyxtextclass.C (compare_name): new functor to work with
12535 shared_ptr, layout as layout
12536 (Read): layout as layout
12537 (hasLayout): layout as layout
12538 (operator): layout as layout
12539 (delete_layout): layout as layout
12540 (defaultLayout): layout as layout
12542 * lyxlayout_ptr_fwd.h: new file
12544 * lyxlayout.C (Read): layout as layout
12546 * lyx_cb.C (MenuInsertLabel): layout as layout
12548 * bufferlist.C (newFile): layout as layout
12550 * buffer.C (readLyXformat2): layout as layout
12551 (parseSingleLyXformat2Token): layout as layout
12552 (insertStringAsLines): layout as layout
12553 (asciiParagraph): layout as layout
12554 (latexParagraphs): layout as layout
12555 (makeLinuxDocFile): layout as layout
12556 (simpleLinuxDocOnePar): layout as layout
12557 (makeDocBookFile): layout as layout
12558 (simpleDocBookOnePar): layout as layout
12559 (getLists): layout as layout
12561 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12563 * CutAndPaste.C (cutSelection): layout as layout
12564 (pasteSelection): layout as layout
12565 (SwitchLayoutsBetweenClasses): layout as layout
12567 * BufferView_pimpl.C (Dispatch): layout as layout
12568 (smartQuote): layout as layout
12570 * BufferView2.C (unlockInset): layout as layout
12572 2002-06-24 André Pönitz <poenitz@gmx.net>
12574 * lyxfunc.C: fix #487
12576 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12580 * lyxfunc.C: remove display_shortcuts, show_banner
12582 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12584 * Buffer_pimpl.C: oops, update on resize
12586 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12593 * BufferView.C: use repaint()
12595 * BufferView_pimpl.h:
12596 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12597 as it's a clearer description. Remove superfluous
12600 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12602 * text.C: fix bug 488. Not ideal, but getting
12603 getWord() to work properly for the insets that
12604 matter is more difficult ...
12606 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12608 * BufferView_pimpl.C:
12611 * lyxfunc.C: remove the six million index lyxfuncs to just
12612 one, and DTRT (bug 458)
12614 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12618 * BufferView_pimpl.h:
12619 * BufferView_pimpl.C: clean up resize() stuff,
12620 and unnecessary updateScreen()s
12622 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12626 * BufferView_pimpl.h:
12627 * BufferView_pimpl.C:
12630 * minibuffer.C: remove focus management of workarea,
12631 not needed. Use screen's greyOut()
12633 2002-06-17 Herbert Voss <voss@lyx.org>
12635 * converter.C: (convert) do not post a message, when converting
12636 fails, let the calling function decide what to do in this case
12638 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12640 * lyxfunc.C: tidy up a little
12642 2002-06-16 <alstrup@diku.dk>
12644 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12645 Got rid of FORMS_H_LOCATION include. Now we are
12648 2002-06-15 LyX Development team <lyx@rilke>
12650 * buffer.[Ch] (sgmlOpenTag):
12651 (sgmlCloseTag): Added support for avoiding pernicious mixed
12652 content. Return number of lines written.
12654 (makeLinuxDocFile):
12655 (makeDocBookFile): Fixed calls to sgml*Tag.
12656 Simple white space clean.
12658 (simpleDocBookOnePar): Simple white space clean.
12660 * tabular.[Ch] (docBook): Renamed to docbook and got another
12661 argument to related with the pernicious mixed content.
12663 (docbookRow): Fixed calls for docbook inset method.
12665 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12667 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12668 so it's X11 independent.
12672 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12674 2002-06-15 Lyx Development team <lyx@electronia>
12676 * intl.h: Renamed getTrans to getTransManager.
12678 2002-06-14 Angus Leeming <leeming@lyx.org>
12680 * Makefile.am: nuke forgotten stl_string_fwd.h.
12682 2002-06-12 Angus Leeming <leeming@lyx.org>
12684 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12686 2002-06-13 Angus Leeming <leeming@lyx.org>
12689 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12691 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12693 * kbmap.C (getiso): add support for cyrillic and greek
12695 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12699 * BufferView_pimpl.h:
12700 * BufferView_pimpl.C: move bogus scrolling logic
12703 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12706 * BufferView_pimpl.C: view->resize() change
12708 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12710 * BufferView_pimpl.C: topCursorVisible
12713 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12717 * lyx_gui.C: move to frontends/
12721 * lyx_main.C: changes from above
12723 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12730 * lyx_main.C: minor tidy
12732 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12734 * BufferView_pimpl.h:
12735 * BufferView_pimpl.C:
12737 * BufferView.C: make painter() const,
12740 * BufferView2.C: use screen() accessor
12743 * lyx_main.C: some minor cleanup
12745 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12747 * BufferView_pimpl.h:
12748 * BufferView_pimpl.C: remove enter/leaveView,
12751 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12756 * BufferView_pimpl.h:
12757 * BufferView_pimpl.C: only construct screen once,
12760 * lyxrc.C: remove pointless comment
12762 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12765 * BufferView.C: remove active() and belowMouse()
12767 * BufferView_pimpl.h:
12768 * BufferView_pimpl.C: use workarea() not workarea_,
12769 and make it use a scoped_ptr instead
12771 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12773 * lyx_gui.C: add debug message on BadWindow
12775 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12777 * sp_spell.C: fdopen is not part of the C++ standard.
12779 * paragraph.C (InsetIterator): use >= instead of ==
12781 2002-06-07 Angus Leeming <leeming@lyx.org>
12783 Fixes needed to compile with Compaq cxx 6.5.
12784 * BufferView_pimpl.C:
12791 * lyxtextclasslist.C:
12796 all c-library variables have been moved into namespace std. Wrap
12797 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12802 Add a using std::abs declaration.
12804 * kbmap.h (modifier_pair):
12805 * paragraph.h (InsetTable, InsetList):
12806 * lyxfont.h (FontBits):
12807 type definition made public.
12809 * bufferlist.C (emergencyWriteAll): the compiler complains that
12810 there is more than one possible lyx::class_fun template to choose from.
12811 I re-named the void specialisation as lyx::void_class_fun.
12813 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12815 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12816 the compiler is is unable to find tostr in write_attribute.
12818 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12820 * buffer.C (sgmlError): hide #warning
12822 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12824 * xtl/*: get rid of xtl, which is not in use anyway
12826 * LyXAction.C (init):
12827 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12828 were unimplemented xtl experimentation
12830 2002-06-04 André Pönitz <poenitz@gmx.net>
12832 * lyxfunc.C: disable array operation on simple formulae
12834 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12836 * converter.C: constify a bit
12838 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12840 * lyx_gui.C: check xforms version correctly
12842 2002-04-30 Herbert Voss <voss@lyx.org>
12844 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12847 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12849 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12850 attempt to register it with a VCS)
12852 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12854 * lyx_main.C (init): honor variables LYX_DIR_13x and
12857 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12861 * lyx_main.C: fix a crash on bad command line,
12862 and give a useful exit status on error
12864 * lyxfunc.C (doImport): allow -i lyx to work
12866 2002-03-30 André Pönitz <poenitz@gmx.net>
12868 * lyxfunc.C: mathed font changes
12870 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12885 * trans_mgr.h: srcdocs, and some minor cleanups
12887 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12889 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12890 call getFont all the time)
12892 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12894 * switch from SigC signals to boost::signals
12896 2002-05-29 André Pönitz <poenitz@gmx.net>
12898 * paragraph_pimpl.C (getChar): don't call size() too often...
12900 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12902 * paragraph_pimpl.C (insertChar): do not try to update tables when
12903 appending (pos == size())
12905 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12906 in order to reduce drastically the number of comparisons needed to
12907 parse a large document
12909 2002-05-29 André Pönitz <poenitz@gmx.net>
12915 * textclasslist.[Ch]:
12916 * sp_ispell.h: whitespace change
12918 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12920 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12921 lyxaction directly now.
12923 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12927 * lyxvc.C: remove unused headers
12929 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12936 * undo_funcs.C: some cleanups. Use shared_ptr
12937 and a template for the undo stacks.
12939 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12941 * BufferView_pimpl.h:
12942 * BufferView_pimpl.C:
12949 * text2.C: use key_state/mouse_state
12951 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12953 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12956 * chset.C: change include order
12957 (loadFile): use boost regex and get rid of LRegex and LSubstring
12959 * Makefile.am (BOOST_LIBS): new variable
12960 (lyx_LDADD): use it
12962 * LaTeX.C: change include order.
12963 (scanAuxFile): use boost regex and get rid of LRegex and
12967 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12972 * FontInfo.C: moved to frontends/xforms/
12975 * FontLoader.C: moved into frontends for GUIIzation
12980 * lyxfunc.C: changes from above
12982 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12984 * LColor.C: remove spurious X include
12986 * BufferView_pimpl.C:
12991 * text2.C: move font metrics to frontends/
12993 2002-05-24 Juergen Vigna <jug@sad.it>
12995 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12996 setting the undo_cursor.
12998 * ParagraphParameters.h: include local includes first.
13000 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
13002 * BufferView_pimpl.C:
13003 * BufferView_pimpl.h:
13007 * screen.C: move WorkArea into frontends/
13013 * BufferView2.C: move LyXScreen into frontends/
13017 * lyx_gui.C: move lyxlookup into frontends/xforms/
13019 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
13022 * BufferView_pimpl.C:
13032 * bufferview_funcs.C:
13045 * vc-backend.C: move LyX/XFormsView into frontends/
13047 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
13059 * text2.C: move Painter to frontends/
13061 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
13063 * buffer.C: comment out some some code that depend upon lyx_format
13066 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
13067 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
13069 * buffer.h (NO_COMPABILITY): turn off compability
13071 * ColorHandler.C: include scoped_array.hpp
13073 * font.C: Use more specific smart_ptr header.
13076 * ShareContainer.h: ditto
13077 * lyx_main.h: ditto
13079 * FontInfo.h: ditto
13080 * BufferView_pimpl.h: ditto
13081 * ColorHandler.h: ditto
13083 * kbmap.C (defkey): change call to shared_ptr::reset
13085 2002-05-21 Juergen Vigna <jug@sad.it>
13087 * buffer.C (insertErtContents): fix to insert ert asis if it is
13088 non empty. Skip it completely if it contains only whitespaces.
13090 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
13092 * BufferView_pimpl.C:
13093 * BufferView2.C: clear selection on paste (bug 393)
13095 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13097 * DepTable.C: include ctime
13099 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
13101 * buffer.C (latexParagraphs): Add new argument (moving_arg).
13103 2002-05-14 Juergen Vigna <jug@sad.it>
13105 * text.C (breakParagraph): fixed function to honor the keepempty
13106 layout in the right maner and also to permit the right breaking
13107 algorithm on empty or non empyt keepempty paragraphs.
13109 * paragraph.C (breakParagraph): we have to check also if the par
13110 is really empty (!size()) for isempty otherwise we do the wrong
13113 2002-05-10 Juergen Vigna <jug@sad.it>
13115 * buffer.[Ch] : The following are only changes to the ert
13116 compatibility read reading old LaTeX layout and font stuff and
13117 convert it to ERTInsets.
13119 * buffer.h: added isErtInset().
13121 * buffer.C (struct ErtComp): add a fromlayout bool to check
13122 if we're inside a LaTeX layout.
13123 (isErtInset): new helper function.
13124 (insertErtContents): look for other ert insets before this one
13125 and insert the contents there, so that we don't have subsequent
13126 ERT insets with nothing between them. This way we create only one
13127 inset with multiple paragraphs. Also check if we don't insert only
13128 spaces ' ' as they are ignored anyway afterwards in the .tex file
13129 so if we have only spaces we will ignore this latex part in the
13131 (parseSingleLyXformat2Token \\layout): better compatibility when
13132 reading layout-latex stuff.
13133 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
13135 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
13136 stuff after reading the inset only get the information back from
13139 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
13141 * buffer.C (makeLaTeXFile): Put language options after loading babel.
13143 * LaTeXFeatures.C (getBabelOptions): New method.
13145 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13147 * BufferView_pimpl.C (Dispatch): work around missing argument for
13150 2002-05-08 Juergen Vigna <jug@sad.it>
13152 * text.C (leftMargin): handle paragraph leftindent.
13154 * paragraph.C (writeFile): write the new \\leftindent tag.
13155 (validate): handle leftindent code.
13156 (TeXEnvironment): handle paragraphleftindent code again.
13158 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
13160 * buffer.C (parseSingleLyXformat2Token): added compatibility code
13161 for paragrap_extra indent code and new token \\leftindent.
13162 (latexParagraphs): handle the leftindent as environment.
13164 * ParameterStruct.h: added leftindent support.
13166 * ParagraphParameters.C (leftIndent): added support functions for
13167 the paragraph left indent.
13169 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
13172 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
13174 * paragraph.C (isRightToLeftPar): Return false for a paragraph
13177 * text.C (computeBidiTables): No bidi in insetERT.
13179 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
13182 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13184 * version.C.in: pre 5
13186 2002-05-02 José Matos <jamatos@fep.up.pt>
13187 * buffer.C (makeDocBookFile): white space changes, add newline to
13189 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13191 * tabular.C (docBook): fix typo.
13193 2002-05-03 Juergen Vigna <jug@sad.it>
13195 * screen.C (drawFromTo): recalculate the rowpointer if we had a
13196 change in LyXText as we can not be sure it was not freed.
13197 (drawOneRow): remove unused code.
13199 * text.C (drawInset): redo the calculation of the need_break_row as
13200 it could have a row which was already freed.
13201 (draw): look at the return value of drawInset and return false if
13202 it also returned false.
13203 (paintRowText): look at the return value of draw and return false if
13204 it also returned false.
13206 * lyxtext.h: added bool return type to drawInset() and draw() so that
13207 if we have a change in the row so that the rowbreak has to be redone
13208 we abort drawing as it will be called again.
13210 2002-05-02 Juergen Vigna <jug@sad.it>
13212 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13213 a change in the maintext also if we're inside an inset.
13214 (Dispatch): set the cursor again after a break line and after the
13215 screen has been updated as it could be we're in a different row.
13217 * text2.C (fixCursorAfterDelete): check to make sure we don't request
13218 to set the cursor behind the pargraph with > size().
13219 (setCursor): check also for the same paragraph when checking where
13220 to put the cursor if we have a NFR inset.
13222 * buffer.C (parseSingleLyXformat2Token): move the compatibility
13223 parts of layout read further up as it still was in the wrong
13226 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13228 * screen.C (drawFromTo): change sine fullRebreak always return
13231 * buffer.C (parseSingleLyXformat2Token): reindent some
13233 * BufferView_pimpl.C (update): change since fullRebreak always
13235 (Dispatch): git rid of the last hardcoded "Standard"s.
13237 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13239 * text2.[Ch] (fullRebreak): make it return void now that we always
13242 2002-04-30 Juergen Vigna <jug@sad.it>
13244 * buffer.C (parseSingleLyXformat2Token): reset the font before the
13245 ert compatibility check for "latex" layout.
13247 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
13249 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13250 minipages: use col% instead of p%, and also use the current font.
13251 (makeLaTeXFile): Fix use babel condition.
13252 (parseSingleLyXformat2Token): Correct font when reading old floats.
13254 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
13256 * BufferView_pimpl.C (Dispatch): Check that float type exists when
13257 inserting list of floats.
13259 2002-04-25 Herbert Voss <voss@lyx.org>
13261 * MenuBackend.C (expand): don't add the graphics extensions to the
13264 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13266 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13267 non-existing layout, do not complain if it was the default layout
13268 of the original class (bug #342)
13270 2002-04-24 Juergen Vigna <jug@sad.it>
13272 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13273 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13275 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
13277 * buffer.C (getBibkeyList): If using \bibliography, return the
13278 option field with the reference itself. Enables us to provide natbib
13279 support when using \bibliography.
13281 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
13283 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13285 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13286 natbib is provided by the LaTeX class.
13288 2002-04-23 Juergen Vigna <jug@sad.it>
13290 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13293 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13295 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13297 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13299 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13300 ensuremath around textordmasculine, textordfeminine and
13303 2002-04-19 Juergen Vigna <jug@sad.it>
13305 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13306 reinitializing the buffer otherwise row-dimensions may be wrong.
13307 (update): reset also the selection cursors if they do exits otherwise
13308 their x/y positions may be wrong.
13310 * text2.C (cursorDown): don't enter the inset if we came from a row
13311 above and are one row over the inset.
13313 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13314 really leaving an inset.
13316 2002-04-18 Juergen Vigna <jug@sad.it>
13318 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13319 of the selected paragraph does not have the selected layout also if
13322 * text2.C (setLayout): fixed bug which did not change last selected
13325 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13326 changed the read and substituted \\end_float with \\end_inset!
13328 * BufferView_pimpl.C (cursorPrevious):
13329 (cursorNext): fixed to make it work with rows heigher than the work
13330 area without moving the cursor only the draw of the row.
13331 (workAreaMotionNotify): fix jumping over high rows.
13333 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13335 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13338 2002-04-16 Juergen Vigna <jug@sad.it>
13340 * text2.C (setCursor): set also the irow().
13341 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13343 (cursorDown): support for locking an inset if the x_fix value goes
13344 inside it. That way I can transverse insets too with cursor up/down.
13346 * lyxrow.h: added irow helper function same as other (i) functions.
13348 * BufferView_pimpl.C (cursorPrevious):
13349 (cursorNext): fixed for insets!
13351 2002-04-15 Juergen Vigna <jug@sad.it>
13353 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13354 position otherwise it is wrong in some cases.
13356 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13357 inside the inset before the call.
13359 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
13361 * buffer.[Ch] (getBibkeyList): make it const.
13363 2002-04-12 Juergen Vigna <jug@sad.it>
13365 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13367 * text2.C (getCursorX): new helper function
13368 (setCursor): compute also ix_
13369 (setCursorFromCoordinates): set also ix.
13371 * lyxcursor.h: added ix_ and helper functions.
13373 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13375 * buffer.C (insertStringAsLines): dont break paragraph if the this
13376 paragraph is inside an inset which does not permit it!
13378 * text.C (breakParagraph): honor keepempty flag and break the paragraph
13379 also with no chars on this paragraph.
13380 (paintRowText): only paint stuff if it's inside the workarea!
13382 * paragraph.C (breakParagraph): honor keepempty flag and break the
13383 paragraph always below not above.
13385 * BufferView2.C (unlockInset): update the paragraph layout on inset
13386 unlock as we changed paragraph in such a case.
13388 * lyxfind.C (LyXFind): clear the former selection if not found!
13390 * text2.C (insertInset): freeze Undo after setUndo so that it is not
13391 again called in insertChar().
13393 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13394 an inset which uses the whole row!
13395 (rightMargin): ditto.
13396 (insertChar): force a rebreak if we inserted an inset!
13398 2002-03-28 Herbert Voss <voss@lyx.org>
13400 * lyxlength.[Ch]: add inBP() to get the right PS-point
13401 units (BigPoint). With inPixels we have rounding errors
13403 2002-04-11 Juergen Vigna <jug@sad.it>
13405 * text2.C (setCursorFromCoordinates): set iy to the right value.
13406 (setCursor): add check if row->previous exists!
13408 * buffer.C (parseSingleLyXformat2Token): reset font after read of
13409 an old float_type as this was the case in the old code!
13411 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13413 * BufferView2.C (showLockedInsetCursor): use iy
13414 (fitLockedInsetCursor): ditto
13416 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13417 locked insets as there we have the right value now.
13419 * lyxcursor.C: added iy_ variable and iy functions to set to the
13420 baseline of cursor-y of the locked inset.
13422 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13423 (setCursor): fixed for insets which need a full row.
13425 * text.C (rowLastPrintable): don't ignore the last space when before
13426 an inset which needs a full row.
13427 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13428 as last character of a row when before a inset which needs a full row.
13430 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13432 * version.C.in: update date
13434 * text2.C (fullRebreak): try to always return true and see what
13437 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13439 * MenuBackend.C (expand): use Floating::listName
13441 * FloatList.C (FloatList): add listName argument to the built-in
13444 * Floating.[Ch]: add listName member, which is the 'List of XXX'
13445 text associated with the float.
13447 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13449 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13451 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13453 * ShareContainer.h: add a couple of missing typenames.
13455 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13457 * lyxrc.C (getDescription): use _() correctly rather than N_().
13459 2002-03-28 Herbert Voss <voss@lyx.org>
13461 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13462 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13464 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13466 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13467 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13469 2002-03-29 Juergen Vigna <jug@sad.it>
13471 * lyxfunc.C (dispatch): add a missing fitCursor call.
13473 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13474 it was scrolled by a cursor move, so return the bool status.
13476 * BufferView.C (fitCursor): return the bool flag also to the outside
13477 world as this is needed.
13479 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13481 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13482 call the edit() as it is not needed (and wrong) IMO.
13483 (workAreaButtonPress): set the screen_first variable before evt.
13484 unlock the inset as this may change screen_first and then we have
13485 a wrong y position for the click!
13487 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13489 * MenuBackend.C (expand): another translation that I missed
13491 2002-03-28 Juergen Vigna <jug@sad.it>
13493 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13495 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13497 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13499 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13501 * MenuBackend.C (expand): fix export/view/update when there is no
13504 2002-03-27 Herbert Voss <voss@lyx.org>
13506 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13509 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13511 * bufferview_funcs.C (currentState): only show paragraph number
13512 for is DEVEL_VERSION is set.
13514 * lyxfunc.C (dispatch): put warning in INFO channel
13516 * MenuBackend.C (expand): translate the name of floats
13518 * FloatList.C (FloatList): mark the float names for translation
13520 * converter.C (convert): use LibScriptSearch
13522 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13524 * MenuBackend.C (defaults): fix default menu (we might as well get
13527 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13529 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13532 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13534 * lyxvc.C: reorder includes.
13536 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13538 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13541 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13543 * CutAndPaste.C: change layouts earlier on paste
13544 to avoid crashing when calling getFont()
13546 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13548 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13551 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13553 * WorkArea.C: remove 'Pending' debug message.
13555 * most files: ws cleanup
13557 * buffer.[Ch]: ws changes
13559 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13561 2002-03-21 Juergen Vigna <jug@sad.it>
13563 * tabular.C (SetMultiColumn): collapse also the contents of the
13564 cells and set the last border right. Added a Buffer const * param.
13566 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13568 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13571 2002-03-19 Juergen Vigna <jug@sad.it>
13573 * text2.C (clearSelection): reset also xsel_cache.
13575 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13576 where it needs to be called (John tells us to do so too :)
13577 (selectionLost): reset sel_cache.
13579 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13581 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13583 * text2.C (setCursorIntern): put debuging code in INSETS channel
13585 2002-03-19 André Pönitz <poenitz@gmx.net>
13587 * lyxfunc.C: tiny whitespace change
13589 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13591 * ToolbarDefaults.C (init):
13592 * LyXAction.C (init):
13594 * BufferView_pimpl.C (Dispatch):
13595 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13597 2002-03-19 Allan Rae <rae@lyx.org>
13599 * exporter.C (Export): removeAutoInsets before doing anything else.
13600 While I've just introduced a dependency on BufferView this really is
13601 the best place to clean the buffer otherwise you need to cleanup in
13602 a dozen places before calling export or cleanup in a dozen functions
13605 * converter.C (runLaTeX):
13606 (scanLog): Better handling of removeAutoInsets and screen updates.
13608 * lyxfunc.C (dispatch): small whitespace changes
13610 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13612 * WorkArea.C (C_WorkAreaEvent): return a value.
13613 (event_cb): return 1 if we handled the event, 0 otherwise.
13615 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13617 2002-03-18 Juergen Vigna <jug@sad.it>
13619 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13620 (GetAdditionalWidth): ditto.
13621 (RightLine): ditto.
13624 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13625 inset if we're there actually (probably not used right now but this
13626 is the direction to go for unifying code).
13627 (paste): disable code to clear the selection.
13629 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13630 inside an InsetText and move the check further up as it is in the
13633 * text2.C (pasteSelection): set a selection over the pasted text.
13635 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13637 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13638 and libgraphics to build on Cygwin.
13640 2002-03-15 Juergen Vigna <jug@sad.it>
13642 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13643 inserting an Inset into the paragraph. I know this is not the best
13644 fix but we already use current_view in CutAndPaste so we will remove
13645 all of it's using at the same time.
13647 * buffer.C (sgmlError): deactivated function till it is rewritten in
13648 the right mode, now it can create problems.
13650 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13651 before accessing it.
13653 2002-03-14 Juergen Vigna <jug@sad.it>
13655 * undo_funcs.C (textHandleUndo): do the right thing when updating
13656 the inset after the undo/redo.
13658 * text2.C (setCursor): just some testcode for #44 not ready yet.
13660 * undo_funcs.C (textHandleUndo): set the next() and previous()
13661 pointers of the paragraph to 0 before deleting otherwise we have
13662 problems with the Paragraph::[destructor].
13664 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13665 on a paragraph insertion.
13667 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13669 * buffer.C (asciiParagraph): use += operator for char append to
13672 * paragraph.C (getFontSettings): compare >= not just >
13673 (highestFontInRange): ditto
13676 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13678 * paragraph.C: change several algorithm to be more appripriate for
13679 the problem domain. This is lookip in FontList and in the InsetList.
13681 2002-03-13 André Pönitz <poenitz@gmx.net>
13684 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13686 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13691 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13693 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13695 * Painter.C (display): anon helper function, adjust code for this
13697 (pixmap): remove function.
13699 * Painter.h: remove private display variable.
13701 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13703 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13705 * WorkArea.[Ch]: remove figinset_canvas cruft.
13707 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13709 * lyxtextclass.C (operator): add one item cache optimization.
13711 * bufferlist.h: doxy changes
13713 * bufferlist.C: ws changes
13715 * DepTable.[Ch] (ext_exist): place const in the right spot.
13717 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13719 (workAreaExpose): call resizeInsets when the with BufferView changes.
13720 (Dispatch): adjust for protectedBlank removal
13721 (specialChar): call updateInset if the insert went ok.
13723 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13724 specialChar instead.
13726 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13728 * BufferView.h: doxy change
13730 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13732 * lyxtextclass.C (operator[]): remove non-const version
13733 (defaultLayout): remove non-const version
13735 2002-03-12 Juergen Vigna <jug@sad.it>
13737 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13738 did resize the LyXText too.
13740 * buffer.C (readLyXformat2): set layout information on newly allocated
13743 * tabular.C (OldFormatRead): set layout information on the paragraph.
13745 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13747 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13749 2002-03-11 Juergen Vigna <jug@sad.it>
13751 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13753 (resizeCurrentBuffer): force also the insets to resize themselfes.
13754 (moveCursorUpdate): fixed up for InsetText.
13756 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13759 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13760 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13761 value of Dialogs::tooltipsEnabled().
13762 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13764 2002-03-08 Juergen Vigna <jug@sad.it>
13766 * BufferView_pimpl.C (updateInset): update inset inside inset also
13767 if it isn't inside theLockingInset().
13769 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13771 * buffer.C (asciiParagraph): redo some of the word and line length
13773 (getLists): look for Caption instead of caption.
13775 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13777 * buffer.C (Buffer): initialize niceFile to true
13779 (makeLinuxDocFile):
13780 (makeDocBookFile): make sure niceFile is true on exit
13782 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13784 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13786 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13788 * LyXSendto.C: remove.
13789 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13790 * lyx_gui.C: remove now-redundant comment.
13791 * ColorHandler.h: remove forward declaration of class WorkArea.
13792 * lyxfunc.C: remove #include "WorkArea.h".
13794 2002-03-07 Juergen Vigna <jug@sad.it>
13796 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13797 got moved away with the DEPM and also set the inset_owner always
13798 right which before could have been omitted.
13800 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13802 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13803 wanted layout is not found.
13805 2002-03-07 Juergen Vigna <jug@sad.it>
13807 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13809 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13811 * paragraph.C (breakParagraph): use default layout not layout of
13813 (Paragraph): clear ParagraphParameters.
13815 2002-03-06 Juergen Vigna <jug@sad.it>
13817 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13818 otherwise it would not be a valid lenght. Fixed a special case in
13819 the minipage compatibility read where we end the document with a
13822 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13823 was set as it could be 0 for InsetTexts first entry.
13825 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13827 * paragraph.C (writeFile): if layout is empty write out
13828 defaultLayoutName().
13830 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13831 file without named layout we set layout to defaultLayoutName().
13833 2002-03-06 Juergen Vigna <jug@sad.it>
13835 * CutAndPaste.C (copySelection): set layout for new paragraph.
13837 * text.C (prepareToPrint): leave ERT inset left aligned
13838 (leftMargin): don't indent paragraphs inside ERT insets
13840 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13842 * paragraph.C (breakParagraph): dont call clear do the work manually
13844 * paragraph.[Ch] (clear): remove function
13846 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13848 * paragraph.C (Paragraph): dont call clear, the work has already
13851 * lyxtextclass.C (operator): assert if n is empty
13853 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13854 work manually instead.
13856 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13858 * BufferView_pimpl.C: protect selectionLost against text == 0
13860 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13862 * text.C (breakParagraph): fix a setting layout to '0' problem.
13864 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13866 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13867 final location of file, for the included files, and graphics.
13869 2002-03-05 Juergen Vigna <jug@sad.it>
13871 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13873 2002-03-04 Juergen Vigna <jug@sad.it>
13875 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13877 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13878 last column of multicolumn cells.
13879 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13881 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13883 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13884 file if it doesn't go to a temporary file.
13886 * buffer.C (sgmlOpenTag):
13887 (sgmlCloseTag): remove extra newline insertion.
13889 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13891 * text.C (getRowNearY): comment out debug msg
13893 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13895 * text2.C: first -> first_y
13897 * text.C (getRowNearY): add some attemts at a possible
13898 optimization, not working.
13900 * tabular.[Ch]: add BufferParams to several function so that newly
13901 created paragraph can be initialized to he default layotu for the
13904 * tabular-old.C (ReadOld): add buf->params to call of Init
13906 * screen.C: rename text->first to text->first_y
13908 * paragraph.C (breakParagraph): always set layout in the broken
13911 * lyxtextclass.C (Read): remove lowercase
13914 (delete_layout): ditto
13916 * lyxtext.h: rename first -> first_y
13918 * lyxlayout.C (Read): remove lowercase
13921 (obsoleted_by): ditto
13923 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13925 * buffer.C (insertErtContents): add params are to InsetERT
13926 (parseSingleLyXformat2Token): add code to check if a paragraphs
13927 layout really exist.
13928 (parseSingleLyXformat2Token): add params to several inset
13930 (asciiParagraph): remove lowercase, do the layout comparisons with
13933 * BufferView_pimpl.C (cursorNext): first -> first_y
13934 (resizeCurrentBuffer): first -> first_y
13935 (updateScrollbar): first -> first_y
13936 (scrollCB): first -> first_y
13937 (workAreaMotionNotify): first -> first_y
13938 (workAreaButtonPress): first -> first_y
13939 (checkInsetHit): first -> first_y
13940 (cursorPrevious): first -> first_y
13941 (cursorNext): first -> first_y
13942 (Dispatch): add buffer_->params to severl inset contructors
13944 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13946 * lyxlayout.C (Read): remove some debug info that I forgot.
13948 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13949 clean up the code slightly.
13950 (makeLinuxDocFile): ditto
13951 (makeDocBookFile): ditto
13953 * text2.C: layout as string
13955 * text.C: layout as string
13957 * paragraph_pimpl.C: layout as string
13959 * paragraph.[Ch]: layout as string
13961 * lyxtextclasslist.[Ch]: layout as string
13963 * lyxtextclass.[Ch]: layout as string
13965 * lyxtext.h: layout as string
13967 * lyxlayout.[Ch]: layout as string
13969 * lyx_cb.C: layout as string
13971 * bufferview_funcs.C: layout as string
13973 * bufferparams.C: layout as string
13975 * buffer.C: layout as string
13977 * LyXView.[Ch]: layout as string
13979 * LaTeXFeatures.[Ch]: layout as string
13981 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13983 * BufferView_pimpl.C: change current_layout to string, remove
13988 (workAreaButtonRelease): layout as string
13990 * BufferView2.C (unlockInset): adjust
13992 * vspace.C (asLatexCommand): use an explict temp variable.
13994 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13996 * Makefile.am: use FRONTEND_*
13998 2002-03-01 Juergen Vigna <jug@sad.it>
14000 * tabular.C (SetWidthOfMulticolCell): changed to something better
14001 I hope but still work in progress.
14002 (recalculateMulticolumnsOfColumn): renamed function from
14003 recalculateMulticolCells as it is more appropriate now.
14004 (SetWidthOfCell): calculate multicols better.
14006 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14008 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
14010 * lyxfunc.C (processKeySym): print sequence also if it is
14011 `deleted' (complete)
14013 * kbsequence.C (print): print sequence even if it is deleted
14014 (complete would be a better word, actually).
14016 * lyxfunc.C (dispatch): print complete options after a prefix key
14018 * vspace.C (asLatexCommand): rewrite in a slightly different form.
14020 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
14022 * text2.C (setCharFont): eliminate setCharFont code duplication.
14024 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14026 * BufferView_pimpl.C (Dispatch): remove bogus handling of
14027 LFUN_TABULAR_FEATURE (bug #177)
14029 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
14031 * Makefile.am: remove figure.h
14033 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
14035 * Bufferview_pimpl.C:
14047 * text2.C: remove #include "lyx_gui_misc.h".
14049 * LaTeX.C: added #include <cstdio>
14051 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14053 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
14054 that the paragraph following this one can have.
14056 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
14058 * vspace.C (asLatexCommand): fix bogus gcc warning
14060 * Makefile.am (lyx_SOURCES): remove vms_defines.h
14062 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
14064 * text2.C (setLayout): get rid of redundant code
14066 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
14068 * text2.C (incDepth): make sure depth cannot be increased beyond
14071 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
14073 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
14074 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
14076 * PainterBase.h (image):
14077 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
14078 a LyXImage const *.
14080 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
14084 * BufferView_pimpl.C:
14085 * BufferView_pimpl.h:
14105 * sp_spell.C: remove fig inset, and the crap house of
14106 cards that follows it
14108 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
14113 * os2_errortable.h:
14114 * nt_defines.h: move .h into support/
14116 * vms_defines.h: remove
14118 * WorkArea.C: add space in debug output
14122 * buffer.C: add WITH_WARNINGS
14126 * bufferlist.C: s/retrive/retrieve/, add docs
14135 * chset.C: add docs
14137 * lyxgui.C: add ID to X error handler
14139 * lyxtestclass.c: fix typo
14141 2002-02-26 Juergen Vigna <jug@sad.it>
14143 * tabular_funcs.C (write_attribute): changed so that some default
14144 attributes are not written at all.
14145 (getTokenValue): set default values before trying to read the
14146 value so we have the return value always set as default if we don't
14147 find the token we search for.
14149 * tabular.C (Write): write bools as bools not as strings!
14151 2002-02-22 Juergen Vigna <jug@sad.it>
14153 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
14154 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
14156 * text.C (leftMargin): don't add an indent for paragraphs inside
14157 tabular cells (fix #208).
14159 2002-02-21 José Matos <jamatos@fep.up.pt>
14161 * tabular.C (docBook): fixed support for long tables.
14163 2002-02-20 Juergen Vigna <jug@sad.it>
14165 * text2.C (getFont): get the drawing font of the Inset if this
14166 paragraph is inside an inset (only important for InsetERT for now).
14168 * buffer.C (insertErtContents): use new lanugage params in ERT
14171 * CutAndPaste.C: commenting out seemingly uneeded code.
14173 2002-02-19 Allan Rae <rae@lyx.org>
14175 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
14176 Iterators might be simple to use but they also get invalidated.
14177 (removeAutoInsets): renamed saved cursor tracking variables and added
14178 some comments to clarify what everything does.
14180 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
14187 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14188 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14191 * vc-backend.h: remove #include "support/syscall.h"
14195 * converter.C: rearrange #includes in Lars' approved fashion.
14197 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14198 forward declare class Timeout in the header file.
14200 * XFormsView.C: changes due to the above.
14202 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14203 similar to LyXView.
14205 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14206 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14208 2002-02-18 José Matos <jamatos@fep.up.pt>
14210 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14213 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14215 * a lot of small ws changes
14216 * add a lot of using std::XXX
14217 * use std construcs some places where approp.
14218 * use some exisint stuff from lyxfunctional where approp.
14219 * Make file changes to use partial linking (lets test this now...)
14221 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
14225 remove #include "support/syscontr.h" as it's redundant. Always has been.
14233 change Systemcalls::System to Systemcalls::Wait and
14234 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14235 No change of functionality, just reflects the stripped down Systemcalls
14238 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
14240 * debug.[Ch]: add a GRAPHICS type to the enum.
14242 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14244 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14246 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14249 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14251 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14252 match the changes below.
14254 * text2.C (toggleInset): if there is not editable inset at cursor
14255 position, try to see if cursor is _inside_ a collapsable inset
14258 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14260 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14261 document menu has a nice checkbox
14263 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14265 * lyxlength.C (asLatexString): change PW to output as percent of
14268 * lengthcommon.C: change '%' to 't%'
14270 * lyxfunc.C (dispatch): a few comments from Martin
14272 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
14276 * BufferView_pimpl.h:
14277 * BufferView_pimpl.C: clear our selection when X tells us we've lost
14280 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14282 * vspace.C (inPixels): fix compiler warning
14284 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14286 * lyxfunc.C (getStatus): fix status message for disabled commands.
14288 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
14290 * BufferView_pimpl.C: fix crash on close buffer
14291 during selection (#227)
14293 2002-01-27 Herbert Voss <voss@lyx.org>
14295 * buffer.C: link old Figure to new graphic inset
14297 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
14299 * FontLoader.C (getFontinfo): Change the latex font names in order
14300 to match the names of type1inst.
14302 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
14304 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14306 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14307 (extchanged): ditto
14309 (remove_files_with_extension): ditto
14310 (remove_file): ditto
14313 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14314 document is smaller than the work area height. Do not initialize
14315 static variables to 0.
14317 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14319 * lyx_gui.C (init): give the toolbar tooltips a normal font.
14321 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14322 LFUN_LAYOUT_PARAGRAPHS.
14324 * tabular.C (GetCellFromInset): new method. Finds an inset in a
14325 tabular. It is possible to provide a possible cell, which will
14326 typically be the actcell from the corresponding insettabular
14328 * lyxfunc.C (getStatus): small cleanup; disable
14329 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14332 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14334 * tabular.C (Validate): remove broken optimization (fixes bug #201)
14336 * paragraph.C (startTeXParParams):
14337 (endTeXParParams): new methods. The LaTeX code to
14338 start/end paragraph formatting
14339 (simpleTeXOnePar): call startTeXParParams also when paragraph is
14340 empty (fixes bug #200)
14342 * vspace.C (inPixels): adapt to the change below
14343 (inPixels): [later] more cleanups (remove unused variables)
14345 * lyxlength.C (inPixels): change to use a width and a height as
14348 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14350 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14351 Replaced with \paperwidth
14353 * DepTable.C (insert): add std:: qualifier
14355 2002-01-18 Allan Rae <rae@lyx.org>
14357 * text2.C (removeRow): add comment. Should other refresh_?? vars be
14360 * text.C (drawInset): Turned out I didn't know enough about how
14361 rebreaking worked. This fixes most of the redraw problems. I see
14362 an occasional cursor trail when a line is broken now and the cursor
14363 placement can seem out by a few pixels also after a rebreak.
14365 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14367 * buffer.C (parseSingleLyXformat2Token): update because minipage
14368 width is now a LyXLength
14370 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14372 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14375 2002-01-17 Juergen Vigna <jug@sad.it>
14377 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14379 * BufferView2.C (lockInset): call edit() so that theLockingInset()
14380 is set correctly and the inset is updated correctly.
14382 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14384 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14385 the beginning of the loop.
14387 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
14389 * lyxrc.C: improve help for use_scalable_fonts
14391 2002-01-17 Allan Rae <rae@lyx.org>
14393 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14395 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14397 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14398 make sure to set their inset_owner to the right value (bug #171)
14400 2001-12-12 Ben Stanley <bds02@uow.edu.au>
14403 * DepTable.C: Implement mtime checking to reduce time spent doing
14406 2002-01-16 Juergen Vigna <jug@sad.it>
14408 * tabular.C (GetAdditionalHeight): one of error fixed.
14410 * lyxrc.C (output): small fix in writing use_pspell.
14412 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
14414 * sp_base.h: #include LString.h
14416 2002-01-16 Allan Rae <rae@lyx.org>
14418 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
14419 Can someone check this please?
14421 * text.C (drawInset): It was possible that p.row would be removed by
14422 breakAgainOneRow upsetting a few other settings. There may be another
14423 small tweak possible by setting need_break_row = 0 when p.row has been
14424 removed but I don't know enough about the logic here.
14426 2002-01-15 Allan Rae <rae@lyx.org>
14428 * text.C (insertChar): removed conditional truism.
14430 * BufferView2.C (removeAutoInsets): More tweaks.
14431 cur_par_prev could be a stray pointer. Check for trailing empty line
14432 in case last line was cur_par and only had an error inset on it.
14434 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14436 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14439 * vc-backend.C (most methods):
14440 * exporter.C (Export):
14441 * converter.C (convert):
14443 * LyXSendto.C (SendtoApplyCB):
14444 * lyxfunc.C (dispatch):
14448 * lyx_cb.C (AutoSave):
14450 * BufferView_pimpl.C (MenuInsertLyXFile):
14451 * buffer.C (runChktex): use Buffer::filePath().
14453 * buffer.h: rename filename to filename_; rename filepath to
14454 filepath_ and make it private
14455 (filePath): new method
14457 * buffer.C (writeFile): use fileName()
14460 * lyx_main.C (init): fix starting of LyX when the binary is a
14461 link from so,ewhere else.
14463 * minibuffer.C: include <cctype> for isprint
14465 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14467 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14468 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14469 name clash with InsetCollapsable's width function.
14471 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14473 * lastfiles.C: include <iterator>
14475 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14477 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14480 * buffer.C (makeLaTeXFile): ditto.
14481 Also make loop operation more transparent.
14483 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14485 * ToolbarDefaults.C: remove trailing comma closing namespace.
14487 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14489 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14492 * trans.C (Load): comment out unused variable, allowed.
14494 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14496 * minibuffer.[Ch] (append_char): new method to recieve input from the
14497 drop-down completion browser. If a key was pressed, then recieve this
14498 char and append it to the existing string.
14499 (peek_event): modify the positioning data passed to the completion
14500 browser so that it can be placed above the minibuffer rather than below.
14501 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14503 * LyXAction.C (init): alloe error-next for readonly documents.
14505 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14508 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14510 * bufferlist.C (readFile): create the buffer _after_ checking that
14513 * lyxfunc.C (verboseDispatch): fix handling of arguments
14515 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14517 * lyxrc.C: use string::erase() instead of initializing to "".
14520 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14522 * BufferView_pimpl.h:
14523 * BufferView_pimpl.C:
14526 * text2.C: tell X when we have made a selection for copying
14528 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14530 * BufferView_pimpl.C (MenuInsertLyXFile):
14531 * lyxfunc.C (menuNew):
14533 (doImport): add shortcuts to directory buttons
14535 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14538 * lyxfunc.C (setStatusMessage):
14539 (getStatusMessage): new methods
14540 (getStatus):use setStatusMessage instead of setErrorMessage
14541 (dispatch): when function is disabled, set error message here
14542 [instead of in getStatus previously]
14544 * BufferView_pimpl.C (workAreaButtonRelease): update
14545 toolbar/menubar here too.
14547 2002-01-13 Allan Rae <rae@lyx.org>
14549 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14550 Now seems indestructible. Remaining task is to audit all other
14551 code affected by deleteEmptyParagraphMechanism. One small quirk
14552 left is that an empty document with an error in the preamble can
14553 be made to report an error but no error box appears. I don't know
14555 (removeAutoInsets): Improved comments.
14557 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14560 * Thesaurus.C: update for Aiksaurus 0.14
14562 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14564 * text2.C (firstParagraph): removed member function, all uses
14565 replaces with ownerParagraph
14566 (redoParagraphs): here
14567 (updateInset): here
14568 (toggleAppendix): here
14569 * BufferView2.C (insertErrors): here
14570 (setCursorFromRow): here
14572 2002-01-13 Allan Rae <rae@lyx.org>
14574 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14575 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14576 There is still a way to segfault this although you may have to do this
14577 multiple times: Have an InsetERT with an unknown command in it.
14578 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14579 <down-arrow>, <Enter> again, View->DVI, BANG!
14581 * text2.C (setCursor):
14582 (deleteEmptyParagraphMechanism):
14583 * lyxtext.h (setCursor):
14584 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14585 Making use of the return value may help fix other bugs.
14587 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14589 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14591 * LyXView.C (updateMenubar): call MenuBar::update here
14592 (updateToolbar): but not here
14593 (showState): do not update toolbar/menubar
14595 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14596 should need to care about that.
14598 * lyxfunc.C (verboseDispatch): simplify a bit
14599 (getStatus): have a version which takes a pseudoaction, and
14600 another which requires a (kb_action,string).
14602 * LyXAction.C (retrieveActionArg): make it work also when action
14603 is not a pseudo-action.
14604 (getActionName): simplify a bit
14607 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14609 * lyxfunc.C (verboseDispatch): new families of methods with
14610 several ways to specify a command and a bool to indicate whether
14611 the command name and shortcut should be displayed in minibuffer
14612 (eventually, we could extend that to a finer bitmask like
14613 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14614 (dispatch): the pristine dispatch command which just, well,
14615 dispatchs! Note it still sets its result to minibuffer; I'm not
14618 * lyxfunc.h: remove setHintMessage
14620 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14622 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14624 * BufferView_pimpl.C (specialChar): delete new inset if we have
14625 not been able to insert it.
14627 * kbmap.C: revert to using int instead of kb_action, since all we
14628 are dealing with is pseudo-actions.
14630 * LyXAction.C (searchActionArg): change to return int instead of
14631 kb_action, since the result is a pseudoaction.
14633 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14635 * buffer.C (insertErtContents): Fix (partially) the font bug.
14637 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14639 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14640 as the other one is broken on my machine!
14642 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14645 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14647 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14649 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14650 reflect their actual use. Provide compatibility code for older lyxrc
14653 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14655 change names of popup font variables in line with the changes to lyxrc.C
14657 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14659 * buffer.C (asciiParagraph): avoid outputing a word twice after
14662 * lyxrc.C (getDescription): document that document_path and
14663 template_path can be empty.
14665 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14667 * LaTeXFeatures.C (getMacros):
14668 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14670 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14672 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14674 (getPackages): rename feature "floats" to "float". Use an array to
14675 iterate over 'simple' features (i.e. just a \usepackage). Add
14676 handling of "amsmath" (renamed from "amsstyle").
14678 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14680 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14683 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14685 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14686 FuncStaus::FuncStatus & FuncStaus::some_method().
14688 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14690 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14691 of the func_satus stuff. Edited and massaged in various ways by
14694 * lyxfunc.C (getStatus): use FuncStatus
14696 2002-01-08 Juergen Vigna <jug@sad.it>
14698 * text.C (nextBreakPoint): use function Inset::isChar().
14700 * paragraph.C (TeXOnePar): use function
14701 Inset::forceDefaultParagraphs.
14703 * buffer.C (latexParagraphs): use function
14704 Inset::forceDefaultParagraphs.
14706 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14708 * lyx_gui.C (init): set the style of the menu popups to
14709 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14711 2002-01-07 Juergen Vigna <jug@sad.it>
14713 * text.C (setHeightOfRow): small fix
14714 (prepareToPrint): don't look at alignment if we don't have the place
14717 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14719 * box.C: New file. Move the Box methods and functions out of box.h,
14720 following Lars' suggestion.
14722 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14724 * box.h: #include "support/LOstream.h", needed for inlined function.
14727 * lyxtextclasslist.C: added some using std declarations.
14729 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14731 * box.h: make signed dimensions to allow insets wider than
14732 the screen (bug #162)
14734 * BufferView_pimpl.C: add some insetHit debug
14736 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14738 * vc-backend.C: add FIXME
14740 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14742 * lyxfunc.C (getStatus): enable code for showing math font status
14745 2002-01-07 Juergen Vigna <jug@sad.it>
14747 * text.C (nextBreakPoint): removed debug output not needed anymore.
14749 2002-01-06 Juergen Vigna <jug@sad.it>
14751 * text.C (nextBreakPoint): fixed up this function we had this bug
14752 since ever but now hopefully we break row better.
14753 (insertChar): we have to check if an inset is the next char as it
14754 could now happen that a large inset is causing a break.
14756 2002-01-05 Juergen Vigna <jug@sad.it>
14758 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14759 if it doesn't like to be drawed.
14761 2002-01-04 Juergen Vigna <jug@sad.it>
14763 * BufferView2.C (lockInset): forgot to set a cursor.
14765 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14767 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14769 * FormMathsPanel.C:
14772 * form_maths_panel.C:
14773 * form_maths_panel.h:
14774 * form_maths_panel.fd: implemented sub- and super- buttons in math
14777 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14778 (or ^ space) to be used as in TeX (req'd by Andr�.
14780 * lyxfunc.C: Allow ^ and _ again to be used both as
14781 super/subscript (mathed) and as themselves (in text).
14783 2002-01-03 Allan Rae <rae@lyx.org>
14785 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14786 "LyX" or the filename of the current buffer if it has one. This is a
14787 modified form of John Levon's patch.
14789 * XFormsView.C (setWindowTitle): also set icon title.
14791 * LyXView.h (setWindowTitle): signature changed.
14792 * XFormsView.h (setWindowTitle): ditto.
14794 2002-01-02 Juergen Vigna <jug@sad.it>
14796 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14798 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14800 * screen.C (topCursorVisible): introduce a temp var for
14801 text->cursor.row(), handle the case where this row is null. (kindo
14804 * text2.C (setCursor): add a couple of asserts.
14806 * paragraph.h (inset_iterator): add -> operator
14808 * paragraph.[Ch] (autoDeleteInsets): remove member function
14810 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14811 cursor pos correctly and handle inset deletion by itself.
14812 (insertErrors): move iterator declaration out of for expression
14814 * lyxtextclass.C: add <algorithm>
14816 * Makefile.am: added the new files to sources, removed layout.C
14818 * layout.C: removed file
14820 * layout.h: remove LYX_DUMMY_LAYOUT
14822 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14826 * lyxtextclass.[Ch]:
14827 * lyxtextclasslist.[Ch]: new files
14829 * include order changes to a lot of files, also changes because of
14832 2001-12-27 Juergen Vigna <jug@sad.it>
14834 * buffer.C (asciiParagraph): more fixes.
14836 * tabular.C (ascii): make ascii export support export of only the
14837 data separated by a column-delimiter.
14838 (ascii): better support for ascii export.
14840 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14842 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14844 * tabular_funcs.C: use a "using std::getline" instead of the
14845 previous fix from Angus (necessary for cxx + lyxstring)
14847 2001-12-24 Juergen Vigna <jug@sad.it>
14849 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14851 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14852 problems. First check a minipage also if we have some ert-contents
14853 (not only on par->size(), second set the right depth of the paragraph
14854 on the relink to the root-paragraph-list!
14856 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14857 which then did not anymore update the main paragraphs on undo/redo!
14859 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14861 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14862 code. Support all font-changing funcs (even those which are not in
14863 menu currently). Support for reporting font settings in
14864 mathed (disabled until Andre provides a function on mathed's side).
14866 * func_status.h (toggle): small helper function to set toggle
14869 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14871 * tabular_funcs.C: getline -> std::getline
14873 2001-12-21 Juergen Vigna <jug@sad.it>
14875 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14876 accessed and could be 0 (I couldn't generate this but it seems
14879 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14881 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14882 * tabular_funcs.h: here and include iosfwd
14884 2001-12-20 Juergen Vigna <jug@sad.it>
14886 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14887 inside inset but undo_par was.
14889 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14891 * Thesaurus.C: always include <config.h> in sources.
14895 * box.h: do not include <config.h> in header files
14897 * text.C (paintLastRow): remove unused variable
14899 * text.C (transformChar):
14901 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14903 * Painter.C (text):
14904 * font.C (width): rewrite to use uppercase() instead of
14907 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14909 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14911 * lyxfind.C: clean up of find failure position change
14913 2001-12-20 Juergen Vigna <jug@sad.it>
14915 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14917 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14918 (TeXRow): added to LaTeX a single tabular row.
14919 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14920 (Latex): simplified and finally good LT-h/f support.
14921 (various_functions): just small adaptions for LT-h/f support.
14923 * tabular_funcs.[hC]: added and moved here all not classfunctions
14926 2001-12-19 Juergen Vigna <jug@sad.it>
14928 * tabular.[Ch]: better support for longtabular options (not finished
14931 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14933 * text.C (paintLastRow): use the label font instead of the font of
14934 the last character to compute the size of *_BOX. This makes more
14935 sense and avoids a crash with empty paragraphs.
14936 Use Painter::rectangle to draw EMPTY_BOX.
14938 2001-12-19 Juergen Vigna <jug@sad.it>
14940 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14941 the paragraphs if the replaced paragraph is not the first one!
14942 Tried to delete not used paragraphs but does not work yet so for
14943 now it's inside #ifdef's and by default off!
14945 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14947 * MenuBackend.C: include "lyx_main.h" instead of declaring
14948 lastfiles (actually was declared as LastFiles* instead of a
14951 2001-12-17 Juergen Vigna <jug@sad.it>
14953 * tabular.C (AppendColumn): applied John's fix
14955 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14959 * BufferView_pimpl.h:
14960 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14963 * box.h: new start of class for above
14965 * lyxfunc.C: ignore space-only minibuffer dispatches.
14966 Show the command name when it doesn't exist
14968 * minibuffer.C: don't add empty lines to the history
14970 * minibuffer.C: add a space on dropdown completion
14972 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14974 * text.C: fix line above/below drawing in insets
14976 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14978 * lyxlength.C (LyXLength): Initialize private variables.
14980 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14982 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14983 when inserting error insets.
14985 2001-12-13 Juergen Vigna <jug@sad.it>
14987 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14988 actually sometimes the before-paragraph.
14989 (setUndo): don't clear the redostack if we're not actually undoing!
14991 2001-12-06 Juergen Vigna <jug@sad.it>
14993 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14994 and fixed redoing of main paragraph, so we can use it now ;)
14996 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14998 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15000 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
15003 2001-12-13 André Pönitz <poenitz@gmx.net>
15006 * undo_func.C: minor cleanup
15008 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15010 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
15011 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
15012 font in urw-fonts package which is marked as -urw-fontspecific and
15013 does not work (incidentally, changing the encoding in the
15014 fonts.dir of this package to -adobe-fontspecific fixes the
15017 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
15018 is a crash when undoing first paragraph (Juergen, please take a
15019 look). THis does not mean the undo fix is wrong, just that it
15022 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
15023 the (Paragraph*) version when needed instead of duplicating the
15026 * text.C (workWidth): use Inset::parOwner to find out where the
15027 inset has been inserted. This is a huge performance gain for large
15028 documents with lots of insets. If Inset::parOwner is not set, fall
15029 back on the brute force method
15031 * paragraph_pimpl.C (insertInset):
15032 * paragraph.C (Paragraph):
15033 (cutIntoMinibuffer): set parOwner of insets when
15034 inserting/removing them
15036 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
15038 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
15044 * mathed/formulabase.C:
15045 * mathed/math_cursor.[Ch]:
15046 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
15049 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15051 * lyxlength.[Ch] (operator!=): new function
15053 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15055 * text.C (workWidth): use Inset::parOwner to find out where the
15056 inset has been inserted. This is a huge performance gain for large
15057 documents with lots of insets. If Inset::parOwner is not set, fall
15058 back on the brute force method
15060 * paragraph_pimpl.C (insertInset):
15061 * paragraph.C (Paragraph):
15062 (cutIntoMinibuffer): set parOwner of insets when
15063 inserting/removing them
15065 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
15067 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15069 * tabular-old.C (getTokenValue):
15070 * tabular.C (getTokenValue):
15071 (write_attribute): new versions for LyXLength
15072 (everywhere): adjust the use of widths
15074 * tabular.h: change the type of widths from string to LyXLength
15076 2001-12-11 Ben Stanley <bds02@uow.edu.au>
15078 * paragraph.C: fixed missing line number count when exporting
15079 Environments to LaTeX file
15081 * buffer.C: added informational message for checking line numbers.
15083 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15085 * text2.C (deleteEmptyParagraphMechanism): if there is only one
15086 paragraph, do the 'double space' part, but not the 'empty
15089 * text.C (workWidth): small optimization
15090 (getLengthMarkerHeight): use minimal size for negative lengths.
15092 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
15094 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
15096 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
15098 2001-12-11 André Pönitz <poenitz@gmx.net>
15101 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
15103 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
15105 * text2.C: keep selection on a setFont()
15107 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
15109 * lyx_cb.C: another bv->text misuse, from insert label
15111 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
15114 * kbsequence.C: re-instate nmodifier mask
15116 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
15118 * lyx_main.h: make lyxGUI private.
15120 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
15122 * lyxfind.C: place the cursor correctly on failed search
15124 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15126 * text.C (getLengthMarkerHeight): for small heights, the arrows
15127 are not always on top/bottom of the text
15128 (drawLengthMarker): smaller arrows; take the left margin in
15129 account; draw also vfills.
15131 (paintLastRow): remove special code for vfill and standard spaces,
15132 since everything is handled in drawLengthMarker now.
15134 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15136 * buffer.C (insertErtContents): try to handle font and language
15137 interaction a bit better.g
15139 * ColorHandler.C (updateColor): change the hash to cover the whole
15140 LColor enum, ws cleanup
15141 (getGCLinepars): ditto
15142 (getGCLinepars): only lookup in the linecache once.
15144 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
15146 * iterators.C (operator++): Make the iterator more robust
15148 * BufferView2.C (removeAutoInsets): Use paragraph iterators
15150 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
15152 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15155 * text.C: better added space drawing
15157 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15160 * BufferView2.C: fix layout combo update on inset unlock
15162 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15164 * Makefile.am: don't compile unused files
15166 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15170 * LyXAction.C: remove old LFUN_LAYOUTNO
15172 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15174 * paragraph_pimpl.h:
15175 * paragraph_pimpl.C: isTextAt() doesn't need font param
15177 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15180 * lyxlex.C: little cleanup
15182 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15184 * BufferView_pimpl.C: fix insertAscii for insets
15186 2001-12-05 Juergen Vigna <jug@sad.it>
15188 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15189 set the right font on the "multi" paragraph paste!
15191 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15197 * lyxlength.C: remove out-commented code.
15199 * BufferView_pimpl:
15213 * vc-backend.C: change "while(" to "while ("
15215 * lyxlength.[Ch]: add zero function to check if length is zero or
15217 * lyxgluelength.C: use it
15219 2001-12-05 Allan Rae <rae@lyx.org>
15221 * lyxlength.C: Attempted a fix for the abs(int) header selection.
15222 Works for 2.95.3, from what I understand of Garst's reports this should
15223 work for other g++ versions. We're screwed if the abs(int) definition
15224 changed between bugfix releases of gcc.
15226 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
15228 * text.C: fix chapter label offset !
15230 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
15233 * text.C: fix hfill at end of line, clean up
15235 2001-12-04 Juergen Vigna <jug@sad.it>
15237 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15238 that we force an update of the inset and it's owners if neccessary.
15240 2001-12-03 Juergen Vigna <jug@sad.it>
15242 * text.C (rowLast): simplified code
15244 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
15246 * lyxfunc.C: fix show options on timeout
15248 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15250 * screen.C (topCursorVisible): scroll half a page when the cursor
15251 reached top of bottom of screen
15253 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
15255 * minibuffer.C: deactivate on loss of focus
15257 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15259 * vspace.[Ch] (operator!=): add operator.
15261 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
15263 * BufferView_pimpl.C: refuse to open an inset when
15264 there's a selection.
15266 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
15268 * BufferView_pimpl.C: allow to click on RHS of full row insets
15270 2001-11-30 Juergen Vigna <jug@sad.it>
15272 * tabular.C (LyXTabular): add a same_id to set the same id's in the
15273 insets for undo reasons.
15275 2001-11-28 André Pönitz <poenitz@gmx.net>
15277 * vspace.[Ch]: cosmetical changes
15279 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15289 * kbsequence.C: part re-write of old kb code
15292 * WorkArea.C: remove Lgb_bug_find_hack
15294 2001-11-30 José Matos <jamatos@fep.up.pt>
15296 * buffer.C (makeDocBookFile): add a comment to point a hack.
15297 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15298 Fixed a double write of labels.
15300 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15303 * LaTeX.h Fixed bug in LaTeX class where it would not
15304 re-run latex if no depfiles were changed, but the .dvi was removed.
15306 2001-11-28 André Pönitz <poenitz@gmx.net>
15308 * all the files from the change on 2001/11/26:
15309 use lyx::layout_type instead of LyXTextClass::size_type
15310 use lyx::textclass_type instead of LyXTextClassList::size_type
15312 2001-11-29 Juergen Vigna <jug@sad.it>
15314 * text.C: added support for paragraph::isFreeSpacing()
15316 * buffer.C: same as above
15318 * paragraph.h: inserted isFreeSpacing() function to enable
15319 FreeSpacing inside InsetERT.
15321 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15322 of the paragraph's in the cut/copy buffer to 0!
15324 * text2.C (removeRow): remove the assert as it can!
15326 * lyxtext.h: added helper function firstRow returning firstrow and
15327 made firstrow private again.
15329 * BufferView2.C (lockInset): don't relock if we're already locked!
15331 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15332 the only paragraph.
15333 (removeRow): added Assert::(firstrow)
15335 * debug.C: forgot to add INSETTEXT here.
15337 2001-11-28 Juergen Vigna <jug@sad.it>
15339 * sp_spell.C (initialize): changed error text to more general
15340 spellchecker command use (not only ispell!)
15342 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15344 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15346 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15348 * vspace.C: initialise lyxgluelength on failure
15350 2001-11-28 Allan Rae <rae@lyx.org>
15352 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15353 declaration & definition that looks like a function declaration.
15355 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15357 * BufferView2.C (copy):
15358 (copyEnvironment): do not clear the selection when doing a copy.
15360 * text.C (paintFirstRow): compilation fix
15362 2001-11-27 Ben Stanley <bds02@uow.edu.au>
15364 * tabular.C (Latex): correct line count when writing latex.
15366 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
15368 * paragraph_pimpl.h:
15369 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15372 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15376 * LColor.C: change vfillline->added_space
15378 * text.C: add markers and text for added space
15380 * vspace.C: fix comment
15382 2001-11-28 André Pönitz <poenitz@gmx.net>
15384 * paragraph.C: whitespace changes
15385 * all the other files from the change on 2001/11/26:
15386 change *::pos_type into lyx::pos_type
15388 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
15390 * buffer.C (parseSingleLyXformat2Token): Set the language to the
15391 language of the document when inserting error insets.
15393 2001-11-26 André Pönitz <poenitz@gmx.net>
15395 * BufferView_pimpl.[Ch]:
15403 * paragraph_pimpl.[Ch]:
15406 * text2.C: reduce header dependencies, introduce type for positions
15408 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15410 * <various>: change to use Alert.h
15412 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
15414 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15415 when encountering an unknown token.
15416 (readLyXformat2): Show an error message if there were unknown tokens.
15418 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
15421 * BufferView_pimpl.C:
15425 * text2.C: use par->isInset()
15427 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15429 * paragraph_pimpl.h:
15430 * paragraph_pimpl.C: cleanup
15432 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15434 * text2.C (removeRow):
15435 * text.C (setHeightOfRow): remove useless (and costly) call to
15438 2001-11-20 Allan Rae <rae@lyx.org>
15440 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15441 Now need Inset*::checkInsertChar() to return true for appropriate
15442 cases so that the characters in the minibuffer will actually be
15445 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
15447 * text.C: change the order of the includes.
15448 (workWidth): initialize it at once.
15449 (workWidth): make maxw unsigned
15450 (setHeightOfRow): remove unused variable (inset)
15451 (selectSelectedWord): remove unused variable (inset)
15452 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15454 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15456 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15457 server is not running.
15459 (closeConnection): add debug info when server is disabled.
15461 * ColorHandler.C (getGCForeground): send debug message to GUI
15464 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15466 * kbmap.C (bind): modify because return conventions of
15467 kb_sequence::parse have changed.
15469 * kbsequence.C (parse): only ignore spaces and not any stupid
15470 control character. This avoids tests like s[i] <= ' ', which are
15471 guaranteed to fail with 8bit characters and signed chars.
15472 Change return code to string::npos when there have been no error
15473 (0 was a bad idea when error is at first character)
15475 2001-11-14 José Matos <jamatos@fep.up.pt>
15478 * buffer.C (simpleDocBookOnePar): removed unused argument.
15480 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15482 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15483 insets which are part of a word. Paragraph::isLetter takes care of
15484 that now. Use Paragraph::isInset to identify insets.
15485 (selectSelectedWord): do not test for hyphenation break.
15487 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15488 that protected spaces are considered as spaces.
15490 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15493 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15496 * lyxserver.C: fix it. and small cleanup.
15498 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15500 * BufferView_pimpl.C: use inline helpers
15503 * LaTeXFeatures.C: fix typos
15506 * Spacing.C: move spacing_string into class
15508 * ToolbarDefaults.C: move stuff into namespace anon
15510 * layout.h: update enum
15512 * lyxfunc.C: use better debug
15514 * minibuffer.h: fix typo
15518 * WorkArea.C: add and use Debug::WORKAREA
15522 * text2.C: code re-organisation, inline helpers
15524 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15526 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15527 std::vector.empty().
15529 2001-11-09 Allan Rae <rae@lyx.org>
15531 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15532 '\n's after tables. Tabular and ERT inset work now makes this no
15535 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15538 * minibuffer.C: fix crash, improve drop-down completion
15540 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15543 * lyxserver.C: invalidate fd's when doing endPipe()
15545 2001-11-08 José Matos <jamatos@fep.up.pt>
15547 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15548 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15551 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15553 2001-11-07 José Matos <jamatos@fep.up.pt>
15556 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15559 * buffer.C (sgmlOpenTag):
15560 * buffer.C (sgmlCloseTag): removed debug info.
15562 * buffer.h (sgmlOpenTag):
15563 * buffer.h (sgmlCloseTag): made public.
15565 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15567 * buffer.C (saveParamsAsDefaults):
15568 * lyx_cb.C (MenuLayoutSave): remove
15570 * LyXAction.C (init):
15572 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15574 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15576 * buffer.C (setPaperStuff): removed from here...
15578 * bufferparams.C (setPaperStuff): ... and moved there.
15580 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15584 * XFormsView.C: add support for drop-down completion
15586 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15588 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15591 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15593 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15596 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15598 * lyx_main.C: change ref to known bugs
15600 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15602 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15603 to work around older babel problems.
15605 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15607 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15609 2001-10-24 Juergen Vigna <jug@sad.it>
15611 * tabular-old.C (ReadOld): below variable changes reflected.
15613 * tabular.[Ch]: added ltType struct for longtable header/footer
15614 defines and changed all instances where they are used. Added
15615 future support for double top/bottom rows.
15617 2001-10-24 José Matos <jamatos@fep.up.pt>
15619 * buffer.h (docbookHandleCaption):
15620 * buffer.C (docbookHandleCaption): removed unused function.
15621 (makeDocBookFile): moved docbook supported version to v4.1.
15623 2001-10-24 José Matos <jamatos@fep.up.pt>
15626 * tabular.C (docbookRow): new function to export docbook code of a row.
15627 (DocBook): now honors the longtable flags.
15629 2001-10-23 José Matos <jamatos@fep.up.pt>
15632 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15633 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15635 * buffer.C (makeLinuxDocFile):
15636 (makeDocBookFile): reworked the preamble, more clean, and with
15637 support for lyx defined entities. Changed the document declaration
15638 to be more XML friendly.
15640 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15641 if we need to output XML that should be done with a filter.
15643 2001-10-22 Juergen Vigna <jug@sad.it>
15645 * sp_pspell.h (class PSpell): add alive function needed in the
15646 controller to see if the spellchecker could be started.
15648 2001-10-22 Juergen Vigna <jug@sad.it>
15650 * buffer.C (insertStringAsLines): modify the font for inserting
15651 chars in certain conditions by calling checkInsertChar(font).
15653 2001-10-19 Juergen Vigna <jug@sad.it>
15655 * text.C (workWidth): use getRow instead of wrong algorithm.
15656 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15658 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15663 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15665 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15667 * text.C (workWidth): do not search for the exact row when
15668 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15669 optimization for big documents.
15671 2001-10-18 Juergen Vigna <jug@sad.it>
15673 * text.C (workWidth): new function with added Inset * parameter.
15675 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15677 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15679 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15680 change return type of getColumnNearX.
15683 * text.C (changeRegionCase): use uppercase/lowercase instead of
15686 (rightMargin): simplify code by factoring out the uses of
15691 (appendParagraph): use Paragraph::size_type
15693 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15695 * vspace.C (asLatexString): add a missing break
15697 2001-10-15 Herbert Voss <voss@perce.de>
15699 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15701 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15703 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15706 2001-10-10 André Pönitz <poenitz@gmx.net>
15708 * lyxfunc.C: removed greek_kb_flag.
15710 2001-10-10 Herbert Voss <voss@perce.de>
15712 * lyx_main.C: delete global string help_lyxdir.
15714 2001-10-09 Herbert Voss <voss@perce.de>
15716 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15718 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15720 * lyx_main.C: added global string help_lyxdir.
15722 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15724 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15726 * lyxrc.C (set_font_norm_type): support iso8859-4
15728 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15730 * LaTeX.C (deplog): add another regex for MikTeX
15732 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15734 * lyxrc.C (set_font_norm_type): support iso8859-3
15736 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15738 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15740 * LaTeXFeatures.C: remove special case of french and index
15742 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15743 before \begin{document}). This solves several incompatibilities.
15745 2001-10-03 Garst Reese <reese@isn.net>
15747 * lyx_cb.C: change CheckTex error msg.
15749 2001-10-03 José Matos <jamatos@fep.up.pt>
15751 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15753 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15755 * .cvsignore: update
15757 * lyx_main.C (commandLineVersionInfo): use new style version info.
15759 * buffer.C (writeFile):
15761 (makeLinuxDocFile):
15762 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15764 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15766 * version.h: update to use stuff in version.C
15768 * version.C.in: new file. Contains version information determined
15769 at compile time. This is a merging of version.h and
15772 2001-10-03 Juergen Vigna <jug@sad.it>
15774 * BufferView_pimpl.C (update): don't change "dirty" status in
15777 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15779 * WorkArea.C (c-tor): re-position version string slightly.
15781 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15783 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15784 revert to previous code.
15786 WorkArea.[Ch]: (show, destroySplash): methods removed.
15788 WorkArea.C: rework code so that it's an amalgam of the codes before and
15789 after the splash screen was moved to WorkArea.
15791 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15794 * vspace.C (inPixels):
15797 * buffer.C (insertStringAsLines):
15798 (asciiParagraph): fix types to be large enough
15800 * lyxlex_pimpl.h: change member status from short to int
15802 * layout.h: fix type of endlabeltype
15805 * kbsequence.C (parse): change return type to string::size_type
15807 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15810 * Bullet.C (bulletSize):
15811 (bulletEntry): do not use short ints as parameters
15813 * BufferView2.C (insertLyXFile): change a char to an int.
15815 * WorkArea.C (WorkArea): remove unneeded floats in computation
15817 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15819 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15821 * paragraph.C (asString): Do not ignore newline/hfill chars when
15822 copying to the clipboard.
15824 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15826 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15827 after a multi-line inset.
15829 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15831 * paragraph.C (validate): Set NeedLyXFootnoteCode
15833 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15835 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15836 and decrease-error to decrease.
15838 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15840 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15841 it more readable (should be equivalent)
15843 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15845 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15847 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15849 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15850 of a cursor (row, etc.) after a character has been deleted
15851 (deleteEmptyParagraphMechanism): call the method above on _all_
15852 cursors held by the LyXText when a double space has been
15855 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15857 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15859 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15861 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15862 background. Use greyOut() and the new show() methods to toggle between
15863 the foreground and background. Add code to remove the splash after
15864 its initial showing.
15866 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15867 (create_forms): no longer call Dialogs::showSplash.
15869 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15871 * .cvsignore: add version_info.h
15873 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15875 * version_info.h.in: new file
15877 * Makefile.am: add version_info.h.in
15879 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15880 version_info.h instead of VERSION_INFO
15882 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15884 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15885 The ERT inset now returns string().
15887 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15889 * lyxtext.h, text.C (selectNextWord): renamed as
15890 selectNextWordToSpellcheck.
15892 * text.C (selectNextWordToSpellcheck): Modified to not select
15893 words inside an ERT inset.
15895 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15897 * lyx_cb.C (MenuLayoutSave): change a bit the question
15899 * sp_base.h: include <sys/types.h>
15901 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15903 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15905 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15907 * several files: fix typos in user-visible strings
15909 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15911 * text2.C (pasteSelection): do not set the selection, since it
15912 will be cleared later. Actually, the intent was to fix the way the
15913 selection was set, but I figured rmoving the code was just as good.
15915 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15917 * FontLoader.C (available): Check if font is available without
15920 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15922 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15924 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15926 * lyxrc.[Ch]: added display_graphics variable and associated code.
15928 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15930 * bufferparams.C (hasClassDefaults): new method. Returns true if
15931 the buffer parameters correspond to known class defaults
15933 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15935 * XFormsView.C (show): set minimum size to the main window.
15937 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15939 * text2.C (copySelection):
15941 * lyxfind.C (LyXReplace):
15942 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15943 LyXText::selectionAsString.
15945 * paragraph.C (asString): add "label" argument to the second form
15947 * text2.C (selectionAsString): add "label" argument and pass it to
15948 Paragraph::asString.
15950 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15952 * lyx_main.C (commandLineHelp): remove version information
15954 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15956 * lyx_main.C: add -version commandline option
15958 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15960 * paragraph.h: make the optional constructor arg required instead.
15961 some modifications to other files because of this.
15963 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15965 * lyxserver.C (C_LyXComm_callback): make it static
15967 * lyx_main.C (error_handler): make it static
15969 * lyx_gui.C (LyX_XErrHandler): make it static
15971 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15973 * WorkArea.C: make the extern "C" methods static.
15975 * Makefile.am (lyx_LDADD): simplify
15977 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15979 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15980 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15982 * LyXAction.C (init):
15983 * lyxfunc.C (dispatch): associated code removal.
15985 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15987 * lyxfont.h (isSymbolFont): shut off warning
15989 * text.C (setHeightOfRow):
15990 (getVisibleRow): fix crash with empty paragraphs which have a
15993 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15995 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15998 2001-09-04 José Matos <jamatos@fep.up.pt>
16001 * tabular.C (docbook): rename docBook method to docbook.
16003 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
16005 * Makefile.am: add dependencies to main.o.
16007 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
16009 * FontLoader.C (available): Return false if !lyxrc.use_gui
16011 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
16013 * FontInfo.C (query):
16014 * converter.C (view):
16015 * importer.C (Import):
16016 * exporter.C (Export): Can not -> cannot.
16018 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
16020 * BufferView_pimpl.C: allow to create index inset even if
16023 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
16025 * buffer.C (getLists): replace boost::tie code with an explicit pair
16026 as boost::tie can break some compilers.
16028 * iterators.h: Added a std:: declaration to the return type of
16031 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
16033 * lyxrc.C: add help for view_dvi_paper_option, default to safe
16036 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
16038 * iterators.[Ch]: New files. Provide paragraph iterators.
16040 * buffer.C (changeLanguage): Use paragraph iterators.
16041 (isMultiLingual): ditto
16043 * BufferView2.C (ChangeInsets): Use paragraph iterators.
16045 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
16047 * FontLoader.C: Support for cmr font.
16049 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
16051 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
16052 (available): New method.
16054 * FontInfo.C (getFontname): Use scalable fonts even when
16055 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
16058 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
16060 * converter.C (Formats::view): reverted! Incorrect fix.
16062 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
16064 * converter.C (Formats::view): only output the -paper option
16065 if the dvi viewer is xdvi, thereby fixing bug #233429.
16067 2001-08-23 Herbert Voss <voss@perce>
16069 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
16071 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
16073 * Spacing.h (Spacing): Set space to Default on in the default
16076 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
16078 * vc-backend.h (RCS::versionString): add RCS to version
16079 (CVS::versionString): add CVS to version
16081 * vc-backend.C (scanMaster): do not add CVS to version.
16082 (scanMaster): do not add RCS to version
16084 * lyxvc.C (versionString): new method
16086 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
16088 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16090 * Spacing.C (set): initialize fval
16092 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
16094 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
16097 2001-08-16 Juergen Vigna <jug@sad.it>
16099 * lyxfunc.C (dispatch): implemented the new FINISHED states.
16101 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
16103 * BufferView_pimpl.C:
16106 * text2.C: setParagraph takes linespacing now
16108 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
16110 * LyxAction.C: add internal LFUN_CITATION_INSERT
16112 * LyXView.C: actually apply fix
16114 * bufferlist.C: fix open non-existent file
16116 * lyxfind.C: fix indentation
16118 * lyxfunc.C: remove unneeded assert, fix typo
16120 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
16122 * MenuBackend.C: use "Floatname List"
16124 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
16126 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
16127 when converting LaTeX layout to insetERT.
16128 Generate a non-collapsed float when reading old float
16130 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
16132 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
16135 2001-08-13 Juergen Vigna <jug@sad.it>
16137 * text.C (fill): return 0 instead of 20 as this seems to be the more
16140 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
16142 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
16145 2001-08-13 Juergen Vigna <jug@sad.it>
16147 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
16149 (SearchBackward): comment out the unlocking of the inset_owner this
16150 should not be needed!
16152 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
16154 * Many files: Remove inherit_language, and add latex_language
16156 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
16157 collapsible insets.
16159 2001-08-10 Juergen Vigna <jug@sad.it>
16161 * text.C (prepareToPrint): fixed hfill-width in draw!
16163 * BufferView2.C (selectLastWord): save the selection cursor as this
16164 now is cleared in the function LyXText::clearSelection!
16166 2001-08-08 Juergen Vigna <jug@sad.it>
16168 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
16169 BACKSPACE type functions.
16171 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
16172 is only cutted from the document but not put in the cut-buffer, where
16173 still the old stuff should be.
16175 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
16177 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
16179 * tabular.C (SetWidthOfCell): fixed special case where the width
16181 (LeftLine): handle '|' in align_special.
16183 (LeftAlreadyDrawed): ditto
16184 (SetWidthOfCell): ditto
16186 2001-08-07 Juergen Vigna <jug@sad.it>
16188 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16190 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16192 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16193 * lyxlex.[hC]: ditto
16195 2001-08-06 Juergen Vigna <jug@sad.it>
16197 * text.C (getVisibleRow): fix up row clearing a bit.
16199 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16201 * minibuffer.C: make sure the X server sees the changes in the input.
16203 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16205 * paragraph.C (getFont): split into...
16206 (getLabelFont): this
16207 (getLayoutFont): and this
16208 * paragraph_pimpl.C (realizeFont): calling this
16210 * text2.C (getFont): split into...
16211 (getLayoutFont): this
16212 (getLabelFont): and this
16213 (realizeFont): all three calling this
16215 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16218 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16220 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16222 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
16224 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16225 layouts from the Quote inset insertion.
16227 2001-08-03 Juergen Vigna <jug@sad.it>
16229 * BufferView_pimpl.C (update): do the fitCursor only at the end!
16231 * screen.C (drawFromTo): don't call fitcursor here and do the loop
16232 only if status not is already CHANGED_IN_DRAW (second level).
16234 * text.C (draw): don't set the need_break_row when inside an
16237 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
16239 * buffer.C (parseSingleLyXformat2Token): handle more latex
16242 * bufferview_funcs.[hC]: change function names to
16243 begin with small char, adjust other files.
16245 2001-08-02 André Pönitz <poenitz@gmx.net>
16248 BufferView_pimpl.C: remove broken special code for math-greek
16250 2001-08-02 Juergen Vigna <jug@sad.it>
16252 * BufferView_pimpl.C (update): redone this function so that we
16253 update the text again if there was a CHANGE_IN_DRAW.
16255 * screen.C (cursorToggle): removed LyXText parameter and recoded.
16256 (drawFromTo): added a new internal bool which is used by draw() and
16258 (general): some cursor drawing problems fixed.
16260 2001-08-01 Juergen Vigna <jug@sad.it>
16262 * lyxfind.C (LyXFind): fixed
16263 (SearchForward): ditto
16264 (SearchBackward): ditto
16266 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16267 spurius drawing of the cursor in the main area.
16269 * text2.C (status): small fix which could lead to a segfault!
16270 (clearSelection): remove unneeded BufferView param.
16272 2001-08-01 André Pönitz <poenitz@gmx.net>
16274 * lyxfunc.C: small change due to changed mathed interface
16276 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16278 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16280 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
16282 * lyxfunc.c: fail gracefully if file doesn't exist
16287 * BufferView_pimpl.C: IsDirWriteable() proto changed
16289 * LyXView.C: fix updateWindowTitle() to store the last title
16291 2001-07-31 Juergen Vigna <jug@sad.it>
16293 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16294 the font (wrong since using of Paragraph::highestFontInRange).
16296 * paragraph.C (highestFontInRange): added a default_size parameter.
16298 * text.C (getVisibleRow): minor clear row changes (still not perfect).
16299 (setHeightOfRow): reformat
16301 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16303 * converter.[hC] + affected files: move to (inital-char)lowercase
16306 * ParagraphParameters.C (ParagraphParameters): remove commented code
16308 * PainterBase.[Ch]: remove commented code
16310 * LaTeXFeatures.h: add "bool floats" for float.sty
16312 * LaTeXFeatures.C (LaTeXFeatures): init floats
16313 (require): handle float
16314 (getPackages): do it with floats
16316 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16318 * BufferView_pimpl.C (Dispatch): improve handling of
16319 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16321 * commandtags.h: #include lyxfont.h here temporarily to avoid
16324 * bufferlist.h: include LString.h here.
16326 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16328 * text2.C (getStringToIndex): new method.
16330 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
16332 * *: Reduced header file dependencies all over.
16334 2001-07-30 Baruch Even <baruch@lyx.org>
16336 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16338 2001-07-29 Baruch Even <baruch@lyx.org>
16340 * buffer.C (readInset): Changed GRAPHICS to Graphics.
16342 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16344 * ParameterStruct.h (endif): add a default constructor to make
16345 sure that all variables is initialized.
16347 * ParagraphParameters.C (ParagraphParameters): adjust
16349 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16351 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16352 index; also, check that there is something to index, and that it
16353 does not span over several paragraphs.
16354 (doubleClick): use WHOLE_WORD_STRICT for double click.
16356 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16358 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16361 2001-07-26 Baruch Even <baruch@lyx.org>
16363 * buffer.C (readInset): Changed to call up InsetGraphics when reading
16364 an InsetFig figure, backwards compatible reading of old figure code.
16366 2001-07-27 Juergen Vigna <jug@sad.it>
16368 * text2.C: font.realize function adaption.
16370 * text.C (draw): add a warnings lyxerr text if needed.
16372 * layout.C: font.realize function adaption.
16374 * language.C: add inherit_language and implement it's handlings
16376 * bufferview_funcs.C (StyleReset): remove language parameter from
16377 font creation (should be language_inherit now).
16379 * bufferparams.C (writeFile): handle ignore_language.
16381 * paragraph.C (getFontSettings): the language has to be resolved
16382 otherwise we have problems in LyXFont!
16384 * lyxfont.C (lyxWriteChanges): added document_language parameter
16385 (update): removed unneeded language parameter
16387 * paragraph.C (validate): fixed wrong output of color-package when
16388 using interface colors for certain fonts in certain environments,
16389 which should not seen as that on the final output.
16391 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
16393 * BufferView_pimpl.C:
16398 * LyXAction.C: add thesaurus support
16401 * lyxfind.C: add "once" parameter, for thesaurus, to not
16402 move to the next match
16404 2001-07-26 Juergen Vigna <jug@sad.it>
16406 * lyxfont.C (realize): honor ignore_language too!
16409 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16411 * text.C (draw): one place more for ignore_language to not draw
16414 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
16416 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16418 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16420 * buffer.C (parseSingleLyXformat2Token): a more general fix for
16421 the minipage conversion problem.
16423 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16425 * buffer.C (parseSingleLyXformat2Token): check minipage if we
16428 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16430 * BufferView.h: don't forward declare WorkArea
16432 * BufferView.C: don't include WorkArea.h
16434 2001-07-25 André Pönitz <poenitz@gmx.net>
16438 * lyxfunc.C: new LFUN 'math-space'
16440 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16442 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16444 * text2.C (toggleInset): call open/close
16446 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16448 * lyxfunc.C (dispatch): add debug for the disabled case
16450 * font.C (buttonText): make similar to rectText
16452 * buffer.C (readInset): comment out parsing of insetlist and
16455 * PainterBase.C (rectText): small correction
16457 * BufferView_pimpl.C: comment out insettheorem and insetlist
16458 * LyXAction.C: ditto
16459 * commandtags.h: ditto
16461 2001-07-24 Juergen Vigna <jug@sad.it>
16463 * text.C (draw): honor the ignore_language.
16465 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16467 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16469 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16472 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16474 * lyxtext.h: remove unused (and unimplemented) methods
16476 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16478 * text.C (getVisibleRow): honor background color
16481 * Painter.h: remove default color argument for fillRectangle
16483 * text.C (backgroundColor): new method
16485 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16487 * text.C (getVisibleRow): adjust
16489 * font.[Ch] (rectText): new method, metrics
16490 (buttonText): new method, metrics
16492 * PainterBase.[hC]: make rectText and buttonText always draw and take
16495 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16497 * ToolbarDefaults.C (read):
16498 * MenuBackend.C (read): allow escaping in all strings
16500 * BufferView_pimpl.C (insertAndEditInset): new method.
16501 (Dispatch): use insertAndEditInset whenever appropriate.
16503 * BufferView_pimpl.C (insertNote): removed
16505 * BufferView_pimpl.C (smartQuote): new method, moved from
16506 BufferView; if an insetquote cannot be inserted, insert a '"'
16509 * BufferView2.C: remove insertCorrectQuote();
16511 * lyxfunc.C (getStatus): Add support for all remaingin
16512 inset-insert lfuns.
16514 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16516 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16517 command (necessary to pass " as parameter of self-insert.
16519 * text.C (selectWordWhenUnderCursor):
16520 (selectWord): add word_location parameter
16521 (selectWordWhenUnderCursor): same + remove special code for word
16523 (selectNextWord): use kind() to guess type of insetspecialchar,
16526 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16527 (insertErtContents): create ert insets as collapsed.
16528 (readInset): better compatibility code for Info inset.
16530 2001-07-20 Juergen Vigna <jug@sad.it>
16532 * lyxfunc.C (dispatch): use always LyXFind now!
16534 * text2.C (init): add a reinit flag so that the LyXText can be
16535 reinited instead of deleted and reallocated (used in InsetText).
16537 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16543 2001-07-18 Juergen Vigna <jug@sad.it>
16545 * text.C (selectNextWord): handle insets inside inset by calling
16546 always the bv->text functions so that we can go up the_locking_inset!
16548 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16549 in strange locations when inside an inset!
16551 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16552 handling to include insets.
16554 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16556 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16558 * LyXAction.C (init):
16560 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16561 LIGATURE_BREAK, since the name is so stupid.
16563 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16565 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16568 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16570 * sp_form.[Ch]: remove.
16572 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16574 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16577 * src/buffer.C (readInset): ditto.
16579 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16581 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16582 menuSeparator(), endOfSentenceDot(), ldots() and
16583 hyphenationPoint(), which are therefore removed.
16584 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16586 * LyXAction.C (init):
16587 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16589 * paragraph.C (getWord): removed.
16591 * BufferView_pimpl.C (Dispatch): use last word or selection for
16592 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16594 * lyx_main.C (queryUserLyXDir): do not ask before creating
16595 user_dir, except if it has been named explicitely.
16597 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16599 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16600 a document of zero size.
16602 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16604 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16605 approriately in the c-tor and in require().
16606 (getPackages): output the appropriate LaTeX for natbib support.
16608 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16609 variables "use_natbib" and "use_numerical_citations" when reading the
16611 (readInset): read the various natbib cite commands.
16612 (validate): white-space change.
16614 * bufferparams.[Ch]: new variables "bool use_natbib" and
16615 "bool use_numerical_citations".
16616 (writeFile): output them in the LyX file.
16618 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16620 * lyxfunc.C (getStatus): add support for all the inset insertion
16623 * text2.C (insertInset):
16624 * paragraph.C (insetAllowed):
16625 * BufferView_pimpl.C (insertInset): update to take in account the
16626 renaming of insertInsetAllowed
16628 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16630 * text2.C (getInset): new method. returns inset at cursor position.
16632 * BufferView_pimpl.C (Dispatch): changes because of this.
16634 * LyXAction.C (init): rename open-stuff to inset-toggle.
16636 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16638 * text2.C (toggleInset): renamed from openStuff; use
16641 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16643 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16645 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16647 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16649 * buffer.C (readLyXformat2): Add filename to the error dialog
16651 2001-07-18 Juergen Vigna <jug@sad.it>
16653 * tabular.C (GetCellNumber): put an assert here instead of the check!
16655 2001-07-17 Juergen Vigna <jug@sad.it>
16657 * BufferView_pimpl.C (toggleSelection): adapted too.
16659 * text.C (selectNextWord): adapted for use with insets.
16660 (selectSelectedWord): ditto
16662 2001-07-17 Juergen Vigna <jug@sad.it>
16664 * sp_spell.C (PSpell): fix initialitation order.
16666 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16668 * paragraph.C: spacing
16670 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16672 * sp_spell.C: repair language selection for pspell
16674 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16676 * lyxfunc.h: change more methods to begin with lower char.
16678 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16680 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16681 for unknown layouts.
16683 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16685 * buffer.C (readLyXformat2): Generate an error dialog if there are
16688 2001-07-16 Juergen Vigna <jug@sad.it>
16690 * sp_spell.C: always compile ISpell part.
16692 * lyxrc.C: added use_pspell entry and it's handling.
16694 2001-07-13 Juergen Vigna <jug@sad.it>
16696 * sp_spell.C: removed double includes.
16698 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16700 Consistent use of Lsstream.h:
16701 * Lsstream.h: added using std::stringstream for consistencies sake.
16703 * buffer.C: removed using std::stringstream
16705 * lyxfont.C (stateText):
16706 * paragraph.C (asString):
16707 * text.C (selectNextWord, selectSelectedWord):
16708 * text2.C (setCounter):
16709 * vspace.C (asString, asLatexString):
16710 std::ostringstream -> ostringstream.
16712 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16714 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16715 * commandtags.h: add LFUN_HELP_ABOUTLYX
16716 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16718 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16720 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16722 * lyx_gui_misc.C: remove spellchecker
16723 * lyxfunc.C: showSpellchecker
16725 * sp_ispell.h: added
16726 * sp_pspell.h: added
16727 * sp_spell.C: added
16728 * sp_form.[Ch]: removed
16729 * spellchecker.[Ch]: removed
16731 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16733 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16735 (simpleTeXSpecialChars): Simply print the input character without
16736 any special translation if pass_thru is set.
16738 * layout.h: Added bool pass_thru to layout class for being able to
16739 implement pass through of a paragraph for Literate Programming.
16741 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16742 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16743 * layout.C (Read): add "passthru" to list of layout tags and add
16744 code to set the pass_thru boolean when it is read.
16746 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16748 * trans_decl.h: remove allowed from KmodInfo
16750 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16751 remove allowed code
16754 * paragraph_pimpl.C (erase): use boost::prior
16756 * Painter.C (text): use data() instead of c_str() when length is
16758 * WorkArea.C (putClipboard): ditto
16759 * font.h (width): ditto
16761 * BufferView2.C: use it-> instead of (*it). for iterators
16763 * paragraph_pimpl.C: ditto
16764 * paragraph.C: ditto
16765 * minibuffer.C: ditto
16766 * language.C: ditto
16768 * encoding.C: ditto
16769 * counters.C: ditto
16770 * converter.C: ditto
16772 * Variables.C: ditto
16773 * TextCache.C: ditto
16774 * MenuBackend.C: ditto
16775 * LyXAction.C: ditto
16777 * FloatList.C: ditto
16778 * DepTable.C: ditto
16779 * ColorHandler.C (LyXColorHandler): ditto
16781 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16783 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16785 * text2.C (openStuff): reintroduce this method (which had been
16786 nuked in NEW_INSETS frenzy).
16788 * lyxfunc.C (Dispatch): when an action has not been handled, use
16789 its name in the error message, not its number.
16791 * paragraph.C (inInset): change method name to begin with lowercase.
16794 * text2.C: updates because of this.
16796 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16798 * ToolbarDefaults.C (add): add spaces in error message
16800 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16802 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16803 (readLyXformat2): rename return_par to first_par, use lyxlex's
16804 pushToken and remove the manual push handling.
16805 (parseSingleLyXformat2Token): add another ert comp. variable:
16806 in_tabular, rename return_par to first_par. handle newlines better
16808 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16810 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16812 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16814 * text2.C (getParFromID): removed
16816 * buffer.C (getParFromID): new method moved form lyxtext.
16817 * BufferView2.C (insertErrors): adjust
16818 (setCursorFromRow): adjust
16819 * BufferView_pimpl.C (restorePosition): adjust
16820 * lyxfunc.C (Dispatch): adjust
16821 * undo_funcs.C (textUndo): adjust
16823 (textHandleUndo): adjust
16824 (textHandleUndo): adjust
16826 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16828 * buffer.C: up' the LYX_FORMAT
16830 * lyxfont.h: turn NO_LATEX on as default
16832 * buffer.C (insertErtContents): new methods of tex style compability.
16833 (parseSingleLyXformat2Token): use it several places.
16834 * tabular.C (OldFormatRead): and here
16836 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16838 * text2.C: remove some commented code.
16841 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16842 * trans.C: changes because of the above.
16844 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16846 * text2.C (setCounter): Fix counters bug with bibliography layout.
16848 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16850 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16851 own member functions
16852 (simpleTeXSpecialChars): ditto
16854 2001-07-06 Juergen Vigna <jug@sad.it>
16856 * a lot of files: changed the access to LyXText::status and the
16857 call of undo-functions.
16859 * undo.[Ch]: added a inset_id to the undo informations.
16861 * undo_funcs.[Ch]: added and moved here all undo functions.
16863 * lyxtext.h: give the status enum a weight, made status_ a private
16864 variable and made accessor functions for it, removed the whole bunch
16865 of undo-functions as they are now in their own file, make some
16866 functions publically available. Added function ownerParagraph with
16869 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16870 made InInset() a const function, added getParFromID() function.
16872 * buffer.[Ch]: added const version for inset_iterator functions,
16873 added getInsetFromID() function.
16875 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16876 changed undo functions for new version.
16878 2001-07-05 Juergen Vigna <jug@sad.it>
16880 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16881 unknow mechanism does not call the proper constructor but only this
16882 one also if I request the other!?
16884 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16886 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16888 * text2.C (LyXText): use initialization lists.
16890 * lyxtext.h (Selection): initialize set_ and mark_
16891 (init): remove method
16893 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16895 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16897 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16899 * screen.[Ch]: change method names to begin with lowercase
16901 * BufferView_pimpl.C (updateScrollbar): simplify further and
16902 hopefully make it a bit faster.
16904 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16906 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16907 calling directly xforms functions.
16909 * Painter.C (Painter):
16910 * lyx_cb.C (MenuWrite):
16911 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16914 * lyx_gui.C: remove bogus guiruntime extern declaration.
16916 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16918 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16920 (redoDrawingOfParagraph): ditto
16921 (redoParagraphs): ditto
16922 (cutSelection): don't create a object for CutAndPaste use the
16923 static method directly
16924 (pasteSelection): ditto
16926 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16929 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16931 * modifications to some other files because of this.
16933 * Makefile.am (lyx_SOURCES): add XFormsView
16935 * XFormsView.[Ch]: new files
16937 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16938 the main window. Move the gui dependent stuff to XFormsView
16940 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16942 * tabular.C (GetCellInset): update cur_cell also in the row/col
16943 version of this function.
16945 * lyxfunc.C: no need to include figure_form.h here.
16951 * lyxvc.C: no need to include forms.h here.
16953 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16955 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16957 * lyxfunc.C (Dispatch):
16959 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16960 constructor argument.
16962 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16964 * paragraph.C (Paragraph): dont't clear, and just set layout.
16965 (makeSameLayout): use params's copy contructor.
16967 * ParagraphParameters.[Ch] (makeSame): delete method
16969 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16971 * Variables.[Ch]: fix indentation, rename set to isSet
16973 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16975 * lyxfunc.C (Dispatch): fix typo
16977 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16979 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16982 * bufferlist.C: include assert.h for emergencyWrite().
16984 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16986 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16987 give up at last (bug #425202) !
16989 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16995 * spellchecker.C: strip spellchecker options and bring up
16996 preferences tab instead
16998 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17000 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
17001 the istringstream constructor
17003 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17005 * paragraph.C (getLayout): fix return value
17007 * paragraph.h: do not declare getLayout as inline.
17009 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
17011 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17013 * lyxcursor.h (operator<): new func
17014 (operator>): new func
17015 (operator>=): new func
17016 (operator<=): new func
17018 * text.C (changeCase): use selection.start and selection.end
17019 (changeRegionCase): require from to be <= to. Require par to be a
17022 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
17024 2001-06-27 Juergen Vigna <jug@sad.it>
17026 * text.C (cursorLeftOneWord): changed to return the cursor and added
17027 overlay with BufferView * parameter which calls this one.
17029 (selectWord): use new getWord function.
17030 (changeCase): renamed from changeWordCase as and extended to work
17031 also on selections.
17033 * lyxtext.h: added enum word_location
17035 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
17036 changeCase as this operates now also on selections.
17038 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
17040 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
17042 * many files: send debug output to Debug::INFO instead of
17045 * converter.C (View):
17047 (Move): send debug output to Debug::FILES instead of console.
17049 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
17051 * lyxfunc.C (getStatus): use func_status
17053 * func_status.h: new header, describing the results of
17054 LyXFunc::getStatus;
17056 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
17059 2001-06-25 The LyX Project <jug@sad.it>
17061 * buffer.C (sgmlOpenTag):
17063 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
17065 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17067 * text2.C: remove some dead code
17069 * tabular.C (GetCellInset): store the last cell checked (gotten)
17071 * tabular.h: add the helper for the speedup
17073 * lyxtext.h: remove some dead code
17075 2001-06-26 The LyX Project <Asger>
17077 * paragraph.C: Change export to LaTeX of alignment to
17078 \begin{center} and family for better roundtrip work with reLyX.
17080 * Tune the math drawing a bit.
17082 2001-06-25 The LyX Project <Asger>
17084 * LColor.C (LColor): New color for math background. New color
17087 2001-06-25 The LyX Project <jug@sad.it>
17089 * lyxfunc.C (MenuNew): remove extra check for .lyx file
17091 * lyxfunc.C (Open):
17092 * bufferlist.C (newFile): do not restrict to files ending with
17095 * BufferView_pimpl.C (MenuInsertLyXFile):
17097 2001-06-24 The LyX Project <jug@sad.it>
17099 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
17102 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17104 * lyxtext.h: rename most methods to begin with a small char.
17105 Lots of changes because of this.
17107 * paragraph.C (Paragraph): do not call fitToSize
17108 (erase): call Pimpl::erase
17109 (insertChar): call Pimpl::insertChar
17110 (insertInset): call Pipl::insertInset
17111 (breakParagraph): do not call fitToSize
17112 (breakParagraphConservative): do not call fitToSize
17113 (fitToSize): remove method
17115 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
17117 2001-06-24 The LyX Project <Asger>
17119 * Fix Qt compilation^2
17121 2001-06-24 The LyX Project <jug@sad.it>
17123 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
17124 depthHook(getDepth()-1).
17127 * ParagraphParameters.h:
17128 * ParameterStruct.h: change type of depth to unsigned int ==
17129 depth_type. Many adaptations to other files before of that.
17131 2001-06-24 The LyX Project <Asger>
17133 * Fix Qt compilation.
17135 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17137 * paragraph.h: renamed several methods to begin with small letter.
17138 several changes to many parts of the code because of this.
17140 2001-06-23 The LyX Project <jug@sad.it>
17142 * text2.C (InsertStringAsLines): renamed from InsertStringA;
17143 rewritten to discard all double spaces when KeepEmpty is off
17144 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
17145 to only handle newlines but not fiddle with spaces and friends.
17147 * lyxfunc.C (MenuNew): when doing 'new from template', use
17148 template_path as default directory
17150 2001-06-23 The LyX Project <Asger>
17152 * Clean-up of header file includes all over
17153 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
17155 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17157 * paragraph.h: renamed from lyxparagraph.h
17159 2001-06-23 Asger <lyx@violet.home.sad.it>
17161 * Buffer.h: Removed Buffer::resize
17162 * BufferList.h: Removed BufferList::resize
17163 * LyXView.h: Added LyXView::resize. This way, we will only reflow
17164 the document lazily when we change the width, or the font settings.
17166 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17168 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
17170 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17172 * buffer.h: remove out of date comment
17174 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17177 * screen.C: fix "theoretical" GC leak
17179 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17181 * LaTeX.C (scanAuxFile):
17182 (deplog): remove trailing \r when reading stream (useful under
17185 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
17187 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17188 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17189 and BufferView::theLockingInset(Inset*), so should use them and not
17190 access bv_->text->the_locking_inset directly.
17192 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17194 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
17197 * tex-defs.h: remove old unused file
17199 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
17201 * BufferView_pimpl.C: fix typo, remove minibuffer message
17202 when buffer has loaded
17204 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
17206 * lyxfunc.C (Dispatch): use stringstream
17207 (MenuNew): use stringstream
17208 (Open): use stringstream
17210 * importer.C (Import): use stringstream
17212 * bufferview_funcs.C (CurrentState): use stringstream
17214 * LaTeX.C (run): use stringstream
17216 * BufferView_pimpl.C (savePosition): use stringstream
17217 (restorePosition): use stringstream
17218 (MenuInsertLyXFile): use stringstream
17220 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
17233 * vspace.C: removed // -*- C++ -*- as first line.
17236 * version.h: added // -*- C++ -*- as first line.
17238 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17240 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17242 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17245 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
17247 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17250 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17252 * gettext.C: include LString.h even when --disable-nls is on.
17254 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
17256 * converter.h (Get): changed argument type from int to
17257 FormatList::size_type to avoid unnecessary conversion.
17259 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17262 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17264 * gettext.h: include LString.h even when --disable-nls is on.
17266 2001-06-07 Juergen Vigna <jug@sad.it>
17268 * text.C (BreakAgain): subst spaces with tabs.
17270 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17271 (resizeInsetsLyXText): set force on resizeLyXText.
17273 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17275 * gettext.h (gettext_init):
17276 (locale_init): use a real definition instead of a macro
17278 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
17280 * Bufferview_pimpl.C:
17282 * LColor.C: further lcolor tidies
17284 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
17286 * BufferView_pimpl.C (updateScrollbar): simplify.
17288 * BufferView2.C: don't include insets/insetinfo.h, change
17289 prototype for insertInset and call the Pimpl version. let
17290 updateInset call Pimpl version.
17292 * BufferView.h: move inset_slept to BufferView::Pimpl, move
17293 gotoInset to BufferView::Pimpl
17295 2001-06-01 Juergen Vigna <jug@sad.it>
17297 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17298 inside a LockingInset (is the update needed at all?).
17300 2001-05-31 Juergen Vigna <jug@sad.it>
17302 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17303 here not the old one otherwise how should we compare it afterwards
17306 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17311 * FontInfo.C: bring C functions into global namespace when
17314 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17316 * LString.h: make sure config.h has been loaded before LString.h.
17318 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17319 (one for each char read by EatLine!).
17321 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17324 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
17326 * paragraph.C (BreakParagraph): set the inset_owner in the new par
17327 to the same as the par we break from
17329 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
17331 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17333 * MenuBackend.C (expand): also create menu entries for wide
17334 versions of the floats.
17336 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17338 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17340 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17341 frontends/Makefile.am
17347 * tabular.C (getTokenValue): add std::
17349 * tabular-old.C (getTokenValue): add std::
17350 (getTokenValue): ditto
17351 (getTokenValue): ditto
17353 * screen.C (ToggleSelection): adjust
17355 * lyxtext.h: put selection cursors inside a Selection struct.
17357 * lyxfunc.C (moveCursorUpdate): adjust
17359 * lyxfont.C (latexWriteStartChanges): add std::
17361 * lyxfind.C: adjust
17363 * font.h: delete with(char const *, LyXFont const &)
17365 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17367 * FontInfo.C (getFontname): add std::
17369 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17370 (workAreaButtonPress): adjust
17371 (tripleClick): adjust
17373 (moveCursorUpdate): adjust
17376 * BufferView2.C (gotoInset): adjust
17378 2001-05-30 Juergen Vigna <jug@sad.it>
17380 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17381 to check pspell I add this as default as I now have new pspell
17382 libraries and they seem to use this.
17384 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
17386 * text2.C (CutSelection): make the cursor valid before the call to
17389 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17391 * kbsequence.C (parse): de-uglify a bit the parsing code, which
17392 relied on 0 terminated strings and other horrors. Bug found due to
17393 the new assert in lyxstring!
17395 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17398 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
17400 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17403 * lyxfunc.C (processKeySym): change method of getting to the
17406 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17407 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17408 * BufferView_pimpl.[Ch]: here as private methods.
17410 2001-05-28 Juergen Vigna <jug@sad.it>
17412 * text.C (SetHeightOfRow): added the update() call again as it is
17413 needed to initialize inset dimensions!
17415 2001-05-16 Juergen Vigna <jug@sad.it>
17417 * text2.C (SetCharFont): Add new function with BufferView * and
17418 bool toggleall parameters for setting insets internal fonts.
17419 (SetFont): Freeze the undo as we may change fonts in Insets and
17420 all this change should be inside only one Undo!
17422 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17423 setting font's in insets as for them we have the SetFont function!
17425 2001-05-15 Juergen Vigna <jug@sad.it>
17427 * text2.C (ClearSelection): to be sure we REALLY don't have any
17430 * tabular.C (TeXCellPreamble): fixed the left border problem for
17433 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
17435 * LaTeX.C (deplog): Make sure that the main .tex file is in the
17438 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17440 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17441 LFUN_BREAKPARAGRAPH.
17443 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17444 help test to "internal only", similar for LFUN_INSERT_URL
17446 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17447 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17448 auto_region_delete and deadkeys.
17450 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17453 * LColor.C: remove some dead entries, tidy a little
17455 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17457 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17459 (Dispatch): implement LFUN_ESCAPE
17461 * commandtags.h: add LFUN_ESCAPE
17463 * LyXAction.C (init): add entry for LFUN_ESCAPE
17465 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17466 Remove commented code.
17467 (insertNote): moved here
17468 (open_new_inset): moved here
17470 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17473 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17475 * kbmap.C (findbinding): clean it up and make it work correctly.
17477 * lyx_main.C (init): do not pass argc and argv as parameters
17479 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17481 * buffer.C: fix path for OS/2 & Win32
17485 * lyx_main.C: Added os:: class.
17487 * os2_defines.h: update
17489 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17491 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17492 better by trying again with reduced state.
17494 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17496 * lyxrc.C (read): print error about invalid key sequence only when
17497 debugging (because not all latinX keysyms are known to some X
17500 * kbsequence.C (getiso): add a few std:: qualifiers
17501 (getiso): comment out extra return statement.
17503 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17505 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17507 (Dispatch): enhance the accent inset a bit. (not perfect)
17509 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17511 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17513 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17515 * bufferlist.C (emergencyWrite): fix assert() call
17517 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17519 * text.C (InsertChar): Added trivial patch to only send the "you
17520 can not do multiple spaces this way" message once during a
17523 2001-05-08 Baruch Even <baruch@lyx.org>
17525 * Makefile.am: Changed order of libraries to get LyX to link properly
17526 with the gnome frontend.
17528 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17530 * LaTeXFeatures.h: add a std:: qualifier
17532 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17534 * paragraph.C (String): use stringstream
17536 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17538 * paragraph.C (writeFile): remove footflag arg
17540 * buffer.C (makeLaTeXFile): use stringstream
17541 (latexParagraphs): remove footnot gurba
17543 * LaTeXFeatures.C (getPackages): use stringstream
17544 (getMacros): likewise
17545 (getTClassPreamble): likewise
17546 (getFloatDefinitions): new method
17548 * paragraph.C (writeFile): reindent
17551 * WorkArea.h: revert the xpos + etc changes.
17553 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17555 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17557 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17558 (pasteSelection): likewise
17559 * text2.C (CreateUndo): likewise
17561 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17563 * minibuffer.C (peek_event): temporarily reduce the functionality
17564 of the minibuffer (to allow args on lfuns)
17566 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17567 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17569 * buffer.C (readInset): add compability reading of old float
17570 lists, add reading of new style float list.
17571 (readInset): avoid reevaluation of inscmd.getCmdName()
17572 (getLists): reindent
17574 * MenuBackend.C (MenuItem): implement parsing of
17575 md_floatlistinsert and md_floatinsert.
17576 (expand::LastFiles): move initalizaton of iterators out of loop,
17577 avoid reevaluation.
17578 (expand::Documents): introduce typdedef vector<string> Strings,
17580 (expand::ExportFormats): introduce typedef vector<Format const *>
17581 Formats, and use it.
17582 (expand): implement FloatListInsert and FloatInsert.
17584 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17585 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17586 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17588 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17590 (Dispatch::LFUN_FLOAT_LIST): implement
17592 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17594 * LaTeX.C (run): Fix problem with --export code.
17596 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17598 * BufferView.[Ch] (workarea): removed.
17599 (getClipboard) new method; wrapper for workarea()->getClipboard()
17601 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17604 * WorkArea.h (width, height, xpos, ypos): These methods all
17605 returned the dimensions of the work_area sub-area of WorkArea,
17606 resulting in a position error if the WorkArea were resized. Now
17607 return the dimensions of the entire WorkArea.
17609 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17611 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17613 * LaTeX.C (deplog): correct the syntax of regex reg1
17615 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17617 * undo.C: remove !NEW_INSETS cruft
17619 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17621 * text2.C: remove !NEW_INSETS cruft
17623 * text.C: remove !NEW_INSETS cruft
17625 * tabular.C: remove !NEW_INSETS cruft
17627 * spellchecker.C: remove !NEW_INSETS cruft
17629 * lyxtext.h: remove !NEW_INSETS cruft
17631 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17633 * lyxfunc.C: remove !NEW_INSETS cruft
17635 * lyxfind.C: remove !NEW_INSETS cruft
17637 * lyx_cb.C: remove !NEW_INSETS cruft
17639 * figureForm.C: remove !NEW_INSETS cruft
17641 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17643 * buffer.[Ch]: remove !NEW_INSETS cruft
17645 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17647 * CutAndPaste.C: remove !NEW_INSETS cruft
17649 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17651 * BufferView2.C: remove !NEW_INSETS cruft
17653 * BufferView.h: remove !NEW_INSETS cruft
17655 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17657 * Lsstream.h: include LString.h before the sstream headers to
17658 fix problem with gcc 2.95.3 and lyxstring
17660 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17662 * lyx_main.C: add using directives when needed for C functions
17663 declared in std:: namespace.
17665 2001-04-27 Juergen Vigna <jug@sad.it>
17667 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17668 (SetHeightOfRow): comment out the update call should not be needed!
17670 2001-04-13 Juergen Vigna <jug@sad.it>
17672 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17673 (LyXTabular): tried to minimize operator= operations (and realized
17674 hopfully Lars wish).
17676 2001-04-27 Juergen Vigna <jug@sad.it>
17678 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17680 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17682 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17684 * buffer.C (readInset): hack to make listof algorithm work
17686 * BufferView_pimpl.C: hack to make listof algorithm work
17688 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17690 * LyXAction.C: removed all !NEW_INSETS cruft
17691 (init): moved lfun_item in method
17693 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17695 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17697 * BufferView2.C (theLockingInset): white space.
17699 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17701 * minibuffer.C: include <iostream>
17703 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17705 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17707 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17709 * text.[Ch] (TransposeChars): new method
17711 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17713 * call message directly through LyXView instead of through LyXFunc
17714 * BufferView2.C: adjust
17715 * BufferView_pimpl.C: adjust
17716 * FontLoader.C: adjust
17718 * bufferview_funcs.C: adjust
17719 * converter.C: adjust
17720 * figureForm.C: adjust
17721 * importer.C: adjust
17723 * lyx_gui_misc.C: adjust
17724 * lyxfunc.C: adjust
17727 + more files in subdirs
17729 * lyxparagraph.h (size): move up int file
17732 * adjust all uses of Assert to lyx::Assert.
17734 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17735 lyxfunctional in namespace lyx
17736 * layout.C (hasLayout): ditto
17739 (delete_layout): ditto
17740 (NumberOfClass): ditto
17741 * converter.C (GetFormat): ditto
17746 * bufferlist.C (getFileNames): ditto
17747 (emergencyWriteAll): ditto
17750 * MenuBackend.C (hasSubmenu): ditto
17753 * BufferView_pimpl.C (getInsetByCode): ditto
17755 2001-04-18 Juergen Vigna <jug@sad.it>
17757 * vspace.C (asLatexString): fixed the 100% problem.
17759 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17761 * lyxfunc.C (Dispatch):
17763 * minibuffer.h: add a few std:: qualifiers
17765 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17767 * minibuffer.[Ch]: reimplement so that commands is initiated and
17768 run from lyxfunc, simplified som handling, and made the completion
17769 and history code for complete. wip.
17771 * lyxfunc.C (processKeySym): call message
17772 (miniDispatch): new temporary method
17773 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17774 (LFUN_MESSAGE): implement
17775 (LFUN_MESSAGE_PUSH): implement
17776 (LFUN_MESSAGE_POP): implement
17777 (initMiniBuffer): the initial/defualt minibuffer message.
17779 * lyxfont.[Ch]: inline some more getters
17781 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17783 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17785 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17786 (AutoSave): use LFUN_MESSAGE
17787 (Reconfigure): ditto
17789 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17791 * figureForm.C: use LFUN_MESSAGE
17793 * converter.C (runLaTeX): use LFUN_MESSAGE
17795 * bufferview_funcs.C: use LFUN_MESSAGE
17797 (changeDepth): ditto
17799 * bufferparams.h: use boost::
17801 * bufferlist.h: inherit privately from noncopyable
17803 * bufferlist.C (loadLyXFile): remove some commented code.
17805 * buffer.C (runChktex): use LFUN_MESSAGE
17807 * ShareContainer.h: inherit privately from noncopyable
17809 * ParagraphParameters.[hC] (depth): inline it.
17811 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17813 (message): new method
17814 (messagePush): ditto
17815 (messagePop): ditto
17816 (show): init minibuffer
17817 (showState): direct call
17819 * LaTeX.[Ch]: inherit privately from noncopyable
17820 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17821 instead of WriteStatus.
17823 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17825 * BufferView_pimpl.C (buffer): don't init minibuffer
17826 (workAreaButtonPress): use LFUN_MESSAGE
17827 (workAreaButtonRelease): ditto
17828 (savePosition): ditto
17829 (restorePosition): ditto
17830 (MenuInsertLyXFile): ditto
17831 (workAreaExpose): don't init minibuffer
17832 (update): remove commented code, simplify
17834 * BufferView2.C (openStuff): use LFUN_MESSAGE
17835 (toggleFloat): ditto
17838 (copyEnvironment): ditto
17839 (pasteEnvironment): ditto
17844 (updateInset): remove some commented code
17846 * lastfiles.h: inherit privately from noncopyable
17849 * lyx_main.h: ditto
17851 * lyxlex_pimpl.h: ditto
17853 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17854 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17855 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17857 * LyXAction.h: inherit privately from noncopyable, add methods
17858 func_begin, func_end, returning iterators to the func map.
17860 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17861 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17862 (func_begin): new method
17863 (func_end): new method
17865 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17867 (copySelection): ditto
17868 (pasteSelection): ditto
17870 * BufferView.C: whitespace change
17871 * BufferView.h: inherit privately from noncopyable
17873 2001-04-16 Allan Rae <rae@lyx.org>
17875 * tabular-old.C (l_getline):
17876 * spellchecker.C (sc_check_word):
17877 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17878 an unrecognised preprocessor directive. So ensure they're wrapped.
17880 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17882 * src/exporter.C (Export): Give an error message when path to file
17885 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17887 * LaTeX.C (deplog): Always check that foundfile exists.
17889 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17892 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17894 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17896 * tabular.[Ch] (getLabelList): implement new method
17898 * minibuffer.h: comment ouf setTiimer
17900 * minibuffer.C (ExecutingCB): constify res
17901 (peek_event): constify s
17902 (Set): constify ntext
17903 (Init): constify nicename
17905 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17907 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17908 (savePosition): use two params to Minibuffer::Set
17909 (restorePosition): ditto
17911 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17913 * lyx_main.C: include language.h
17915 * Makefile.am (lyx_main.o): add language.h
17917 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17923 * CutAndPaste.C: include gettext.h
17925 * lyxfont.h: remove old hack with ON and OFF.
17928 * lyxfont.h: do not include language.h...
17933 * bufferview_funcs.C:
17939 * paragraph.C: ... but do it here instead
17941 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17943 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17945 * tabular.C: small reformat
17947 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17950 (BreakParagraph): ditto
17951 (SetOnlyLayout): ditto
17954 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17957 * lastfiles.C: removed most using decl, add std:: where needed
17959 * buffer.C: ws changes
17961 * MenuBackend.C (class compare_format): put into anon namespace
17962 (expand): constify label, names, action, action2
17965 * text.C (SingleWidth): constify font
17966 (IsBoundary): constify rtl2
17967 (GetVisibleRow): constify ww
17969 * LaTeX.C (deplog): constify logfile
17971 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17973 (workAreaExpose): constify widthChange, heightChange
17975 * lyxrow.C (par): moved
17978 * lyxrow.h: as inlines here
17980 * lyxfont.h (shape): moved from lyxfont.C
17981 (emph): moved from lyxfont.C
17983 * lyxfont.C (LyXFont): use initialization list for all
17985 (shape): move to lyxfont.h as inline
17986 (emph): move to lyxfont.h as inline
17989 2001-04-04 Juergen Vigna <jug@sad.it>
17991 * vspace.C: had to include stdio.h for use of sscanf
17993 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17996 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17997 independent of xforms.
17999 2001-04-02 Juergen Vigna <jug@sad.it>
18001 * spellchecker.C: fixed namespace placing!
18003 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
18005 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
18006 the LyXParagraph * is 0.
18008 2001-03-29 Juergen Vigna <jug@sad.it>
18010 * vspace.C: added support for %, c%, p%, l%.
18011 (stringFromUnit): added helper function.
18012 (asLatexString): changed to give right results for the %-values.
18014 * buffer.C: convert the widthp in a width%.
18016 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
18018 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
18021 * figureForm.[Ch]: stripped the FD_from_figure manipulation
18022 code out of lux_cb.[Ch], ready for its (imminent?) removal.
18024 * lyx_cb.[Ch]: see above.
18026 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
18030 * lyx.[Ch]: replaced by figure_form.[Ch].
18034 * lyxfunc.C: changed headers associated with above changes.
18036 2001-03-27 Juergen Vigna <jug@sad.it>
18038 * BufferView_pimpl.C: set the temporary cursor right!
18040 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
18042 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
18044 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
18046 * LString.h: removed "using std::getline"!
18048 * BufferView_pimpl.C (Dispatch): changes due to changes in
18049 InsetInclude::Params.
18051 * buffer.C (tag_name): removed redundant break statements as they were
18052 producing lots of warnings with my compiler.
18054 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18056 * LString.h: add "using std::getline" when using the real <string>.
18058 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
18060 * buffer.C: removed bitset usage.
18061 PAR_TAG moved to an anonymous name space.
18062 (tag_name): new funtion, also in the anonymous namespace.
18063 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
18064 (makeDocBookFile): clean code. Completed transition from string arrays
18066 (SimpleDocBookOnePar): code clean.
18068 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18070 * tabular.C: add some comments.
18072 2001-03-22 Juergen Vigna <jug@sad.it>
18074 * buffer.C (parseSingleLyXformat2Token): redone the minipage
18075 compatibility read a bit and fixed bug with minipage in different
18078 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
18080 * buffer.C (pop_tag): removed.
18081 (push_tag): removed.
18082 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
18083 array replaced with vector. Added support for CDATA sections.
18084 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
18086 (makeDocBookFile): XML conformant declaration of CDATA section,
18087 fixed bug related to <emphasis> in the first paragraph char.
18088 (sgmlOpenTag): exclude empty tags.
18089 (sgmlCloseTag): ditto.
18091 * buffer.h (pop_tag): removed.
18092 (push_tag): removed.
18094 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
18096 * language.h (Languages): added size_type and size().
18098 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18100 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
18101 response on compability reading of minipages. One probliem is that
18102 the old usage of minipages was flertydig
18104 * several files here and in subdirs: don't use static at file
18105 scope use anon namespaces instead.
18107 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
18109 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
18110 LaTeX output. This is necessary for Literate document
18113 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18115 * buffer.C: insert hfill when needed.
18117 * tabular.C (l_getline): use string::erase, small whitespace change.
18119 * BufferView_pimpl.C: try the anon namespace.
18120 * WorkArea.C: ditto
18122 2001-03-16 Juergen Vigna <jug@sad.it>
18124 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
18125 otherwise it won't open options-dialogs.
18127 * buffer.C: honor pextraWidth(p) on converting minipages.
18129 * tabular.C (l_getline): changed the functions to strip trailing \r.
18131 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
18133 * BufferView_pimpl.C:
18134 * minibuffer..C: added "using SigC::slot" declaration.
18136 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18138 * lyxlex_pimpl.h: noncopyable is in namespace boost.
18144 * paragraph.C: ditto
18146 * lyxtext.h: NO_PEXTRA
18148 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
18150 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
18151 * ParameterStruct.h: ditto
18152 * ParagraphParameters.h: ditto
18153 * lyxparagraph.h: ditto
18155 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18157 * buffer.C: add compability for minipage alignment.
18158 (latexParagraphs): remove unwanted pextra check.
18160 * several files: remove CXX_WORKING_NAMESPACES
18162 * buffer.C (pop_tag): tie is in namespace boost
18164 * BufferView.h: noncopyable is in namespace boost
18166 * lyx_main.h: ditto
18169 * lastfiles.h: ditto
18170 * bufferlist.h: ditto
18171 * ShareContainer.h: ditto
18173 * LyXAction.h: ditto
18176 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
18178 * Merging changes from BRANCH_MVC back into HEAD.
18180 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
18182 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
18184 * BufferView_pimpl.C: change from intl.C
18188 * Makefile.am: move combox.*
18194 * intl.C: remove dialog (covered by prefs)
18196 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
18198 * lyxfunc.C (Dispatch): removed redundant break statement.
18200 2001-03-14 Juergen Vigna <jug@sad.it>
18202 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18204 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18206 * buffer.C: add hack to fix compability reading of minipages.
18208 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
18210 * buffer.C (getLists): Cleanup.
18212 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18214 * lyxfont.C (update): don't honor toggleall on font size.
18216 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
18220 * Makefile.am: moved to frontends/xforms/
18224 * BufferView_pimpl.C: changes for moved mathpanel
18226 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18228 * gettext.h: fix gettext_init() in --disable-nls
18230 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18232 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18234 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
18237 * lyx.h: strip external form
18239 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18241 * BufferView_pimpl.C: add comment, destroySplash()
18243 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18245 * BufferView_pimpl.C:
18249 * lyxfunc.C: use re-worked insetinclude
18251 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18253 * buffer.C: add using std::stringstream.
18255 * lyx_cb.C: readd using std::ios.
18257 * buffer.C: add using std::map.
18259 * BufferView_pimpl.C: add using std::vector.
18261 * ShareContainer.h: add std:: to swap.
18263 * buffer.h: add some typedefs
18264 * buffer.C (getLists): use them
18265 (getLists): renamed from getTocList.
18266 add a counter for the different float types and use it in the
18268 (getLists): use the same counter for the NEW_INSETS and the "non"
18271 * lyx_cb.h: remove unused items, includes, using etc.
18273 * ShareContainer.h: remove some commented code, add more comments
18274 and "documentation".
18276 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18278 * buffer.C (getTocList): make the list also when NEW_INSETS is
18281 * buffer.h: remove TocType
18283 * buffer.C (getTocList): change to return a map<string,
18284 vector<TocItem> >, implement for dynamic number of list.
18286 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18287 * text2.C (PasteSelection): adjust
18288 * CutAndPaste.C (pasteSelection): adjust
18290 * FloatList.C (FloatList): update from the new_insets branch.
18291 * Floating.[Ch]: ditto
18292 * LaTeXFeatures.C: ditto
18294 * lyxlex_pimpl.C: ditto
18296 * paragraph.C (Last): remove when NEW_INSETS is defined.
18298 * other file: changes because of the above.
18300 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18302 * lyxparagraph.h: rename next to next_, previous to previous_,
18303 make them private for NEW_INSETS. Rename Next() to next(),
18304 Previous() to previous().
18306 * other files: changes because of the above.
18308 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
18311 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18314 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18316 * main.C (main): pass lyx_localedir to gettext_init().
18318 * gettext.h: remove locale_init and gettext_init macros
18320 * gettext.C (locale_init): new function
18321 (gettext_init): new function
18323 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18326 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
18328 * Moved credits to frontends:
18329 * credits.[Ch]: removed
18330 * credits_form.[Ch]: removed
18331 * lyx_gui_misc.C: remove credits stuff
18334 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18336 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18338 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18339 unneeded destructor.
18341 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18342 a standalone pointer again.
18344 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18346 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
18352 * ToolbarDefaults.C:
18361 * BufferView_pimpl.C: use new file dialog in GUII
18364 * lyx_cb.C: remove LayoutsCB to Toolbar
18366 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18368 * ShareContainer.h (get): add std:: qualifier
18370 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18372 * ShareContainer.h: define a proper ShareContainer::value_type
18373 type (and use typename to please compaq cxx)
18375 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18377 * lyxparagraph.h: move serveral local vars to
18378 ParameterStruct/ParagraphParameters., use ShareContainer in
18379 FontTable., make vars in FontTable private and add getter and
18382 * paragraph.C: changes because of the above.
18384 * lyxfont.h: remove copy constructor and copy assignment. (the
18385 default ones is ok), move number inside FontBits. move inlines to
18388 * lyxfont.C: add number to initializaton of statics, move several
18389 inlines here. constify several local vars. some whitespace
18390 cleanup. Dont hide outerscope variables.
18392 * Spacing.h: add two new constructors to match the set methods.
18394 * ShareContainer.h: new file, will perhaps be moved to support
18396 * ParameterStruct.h: new file
18398 * ParagraphParameters.h: new file
18400 * ParagraphParameters.C: new file
18402 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18403 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18405 * BufferView_pimpl.C: ParagraphParameter changes.
18406 * buffer.C: Likewise.
18407 * bufferview_funcs.C: Likewise.
18408 * text.C: Likewise.
18409 * text2.C: Likewise.
18411 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18413 * lyxfind.C (LyXReplace): do not redefine default argument in
18415 (IsStringInText): ditto
18416 (SearchForward): ditto
18417 (SearchBackward): ditto
18419 2001-03-06 Juergen Vigna <jug@sad.it>
18421 * lyxfind.C (IsStringInText): put parentes around expressions.
18423 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
18425 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18427 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
18429 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18431 * stl_string_fwd.h: add comment
18433 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18436 * tabular.C: remove unused DocBook methods
18442 killed DO_USE_DEFAULT_LANGUAGE
18444 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18446 * lyx_gui.C: do not include language.h.
18448 * bufferview_funcs.C (ToggleAndShow): do not provide optional
18449 arguments in function implementation.
18451 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18453 * BufferView_pimpl.C: add <ctime>
18455 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18457 * BufferView_pimpl.C: add using std::find_if
18459 2001-02-27 José Matos <jamatos@fep.up.pt>
18461 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18464 2001-02-11 José Matos <jamatos@fep.up.pt>
18466 * buffer.C (makeDocBookFile): command styles now have a parameter as
18467 "title" by default.
18469 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18471 * layout_forms.[Ch]: removed
18472 * lyx_cb.[Ch]: out character
18473 * lyx_gui.C: out character
18474 * lyx_gui_misc.C: out character
18475 * bufferview_funcs.C: : out character,
18476 added toggleall as parameter in ToggleAndShow
18478 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18480 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18482 * text2.C (SetCurrentFont): Disable number property at boundary.
18484 2001-02-26 Juergen Vigna <jug@sad.it>
18486 * lyxfunc.C (getStatus): added a string argument override function so
18487 that this is correctly called from LyXFunc::Dispatch if it contains a
18488 do_not_use_argument which is used!
18489 (Dispatch): added check for "custom" export and call appropriate func.
18491 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18493 * lyxrc.C: Add language_command_local, language_use_babel and
18494 language_global_options.
18496 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18498 * buffer.C (makeLaTeXFile): Use language_use_babel and
18499 language_global_options.
18501 2001-02-23 Juergen Vigna <jug@sad.it>
18503 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18504 which works with LyXText and putted it inside BufferView. Here now we
18505 only call for that part the BufferView::Dispatch() function.
18507 * BufferView.C (Dispatch): added.
18509 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18510 functions which needs to use a LyXText over from LyXFunc.
18511 (MenuInsertLyXFile): added
18512 (getInsetByCode): added
18513 (moveCursorUpdate): added
18514 (static TEXT): added
18516 2001-02-22 Juergen Vigna <jug@sad.it>
18518 * BufferView_pimpl.C (update): call a status update to see if LyXText
18521 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18523 * vc-backend.C (revert): implement for CVS
18524 (getLog): implement for CVS
18526 2001-02-20 Juergen Vigna <jug@sad.it>
18528 * text2.C (ClearSelection): added BufferView param for inset_owner call
18530 * lyxfunc.C (TEXT): added this function and use it instead of
18531 directly owner->view()-text of getLyXText().
18533 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18535 * src/layout_forms.C: out preamble
18536 * src/layout_forms.h: out preamble
18537 * src/lyx_cb.C: out preamble
18538 * src/lyx_cb.h: out preamble
18539 * src/lyx_gui.C: out preamble
18540 * src/lyx_gui_misc.C: out preamble
18541 * src/lyxfunc.C: connect with guii preamble
18543 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18545 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18547 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18549 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18550 whether to run bibtex.
18552 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18554 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18556 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18558 * Makefile.am (lyx_SOURCES): removed bibforms.h
18560 * vspace.h: doxygen
18562 * text.C (GetVisibleRow): make several local vars const
18564 * tabular.C: small cleanup.
18566 * lyxserver.C (callback): use compare instead of strncmp
18568 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18569 inlines to after class or to paragraph.C
18571 * lyxfont.h: remove friend operator!=
18573 * converter.h: move friend bool operator< to non friend and after
18576 * combox.h: small cleanup
18578 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18579 to inlines after class def.
18581 * buffer.C (pop_tag): use string operations instead of strcmp
18583 * bmtable.c: doxygen, small cleanup
18585 * LaTeX.h: remove friend operator==
18587 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18599 * BufferView_pimpl.C:
18600 * BufferView.[Ch]: remove cruft
18602 2001-02-14 Juergen Vigna <jug@sad.it>
18604 * lyxfunc.C: removed #if 0 unused code
18606 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18608 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18610 * text2.C (SetSelection): added a BufferView * parameter
18612 2001-02-13 Juergen Vigna <jug@sad.it>
18614 * lyxfunc.C (Dispatch): fixed protected blank problem.
18615 * BufferView2.C (protectedBlank): added LyxText * parameter.
18617 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18618 (AppendColumn): same as above for column_info.
18620 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18621 (moveCursorUpdate): use a LyXText param for support of InsetText.
18623 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18624 (tripleClick): ditto
18626 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18628 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18630 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18632 * text2.C (SetSelection): set correct update status if inset_owner
18633 (ToggleFree): ditto
18635 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18637 * tabular.C: remove some commented code.
18639 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18641 * BufferView_pimpl.C: call hideSplash()
18643 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18646 * bibforms.h: remove
18649 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18650 add LFUN_CHILD_CREATE
18652 * counters.h: fix tiny typo
18657 * lyx.C: move splash to frontends/xforms/
18659 * lyx_gui_misc.C: move Include and Bibform to frontends
18661 * lyxvc.h: clarify comment
18663 * vspace.C: tiny housekeeping
18665 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18667 * text.C (PrepareToPrint): RTL Fix.
18669 * paragraph.C (GetUChar): New method.
18670 (String): Use GetUChar.
18672 * buffer.C (asciiParagraph): Use GetUChar.
18674 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18676 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18678 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18681 * buffer.C: rename to getLogName(), handle
18682 build log / latex log nicely
18684 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18687 * MenuBackend.h: remove support for reference menuitem type.
18689 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18691 * BufferView_pimpl.C: housekeeping
18692 * BufferView_pimpl.h:
18697 * minibuffer.h: move Timeout GUI-I
18699 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18701 * lyxrc.C (read): Update converters data-structures.
18703 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18705 * LaTeX.h (operator!=): add operator != for Aux_Info
18707 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18709 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18711 * LaTeXLog.C: deleted, useful code moved to Buffer
18714 * buffer.C: new function getLatexLogName()
18720 * lyxfunc.C: use frontends for LaTeX and VC logs
18722 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18724 * LaTeX.h: yet another std:: that Allan forgot.
18726 * Variables.C (set): renamed from isset(), because this clashes
18727 with some HP-UX macros (grr).
18729 2001-02-06 Allan Rae <rae@lyx.org>
18731 * LaTeX.h: Another bug fix. Missing std:: this time.
18733 2001-02-04 Allan Rae <rae@lyx.org>
18735 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18736 floats problem. I've left it commented out because it's not quite
18737 correct. It should also test that the current object is a table or
18738 figure inset. But I haven't gotten around to figuring out how to do
18739 that. I *think* it'll be something like: "table" == inset.type()
18741 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18744 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18746 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18747 all the citation/databases/styles in the auxilary file.
18748 (run): Rerun latex if there was a babel language error.
18750 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18752 * text.C (Backspace): Preserve the font when changing newline char
18754 (BreakParagraph): If the cursor is before a space, delete the space.
18756 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18758 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18760 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18761 new argument (code).
18762 (ChangeCitationsIfUnique): New method.
18764 * paragraph.C (GetPositionOfInset): Handle bibkey.
18766 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18768 * BufferView_pimpl.h: change type of Position::par_pos to
18769 LyXParagraph::size_type.
18771 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18773 * BufferView_pimpl.C (savePosition, restorePosition): Write
18774 messages to minibuffer.
18776 2001-01-28 José Matos <jamatos@fep.up.pt>
18778 * buffer.C (makeDocBookFile): adds support for document language.
18779 A silly restriction on the name of LatexCommand types where removed.
18780 Added support for CDATA sections, allows to chars unescaped, used
18781 among others in code, to avoid escape < and >.
18783 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18785 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18786 saved positions instrad of a stack. Furthermore, a position is
18787 stored using paragraph id/paragraph position.
18789 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18790 Remove LFUN_REF_BACK.
18792 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18794 * converter.C (dvipdfm_options): New method.
18796 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18798 * vspace.C (isValidLength): Fix for empty input string.
18800 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18802 * LyXAction.C (init): change description of LFUN_FIGURE to
18805 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18807 * LaTeX.C: add using directive
18809 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18811 * MenuBackend.C (expand): Fix the sorting of the formats.
18813 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18815 * lyx_main.C: tiny error message fix
18817 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18819 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18820 calling fl_initialize(). This fixes the problem with ',' as
18821 decimal separator in text files.
18823 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18825 * trans.C (process): Fix the keymap bug.
18827 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18829 * LaTeX.C (scanAuxFiles): New method. Provides support for
18830 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18831 (scanLogFile) Scan for "run BibTeX" messages.
18833 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18834 OT1 font encoding. Also, load the aecompl package if the ae
18837 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18839 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18841 * texrow.C (increasePos): turn two error messages into debug
18844 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18846 * LaTeX.C (scanAux): Handle the \@input macro.
18847 (runBibTeX): Use scanAux().
18849 * language.C (latex_options_): New field.
18851 * LaTeXFeatures.C (getMacros): Add language macros.
18853 * buffer.C (makeLaTeXFile): Small fix.
18855 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18857 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18859 * text2.C: add a using directive.
18861 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18866 * lyxfunc.C: kill LyXBell.
18868 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18870 * text.C (IsBoundary): Remove the error message
18872 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18874 * lyxrc.C (setDefaults): Correct initialization value for
18877 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18879 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18882 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18883 and GotoNextNote().
18885 * src/LyXAction.C: Added reference-next.
18887 * text.C (InsertChar): Use contains instead of strchr.
18889 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18891 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18893 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18894 alignment commands (when needed).
18896 * text.C (InsertChar): Add ':' to number separator chars.