1 2006-03-15 Martin Vermeer <martin.vermeer@hut.fi>
3 * CutAndPaste.C (pasteSelectionHelper): comments
4 * paragraph_funcs.C (mergeParagraph): fix Juergen's cut&paste bug
6 * paragraph.C (stripLeadingSpaces): remove unnecessary setChange
7 * text.C (backspace): allow deletion of inserted para break
8 Change tracking -related bug fixes (reported by Juergen) and
9 some documentation work
11 2006-03-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13 * MenuBackend.C (expand): make sure the menu is empty before
16 * MenuBackend.h (clear): new method.
18 2006-03-13 Martin Vermeer <martin.vermeer@hut.fi>
20 * rowpainter.C (paintChangeBar): fix painting of change bar with
21 only paragraph break changed
23 2006-03-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
25 * lyx_cb.C (Reconfigure): run lib/configure.py, not lib/configure
26 * lyx_main.C (reconfigureUserLyXDir): run ditto
28 2006-03-12 Martin Vermeer <martin.vermeer@hut.fi>
30 * lyxtext.h: doxygen documentation fix
32 2006-03-11 Martin Vermeer <martin.vermeer@hut.fi>
34 * paragraph.[Ch] (write, lookupChange, lookupChangeFull;
36 * paragraph_pimpl.[Ch] (trackChanges, cleanChanges, acceptChange,
37 rejectChange, erase; added setChangeFull):
38 * CutAndPaste.C (eraseSelectionHelper):
40 * text.C (readParToken, readParagraph, breakParagraph,
41 acceptChange, rejectChange, backspace, currentState;
43 * paragraph_funcs.C (breakParagraphConservative, mergeParagraph):
44 * lyxfind.C (findChange, findNextChange): fix bug 880: Change
45 tracked paragraphs should still allow a paragraph split (and related
46 things, i.e., multi-paragraph change tracking)
48 2006-03-10 Martin Vermeer <martin.vermeer@hut.fi>
50 * BufferView_pimpl.C: fix bug 2212: First change is skipped is
51 "Merge changes..." dialog
53 2006-03-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
55 * bufferparams.C (writeLaTeX): define \labelitemi with \def. Fixes LaTeX
56 error if the class has not defined them yet (bug 2053).
58 2006-03-10 Martin Vermeer <martin.vermeer@hut.fi>
61 * BufferView_pimpl.[Ch]:
65 * text3.C: Inside-inset speedup, esp. for the Mac (bug 2195)
67 2006-03-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
69 * pch.h: fix nullstream.hpp location for boost 1.33.0
71 2006-03-05 Lars Gullik Bjønnes <larsbj@lyx.org>
75 * support/debugstream.h: Use the correct nullstream.
77 2006-02-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
79 * text3.C (mathDispatch): fix math inset creation from string (bug 2315)
81 2006-02-28 Martin Vermeer <martin.vermeer@hut.fi>
83 * cursor.C (niceInsert): fix (properly) insertion of
84 fonts/decorations around selection
86 2006-02-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
88 * lyxfont.C (lyxWriteChanges): Don't write \lang latex
90 2006-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
92 * text3.C (mathDispatch): fix crash when selection is not empty
93 but selectionAsString is empty (bug 2321).
95 2006-02-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
97 * text.C (changeCase): avoid crash in empty paragraph or on last
98 word of the paragraph. (buf 2323)
99 (cursorRightOneWord): fix the logic to stop at a beginning of a word.
101 2006-02-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
103 * buffer.C (readHeader): also erase params.preamble in advance
104 so that an empty preamble is actually recognized (bug 2317).
106 * rowpainter.C (paintFromPos): ditch applyOuterFont (bug 2308).
108 2006-02-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
110 * text2.C (deleteEmptyParagraphMechanism): 64bit compile fix
112 2006-02-05 Martin Vermeer <martin.vermeer@hut.fi>
122 * text3.C: Fix bug 2115: blue language lines (for default font)
123 popping up when the documnent font is different. This includes work
126 2006-02-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
128 * exporter.C (Backends): Add "lyx" backend
129 * exporter.C (Export): Handle "lyx" backend
130 * graph.C (getReachable): Don't exclude "lyx"
131 * MenuBackend.C (expandFormats): exclude "lyx" from export menu
133 2006-02-03 Martin Vermeer <martin.vermeer@hut.fi>
135 * cursor.C (bruteFind2): convert relative to absolute co-ordinates
136 for correct in-mathed positioning
138 2006-02-03 Martin Vermeer <martin.vermeer@hut.fi>
140 * rowpainter.C (paintForeignMark): fix foreign blue line under
143 2006-01-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
145 * * text2.C (deleteEmptyParagraphMechanism): fix off-by-one error of the start
146 pit of the uno range (bug 2022).
148 2006-01-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
150 * messages.C (get): Only warn once if setlocale fails (bug 2177)
152 2006-01-28 Martin Vermeer <martin.vermeer@hut.fi>
154 * text2.C (setCharFont): take inset's own font settings into account
155 when defining the font to reduce to, fixes 2019
157 2006-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
159 * bufferview_funcs.C (coordOffset): remove the check for
160 collapsed collapsables (fix for bug 2094). This is now done
161 on a more general level (cursor.C).
163 * dociterator.[Ch] (forwardPos): add an optional argument
164 bool "ignorecollapsed" (default false), which lets forwardPos
165 skip collapsed insets.
167 * cursor.C (bruteFind): use forwardPos(ignorecollapsed = true)
168 (fixes bug 2241 and 2094).
170 2006-01-26 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
172 * buffer.C: change tracking (dvipost) doesn't require
175 * LaTeXFeatures.C (getPackages): no need for the color
176 option "usenames" (bug 2169).
178 2006-01-23 Helge Hafting <helge.hafting@aitel.hist.no>
179 * buffer_funcs.C: Trivial fix - added {} around
180 the statements to be affected by a if-test. Now
181 label in a minipage in a float looks ok on screen again.
183 2006-01-23 Martin Vermeer <martin.vermeer@hut.fi>
185 * text2.C: fix bug 2015: on screen fonts in nested environments
188 2006-01-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
190 * converter.C (convert): handle unknown formats
192 2006-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
194 * cursor.C (goUpDown): comment out some debug messages.
196 * counters.C (newCounter): make error messages more explicit
197 (these appear with some textclasses like beamer)
199 2006-01-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
202 * lyxfunc.C (processKeySym): make sure new FuncRequest objects
203 have origin set to KEYBOARD. (bug 2221)
205 2006-01-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
207 * rowpainter.C (isCursorOnRow): do not exclude endpos().
209 2006-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
211 * cursor.C (macroModeClose): returns true if an inset actually got
212 inserted; revert faulty fix to bug 2034.
214 2006-01-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
216 * tabular.C (getLabelList): remove (not used anymore).
218 2006-01-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
220 * outputparams.[Ch]: add new flag inComment
222 2006-01-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
224 * text2.C (deleteEmptyParagraphMechanism): since we delete a
225 paragraph, recordUndo should span two paragraphs (bug 2155).
227 2006-01-01 Martin Vermeer <martin.vermeer@hut.fi>
229 * rowpainter.C (paintPar): always repaint the row with the
232 2006-01-01 Lars Gullik Bjønnes <larsbj@gullik.net>
238 * vspace.h: fix syntax error
240 2005-12-31 Martin Vermeer <martin.vermeer@hut.fi>
242 * text3.C (dispatch): Force refresh if typing into inset changes its
245 2005-12-30 Martin Vermeer <martin.vermeer@hut.fi>
250 * rowpainter.C: Speed up rendering by only re-painting rows that
251 have changed. When selection or whole-screen update active, all rows
252 are repainted, as are all rows within insets.
254 2005-12-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
256 * version.C.in: Use PACKAGE_VERSION instead of VERSION
258 2005-12-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
260 * tabular.C (toggleFixedWidth): Use default layout of text class
261 instead of hardcoded "Standard"
263 2005-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
265 * lyxfunc.C (dispatch): do not call getStatus again to determine
266 whether a lfun is disabled (bug 2172).
268 2005-12-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
270 * cursor.C (macroModeClose): set the cursor inside the new math
271 atom if relevant (think \frac{}{}) (bug 2034)
273 2005-12-19 Martin Vermeer <martin.vermeer@hut.fi>
277 * text3.C (Delete, backspace): force update when merging paragraphs
279 2005-12-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
281 * BufferView.C (mouseSetCursor): clear the selection properly (bug
284 2005-12-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
286 * text.C (redoParagraph): honor inset->noFontChange()
287 * rowpainter.C (paintInset): ditto
289 2005-12-15 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
291 * lyx_main.C (priv_exec): don't initialize Math on startup
292 (initMath() has been moved to math_hullinset).
294 2005-12-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
296 * lyxrc.C: set default_papersize to PAPER_DEFAULT;
297 handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
298 * paper.h: dispose dead PAPER_PACKAGES enum.
300 2005-12-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
302 * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
305 2005-12-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
307 * exporter.C (Export): Don't try to copy a file if it does not exist
310 2005-12-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
312 * text2.C (makeFontEntriesLayoutSpecific): remove.
315 * text.C (insertChar): remove bogus caching of fonts (did not do
318 * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
319 ALL_SANE). (bug 2146)
321 2005-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
323 * rowpainter.C (paintFirst): fix centering of
324 LABEL_CENTERED_TOP_ENVIRONMENT.
326 2005-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
328 * BufferView.C (mouseSetCursor): new method. Calls
329 deleteEmptyParagraphMechanism if necessary.
331 * lyxtext.h: make deleteEmptyParagraphMechanism public.
333 * text3.C (dispatch/LFUN_MOUSE_PRESS): use
334 BufferView::mouseSetCursor (bug 2109).
335 (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
337 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
339 * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
340 do not remove it (this inset behaves differently from the others).
342 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
346 * BufferView_pimpl.C (getStatus): it is only possible to insert a
347 file in a text inset.
349 * buffer.C (readDocument): remove pit argument and code releated
350 to it; set the inset owner correctly (unrelated, but useful).
351 (readFile): get rid of pit argument.
353 * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
354 textclass instead of a selection index.
355 (pasteParagraphList): new function.
356 (pasteSelection): make it a wrapper around pasteParagraphList.
358 * BufferView_pimpl.C (MenuInsertLyXFile): use
359 cap::pasteParagraphList to insert a file.
361 2005-11-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
363 * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
365 2005-11-17 Michael Gerz <michael.gerz@teststep.org>
367 * exporter.C: fix typo in text message
369 2005-11-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
371 * text2.C (setLayout): move recUndo call to other setLayout method
372 * tabular.C (toggleFixedWidth): new, handle cell width changes
373 * tabular.C (setColumnPWidth): move some code from insettabular.C here
374 and use toggleFixedWidth
375 * tabular.C (setMColumnPWidth): ditto
377 2005-11-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
379 * paragraph.C (asString): use new inset->textString method (fix
382 2005-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
384 * CutAndPaste.C (numberOfSelections): new helper function.
386 * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
388 * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
389 LyXFunc::getStatus; implement LFUN_PASTE.
391 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
393 * dociterator.[Ch]: new member realInset() that returns the cell
394 for tabulars and the inset for the rest (bug 1952).
395 * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
398 2005-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
400 * text.C (leftMargin): honor the NextNoIndent tag in layouts.
402 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
406 * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
409 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
411 * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
412 line after typing ctrl-enter
414 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
416 * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
417 math insets do not return a proper editable() state yet (bug 2124).
419 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
421 * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for
422 docs containing very large paragraphs.
424 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
426 * cursor.C (selectionBegin, selectionEnd):
427 * text.C (drawSelection): Fix bug 2115: assertion when anchor and
428 cursor at different depths.
430 2005-11-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
432 * bufferview_funcs.C (coordOffset): do not call cursorPos
433 for collapsed collapsables (fix bug 2094).
435 2005-11-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
437 * paragraph.C (fontSpan): make sure that the FontSpan does not
438 span across beginOfBody (bug 1947).
440 2005-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
442 * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
444 2005-11-03 Michael Gerz <michael.gerz@teststep.org>
446 * messages.C: fix crash and localization on MinGW/Windows platform
448 2005-11-02 Angus Leeming <leeming@lyx.org>
451 * lyxtextclass.C: trivial fixes to some MSVS warnings.
453 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
455 * text3.C (getStatus): re-enable disabled code. (bug 2081)
457 * BranchList.h (empty): constify.
459 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
461 * text3.C (getStatus):
462 * MenuBackend.C (expandBranches): take the branch list from the
463 master document (bug 2092).
465 * MenuBackend.C (expandBranches):
466 * bufferparams.C (writeFile): use BranchList type.
468 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
470 * text3.C (dispatch, getStatus):
471 * LyXAction.C (init):
472 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
474 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
476 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
478 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
480 * text.C (insertChar): do not reset boundary (bug 2061)
482 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
484 * dociterator.C (updateInsets): new method. Updates the inset_
485 cache of all the slices of the iterator.
487 * text2.C (deleteEmptyParagraphMechanism): compare also containing
488 insets when comparing pit/pos; pass the right cursor to
489 recordUndo; when a paragraph has been deleted, compare `old.top()' to
490 the right cursor slice of `cur'; use updateInsets on cur to make
491 sure that the inset caches are correct; general cleanup.
493 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
495 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
496 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
497 containg inset. If this does not work, the same command will be
498 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
500 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
503 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
505 * lyxtextclass.C (Read): convert layout file if the format is wrong
506 * lyxtextclass.C (layout2layout): new, needed for the above
508 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
510 * messages.C: do not forget to include <cerrno>.
512 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
514 * dociterator.h (StableDocIterator): add access to pos().
515 * undo.C (samePar): new method to check if two
516 iterators are in the same paragraph
517 * undo.C (recordUndo): check for samePar instead of cell identity
518 (which includes pos() and is too strict) (fixes bug 2097)
520 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
522 * text.C (setCursorFromCoordinates): return a bool telling whether
525 * text3.C (cursorPrevious): update if needed after
526 setCursorFromCoordinates (when dEPM triggered).
528 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
529 (otherwise the anchor may be completely wrong and make dEPM assert).
531 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
533 * buffer.C: version upgrade to 245.
534 * bufferparams.C: remove \quotes_times (bug 2090).
535 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
536 quotation marks as default.
538 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
540 * CutAndPaste.C (nrOfParagraphs): remove (unused)
541 * CutAndPaste.C (cutSelection): Remove debug message
542 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
543 undo information and only copy if this is a real cut
544 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
546 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
548 * CutAndPaste.C (eraseSelection): prevent cursor corruption
549 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
550 superflous cur.selection() setting
551 * CutAndPaste.[Ch] (grabSelection): take a const cursor
552 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
554 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
556 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
559 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
561 * BufferView_pimpl.C: comment layout change
563 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
567 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
568 by bibliography managers (bug 2071).
570 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
572 * BufferView_pimpl.C (update): choose arguments to update call so
573 that single-par update works most times
574 * text3.C (dispatch): carefully tune updating separately for
575 whole-screen and current-paragraph
576 * rowpainter.C (paintText): 1) replace painting by caching for
577 the two extra paragraphs, because we can;
578 2) suppress greying out of areas below/above drawn area in case of
580 * lyxfunc.C (dispatch): remove superfluous update
581 * LyXAction.[Ch]: introduce SingleParUpdate
583 2005-10-05 Angus Leeming <leeming@lyx.org>
585 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
586 always initialised before use.
588 * text.C (setHeightOfRow): squash warning about comparison
589 of signed and unsigned types.
591 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
593 * text.C (cursorX): two fixes involving RtL text drawing
595 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
597 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
598 items, not only large ones (part of bug 2057)
600 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
602 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
603 argument, use "newcommand".
605 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
607 * cursor.C (setSelection): do not open collapsable insets;
608 the insets do by themselves now (autoopen).
610 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
612 * buffer.C: format is up to 244.
614 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
616 * text.C (redoParagraph): fix calcultation of inset width wrt
617 leftMargin (bug 1957).
619 * text3.C (dispatch): leave inset to the right when hitting ESC
622 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
627 * messages.C: include <boost/current_function.hpp>
629 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
631 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
632 when command is internal. (bug 1941)
634 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
636 * text2.C (cursorRight): do not honor boundary when at the end of
637 a paragraph. (bug 2010 again)
639 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
641 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
643 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
645 * rowpainter.C (paintText): fix RtL space width display bug (2029)
647 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
649 * text2.C (setCursor): remove the unused 'boundary' parameter for
650 the CursorSlice version; adapt the LCursor version.
653 * paragraph_pimpl.C (markErased):
654 * cursor.C (bruteFind2, bruteFond3): fix warnings.
656 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
658 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
659 as is already done for "chapter".
661 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
663 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
664 textclass; do not record undo if nothing is changed.
666 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
668 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
670 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
672 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
674 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
676 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
677 combox, it is necessary to search for the topmost paragraph in the
678 cursor stack (bug 1926)
680 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
682 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
683 end of paragraph. (bug 2010)
685 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
687 * text.C (leftMargin): check for inInset == 0
689 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
691 * text.C (leftMargin): test for insetbase's new neverIndent()
692 bool instead of listing each and every inset that does not
693 wish par indendation.
695 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
697 * buffer_funcs.C (setCounter): put the code to compute enum label
698 here (where it belongs).
700 * counters.C (enumLabel): move code to buffer_funcs.C.
702 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
704 * outputparams.[Ch]: store local_font instead of local_language
705 * paragraph.C (simpleTeXOnePar): adapt to the change above
707 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
710 * counters.[Ch]: clean up special code for Hebrew.
712 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
714 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
717 2005-09-08 Angus Leeming <leeming@lyx.org>
720 * lyxrc.C: correct grammar describing invocation of the
723 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
725 * text.C (read): remove unused variable.
726 (readParToken): remove static Change variable (never good in
727 recursive settings...); add it as a parameter instead.
729 * paragraph_pimpl.C (acceptChange): make debug info conditional.
731 * metricsinfo.C (PainterInfo): add new member erased_.
733 * rowpainter.C (RowPainter): add erased_ member, initialized from
735 (paintInset): pass erased_ to Inset::draw.
737 * lyxfunc.C (lookupChange): new function. Tells whether change
738 tracking is disabled at a given postion.
739 (getStatus): disable some actions when in deleted text with change
742 2005-08-03 John Levon <levon@movementarian.org>
744 * tabular.C (appendColumn, setMultiColumn): adapt to change to
747 * paragraph_pimpl.C (markErased): add bool argument and handle it.
748 Also make sure to mark insets recursively.
749 (rejectChange, erase): be recursive
751 * paragraph.C (markErased): add bool argument.
752 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
754 * lyxfind.C (findNextChange): tiny cleanup.
756 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
757 change tracking with the cursor in an inset; make sure the first
758 change is not skipped.
760 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
762 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
763 tabularStackDirty to work around bug 1919 (tabular needs
764 to know whether its own cell paste buffer or the one of
766 * CutAndPaste.C: mark tabular_stack_ clean after copy.
768 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
770 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
772 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
774 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
775 use old deleteion algorithm when changetracking is on.
777 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
779 * messages.C (get): add debug output.
781 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
783 * text.C (cursorX): fix bug 1965: cursor movement at
784 line end broken in RtL.
785 (drawSelection): fix bug 1970: drawing of single-line
786 selection broken for RtL.
788 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
792 * dociterator.h (clear, push_back, pop_back): change from
795 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
796 and changed to just return the value of the item depth; take a
797 ParIterator as argument; take the itemdepth at outer nesting level
798 in account if necessary; cleanup and comment the code.
799 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
800 and changed to just return true if reset is needed; take a
801 ParIterator as argument; cleanup and comment the code.
802 (setCounter): adapt to above changes.
804 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
806 * text3.C (dispatch): make debug message optional
808 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
810 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
813 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
815 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
817 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
819 * text.C (insertChar):
820 * text2.C (deleteEmptyParagraphMechanism): take care whether
821 a blank has been deleted (in change tracking mode) (bug 1254).
823 2005-07-20 John Levon <levon@movementarian.org>
825 * text2.C (insertStringAsLines): remove old dubious code,
828 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
830 * MenuBackend.C (expandToc): use Floating::listName() as title of
833 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
835 * toc.[Ch]: Do not use translatable strings (bug 1870).
837 2005-07-20 John Levon <levon@movementarian.org>
839 * tabular.C: fix 1748 - setting multicolumn adds
840 left line to the first cell
842 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
845 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
848 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
850 * messages.C: supress some lyxerr messages
852 2005-07-18 Juergen Vigna <jug@lyx.org>
854 * text.C (drawSelection): honor boundary when asking for cursorX.
856 2005-07-17 José Matos <jamatos@fc.up.pt>
858 * tabular.C (recalculateMulticolumns): fix handling of one column
861 2005-07-17 Juergen Vigna <jug@lyx.org>
863 * text.C (Delete, backspace): fixed so that paragraph with the
864 same layout can be merged by Delete/Backspace.
866 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
868 * text.C (readParToken): fix spelling.
870 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
872 * text2.C: fix counter update for DEPM problem reported by
875 2005-07-17 Juergen Vigna <jug@lyx.org>
877 * BufferView_pimpl.C (setBuffer): save/restore the
878 cursor/selection when switching buffers
881 * buffer.C (saveCursor): add saveDocumentIterators to save the
882 cursor when switching buffer.
884 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
887 * buffer.C: clarify message
889 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
891 * dociterator.C (DocIterator): fix initialization order
893 2005-07-17 Juergen Vigna <jug@lyx.org>
895 * text2.C (cursorHome):
896 * text.C (drawSelection, cursorX):
897 * dociterator.C (textRow): add boundary to getRow() call
899 * paragraph.C (getRow): implementation of below
901 * paragraph.h: add parameter boundary for getRow() function
903 2005-07-17 José Matos <jamatos@fc.up.pt>
907 * tex-strings.[Ch]: new file format, remove support for a4.sty,
908 a4wide.sty and a4widemargins.
910 2005-07-17 Juergen Vigna <jug@lyx.org>
912 * text2.C (cursorLeft): fix one of error
914 2005-07-17 Juergen Vigna <jug@lyx.org>
916 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
918 more fixes for boundary handling
920 * text3.C (dispatch): don't reset cursor if boundary has changed
923 2005-07-16 Juergen Vigna <jug@lyx.org>
925 * text2.C (getColumnNearX): hopefully got it right now,
926 check if we are on column 0 for special case.
928 2005-07-16 Juergen Vigna <jug@lyx.org>
930 * text2.C (getColumnNearX): handle special case Newline Inset
932 * text.C (singleWidth): Just remove bogus check
934 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
936 * funcrequest.C (split): avoid reading uninitialized char c
938 2005-07-16 José Matos <jamatos@fc.up.pt>
944 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
945 single papersize variable.
947 2005-07-16 Juergen Vigna <jug@lyx.org>
949 * text3.C (dispatch): honor boundary when checking if a cursor
950 movement has been done
952 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
953 (setCursor, setCursorIntern): fix cursor movement with boundary
955 2005-07-16 Juergen Vigna <jug@lyx.org>
957 * text.C (currentState): output the actual Boundary
959 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
961 * factory.C (createInset): fix bad logic for tabular creation
963 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
965 * lyx_main.C (init): change some reLyX reference to tex2lyx
967 2005-07-16 Juergen Vigna <jug@lyx.org>
969 * dociterator.C (DocIterator): initialize boundary
971 2005-07-16 Juergen Vigna <jug@lyx.org>
973 * text2.C (getColumnNearX): Consider rows without trailing blank.
975 2005-07-16 André Pönitz <poenitz@gmx.net>
977 * lyxfont.h: Change order of declarations to give the compiler
978 a better chance to inline things
980 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
981 questions on unsaved docs for better scritability
983 2005-07-16 André Pönitz <poenitz@gmx.net>
985 * paragraph.h (getChar): remove asserts as the same kind of security
986 can be achieved by using a suitable standard library implementation
987 and the function was in the critical path (25.9% in profiler)
989 2005-07-16 Juergen Vigna <jug@lyx.org>
991 * cursor.C (bruteFind2):
992 * bufferview_funcs.C (coordOffset):
993 * text.C (cursorX,cursorY): Handle cursor position after last char
994 in row before a inset which uses a whole row.
996 2005-07-15 José Matos <jamatos@lyx.org>
998 * output_plaintext.[Ch] (writeFileAscii): control reference title
1000 (asciiParagraph): noparbreak was already deal and was incorrectly
1003 2005-07-15 Juergen Vigna <jug@lyx.org>
1005 * lyxfunc.C (dispatch): save and restore the cursor after a
1008 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
1010 * text.C (backspace): bug 806 for empty keepempty paragraphs we
1011 change the layout to default before letting DEPM do its thing.
1013 * paragraph_funcs.C (breakParagraph): dont reset the layout on
1014 keepEmpty paragraphs
1016 * text.C (setCursorFromCoordinates): add a debug statement
1018 * text2.C (getColumnNearX): bug 1825 make sure that we don't
1019 return a pos that is not on the row
1021 * output_latex.C (TeXDeeper): get rid of potential dereferencing
1022 of past the end iterator
1024 2005-07-14 André Pönitz <poenitz@gmx.net>
1026 * undo.C (recordUndoFullBuffer): implement undo for
1029 2005-07-14 André Pönitz <poenitz@gmx.net>
1031 * cursor.C (setSelection): open insets when selection is set there
1032 to avoid crashs with cold coord cache
1034 2005-07-14 André Pönitz <poenitz@gmx.net>
1036 * trans_mgr.C (insert): move cursor to the right after inserting
1039 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1041 * BufferView_pimpl.C (update): dampen some of the debug blabbering
1042 * factory.C (readInset): ditto
1043 * text.C, text2.C: ditto
1045 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1047 * buffer.C: format incremented to 242. There is no file format per
1048 se, but the "frenchb" language has been removed from lib/language
1049 and has to be translated to "french" by lyx2lyx.
1051 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1053 * cursor_slice.h, dociterator.h: add some documentation
1054 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
1056 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1058 * text.C (leftMargin): do not add identation to display() style
1059 insets, because they are always centered (bug 1293).
1061 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1063 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
1064 formatted_time methods in support/lyxtime.
1066 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1068 * toc.[Ch]: new method getGuiName, which is used by the frontends
1069 to set the toc combo (fixes bug 1870). Make TOC string translatable.
1071 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1073 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
1074 StableDocIterator const &)
1075 * undo.C (recordUndo): use the above instead of cell.size() comparison
1076 (fixes bug 1808; instructed by Andr�.
1078 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
1081 * dociterator.h: Fix the assert when copying rows/cols in math
1083 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1085 * BufferView_pimpl.C:
1087 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
1089 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
1090 (findInset): new functions, refactored from goto Inset that return
1091 the position of a certain inset without setting the buffer's cursor
1093 (gotoInset): rewrite to call findInset and then set the cursor
1096 2005-06-16 Angus Leeming <leeming@lyx.org>
1098 * lyxrc.C (output, read): wrap all input and output of paths with
1099 calls to os::internal_path and os::external_path, respectively.
1100 (output): wrap bind_file inside quotes.
1102 * format.C (view): enable the viewer to use the '$$s' placeholder.
1104 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1106 * LColor.[Ch] (getFromLaTeXName): new
1108 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
1110 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
1112 2005-06-14 Angus Leeming <leeming@lyx.org>
1114 * lyx_main.C (init): ensure that the LyX binary dir is the first
1115 element in the PATH on non-POSIX builds.
1117 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1119 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
1121 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1123 * rowpainter.C (paintInset, paintHebrewComposeChar)
1124 (paintArabicComposeChar, paintChars): add a LyXFont argument.
1125 (paintChars): use getFontSpan to reduce calls to getFont to a
1126 minimum; use Paragraph::lookupChange instead of isXXXText.
1127 (paintForeignMark): rename LyXFont argument.
1128 (paintFromPos): pass a LyXFont object to the various paintXXX
1131 * FontIterator.C (FontIterator, operator++): use
1132 Paragraph::getFontSpan
1134 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
1135 version that returns the font span as a pair.
1137 2005-06-09 Angus Leeming <leeming@lyx.org>
1139 * converter.C (convert): Don't forget "outfile = real_outfile" as
1140 the final step in a conversion where the input and output file names
1141 are the same. Otherwise, future conversion steps won't work...
1143 2005-06-09 Angus Leeming <leeming@lyx.org>
1145 * lyxsocket.C: remove stub code as it isn't needed by
1146 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
1148 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1150 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
1151 effectively disabled -x
1153 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1155 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
1156 when it actually makes sense.
1158 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
1160 * BufferView_pimpl.C: revert to showCursor in connection with
1161 Lars's front-end stack
1163 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1165 * text.C (redoParagraph): move cursor right after a bibitem
1168 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
1170 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1172 * buffer_funcs.C (bufferErrors): fix computation of the end of an
1175 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
1177 * BufferView.[Ch] (update):
1178 * BufferView_pimpl.[Ch] (update, metrics):
1179 * dimension.h (operator==):
1180 * lyxfunc.C (dispatch):
1181 * metricsinfo.h (ViewMetricsInfo):
1182 * rowpainter.C (paintText):
1184 * text.C (redoParagraph):
1185 * text3.C (dispatch): Make LyX only repaint current paragraph in
1186 case of character insert --> speedup. Also fix cursor draw
1189 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1191 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1192 avoid a crash (bug 1891)
1194 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1198 * text2.C (getStringToIndex): constify cur argument.
1200 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1201 argument has been given
1202 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1203 try to invoke LFUN_INSET_APPLY).
1205 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1206 if no inset was created by doInsertInset
1207 (doInsertInset): return true if an inset has been inserted.
1209 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1211 * vspace.C (asGUIName): new method. A version of the space
1212 suitable for showing on screen.
1214 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
1217 * lyxrc.C: rename "ASCII" to "Plain Text"
1219 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1221 * buffer_funcs.C (expandLabel): take a Buffer as argument;
1222 translate the labelstring.
1223 (setCounter): translate labelstring as needed.
1225 * output_docbook.C (makeCommand): fix expandLabel invokation
1227 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
1229 * BufferView.C: fix dialog title
1231 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1233 * lyx_main.C (priv_exec): fix logic error with help from Angus
1234 * lyx_main.C (parse_execute): set is_gui = false and remove now
1235 obsolete comment about a segfault
1237 2005-05-18 Angus Leeming <leeming@lyx.org>
1239 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1241 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
1243 * tabular.[hC]: added setCellInset to fix tabular paste.
1245 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1247 * buffer.C (save): check if destination is writable before trying
1250 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
1252 * BufferView_pimpl.C (update): fix processEvents -caused update
1255 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1257 * buffer_funcs.C (setCounter): fix test for numbering of
1260 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1261 depth correctly; use optional argument when it exists
1263 * lyxtextclass.C: remove unused MaxCounterTags enum
1264 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1265 (max_toclevel, min_toclevel): new methods.
1267 * MenuBackend.C (expandToc2): fix case where depth is smaller than
1268 the smallest depth in toc.
1270 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1271 layouts that should not appear in a table of contents.
1273 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1275 * cursor.h (undispatched, noUpdate): add comments from Andr�
1276 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
1280 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1282 2005-05-07 André Pönitz <poenitz@gmx.net>
1284 * cursor.[Ch] (leaveInset): new function
1286 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1288 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1290 2005-05-04 Angus Leeming <leeming@lyx.org>
1292 * lyxfunc.C (getStatus): disable the spell checker dialog if
1293 none of USE_[AIP]SPELL are defined.
1295 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1297 * tabular.C (setWidthOfCell): remove obsolete comment
1299 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1301 * paragraph.C (bibitem):
1302 * buffer_funcs.C (setCounter):
1303 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1305 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1307 * text3.C (getStatus): immediately return after setOnOff
1309 * rowpainter.C: fix drawing of appendix start
1311 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1313 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1314 SwitchBetweenClasses and remove the unused return value.
1315 Handle character styles, too
1317 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
1319 * factory.C (createInset): handle undefined character styles
1321 2005-05-02 Angus Leeming <leeming@lyx.org>
1323 * buffer.C: protect the #include of utime.h with a preprocessor
1326 2005-05-02 Angus Leeming <leeming@lyx.org>
1328 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1329 function so that auto-saving works, albeit in a blocking manner.
1331 * Makefile.am: make compilation of the client sub directory, of
1332 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1333 on conditionals set at configure time.
1335 * SpellBase.[Ch]: no longer an abstract base class. Instead,
1336 it can be compiled in its own right but has no-op functionality.
1338 * aspell.C, pspell.C: remove preprocessor guards. The files should
1339 be compiled only if the necessary functionality exists.
1341 * lyxserver.C, lyxsocket.C: disable on Windows.
1343 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
1345 * text.C (leftMargin): Fix the parindent use bug (1764)
1348 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
1350 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1353 2005-04-25 Angus Leeming <leeming@lyx.org>
1361 include <config.h> in .C files, not .h ones.
1363 protect headers inside preprocessor guards.
1365 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1367 * FuncStatus.h (StatusCodes): document
1369 2005-04-21 André Pönitz <poenitz@gmx.net>
1371 * FuncStatus.h (enabled, onoff): document
1373 2005-04-19 Angus Leeming <leeming@lyx.org>
1375 * BufferView_pimpl.C (cursorToggle): no longer test whether
1376 any child processes have been reaped before calling
1377 handleCompletedProcesses().
1379 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
1381 * text3.C (dispatch): fix, finally fix, the language problem in
1382 new lyxtexts, without disabling on-the-fly font changes (Helge's
1385 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1387 * text3.C (dispatch): set cursor on double/triple click events
1390 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1392 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1393 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1395 * rowpainter.C (paintFirst): simplify the code a little bit. In
1396 particular, remove the test for secnumdepth.
1397 * text.C (setHeightOfRow): only allocate space for chapter number
1398 when updateCounters provided an actual label, instead of looking
1399 at secnumdepth directly.
1401 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1403 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1404 paragraphs when secnumdepth is large enough or, for environments,
1405 when they are not the first in a sequence.
1407 2005-04-17 Angus Leeming <leeming@lyx.org>
1409 * buffer.C (makeLaTeXFile): replace code to manipulate a path
1410 containing space and '~' characters with a call to latex_path().
1412 2005-04-17 Angus Leeming <leeming@lyx.org>
1414 * converter.C (convert): protect all args of convertDefault.sh
1417 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1419 * text3.C (dispatch): change the layout to "Caption" after inserting
1422 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1424 * text3.C (dispatch): fix language problem in newly created
1425 textinsets (and main text) in non-english docs
1427 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1429 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1430 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1431 * text3.C (getStatus): disable LFUN_INSET_MODIFY
1433 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1437 * text2.C (getFont):
1438 * rowpainter.C (getFont): Fix metrics bug introduced by inset
1441 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1443 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1444 output of \item arguments without trailing text.
1446 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1448 * FontIterator.C (operator*): avoid a copy of the font.
1450 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1452 * rowpainter.C (getFont): fix language bug from previous fix
1454 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1456 * rowpainter.C (RowPainter, getFont): fix font inside inset
1459 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1461 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1462 preventing inserted font, deco, delim insets jumping to start of
1465 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1467 * lyxfunc.C (dispatch): translate message before sending it to the
1470 2005-03-29 Angus Leeming <leeming@lyx.org>
1472 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1473 to LyX on the command line.
1475 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1477 * vc-backend.C: use QuoteName to protect file names wherever
1480 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1483 * BranchList.h: fix bugs 1844,1845: document settings don't
1486 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1488 * lyxrc.C (setDefaults, read, output, getDescription): add support
1489 for tex_allows_spaces.
1491 * exporter.C (Export): allows files in directory containing spaces
1492 if tex_allows_spaces is true.
1494 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1495 output it in double quotes.
1497 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1499 * rowpainter.C: use default text height for drawing change tracker
1502 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1504 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1506 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1508 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1509 directory is missing.
1511 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1513 * text2.C: fixed the fix, extended to other case.
1515 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1517 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1519 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1521 * text2.C (cursorUp): get rid of a crash
1522 * text.C (x2pos): add an assert
1524 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1526 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1530 * dociterator.C: include <boost/current_function.hpp>, which is
1531 needed when assertions are disabled.
1533 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1535 * text2.C: fix for stuck cursor when traversing two
1536 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1538 2005-02-25 Andreas Vox <avox@arcor.de>
1540 * output_docbook.C (makeParagraph): suppress trailing newline
1541 after a run of paragraphs
1543 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1545 * paragraph.C: fix for confused change tracker when pasting
1546 text that begins with a lineseparator. [bug 1827]
1547 (setChange(0, Change::INSERTED);)
1549 * paragraph_funcs.C: fix for lost changes on triple-paste
1550 in change tracking mode [bug 1827] (par.setChange()).
1552 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1554 * text2.C (updateCounters, setCounter, expandLabel): move to
1557 * buffer_funcs.C (updateCounters): turn into a free standing
1558 function and add a buffer parameter. Remove dead code for tracking
1560 (setCounter): change into a free-standing function which gets a
1561 dociterator as argument. Use this iterator to fix captions in a
1562 simple way. When no float is found above the caption, use the
1563 labelstring of the caption layout as default.
1565 * text.C (breakParagraph, backspace):
1566 * text2.C (init, setLayout, changeDepth):
1567 * text3.C (dispatch):
1568 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1571 * dociterator.C (forwardPar): make it much faster by calling
1572 forwardPos() only when really necessary.
1574 * output_docbook.C (makeCommand): adapt to expandLabel move.
1576 * cursor.C: remove unused variable
1578 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1580 * paragraph_funcs.C: fix crash when pasting insets in change
1581 tracking mode [bug 1277] (honour change type in moveItem).
1583 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1585 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1587 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1589 * BufferView.C (setCursor): change to use a DocIterator.
1590 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1591 (putSelectionAt): adapt to BufferView::setCursor change.
1593 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1594 moved here from LyXText and rewritten to use proper cursor
1595 methods. Fixes bug 1787, 616 and 835.
1597 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1598 when inside an inset (part of bug 781).
1599 (dispatch): adapt to change of BufferView::setCursor.
1600 (getStatus, dispatch): handle LFUN_GOTOERROR,
1601 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1603 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1604 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1605 * text3.C (gotoNextInset, gotoInset): removed.
1607 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1609 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1611 2005-02-15 Angus Leeming <leeming@lyx.org>
1613 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1614 can be used meaningfully in a comparison.
1616 2005-02-13 André Pönitz <poenitz@gmx.net>
1618 * bufferview_funcs.C (coordOffset): improve cursor drawing
1620 2005-02-13 André Pönitz <poenitz@gmx.net>
1622 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1623 * Cursor.C (dispatch): use fixIfBroken
1624 * lyxfunc.C (getStatus): use fixIfBroken
1626 2005-02-15 Angus Leeming <leeming@lyx.org>
1628 * lyx_main.C (error_handler):
1630 * lyxrc.C (setDefaults):
1632 #include "environment.h".
1634 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1636 2005-02-15 Angus Leeming <leeming@lyx.org>
1638 * lyxserver.C (startPipe): squash MSVC warning "local variable
1639 'fd' used without having been initialized".
1641 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1643 * BufferView_pimpl.C: revert accidental commit.
1645 2005-02-14 André Pönitz <poenitz@gmx.net>
1647 * dociterator.[Ch]: new member forwardPosNoDescent(),
1648 which doesn't enter nested insets.
1649 * text2.C (setFont): use forwardPosNoDescent() instead
1650 of ForwardPos() (fixes crash on font change).
1652 2005-02-13 Angus Leeming <leeming@lyx.org>
1654 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1655 only if lyxrc.path_prefix is not empty.
1657 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1659 * bufferparams.C (readGraphicsDriver): prevent crash
1661 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1663 * text2.C (setCounter): check for inInset() == 0
1665 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1667 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1668 but use update() to get correct screen display; use convert
1669 instead of istringstream.
1670 (getStatus): handle LFUN_GOTO_PARAGRAPH
1672 * lyxfunc.C (dispatch, getStatus): do not handle
1673 LFUN_GOTO_PARAGRAPH here.
1675 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1677 * text3.C (dispatch): size() -> depth()
1679 * text2.C: remove some debug output
1681 * paragraph.C: ws changes only
1683 * lyxfunc.C (getStatus): size() -> depth()
1685 * dociterator.h (clear, push_back, pop_back, internalData,
1686 operator[], resize, empty): new functions
1687 Make StableDocIterator and operator== be friends. Don't inherit
1688 from std::vector use a privat class variable slices_ instead.
1691 * dociterator.C: update because of not inheriting from std::vector
1692 anymore. Call explictly to slices_ instead. Use depth() instead of
1693 size() and top() instead of back()
1695 * cursor.C: chagne size() -> depth and back() -> top(). Also
1696 remove some direct operator[](i) calls in favour of foo[i]
1697 (getFont): remove some dead code
1699 * bufferview_funcs.C (coordOffset): size() -> depth()
1701 * buffer.C: ws changes only
1703 * CutAndPaste.C (eraseSelection): back() -> top()
1705 * BufferView_pimpl.C (selectionRequested): back() -> top()
1707 * BufferView.C (setCursor): size() -> depth()
1709 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1711 * text3.C (cursorPrevious): return true if depm changed something
1713 (dispatch): rename sl to oldTopSlice, remove moving use the new
1714 NoUpdate func attrib instead. Make sure that needsUpdate is set
1715 for function that have NoUpdate, but where depm might have changed
1718 * text2.C (cursorLeft): make us return true if depm changed
1720 (cursorRight): ditto
1721 (cursorUpParagraph): ditto
1722 (curosrDownParagraph): ditto
1723 (cursorUp, cursorDown): ditto, make sure to read comments in code
1724 (deleteEmptyParagraphMechanism): remove an assert, also return
1725 true if just a single char was deleted.
1727 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1728 cursor that we modify, to avoid modifying an active cursor before
1729 we call setCursor. This allows depm to run. Also return true if
1730 depm deleted something.
1732 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1733 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1734 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1735 something was changed in the buffer because of them (ie. depm run)
1737 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1738 debug messages. Make update by default be false. Make sure that
1739 the result of update is retained throught several calls down to
1742 * LyXAction.h: add a new func_attrib: NoUpdate
1744 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1745 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1746 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1748 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1750 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1752 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1753 bv_->owner(), bv_->buffer() by direct references to the private
1755 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1756 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1757 (fitCursor): center() is in BufferView::Pimpl.
1758 (getStatus, trackChanges, dispatch): no need for a temporary buf
1760 (fitCursor, workAreaDispatch): use workarea().workheight()
1762 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1764 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1766 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1768 * buffer.C: format up to 241.
1769 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1770 break if pasting into ERT
1771 * lyxfunc.C (getStatus): suppress mathpanel and
1772 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1774 2005-02-01 Angus Leeming <leeming@lyx.org>
1776 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1778 2005-02-01 Angus Leeming <leeming@lyx.org>
1780 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1781 calling fs::is_directory().
1783 2005-01-31 Angus Leeming <leeming@lyx.org>
1785 * lyx_main.C (priv_exec): specify explicitly the relative location
1786 of the top level build directory when run in-place.
1788 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1790 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1791 LyXText containing the cursor, not the top-level one.
1793 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1795 (insertStringAsLines): rename par to pit; use temporary variable
1796 par to hold a Paragraph; do not store par.layout() in a variable,
1797 since the pointer may die when breaking paragraphs; pass pars to
1798 breakParagraph() instead of Buffer::paragraphs().
1800 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1802 * lyxlex_pimpl.h: #include <fstream>.
1804 * BufferView.[Ch] (getLyXText): add a const version.
1806 * BufferView_pimpl.C: add debug aids.
1811 * paragraph_funcs.h: add commentary explaining what the class does.
1814 * coordcache.[Ch]: add lots of commentary.
1815 (startUpdating, doneUpdating): debug aids.
1816 (arrays, insets, parPos, getParPos): accessors to private data.
1818 * cursor_slice.[Ch] (text): add a const version.
1819 * dociterator.[Ch] (text, innerText): add const versions.
1821 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1824 * paragraph.C (getRow, pos2ros): add asserts.
1826 * paragraph.h: add commentary. Lots of.
1828 * paragraph.[Ch] (metrucs, draw): removed.
1831 * rowpainter.[Ch]: const-correct changes.
1833 * text.C: various obvious clean-ups. Removal of ancient cruft.
1836 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1838 * vc-backend.C (find_file): rewrite to use boost.filesystem
1841 * main.C (main): set default name check for boost.filesystem to
1844 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1847 (actOnUpdatedPrefs): ditto
1849 * lyx_main.C (init): rewrite to use boost.filesystem
1850 (queryUserLyXDir): ditto
1852 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1853 (getContentsOfAsciiFile): ditto
1855 * lastfiles.C (readFile): rewrite to use boost.filesystem
1857 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1859 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1860 (loadLyXFile): ditto
1862 * buffer.C (Buffer): adjust for destroydir
1863 (getLogName): rewrite to use boost.filesystem
1864 (setFileName): ditto
1865 (save): use fs::copy_file (from fs_extras)
1867 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1869 * LaTeX.C (run): rewrite to use boost.filesystem
1870 (scanAuxFiles): ditto
1871 (handleFoundFile): ditto
1873 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1875 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1877 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1879 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1881 * lyxlayout.[Ch]: change some vars from float to double
1883 * buffer.C (readFile): make a local var const
1885 * Several files: use convert<> instead of atoi,strToXXX and friends
1887 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1889 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1890 holds the contents of packages.lst. New functions getAvailable
1891 and isAvailable to parse and check that list, resp.
1895 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1897 * bufferparams.[Ch]: new param output_changes.
1899 * Buffer.C: increase file format to 240.
1900 Use output_changes and isVailable.
1904 * paragraph_pimpl.C: Use output_changes and isVailable.
1906 2005-01-23 Angus Leeming <leeming@lyx.org>
1908 * output_latex.C: #include "insetbibitem.h", rather than
1909 forward declare function bibitemWidest.
1911 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1913 * lyx_main.C (init): make it compile on the Mac.
1915 2005-01-20 Angus Leeming <leeming@lyx.org>
1917 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1918 (setLyXMisc): (char string literal) != (char string literal) is
1919 performing a comparison on the addresses. Convert one operand
1920 explicitly to string to guarantee expected behaviour.
1923 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1926 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1928 * output_plaintext.C: remove unneeded #include gzstream.h.
1930 2005-01-20 Angus Leeming <leeming@lyx.org>
1932 * SpellBase.h: rename some of the elements of the Result enum.
1939 * pspell.C (check): ditto
1941 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1943 * buffer.C: add #include <fstream>.
1945 * lyx_main.C (init): Compile fix.
1947 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1949 2005-01-20 Angus Leeming <leeming@lyx.org>
1951 * mover.h: change commentary to reflect the changed meaning of
1952 the $$s placeholder.
1954 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1956 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1958 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1960 2005-01-20 Angus Leeming <leeming@lyx.org>
1962 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1963 printing diagnostic data by not dereferecing an iterator past the
1966 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1968 * buffer.C (readHeader): use "&&" rather than "and".
1970 * lyxserver.h (inPipeName, outPipeName): make these const.
1972 2005-01-19 Angus Leeming <leeming@lyx.org>
1974 * lyx_main.C (error_handler, init): protect SIGHUP with
1975 #ifdef SIGHUP guards.
1977 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1979 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1981 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1983 * text.C (setHeightOfRow): add a margin at the top and bottom of
1984 the document (bug 1761)
1986 2005-01-17 Angus Leeming <leeming@lyx.org>
1988 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1989 with "python ". Workaround for a brain-dead Windows.
1991 2005-01-16 Angus Leeming <leeming@lyx.org>
1993 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1994 for MacOSX and Windows to use prependEnvPath.
1995 Strip out the hard-coded block to add elements to the PATH for
1996 MacOSX and replace it with a call to prependEnvPath using the
1997 contents of LyXRC::path_prefix.
1998 (queryUserLyXDir): strip out the code to run reconfigure, instead
1999 returning a boolean indicating the necessity to do so.
2000 (reconfigureUserLyXDir): contains the code to reconfigure the
2001 user support directory. Is now called after the various LyXRC data
2002 files have been read.
2004 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
2006 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2008 * converter.[Ch] (convert): take a new parameter try_default. Use
2009 a default converter (imagemagick) if try_default is true.
2011 2005-01-13 Angus Leeming <leeming@lyx.org>
2013 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
2014 os::cygwin_path_fix.
2015 (write): output LyXRC::cygwin_path_fix as necessary.
2017 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
2020 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
2022 2005-01-12 Angus Leeming <leeming@lyx.org>
2024 * lyx_main.C (init): set the PATH variable to include the
2025 directory containing the LyX binary when running on Mac or Windows.
2027 2005-01-12 Angus Leeming <leeming@lyx.org>
2029 * lyx_main.C (init): remove cruft that purports to set the locale
2030 dir. It doesn't and is not needed anyway.
2032 2005-01-10 Angus Leeming <leeming@lyx.org>
2034 * Makefile.am: remove the lyx_main.C special casing.
2036 * BufferView_pimpl.C:
2042 * messages.C: use support/package.h to provide the paths to the
2043 various directories used by LyX.
2045 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2047 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
2048 layout if pasting into an empty paragraph)
2050 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2052 * tex-accent.C: add <string>
2054 2005-01-06 José Matos <jamatos@lyx.org>
2056 * ParagraphParameters.C (write): put every parameter in its own line.
2057 * paragraph.C (write): reduce number of consecutive empty lines exported.
2058 * buffer.C (LYX_FORMAT): increase file format to 239.
2060 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2062 * everywhere: change support/tostr.h -> support/convert.h
2064 * tabular.C: make all write_attributes templates, tostr -> convert
2066 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
2067 (emptyTag): and -> &&, and fix type for ret from getChar
2068 (getFirstWord): fix type for ret from getChar
2069 (onlyText): and -> &&
2070 (simpleDocBookOnePar): and not -> && !, fix type for ret from
2073 * toc.C (goTo, action):
2074 * text3.C (dispatch):
2075 * text.C (currentState):
2076 * tex-accent.C (DoAccent):
2079 * lyxfunc.C (menuNew):
2080 * lyxfinc.C (replace):
2081 * counters.C (laberItem):
2082 * bufferview_funcs.C (font2string):
2083 * bufferparams.C (writeFile):
2084 * buffer.C (readFile):
2086 * MenuBackend.C: tostr -> convert
2088 * LaTeX.C (runMessage): fix format
2089 (scanAuxFiles): tostr -> convert
2091 * BufferView_pimpl.C (savePosition): fix format
2092 (restorePosition): ditto
2095 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2097 * Spacing.[Ch]: New method getValueAsString().
2101 * ParagraphParameters.C:
2104 * text3.C: store/read spacing value as string.
2106 * rowpainter.C: change float value (spacing_val) to double.
2108 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
2109 broken custom document spacing).
2111 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2113 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
2114 namespace, also more use of temp references and const
2116 * cursor.[Ch] (getStatus): move to lyxfunc.C
2118 * bufferparams.C: reformat slightly
2120 * bufferview_funcs.C (font2string): constify arg
2126 * buffer_funcs.C: (many funcs): constify arg on function
2127 definitions, also make more local vars const, also add ASSERTS on
2130 * buffer.C (LYX_FORMAT): put const in correct place
2131 (many funcs): constify arg on function definitions, also make
2132 more local vars const
2134 * aspell_local.h: remove "struct" from typdef setup
2136 * aspell.C (check): make word_ok const
2137 (nextMiss): simplify slightly
2140 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2142 * lyxrc.[Ch]: store all float values as strings.
2143 use int (not float) for lyxrc.dpi.
2145 2005-01-04 Angus Leeming <leeming@lyx.org>
2147 * lyx_cb.C (Reconfigure):
2148 * lyx_main.C (queryUserLyXDir):
2149 to run the <system_lyxdir>/configure correctly on Windows, prefix
2150 the path to the script with "sh " when generating the string that
2151 is passed to system().
2153 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2155 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
2157 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2159 * lyxlength.C (asLatexString): get rid of setprecision
2161 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2163 * text2.C (setLayout): remove unused variable endpit.
2164 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
2166 * paragraph.C (onlyText): remove unused variable style.
2168 * cursor.C (bruteFind): remove unused variables beg and end.
2170 * Makefile.am (dist_noinset_DATA): not needed anymore
2172 * cheaders/*: remove.
2174 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2176 * text3.C: fix LFUN_MATH_MODE.
2178 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2180 * buffer_funcs.C (countWords): new function. Counts words between
2183 * BufferView_pimpl.C (getStatus, dispatch): handle
2186 * LyXAction.C (init):
2187 * lfuns.h: add LFUN_WORDS_COUNT.
2189 2004-12-19 Angus Leeming <leeming@lyx.org>
2191 * buffer.C (save): s/slashify_path/internal_path/.
2193 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2195 * lyxfind.C (findChange): do not search for end of pars, because
2196 the change tracker cannot handle this (fixes bug 1719).
2198 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
2200 * paragraph.[Ch] (autoBreakRows): remove
2202 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2204 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2205 avoid using the paragraph one
2207 * text2.C (LyXText, insertStringAsLines): adjust
2209 2004-12-16 Angus Leeming <leeming@lyx.org>
2213 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2215 2004-12-14 Angus Leeming <leeming@lyx.org>
2217 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2219 * bufferlist.C (emergencyWrite):
2220 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2223 2004-12-14 Angus Leeming <leeming@lyx.org>
2225 * main.C: (main): no longer pass pointers to os::init.
2227 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2229 * undo.C (textUndoOrRedo): simplify logic, fix a crash
2230 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2232 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2235 * text3.C: remove selection_possible global flag
2237 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2239 * text2.C (getSelectionSpan): remove
2240 (changeDepth, changeDepthAllowed): adjust
2242 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
2244 * Makefile.am (BOOST_LIBS): use boost variables
2246 2004-12-03 José Matos <jamatos@lyx.org>
2248 * buffer.C: format up to 238.
2250 2004-12-03 José Matos <jamatos@lyx.org>
2252 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2254 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2256 * cursor.C (goUpDown): remove call to idxUpDown2
2258 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2260 * tabular.[Ch]: use size_t-like types for cell, row and column
2263 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2265 * lyxfunc.C (getStatus): do not lose previous information when
2266 calling BufferView::getStatus; do not set a default "Command
2267 disabled" message at the beginning, but just before returning.
2269 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2271 * cursor.h (getStatus): add better comment from src/cursor.C
2273 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2275 * text3.C (getStatus): return false when the lfun is not handled
2277 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2279 * broken_headers.h: remove
2281 * Makefile.am (lyx_SOURCES): remove broken_headers.h
2283 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2285 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2286 offset_ref accessors
2288 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2289 top_y_, merge fitcursor with update
2290 (updateScrollbar, scrollDocView, fitCursor, center, update): new
2292 (metrics): introduce
2293 (workAreaDispatch): adapt to new coord scheme
2294 (redoCurrentBuffer): remove
2296 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2298 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2301 * coordcache.[Ch]: add paragraph cache and helpers
2303 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2306 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2307 (targetX, setTargetX): introduce
2309 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2310 baseline -> ascent, as the rest of lyx
2312 * lyxtext.h: remove redoParagraphs, updateParPositions,
2313 fullRebreak, redoParagraphInternal. move dist to anon namespace in
2314 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2315 have ascent/descent (ascent is ascent of first par)
2317 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2320 * paragraph.[Ch]: unify dimension handling with the rest of lyx
2322 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2324 * pariterator.C: fix infinite loop introduced in par->pit renaming
2326 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2327 in insets and LyXText, draw two off-screen paragraphs using
2328 NullPainter, and adapt to new coord scheme
2332 * text3.C: adapt lfun handlers to the new coord scheme, which
2333 means: there's only guaranteed coord information for onscreen pars
2334 plus one above and one below. This implies that one can do search
2335 from y coordinates in the range [-1,workHeight]
2337 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2339 * rename a lot of InsetOld to InsetBase
2341 2004-11-25 Angus Leeming <leeming@lyx.org>
2343 * BufferView_pimpl.C:
2345 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2347 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2349 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2350 call BufferView::getStatus if LCursor::getStatus did nothing
2351 (setStatusMessage, getStatusMessage): removed.
2353 * FuncStatus.C (message): new methods. Used to provide an error
2354 message indicating why a command is disabled.
2355 (clear, |=, FuncStatus): update for message.
2357 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2359 * lyxfunc.C (dispatch): always call sendDispatchMessage
2361 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2364 * BufferView_pimpl.C:
2369 * cursor_slice.[Ch]:
2372 * paragraph_funcs.C:
2378 * undo.C: par->pit renaming
2380 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2382 * tabular.C (cellstruct): use initialization, store a shared_ptr
2383 to insettext instead of the insettext directly, adjust to fit.
2384 (operator=): new function
2385 (swap): new function
2386 (rowstruct): use initialization
2387 (columnstruct): use initialization
2388 (ltType): use initialization
2391 * lyxlength.h (swap): new function
2393 * LColor.[Ch] (operator=): use the common semantics
2395 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2397 * lyxfind.C (findNextChange): update the bufferview after setting
2400 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2402 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2403 number of InsetOptArgs has already been inserted.
2405 * output_latex.C (latexOptArgInsets): new method. This outputs all
2406 the optarg insets, up to the limit defined in the layout file.
2407 (optArgInset): removed
2408 (TeXOnePar): call latexOptArgInsets; correctly update texrow
2410 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2412 * paragraph.C (isLetter): remove special spellchecker-related
2413 code; return true also for digits
2414 (isWord, isKomma): remove
2416 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2417 * lyxfind.C (MatchString()): use isLetter instead of isWord
2419 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2421 * pariterator.h (operatir=): comment out un-implemented member
2424 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2427 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2429 * lyxfont.h: include LColor.h to satisfy concept checks.
2431 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2433 * pariterator.h: add typdefs for value_type, difference_type,
2434 pointer and reference to satisfy concept checks. Also add default
2435 constructor for same reason.
2437 * pariterator.C (operator++): add post-increment operator to
2438 satisfy concept checks.
2440 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2443 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2445 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2446 checks. Also rename base_type to BaseType to follow naming
2449 * FloatList.h: include Floating.h to satisfy concept checks.
2451 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2453 * lyxfunc.C (getStatus): when the origin of the request is menu or
2454 toolbar, and the LyXView does not have focus, do as if there was
2455 no buffer (bug 1720)
2457 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2458 FuncRequest to individual entries of LFUN_SEQUENCE
2460 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2462 * output_latex.C (TeXOnePar): override runparams.moving_arg
2463 according to the needprotect value of the current paragraph (bug
2466 * paragraph.C (simpleTeXOnePar): no need to override
2467 runparams.moving_args here
2469 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2471 * vspace.C: fix off-by-one-error, related to fix #1682
2473 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2475 * lengthcommon.C: a more general fix for bug 1682
2477 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2479 * text.C (backspace): fix crash
2481 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2483 * format.[Ch] (getFormatFromFile): new method
2484 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2486 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2488 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2490 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2492 * lyxfunc.C (dispatch): remove the verbose argument
2493 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2496 * kbmap.C (defkey): set the origin of func to KEYBOARD
2498 * MenuBackend.C (MenuItem):
2499 * ToolbarBackend.C (add): set the origin of func to UI
2501 * funcrequest.[Ch]: add origin member, which indicates which part
2502 of LyX requests an action
2504 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2506 * converter.C (move): don't lie in the error message
2507 * converter.h (isReachable, move): document
2509 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2511 * buffer.C: remove unused using lyx::support::atoi
2512 * paragraph_funcs.C: ditto
2514 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2516 * bufferlist.C (exists): use bind and equal_to instead of
2519 * lyxtextclasslist.C (NumberOfClass): ditto
2521 * cursor.C (insert): use for_each instead of explicit for loop
2523 * bufferlist.C (getFileNames): use std::transform and
2524 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2526 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2529 * buffer.C (changeLanguage): use for_each instead of explicit for
2531 (hasParWithID): implement using getParFromID
2533 * LaTeXFeatures.C: ws change only
2535 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2538 * BufferView_pimpl.C (trackChanges): use for_each instead of
2541 2004-11-04 André Pönitz <poenitz@gmx.net>
2544 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2546 * dociterator.C (asDocIterator): use hard assert again.
2548 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2550 * lyxlength.C (asLatexString): rewrite so that it does not use
2553 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2555 * text3.C (specialChar, dispatch): make sure cursor moves to the
2556 right after inserting an inset
2558 2004-11-02 José Matos <jamatos@lyx.org>
2560 * output_docbook.C (docbook):
2561 * paragraph.C (getID):
2562 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2563 garantee that the output is always legal.
2565 * tabular.C (docbook):
2566 * outputprams.[Ch]: remove mixed contents.
2568 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2570 * text2.C (setCounter): prevent endless loop
2572 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2574 * exporter.C (copyFile): use the mover instead of support::copy()
2575 * exporter.C (Export): pass format and latex name to copyFile()
2576 * exporter.h (addExternalFile): document
2577 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2579 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2581 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2583 2004-10-30 José Matos <jamatos@lyx.org>
2585 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2586 text and no inset or font change. This allows to use CDATA
2587 sections just for the whole paragraph.
2589 2004-10-30 José Matos <jamatos@lyx.org>
2591 * paragraph.C (getFirstWord): remove unused variable.
2593 2004-10-30 José Matos <jamatos@lyx.org>
2595 * paragraph.C (getFirstWord): the content should always be escaped
2597 (simpleDocBookOnePar):
2598 * output_docbook.C (makeEnvironment): replace reference to CDATA
2601 2004-10-30 José Matos <jamatos@lyx.org>
2603 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2605 2004-10-30 José Matos <jamatos@lyx.org>
2607 * output_docbook.C (makeParagraphs):
2608 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2609 standard paragraph has only a given type of content drop the wrapper.
2611 2004-10-29 José Matos <jamatos@lyx.org>
2613 * output_docbook.C (makeEnvironment):
2615 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2617 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2619 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2620 (cleanID): sanitize any id.
2622 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2624 * buffer.C, lyxlex_pimpl.C:
2625 * lyxlex_pimpl.C (setFile):
2626 s/getExtFromContents/getFormatFromContents/
2628 2004-10-28 José Matos <jamatos@lyx.org>
2630 * output_docbook.C (makeEnvironment): move id to broadest possible
2633 * sgml.C (openTag): apply substitution of <> for all attributes.
2635 2004-10-28 José Matos <jamatos@lyx.org>
2637 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2638 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2639 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2641 * sgml.[Ch]: new version for open and closeTag for paragraph and
2642 for strings. Now they handle the ids of paragraphs.
2644 2004-10-26 Angus Leeming <leeming@lyx.org>
2646 * Makefile.am: add mover.[Ch].
2648 * converter.C (convert, move): use the new Movers to move external
2649 files to the temp directory.
2651 * lyx_main.C (init): ensure that the global system_movers data
2654 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2657 * mover.[Ch]: new files, defining a Mover as a utility to move an
2658 external file between directories and, if necessary, manipulate this
2659 file using a helper script.
2661 2004-10-25 José Matos <jamatos@lyx.org>
2663 * output_docbook.C (makeCommand): merge two if's that tested the
2666 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2668 * sgml.C (escapeString): fix warning in a better way
2670 2004-10-25 José Matos <jamatos@lyx.org>
2672 * sgml.C (escapeString): import the require boosts header file for
2673 tie, and avoid a signed unsigned comparison.
2675 2004-10-25 José Matos <jamatos@lyx.org>
2677 * sgml.h: add #include <string>
2679 2004-10-25 José Matos <jamatos@lyx.org>
2681 * sgml.[Ch] (escapeString): new function to escape all the string.
2683 2004-10-24 José Matos <jamatos@lyx.org>
2685 * paragraph.[Ch] (getFirstWord): new function to get the first
2686 word. Useful for description.
2687 (simpleDocBookOnePar): remove depth argument, add another that
2688 says where to start the paragraph.
2690 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2691 use the new functions to fix cleanly the support for descriptions.
2693 2004-10-24 José Matos <jamatos@lyx.org>
2695 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2696 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2697 * output_linuxdoc.C (linuxdocParagraphs):
2698 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2699 add buffer as argument.
2701 2004-10-24 José Matos <jamatos@lyx.org>
2703 * output_docbook.C (makeEnvironment, searchEnvironment): place
2704 CDATA inside paragraphs and fix scope for listitems.
2706 2004-10-24 José Matos <jamatos@lyx.org>
2708 * output_docbook.C: remove using statement for stack.
2710 2004-10-23 José Matos <jamatos@lyx.org>
2712 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2713 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2714 docbook. The new scheme is recursive and makes use of iterators, the
2715 same as latex export works.
2716 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2717 directly with the paragraph contents. This code was moved up to
2718 output_docbook.C (docbookParagraphs).
2719 * sgml.C (openTag, closeTag): removed unneeded newlines.
2720 (closeEnvTags) removed.
2722 2004-10-23 André Pönitz <poenitz@gmx.net>
2724 * undo.C (textUndoOrRedo):
2725 * dociterator.C (asDocIterator): work around crash
2727 * cursor.C (getStatus): replace ASSERT by more verbose error message
2728 and manual correction of the problem. Should increase stability
2729 while providing more sensible information.
2731 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2733 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2735 * bufferlist.C (previous, next): new methods
2738 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2740 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2742 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2743 entities to preamble.
2745 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2747 * messages.C (Pimpl): strip off translation context information
2749 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2751 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2752 the cursor is correct (bug 1694)
2754 2004-10-13 José Matos <jamatos@lyx.org>
2756 * output_docbook.C (docbookParagraphs): fix closing tags in the
2757 end of the document.
2759 2004-10-09 José Matos <jamatos@lyx.org>
2761 * buffer.C: format up to 237.
2762 * bufferparams.C (write): use tostr to convert booleans to strings.
2764 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2766 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2768 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2770 * LaTeX.C: implement use of babel language in xindy.
2772 2004-10-05 José Matos <jamatos@lyx.org>
2774 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2775 Add new translators to help reading and writing the lyx file.
2777 2004-10-05 José Matos <jamatos@lyx.org>
2779 * ParagraphParameters.C (read):
2780 * text.C (readParToken): replace nexToken by more appropriate lex
2783 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2785 * LaTeX.C (runMakeIndex):
2786 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2787 (usually 'makeindex') configurable.
2789 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2790 with a variable rather than with a number.
2792 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2794 * output_latex.C (TeXOnePar): make sure font setting is the first
2795 thing that gets output (and the last at the end). Should fix bug
2798 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2800 * pch.h: use proper signal include
2802 * LaTeX.h: Use preferred calling of Boost.Signal
2805 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2807 * pch.h: dont include <boost/function/function0.hpp>
2809 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2811 * paragraph_pimpl.h: remove usage of ShareContainer
2813 * paragraph_pimpl.C: remove initialization of ShareContainer.
2815 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2819 * BufferView.C (putSelectionAt): change the semantics when
2820 backwards == true: now, this just swaps cursor and anchor wrt the
2823 * BufferView.h (putSelectionAt): add some documentation
2825 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2826 make sure backwardChar is done at least once (to avoid getting
2828 (findNextChange): use putSelectionAt in the forward direction
2829 (operator()): use Paragraph::isWord
2831 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2833 * Spacing.C (set): c_str fix
2835 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2837 * lyx_cb.C (Reconfigure): quote the name of configure script in
2838 case it contains spaces
2840 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2844 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2845 (BOOST_LIBS): use top_buildir when looking for the file
2847 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2849 * pch.h: do not use include boost/format.hpp, multiple symbols
2850 will result (gcc bug)
2853 2004-08-23 José Matos <jamatos@lyx.org>
2855 * bufferparams.C (readToken): fix reading of the author field.
2857 2004-08-20 José Matos <jamatos@lyx.org>
2859 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2861 2004-08-20 José Matos <jamatos@lyx.org>
2863 * lyxlex.[Ch] (findToken): remove function.
2865 * ParagraphParameters.C (findToken):
2866 * bufferparams.C (findToken): replace call for previous function
2867 with local copy. This local function has one more argument, the
2868 read string argument.
2870 2004-08-16 José Matos <jamatos@lyx.org>
2872 * ParagraphParameters.C (write):
2873 * Spacing.C (writeFile):
2874 * bufferparams.C (writeLaTeX):
2875 * lyx_cb.C (Reconfigure):
2876 * paragraph.C (write):
2877 * tabular.C (write): remove unnecessary space at end of line.
2880 2004-08-16 José Matos <jamatos@lyx.org>
2882 * text.C (readParagraph): remove debug message.
2884 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2886 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2889 * output_plaintext.C (asciiParagraph): set depth correctly
2891 * outputparams.h: add member depth
2893 * paragraph_funcs.C (ownerPar): remove.
2895 * text2.C (setCounter): remove first_pit; comment out some
2896 non-working code that uses ownerPar
2898 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2901 2004-08-16 José Matos <jamatos@lyx.org>
2903 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2904 For the same level of importance use the same chanel to report problems.
2905 (read): add code to deal with \begin_body and \end_body.
2908 2004-08-15 José Matos <jamatos@lyx.org>
2910 * lyxlex.C (getString): fix comment, buffer::readBody is now
2911 buffer:readDocument.
2913 * tex-strings.C (string_papersize): Default -> default,
2914 Custom -> custom, for consistency with other options.
2916 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2920 * Makefile.am: support pch
2922 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2924 * text.C (readParToken): remove the static LyXFont variable and
2925 pass it as a parameter instead. This fixes a nasty bug where an
2926 inset will be inserted with a bad font in some situations
2927 (readParagraph): adapt
2929 * text2.C (setCounter): reduce number of calls to pars_[pit]
2931 * text.C (singleWidth): add an assert, fix a test
2933 * rowpainter.C (paintText): reduce number of calls to singleWidth
2935 * paragraph.C (isHfill):
2936 (isNewline): ws only
2938 2004-08-14 André Pönitz <poenitz@gmx.net>
2943 * lyxtext.h (several functions): use a Paragraph & argument
2946 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2948 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2950 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2952 * text.C (singleWidth): remove useless test
2954 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2956 * tabular.h: remove bogus comments
2958 * tabular.C (getDescentOfRow):
2959 (isPartOfMultiColumn): add assertions
2961 * lyxlength.C (inPixels): remove #warning
2963 2004-08-14 André Pönitz <poenitz@gmx.net>
2965 * paragraph.h: inline getChar()
2967 * BufferView.h: remove unused declarations
2969 2004-08-14 José Matos <jamatos@lyx.org>
2971 * Buffer.[Ch] (readDocument): new name for old readBody.
2972 * Buffer.C: new file format, new keywords: \begin_document,
2973 \begin_header, \begin_body, \end_body.
2975 * bufferparams.C (readToken): replace all calls to lex.nextToken
2976 by lex.next(). Do the same to eatLine except where really needed.
2978 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2979 line when writing to the lyx file.
2981 * output_plaintext.C (asciiParagraph): fix Bibliography style
2984 * text.C (read): fix end of file handling.
2986 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2988 * MenuBackend.C (Menu::operator[]): new method to access
2989 individual menu items
2990 (Menu::hasFunc): new method. search for an item that corresponds
2992 (MenuBackend::specialMenu): new method
2993 (MenuBackend::expand): if a special menu has been set, skip
2994 entries whose func() appears in this menu
2996 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2998 * text3.C: use Debug::DEBUG a bit more
3000 * text.C (leftMargin): try to simplify a tiny bit change var x to
3001 l_margin. Dont output the wide margins always.
3002 (rightMargin): no margin in inner texts
3004 * rowpainter.h (nestMargin): new func
3005 (changebarMargin): new func
3006 (rightMargin): new func
3008 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
3012 * factory.C (createInset): modify setDrawFrame
3014 * cursor.C: use Debug::DEBUG a bit more
3016 2004-08-14 André Pönitz <poenitz@gmx.net>
3019 * Makefile.am: new files to accomodate an 'external' (x,y)-position
3020 cache for all insets in (at least partially) visible (top-level)
3023 * BufferView_pimpl.C: reset external coord cache before every update.
3024 This means the coord cache only contains valid entries.
3026 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
3029 * BufferView_pimpl.C (getInsetByCode): move function out of class
3030 and change in to a template in anon namespace. Also fix to do what
3033 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
3036 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
3038 (breakParagraph): rename par to par_offset and use a local
3039 reference. Add code to keep the language over a rebreak.
3040 (breakParagraphConservative): rename par to par_offset, use a
3042 (mergeParagraph): ditto
3044 (isFirstInSequence): ditto
3045 (outerFont): rename pit to par_offset
3047 * paragraph.C: ws change
3048 * paragraph.h: ditto
3052 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3054 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
3057 * paragraph.C (simpleTeXOnePar): when we have a \item with
3058 optional argument, enclose the argument with curly brackets (in
3059 case it contains a closing square bracket)
3063 * text3.C (checkInsetHit): constify
3065 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3067 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
3068 documents (bug 1629)
3070 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3072 Fix toggling of collapsable insets with the mouse (bug 1558)
3074 * lyxfunc.C (dispatch): adapt to LCursor changes
3076 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
3077 make sure that dispatch is not invoked twice
3079 * cursor.C (needsUpdate): new method
3080 (dispatch): return void
3081 (result): new method, to access the DispatchResult of the cursor.
3083 2004-08-13 José Matos <jamatos@lyx.org>
3085 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
3087 2004-08-13 André Pönitz <poenitz@gmx.net>
3089 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
3091 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
3094 2004-08-12 André Pönitz <poenitz@gmx.net>
3096 * text3.C: take out the 'cursor right' form insertInset and only
3097 do it in those places when it is really needed. Fixes crash on
3100 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3102 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
3104 * BufferView_pimpl.C (setBuffer): initialize the current font of
3105 the underlying LyXText
3107 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3109 * kbsequence.C (print): use UI native formatting for menu
3112 * text.C (insertChar): call Paragraph::insertChar with a font
3115 * paragraph.C (insertInset, insertChar): the version that takes a
3116 LyXFont argument is now a wrapper around the other one (the
3117 opposite used to be true).
3119 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
3120 argument. Font setting is done in Paragraph now.
3122 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3124 * outputparams.h: add new members intitle and lang.
3126 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
3127 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
3129 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3131 * text3.C (dispatch): remove special handling of button 4 and 5,
3132 it is now taken care of in the frontend code.
3134 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3136 * Spacing.h: add <string> (STLPort compile fix)
3138 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3140 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
3142 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3144 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
3147 * converter.C (showMessage): inherit from unary_function, make
3150 * buffer.C (writeFile): initialize retval
3152 * InsetList.h: rename private variable list to list_
3153 * InsetList.[Ch]: adjust accordingly.
3155 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3157 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
3158 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
3159 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
3160 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
3161 * ParagraphParameters.C, LaTeXFeatures.C: replace
3162 "support/std_sstream.h" with <sstream>
3164 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3166 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
3167 * lyxsocket.C (LyXServerSocket): ditto
3168 (serverCallback): ditto
3170 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3172 * LaTeXFeatures.C: check release date when loading jurabib.
3174 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3176 * lyxserver.C (startPipe): call register_socket_callback
3177 (endPipe): call unregister_socket_callback
3179 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3181 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3182 (LyXServerSocket): register the callback
3183 (LyXServerSocket): unregister the callback
3184 (fd): delete function
3185 (serverCallback): improve error checking and setup the callbacks.
3186 (dataCallback): change arg to fd.
3187 (writeln): new func (copied fro the client socket) used for server
3189 (LyXDataSocket): simplify
3190 (~LyXDataSocket): close ann unregiser callback
3191 (server): delete function
3192 (fd): delete function
3193 (readln): small changes, improve some std::string usage
3194 (writeln): constify a bit
3196 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3198 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3201 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3203 * BufferView_pimpl.C (setBuffer): set the layout combox value only
3204 after it has been populated
3206 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3208 * text2.C (insertInset): move cursor when inserting inset.
3210 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3212 * kbmap.C (findbindings): a couple of new methods. returns a
3213 container of kb_sequence objects. The real work is done by the
3214 private recursive version
3215 (printbindings): uses findbindings to print out a bracketed list
3216 of bindings (renamed from findbinding).
3218 * MenuBackend.C (binding): use kb_keymap::findbindings
3220 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3222 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3224 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3226 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3228 * paragraph.C (isWord): return true on insets that report
3231 * text.C (getWord): use Paragraph::isWord to decide what is in a
3232 word and what is not; fix bug 1609.
3234 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3236 * tex-strings.C: add "none" to string_paperpackages[], fixes
3237 off-by-one-error in the paperpackage selection.
3240 * tex-strings.[Ch]: char const * string[n]
3241 -> char const * const string[]
3243 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3245 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3246 command, return early.
3248 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3250 * debug.h: add DEBUG to enum and fix size of ANY.
3252 * debug.C: add support for Debug::DEBUG
3253 (showTags): cast errorTags.level to unsigned int
3255 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3256 (redoCurrentBuffer): ditto
3257 (updateScrollbar): ditto
3258 * cursor.C (dispatch): ditto
3259 * text2.C (setLayout): ditto
3261 (updateCounters): ditto
3263 (deleteEmptyParagraphMechanism): ditto
3265 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3267 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3268 annotations to cleanup the Makefile slightly.
3270 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3272 * lyxrc.C: do not set user_email to a default value but use empty
3273 instead. The entry used to be translated, which does not work
3274 since at the point where lyxrc is constructed there is no
3275 translation service available
3277 * messages.C (getLocaleDir): remove and use directly
3278 lyx_localedir() instead
3280 2004-06-02 Angus Leeming <leeming@lyx.org>
3282 Fix crash caused by dereferencing null pointer 'exportdata' in
3283 OutputParams by creating a new ExportData variable on the heap,
3284 storing it in a boost::shared_ptr.
3285 The crash was triggered when generating an Instant Preview
3286 of an external inset.
3288 * Makefile.am: add outputparams.C
3290 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3291 (c-tor): allocate memory to it.
3293 * exporter.C (c-tor): associated changes.
3295 2004-06-01 Angus Leeming <leeming@lyx.org>
3297 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3298 contains data before calling isInset(0). (Bug 1513.)
3300 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3302 * exporter.C (checkOverwrite): new method
3303 * exporter.C (copyFile): new method
3304 * exporter.C (Export): copy referenced files to the document dir
3305 * exporter.[Ch]: new class ExportedFile
3306 * exporter.[Ch]: new class ExportData. Contains currently the
3307 names of referenced external files
3308 * outputparams.h: add exportdata member.
3310 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3312 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3315 2004-05-19 Angus Leeming <leeming@lyx.org>
3320 * lyxfunc.C: small changes due to the introduction of namespace
3321 lyx::frontend and the moving of namespace biblio to lyx::biblio.
3323 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
3325 * text3.C (dispatch): supress update when only moving the cursor
3326 * cursor.C (selHandle): remove commented code
3328 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3330 * paragraph.C (startTeXParParams): correct column count
3331 * CutAndPaste.C (pasteSelection): remove const_cast
3332 * output_docbook.C (docbookParagraphs): remove const_cast
3333 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3334 const_cast and return ParagraphList::const_iterator
3335 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3336 * output_plaintext.C (writeFileAscii): remove const_cast
3337 * paragraph.[Ch] (simpleTeXOnePar): make const
3338 * paragraph_funcs.C (outerPar): use const iterators
3339 * paragraph_pimpl.C (validate): use const iterators
3340 * text.C (setHeightOfRow): use const iterators
3342 2004-05-17 Angus Leeming <leeming@lyx.org>
3345 * LyXAction.C (init): new LFUN_INSET_REFRESH.
3347 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3348 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3349 if the citation engine has changed.
3351 2004-05-14 José Matos <jamatos@lyx.org>
3353 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3354 if the textclass does not provide it. Have it different for sgml and
3356 support the language of document.
3357 * output_docbook.C (docbookParagraphs):
3358 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3359 first anchor as the id of the paragraph, remove special case code.
3360 * sgml.C (escapeChar): escape only < & >.
3362 2004-05-14 Angus Leeming <leeming@lyx.org>
3364 * bufferparams.h: move biblio::CiteEngine enum here to minimize
3365 dependencies on src/frontends/controllers/biblio.h. Define a
3366 CiteEngine_enum wrapper class to enable the enum to be forward
3369 2004-05-12 Angus Leeming <leeming@lyx.org>
3371 * buffer.C: up LYX_FORMAT to 234.
3372 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3373 use_numerical_citations with a single biblio::CiteEngine cite_engine
3375 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3377 2004-05-13 José Matos <jamatos@lyx.org>
3380 * converter.C (Converter, readFlags): add xml member.
3381 * outputparams.h: add XML flavor.
3382 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3384 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3386 * lyxfunc.C (dispatch):
3387 (getStatus): fix handling of LFUN_SEQUENCE
3389 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3391 * debug.C (showLevel): do not forget the end-of-line marker
3393 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3395 * kbmap.C (read): do not stop parsing a bind file when an error
3398 2004-04-29 Angus Leeming <leeming@lyx.org>
3403 * text2.C: wrap a bunch of #warning statements
3404 inside #ifdef WITH_WARNINGS blocks.
3406 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3408 * buffer.C: increment format to 233.
3410 2004-04-28 Angus Leeming <leeming@lyx.org>
3412 * BufferView_pimpl.C:
3415 s/updateToolbar()/updateToolbars()/
3416 s/Toolbar.h/Toolbars.h/
3418 2004-04-28 Angus Leeming <leeming@lyx.org>
3420 * BufferView.[Ch] (c-tor):
3421 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3422 No longer passes these data to the WorkArea generator.
3424 2004-04-28 Angus Leeming <leeming@lyx.org>
3426 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3428 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3430 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3432 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3434 * output_latex.C (TeXEnvironment): make sure that there is a line
3435 break before \end{foo} for the last paragraph of a document
3436 (TeXOnePar): if the paragraph is at the end of the document (or
3437 inset) and the language has to be reset, then make sure that the
3438 line break is _before_ the language command, not after (fixes bug
3439 1225); also make sure that the language reset command is the first
3440 thing after the paragraph (to ensure proper nesting of
3441 environments and thus fix bug 1404)
3443 2004-04-21 John Levon <levon@movementarian.org>
3446 * ToolbarBackend.C: make "name" be a programmatic name
3447 and a gui_name field.
3449 * lyxfunc.C: display the minibuffer on M-x
3451 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3453 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3456 2004-04-19 Angus Leeming <leeming@lyx.org>
3458 * BufferView_pimpl.C (setBuffer): changed preview interface.
3460 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3463 2004-04-19 John Levon <levon@movementarian.org>
3465 * BufferView_pimpl.C:
3466 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3468 2004-04-05 Angus Leeming <leeming@lyx.org>
3470 * text.C (redoParagraphs): add call to updateCounters(), thereby
3471 fixing the missing "Figure #:" label from the caption of a
3474 2004-04-13 Angus Leeming <leeming@lyx.org>
3476 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3477 cursor is clicked out of an inset.
3479 2004-04-13 Angus Leeming <leeming@lyx.org>
3481 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3482 than an InsetOld one.
3484 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3486 * format.[Ch]: add editor to Format
3487 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3488 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3490 2004-04-08 André Pönitz <poenitz@gmx.net>
3492 * metricsinfo.h: remove PainterInfo::width member
3494 2004-04-08 Angus Leeming <leeming@lyx.org>
3496 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3497 "\providecommand" rather than "\newcommand", thereby preventing
3498 clashes with packages that define "\boldsymbol" themselves.
3501 2004-04-08 Angus Leeming <leeming@lyx.org>
3503 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3504 thereby squashing an unnecessary warning.
3506 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3508 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3511 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3513 * BufferView.C (setCursor): call redoParagraph (some insets could
3515 (putSelectionAt): remove the 'double update' trick
3517 * BufferView_pimpl.C (fitCursor): call refreshPar
3518 (workAreaDispatch): remove an uneeded update call
3519 (dispatch): remove some manual update calls
3521 * cursor.[Ch]: remove cached_y_, updatePos
3522 (selHandle): set noUpdate when appropriate
3524 * lyxfunc.C (dispatch): track if we need an update
3526 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3528 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3529 (paintSelection): cheap optimization, do not call cursorX when not
3531 (paintPars): change signature
3534 (paintTextInset): adjust
3538 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3540 * lengthcommon.C: compilation fix: remove explicit array size from
3541 unit_name[] and friends
3543 2004-04-05 Angus Leeming <leeming@lyx.org>
3545 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3547 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3548 present only for the preferences dialog.
3549 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3551 2004-04-05 Angus Leeming <leeming@lyx.org>
3553 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3554 to enable the frontends to export changes to lyxrc correctly.
3556 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3558 2004-04-07 André Pönitz <poenitz@gmx.net>
3560 * cursor.[Ch] (selClear, adjust): remove math
3562 * cursor_slice.C: more agressive assert
3565 * BufferView_pimpl.C: rework mouse event dispatch
3572 2004-04-05 André Pönitz <poenitz@gmx.net>
3574 * cursor.[Ch] (valign, halign...): remove unneeded functions
3576 2004-04-05 Angus Leeming <leeming@lyx.org>
3578 * lyxlength.[Ch] (unit_name et al.): const-correct.
3580 2004-04-05 Angus Leeming <leeming@lyx.org>
3582 * BufferView_pimpl.C:
3591 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3593 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3595 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3597 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3599 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3600 * BufferView_pimpl.[Ch] (getStatus)
3601 * BufferView.[Ch] (getStatus): add
3602 * lyxfunc.C (getStatus): move lfuns handled in
3603 BufferView::dispatch to te function above
3604 * Cursor.C (setSelection): set selection() = true
3606 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3608 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3610 2004-03-31 Angus Leeming <leeming@lyx.org>
3612 * lyxfunc.C (dispatch): Fall through to the generic
3613 Dialogs::show("preamble").
3615 2004-03-31 Angus Leeming <leeming@lyx.org>
3617 * lyxfunc.C (dispatch): Fall through to the generic
3618 Dialogs::show("spellchecker").
3620 2004-03-31 Angus Leeming <leeming@lyx.org>
3622 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3625 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3630 * insetiterator.[Ch]:
3635 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3637 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3639 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3640 insets where we are putting the cursor.
3642 2004-03-31 Angus Leeming <leeming@lyx.org>
3645 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3647 * lyxrc.[Ch] (read, write): overloaded member functions taking
3648 a std::[io]stream arguments.
3650 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3652 2004-03-31 Angus Leeming <leeming@lyx.org>
3654 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3655 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3657 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3658 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3660 2004-03-31 Angus Leeming <leeming@lyx.org>
3662 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3663 the LFUN_ALL_INSETS_TOGGLE code.
3665 2004-03-30 Angus Leeming <leeming@lyx.org>
3667 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3668 has died. Fall through to the generic Dialogs::show("document").
3670 2004-03-30 Angus Leeming <leeming@lyx.org>
3673 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3674 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3676 * lyxfunc.C (getStatus, dispatch): define the actions for these
3677 lfuns. Little more than a cut and pste job from ControlDocument.C
3679 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3681 2004-03-30 Angus Leeming <leeming@lyx.org>
3684 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3685 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3687 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3688 open/closed state of ollapsable insets. Usage:
3690 all-inset-toggle <state> <name>, where
3691 <state> == "open" || "closed" || "toggle" and
3692 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3694 * lyxtext.h, text2.C (toggleInset): removed.
3696 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3697 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3698 now passes LFUN_INSET_TOGGLE to the found inset.
3700 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3701 is now invoked as "all-insets-toggle toggle branch".
3703 2004-03-30 Angus Leeming <leeming@lyx.org>
3707 * pariterator.[Ch]: added/corrected header blurb.
3709 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3711 * dociterator.[Ch]: add an inset_ member
3712 (backwardPos): implemented
3713 (backwardPos, forwardPos): use inset_ when the stack is empty.
3714 (doc_iterator_begin, doc_iterator_end): implemented
3715 * pariterator.[Ch]: adjust, add begin, end
3716 * insetiterator.[Ch]: adjust, add begin, end
3720 * BufferView_pimpl.C:
3721 * CutAndPaste.C: adjust
3723 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3725 * buffer.C: increment file format to 232.
3726 * LaTeXFeatures.C: add bibtopic package.
3727 * bufferparams.[Ch]: param \use_bibtopic.
3729 * lyxrc.[Ch]: add lyxrc bibtex_command
3730 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3732 * buffer.C: increment file format to 231.
3734 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3736 * dociterator.C: implement forwardPar
3737 * iterators.[Ch]: remove, replaced by
3738 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3740 * BufferView_pimpl.C:
3743 * bufferview_funcs.C:
3749 * Makefile.am: adjust
3751 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3753 * CutAndPaste.C (pasteSelection): fix 2 crashes
3754 (eraseSelection): fix a crash
3755 * paragraph_funcs.C: remove a warning
3757 2004-03-28 Angus Leeming <leeming@lyx.org>
3760 * LyXAction.C (init): new LFUN_PRINT.
3762 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3764 2004-03-27 Angus Leeming <leeming@lyx.org>
3767 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3769 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3771 2004-03-27 Angus Leeming <leeming@lyx.org>
3773 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3774 insetlist always contains non-null pointers to insets.
3776 2004-03-26 Angus Leeming <leeming@lyx.org>
3778 * src/BufferView_pimpl.C:
3779 * src/CutAndPaste.C:
3782 * src/output_plaintext.C:
3783 * src/outputparams.h:
3784 * src/paragraph_funcs.C:
3788 * src/frontends/controllers/ControlErrorList.C:
3789 * src/frontends/gtk/FileDialogPrivate.C:
3790 * src/frontends/gtk/GPainter.C:
3791 * src/frontends/gtk/GToolbar.C:
3792 * src/frontends/qt2/QRef.C:
3793 * src/mathed/math_scriptinset.C: squash compiler warnings.
3795 2004-03-26 Angus Leeming <leeming@lyx.org>
3797 * ispell.C (LaunchIspell::start):
3798 * lyx_cb.C (AutoSaveBuffer::start):
3799 invoke run(DontWait) rather than runNonBlocking().
3801 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3803 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3805 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3807 * kbsequence.C (print): adjust
3809 * kbmap.C (printKeySym): rename and change signature
3810 (printKey): use LyXKeySym::print()
3812 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3814 * undo.C: add using std::advance to compile for stlport
3816 2004-03-24 Angus Leeming <leeming@lyx.org>
3818 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3819 it leads to a crash when no buffer is present.
3821 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3822 Martin Vermeer <martin.vermeer@hut.fi>
3824 * lyxfunc.C (dispatch):
3825 * bufferparams.C (readToken): use the new LColor::setColor
3827 * LColor.[Ch] (setColor): new version that takes two strings as
3828 argument and creates a new color entry if necessary
3830 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3832 * buffer.C (makeLaTeXFile): if the main latex file that is
3833 processed is usually a subdocument of some master, then pretend
3834 for a while that it is actually the master
3836 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3838 * buffer.C (getLabelList):
3839 (getBibkeyList): use getMasterBuffer()
3840 (getMasterBuffer): new method. Returns the main document in the
3841 case where one is using included documents.
3843 2004-03-25 André Pönitz <poenitz@gmx.net>
3847 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3849 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3851 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3852 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3854 * ParameterStruct.h: merge with ParagraphParameters
3856 * lyxtext.h: remove LyXText::parOffset() and getPar()
3858 * text3.C: Remove all 'manual' update calls. We do now one per user
3859 interaction which is completely sufficient.
3863 * BufferView_pimpl.C:
3864 * FontIterator.[Ch]:
3866 * ParagraphParameters.[Ch]:
3871 * cursor_slice.[Ch]:
3878 * output_docbook.[Ch]:
3879 * output_latex.[Ch]:
3880 * output_linuxdoc.[Ch]:
3881 * output_plaintext.[Ch]:
3883 * paragraph_funcs.[Ch]:
3884 * paragraph_pimpl.[Ch]:
3892 * frontends/controllers/ControlDocument.C:
3893 * frontends/controllers/ControlErrorList.C:
3894 * frontends/controllers/ControlSpellchecker.C:
3897 * insets/insetbase.h:
3898 * insets/insetbibitem.C:
3899 * insets/insetbox.C:
3900 * insets/insetbranch.C:
3901 * insets/insetcaption.C:
3902 * insets/insetcharstyle.C:
3903 * insets/insetcharstyle.h:
3904 * insets/insetcollapsable.C:
3905 * insets/insetcollapsable.h:
3906 * insets/insetert.C:
3907 * insets/insetfloat.C:
3908 * insets/insetfoot.C:
3909 * insets/insetmarginal.C:
3910 * insets/insetnote.C:
3911 * insets/insetoptarg.C:
3912 * insets/insettabular.C:
3913 * insets/insettext.C:
3914 * insets/insettext.h:
3915 * insets/insetwrap.C:
3916 * mathed/math_mboxinset.C:
3917 * mathed/math_nestinset.C:
3918 * mathed/math_scriptinset.C:
3919 * mathed/math_scriptinset.h:
3922 2004-03-24 Angus Leeming <leeming@lyx.org>
3924 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3925 deal with any child processes that have finished but are waiting to
3926 communicate this fact to the rest of LyX.
3928 2004-03-24 Angus Leeming <leeming@lyx.org>
3930 64-bit compile fixes.
3932 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3933 (c-tor): pass lyx::pos_types rather than ints.
3935 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3938 * text.C (Delete): compile fix.
3939 (getPar): ensure that function declaration is the same as that in
3942 2004-03-23 Angus Leeming <leeming@lyx.org>
3944 * ispell.C (LaunchIspell):
3945 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3946 a boost::shred_ptr rather than a std::auto_ptr.
3948 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3950 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3951 handle LFUN_FILE_INSERT_*
3953 * lyxrc.C (setDefaults, getDescription, output, read):
3954 * lyxrc.h: remove ps_command
3956 2004-03-22 Angus Leeming <leeming@lyx.org>
3958 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3959 Ensure that error_handler is processed once only and that all data
3960 is saved before attempting to output any warning messages.
3962 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3964 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3966 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3968 2004-03-19 André Pönitz <poenitz@gmx.net>
3970 * cursor.[Ch] (reset): take main text inset as argument
3972 * BufferView: adjust
3973 * BufferView_pimpl.C: adjust
3975 * paragraph.[Ch]: fix completely broken operator=()
3977 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3979 * LColor.C (getFromLyXName): make sure that the color name is used
3982 2004-03-17 Angus Leeming <leeming@lyx.org>
3985 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3987 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3988 dialog and to kill a forked process.
3990 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3992 * text2.C (setCursorFromCoordinates): fix font problem
3994 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3996 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3997 bogus "rebuild cursor" code
3999 2004-03-11 André Pönitz <poenitz@gmx.net>
4001 * buffer.[Ch]: use InsetText instead of LyXText as container for
4004 * dociterator.[Ch]: drop the BufferView * member which is not needed
4005 anymore after the change to buffer.C
4007 * paragraph_funcs.C:
4011 * BufferView_pimpl.[Ch]:
4013 * cursor_slice.[Ch]: adjust
4015 * text3.C: fix bug in mathDispatch
4017 2004-03-08 André Pönitz <poenitz@gmx.net>
4019 * undo.[Ch]: use 'StableDocumentIterator' as base for
4022 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4025 * bufferparams.[Ch]: add jurabib support and param.
4027 * LaTeX.C: add FIXME/comment.
4029 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4031 * buffer.C: increment file format to 230.
4033 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
4035 * cursor.C (dispatch): avoid infinite loops
4037 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4039 * rowpainter.C (paintSelection): fix x coordinates
4041 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4043 * text.C (rowBreakPoint): fix breaking before displayed insets
4045 2004-03-01 André Pönitz <poenitz@gmx.net>
4047 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
4049 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
4053 * BufferView_pimpl.C:
4061 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4067 * BufferView_pimpl.C: rename textwidth -> maxwidth,
4068 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
4070 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4072 * Bidi.[Ch] (computeTables): const correctness
4073 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
4074 fill_hfill, fill_label_hfill and x from Row
4075 * lyxtext.h: prepareToPrint returns a RowMetrics
4076 * rowPainter.C: adjust
4077 * text.C (prepareToPrint): use width, not textWidth. adjust
4078 (redoParagraphInternal, cursorX): adjust
4079 * text2.C (getColumnNearX): adjust
4080 (init): put a default value to the top LyXText::width
4082 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4084 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
4086 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4088 * lyxtext.h: add FontIterator class
4090 * text.C (FontIterator, operator*, operator->, operator++): add
4091 (rowBreakPoint, setRowWidth): adjust (fixing a
4094 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4096 * BufferView_pimpl.C (workAreaDispatch): allow also
4097 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
4099 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
4101 * text.C (rowBreakPoint): fix a bug showing with very large insets
4103 2004-02-25 André Pönitz <poenitz@gmx.net>
4106 * cursor.[Ch]: move some mathed specific code to mathed
4108 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4110 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
4111 use_tempdir in preferences
4112 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
4114 * lyx_main.C: ensure that tempdir is valid
4115 * lyxlex.h: correct typo
4116 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
4117 * paragraph.[Ch] (isMultiLingual): make const
4118 * cursor.[Ch] (openable): make const
4120 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4122 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
4124 2004-02-20 André Pönitz <poenitz@gmx.net>
4126 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
4128 * cursor.[Ch]: prepare for localized getStatus()
4134 * text3.C: streamlines the LyXText cursor movement handlers a bit.
4136 2004-02-20 André Pönitz <poenitz@gmx.net>
4138 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
4140 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
4142 * text2.C (setCursorFromCoordinates): switch to absolute coords
4144 (cursorDown): adjust
4145 * text3.C (dispatch): adjust
4147 2004-02-16 André Pönitz <poenitz@gmx.net>
4149 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
4152 * cursor_slice.[Ch]: remove unneeded acessor function
4154 * lyxtext.h: rename rtl() to isRTL()
4162 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
4164 * rowpainter.C (paintSelection): coord fix
4166 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4168 * Spacing.C: compile fix
4170 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
4172 * cursor.C (dispatch): restore current_ before returning
4174 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
4176 * text2.C (cursorUp, cursorDown): fix coords
4179 2004-02-12 André Pönitz <poenitz@gmx.net>
4184 * text3.C: add LCursor & parameter to most cursor movement functions
4185 remove usage of LyXText::cursorRow() and cursorPar()
4187 * cursor.[Ch]: add textRow() needed members
4190 * BufferView_pimpl.C:
4193 * BufferView_pimpl.C: adjust
4195 2004-02-11 André Pönitz <poenitz@gmx.net>
4199 * BufferView_pimpl.C: shift undo/redo handling
4201 * cursor.[Ch]: fix mathed crash
4204 * lyxtext.h: move selectionAsText to LCursor
4212 * rowpainter.C: fix excessive drawing
4214 2004-02-06 André Pönitz <poenitz@gmx.net>
4217 * BufferView_pimpl.[Ch]:
4218 * text3.C: move some text specific LFUN handling
4220 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
4222 * text3.C (checkInsetHit): adjust coords
4223 * text2.C (getColumnNearX): adjust coords
4224 (edit): adjust coords
4225 * text.C (getRowNearY): add two asserts
4227 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
4230 * format.C: add using std::distance to compile on gcc 2.95/stlport
4232 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
4234 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4236 2004-02-04 André Pönitz <poenitz@gmx.net>
4238 * BufferView.[Ch] (insertInset):
4239 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4244 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4246 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4247 on the default clause of the switch
4248 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4249 wasn't catched by LCursor::dispatch
4251 2004-02-03 André Pönitz <poenitz@gmx.net>
4254 * cursor.[Ch]: some additional asserts
4256 * undo.[Ch]: remove LyXText dependency in interface
4260 * lyxtext.h (firstPar, lastPar): remove dead functions
4265 * paragraph.[Ch]: adjust
4267 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4269 * lyxfind.C (find): fix argument order in call to ::find
4271 2004-02-02 André Pönitz <poenitz@gmx.net>
4273 * cursor.[Ch]: remove direct access to anchor
4275 * text.C: remove findText() hack
4277 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4279 * iterators.[Ch] (lockPath): remove in favour of...
4280 * BufferView.[Ch] (setCursor): this addition
4281 * BufferView.C (putSelectionAt): adjust
4282 * undo.C (performUndoOrRedo): adjust
4283 * lyxfunc.C (dispatch): adjust
4285 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4287 * iterators.C (lockPath): add a missing slice
4288 * undo.C (performUndoOrRedo): remove redundant positioning code
4290 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4292 * vc-backend.C (scanMaster): ";" -> ';'
4294 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4296 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4297 std::binary_function
4299 * lyxtextclass.C (compare_name): rename to...
4300 (LayoutNamesEqual): ...this
4302 * lyxlex_pimpl.C (compare_tags): inherit from
4303 std::binary_function, put back into anon namespace
4305 * lyxfind.C (MatchString): inherig from std::binary_function
4306 (findChange): use empty() istead of !size()
4308 * format.C (FormatNamesEqual): new functor
4315 * converter.C (compare_Converter): rename to...
4316 (ConverterEqual): ...this, and fixup a bit.
4317 (getConverter): use it, and make function const
4318 (getNumber): use it, and make function const
4322 * bufferlist.C: add using boost::bind
4324 * MenuBackend.C (MenuNamesEqual): new functor
4325 (hasMenu): use it, and make function const
4326 (hasSubmenu): use nested bind to get rid of compare_memfun.
4328 2004-01-30 André Pönitz <poenitz@gmx.net>
4330 * BufferView_pimpl.C:
4333 * cursor_slice.[Ch]:
4336 * paragraph_funcs.C:
4337 * paragraph_funcs.h:
4341 * text3.C: move some of the edit(x,y) handling to the insets
4342 some coordinate changes.
4344 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4346 * text.C: add using statements for std::advance and std::distance
4348 * paragraph.C: add using statement for std::distance
4350 * lyxfind.C: add using statement for std::advance
4352 * cursor.C (region): remove std:: from swap
4353 (openable): use nucleus in stead of operator->
4355 * BufferView.C: add using statements for std::distance and std::swap
4357 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4359 * iterators.C: Remove the pimple, move the needed structures to
4360 the header file. Create accessor for the positions stack.
4361 (asPosIterator): remove function
4363 * PosIterator.C (PosIterator): move constructors to top of file
4364 (PosIterator): reimplement the constructor taking a ParIterator in
4366 (setFrom): new function
4367 (operator!=): inline it
4369 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4371 * lyxfind.C (replaceAll): use std::advance
4373 * iterators.h: inherit from std::iterator.
4375 * PosIterator.C (advance, distance): remove
4376 * PosIterator.h: interit from std::iterator.
4378 2004-01-26 André Pönitz <poenitz@gmx.net>
4381 * BufferView_pimpl.[Ch]:
4385 * bufferview_funcs.C:
4395 * output_linuxdoc.C:
4396 * output_plaintext.C:
4398 * paragraph_funcs.[Ch]:
4399 * paragraph_pimpl.[Ch]:
4405 * text3.C: more IU: dumps most of the rest of the mathcursor
4406 implementation into cursor.[Ch]; "globalize" a bit of it.
4408 2004-01-25 Angus Leeming <leeming@lyx.org>
4410 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4412 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4414 * LaTeXFeatures.h: add nice_ and nice() const
4415 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4417 2004-01-20 André Pönitz <poenitz@gmx.net>
4420 * BufferView_pimpl.C:
4422 * bufferview_funcs.C:
4424 * cursor_slice.[Ch]:
4435 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4436 LCursor and mathcursor parts to LCursor and InsetBase.
4438 2004-01-15 André Pönitz <poenitz@gmx.net>
4440 * cursor_slice.[Ch]: add a few covienience functions
4442 * funcrequest.[Ch]: remove BufferView * member
4444 * BufferView_pimpl.C:
4451 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4453 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4455 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4456 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4458 2004-01-13 André Pönitz <poenitz@gmx.net>
4461 * lyxtext.h: hide cursor and selection anchor behind accessor function
4464 * BufferView_pimpl.[Ch]:
4466 * bufferview_funcs.C:
4476 * cursor_slice.[Ch]: some integer type changes for inset unification
4478 * lyxcursor.[hC]: remove, it's CursorSlice now.
4481 * BufferView_pimpl.[Ch]:
4482 * bufferview_funcs.C:
4488 * textcursor.[Ch]: adjust
4490 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4492 * text2.C (undoSpan): add and use
4493 * text.C (breakParagraph): use undoSpan (fix bug 578)
4496 2004-01-08 Angus Leeming <leeming@lyx.org>
4498 * BufferView_pimpl.C (MenuInsertLyXFile):
4499 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4500 * lyxfunc.C (menuNew, open, doImport):
4501 FileFilterList change to the FileDialog open and save functions.
4503 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4505 * ShareContainer.h: make isEqual and isUnique adaptable
4507 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4509 2004-01-07 Angus Leeming <leeming@lyx.org>
4512 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4514 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4516 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4517 functions replacing find, replace and replaceAll.
4519 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4520 LFUN_WORDFIND(FORWARD|BACKWARD).
4522 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4524 * text.C (breakParagraph): remove an outdated #warning
4526 2004-01-07 André Pönitz <poenitz@gmx.net>
4528 * lyxfind.C: somewhat clearer logic
4530 * text.C: prevent crash in cursorX on unitialized row cache
4532 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4534 * lyxcursor.[Ch] (operator>): add
4535 * textcursor.C (selStart, selEnd): use std::min and std::max
4537 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4539 * Chktex.C: include boost/format.hpp
4541 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4543 * InsetList.C: replace functor MathcIt with adaptable functor
4545 (insetIterator): modify accordingly
4547 * BranchList.h: move the BranchNamesEqual functor here from...
4548 * BranchList.C: ... to here
4550 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4552 (add): replace a finding loop with std::find_if.
4554 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4556 * output_docbook.C: moving LatexParam functionality into
4559 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4561 * buffer.C: increment format to 229.
4563 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4566 * lyx_sty.[Ch]: remove minipageindent_def
4572 * text3.C: remove LFUN_INSET_MINIPAGE
4574 2003-12-28 Angus Leeming <leeming@lyx.org>
4576 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4578 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4580 * text2.C (setParagraph): fix off-by-one crash
4582 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4584 * output_docbook.C: header stuff for AGU
4586 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4588 * text2.C (redoCursor): remove
4591 * BufferView_pimpl.C: remove calls to redoCursor and
4592 setCursor(cursor.par(), cursor.pos()) all around
4594 2003-12-15 Angus Leeming <leeming@lyx.org>
4596 * buffer.C: up the format to 228.
4598 2003-12-15 André Pönitz <poenitz@gmx.net>
4600 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4605 * BufferView_pimpl.C:
4614 2003-12-15 Angus Leeming <leeming@lyx.org>
4616 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4617 than getFromGUIName to manipulate the color.
4619 2003-12-14 Angus Leeming <leeming@lyx.org>
4621 * BranchList.[Ch]: minimize the API.
4622 (Branch::getBranch, getColor): now return a 'const &'.
4623 (Branch::setSelected) now returns a bool set to true if the
4624 selection status changes.
4625 (BranchList::clear, size, getColor, setColor, setSelected,
4626 allBranches, allSelected, separator): removed.
4627 (BranchList::find): new functions, returning the Branch with
4629 (BranchList::add, remove): return a bool indicating that
4630 the operation was successful.
4632 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4633 new InsetBranch::isBranchSlected member function.
4635 * LColor.[Ch]: mimimize the API.
4636 (fill): renamed as addColor and made private.
4637 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4638 versions of these functions taking a string arg have been removed.
4640 * bufferparams.C (readToken):
4641 * lyxfunc.C (dispatch):
4642 * lyxrc.C (read): changes due to the altered BranchList and
4645 * factory.C (createInset, readInset): changes due to altered
4648 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4651 * lyxfunc.C: remove insetminipage. "minipage-insert"
4652 now produces a frameless minipage box inset.
4654 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4656 * textcursor.[Ch] (selStart,selEnd): add new methods
4657 remove selection::start, end, use LyXCursor::operator<
4658 * lyxcursor.[Ch] (operator<): add
4659 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4660 * BufferView.[Ch] (unsetXSel): add
4661 * text2.C (clearSelection): use unsetXSel,adjust
4664 * rowpainter.C: adjust
4665 * bufferview_funcs.C (put_selection_at): adjust
4667 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4669 * BufferView_pimpl.C: small coord. correction
4671 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4673 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4674 dragging over the splash screen.
4676 2003-12-11 Angus Leeming <leeming@lyx.org>
4678 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4679 as it is now handled in LyXText::dispatch.
4681 * text3.C (doInsertInset): remove a level of nesting.
4683 2003-12-11 Angus Leeming <leeming@lyx.org>
4685 * factory.C (createInset): changes due to the changed interface to
4686 InsetCommandMailer::string2params.
4688 2003-12-10 Angus Leeming <leeming@lyx.org>
4690 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4691 'dialog-show-new-inset <inset name>'
4693 2003-12-10 Angus Leeming <leeming@lyx.org>
4695 * buffer.C: up the format to 227.
4697 * factory.C: the box inset is now identified simply by 'Box'.
4699 2003-12-10 Angus Leeming <leeming@lyx.org>
4701 * buffer.C: up the format to 226.
4703 * factory.C: the note inset is now identified simply by 'Note'.
4705 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4707 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4708 when a pit is enough. Standarize a couple of loops.
4710 2003-12-05 Angus Leeming <leeming@lyx.org>
4712 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4713 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4714 data to the re-worked "log" dialog.
4716 2003-12-03 André Pönitz <poenitz@gmx.net>
4722 * paragraph_funcs.C:
4724 * text2.C: use Inset::getText instead of Inset::getParagraph
4726 2003-12-03 André Pönitz <poenitz@gmx.net>
4730 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4731 InsetText::read() as LyXText::read()
4733 2003-12-02 Angus Leeming <leeming@lyx.org>
4735 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4736 type. Add a comment in the implementation that the function uses
4737 the stream's bad() function rather than fail() as the std::streams
4740 2003-12-02 André Pönitz <poenitz@gmx.net>
4742 * lyxlex.[Ch]: make interface more similar to std::stream
4744 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4746 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4748 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4750 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4752 * vspace.[Ch]: remove VSpace::NONE
4754 2003-12-01 André Pönitz <poenitz@gmx.net>
4757 * lyxtext.h: move ParagraphList member to LyXText
4758 rename LyXText::ownerParagraphs to LyXText::paragraph
4761 * bufferview_funcs.C:
4771 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4773 * undo.C: fix cursor positioning
4775 2003-12-01 John Levon <levon@movementarian.org>
4777 * BufferView_pimpl.C: fix a crash on exit with
4780 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4782 * BranchList.C: fix setSelected() method.
4784 2003-11-28 André Pönitz <poenitz@gmx.net>
4786 * ParagraphParameters.[Ch]:
4787 * ParameterStruct.h: remove space above/below from Paragraph to
4790 * BufferView_pimpl.C:
4796 * paragraph_funcs.C:
4802 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4804 * factory.C: Syntax change for CharStyles
4806 2003-11-28 André Pönitz <poenitz@gmx.net>
4811 * buffer.[Ch]: move LyXText member
4813 2003-11-28 André Pönitz <poenitz@gmx.net>
4815 * BufferView.[Ch]: make LyXText * text a private member
4817 * BufferView_pimpl.C:
4828 * output_plaintext.C: cleanup
4830 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4833 * lyxtextclass.[Ch]: parametrize SGML document header
4835 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4838 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4841 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4843 * text2.C (setFont): rework using PosIterator (no more recursive)
4844 (setCharFont): no more needed
4845 (setLayout): no more selection cursors fiddling (done by redoCursor)
4846 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4847 destroy remaining ones)
4849 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4851 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4853 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4856 * text3.C: adjust + re-allow multi par depth changes
4857 * textcursor.C: simplify a bit
4859 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4865 * src/output_docbook.C:
4866 * src/output_latex.C:
4871 * src/text2.C: Introducing a number of tags parametrizing various
4872 XML formats that we may want to support
4874 2003-11-25 André Pönitz <poenitz@gmx.net>
4876 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4878 * lyxtext.h (leftMargin/rightMargin): simplify interface
4885 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4887 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4888 master file to any child files. Fixes bug 546.
4890 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4892 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4894 2003-11-24 André Pönitz <poenitz@gmx.net>
4896 * rowpainter.C: simplification
4898 * text2.C (updateCounters): remove call to redoParagraph on
4899 changed labels as this is far too expensive.
4901 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4903 * converter.C (convert): fix a crash: this function gets
4904 called with buffer == 0 from importer code.
4906 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4908 * text3.C (cursorPrevious): make sure that we do not compare
4909 iterators form different containers.
4912 * rowpainter.C (paintSelection): make sure that we do not compare
4913 iterators from different containers.
4915 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4916 iterators from different ParagraphList containers.
4919 * text2.C (LyXText): change order of initialization slightly
4920 (operator=): new function. copy all variables except cache_par_
4921 (moveUp): make sure that we do not compare iterators from
4922 different ParagraphList constainers.
4925 * text.C (firstPar): new function
4926 (lastPar): new function
4927 (endPar): new function
4929 * lyxtext.h: move things around and group public functions, public
4930 variables, private functions, private variables
4932 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4934 * factory.C: change call to InsetERT constructor to avoid
4935 additional invocation of method status
4936 * text2.C (toggleInset): remove redundant update() call
4937 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4938 instead of a Bufferview pointer
4940 2003-11-21 André Pönitz <poenitz@gmx.net>
4942 * rowpainter.C: simplification
4944 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4946 * text3.C (dispatch): make possible to extend a word/row selection
4949 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4951 * lyxtext.h: x0_,y0_ -> xo_,yo_
4952 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4953 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4954 * rowpainter.C (paintRows): paint full paragraphs
4956 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4958 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4961 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4963 * lyxtext.h: add x0_, y0_
4964 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4965 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4967 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4969 * text2.C (setCursorIntern): move the x_target update here *
4970 * text3.C: change some bv() to true/false in calls to
4971 cursorUp/Down/Right/Left
4972 * cursor.C: use helper function.
4974 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4976 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4977 * paragraph_funcs.[Ch]: correct comment
4978 * rowpainter.C: do not paint selections away from bv->cursor()
4979 Fix a long standing selection painting bug.
4980 * text3.C: generalize mouse-selection code to LyXTexts other that
4982 * textcursor.C: do not use y coords if we can use par offsets
4984 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4986 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4987 cursor position after e.g. inset insert)
4989 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4991 * lyxfind.C (replace): adjust to locking removal + some
4994 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4996 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4999 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
5002 * output_docbook.C: XML sanitation: new layout
5003 parameters InnerTag and CommandDepth
5005 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
5007 * BufferView_pimpl.C:
5009 * text3.C: Fix the insertion and modification of button-style
5012 2003-11-13 André Pönitz <poenitz@gmx.net>
5014 * InsetList.[Ch]: remove deleteLyXText
5016 * paragraph.[Ch]: cache beginOfBody position
5021 * text3.C: remove superfluous update() calls
5025 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
5027 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
5028 * BufferView.C (fitLockedInsetCursor): remove
5029 * cursor.[Ch] (getDim): add
5030 * text.C (getRowNearY): add faster version
5031 * text3.C: remove some update calls
5033 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
5045 * text3.C: The Character Style /XML short element patch.
5047 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
5050 * factory.C: Small step to solving 'unable to insert some insets'
5053 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
5055 * cursor.[Ch] (updatePos): new function for updating the y
5056 position of the tip inset
5057 * bufferview_funcs.C (put_selection_at):
5058 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
5060 2003-11-11 André Pönitz <poenitz@gmx.net>
5062 * text.C: remove big comment on invalid Paragraph pointers as it is
5065 2003-11-11 André Pönitz <poenitz@gmx.net>
5067 * text_funcs.[Ch]: merge with ...
5075 * Makefile.am: remove text_funcs.[Ch]
5077 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
5079 * cursor.C (getPos): return absolute cached y coord
5081 * BufferView_pimpl.C (fitCursor): new simplistic code
5082 (workAreaDispatch): add a fitCursor call
5084 2003-11-10 André Pönitz <poenitz@gmx.net>
5087 * BufferView_pimpl.[Ch]: merge update() and updateInset()
5089 2003-11-10 André Pönitz <poenitz@gmx.net>
5091 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
5092 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
5093 indicate that the cursor needs to leave an inset
5095 * lyxtext.h: remove inset locking
5097 * cursor.[Ch]: re-implement functionality provided by inset locking
5100 * BufferView_pimpl.[Ch]:
5102 * bufferview_funcs.[Ch]:
5114 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
5116 * PosIterator.[Ch]: replace the stack with a vector, add inset
5118 * iterators.[C]: adjust
5120 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
5122 * lyxfind.C (replaceAll): mark the buffer dirty if something was
5124 * paragraph_funcs.C (readParToken): put the correct id in the
5125 error item, not the id of the top paragraph
5127 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
5129 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
5130 * bufferview_funcs.C (put_selection_at): use the above
5132 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5134 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
5136 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5138 * output_linuxdoc.h:
5139 * output_plaintext.h:
5141 * output_docbook.h: add #include statements
5143 2003-11-05 José Matos <jamatos@lyx.org>
5145 * output_docbook.[Ch]:
5146 * output_latex.[Ch]:
5147 * output_linuxdoc.[Ch]:
5148 * output_plaintext.[Ch]: New files for output formats.
5149 * output.[Ch]: New file for helper functions.
5152 * paragraph_funcs.[Ch]: output functions moved to new files.
5154 * outputparams.h: rename of latexrunparams.h
5162 * paragraph_funcs.[Ch]:
5163 * paragraph_pimpl.[Ch]:
5164 * tabular.[Ch]: rename ascii to plaintext
5165 and LatexRunParams to OutputParams.
5167 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5169 * iterators.[Ch] (text): require bv argument
5170 * undo.C (recordUndo):
5171 * lyxfunc.C (dispatch):
5172 * bufferview_funcs.C (put_selection_at): adjust
5174 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
5176 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
5178 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5180 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
5183 2003-11-04 André Pönitz <poenitz@gmx.net>
5185 * cursor.[Ch]: restructure
5188 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5190 * iterators.[Ch] (asCursor): remove
5192 * lfuns.h: remove LFUN_INSET_EDIT
5198 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5200 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5202 * lyxfind.[Ch]: complete overhaul
5203 * BufferView_pimpl.C:
5205 * paragraph.[Ch] (insert): add
5207 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5211 * text.C: remove dead spellcheck code
5213 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5215 * dispatchresult.h: add a val setter
5217 * cursor.C (dispatch): use a tempvar for data_[i]
5219 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5221 * PosIterator.[Ch]: compile fix
5223 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5225 * text.C (cursorPar): deactivate the cursor cache
5227 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5229 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5231 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5233 * text3.C (dispatch): adjust for new DisptchResult semantics.
5235 * lyxfunc.C (dispatch): handle update when return from
5236 Cursor::dispatch, adjust for new DispatchResult semantics.
5238 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5239 DispatchResult(true) mean to not update. Add class functions for
5240 setting dispatched and update, as well as reading.
5242 * cursor.C (dispatch): don't handle update here
5244 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5246 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5247 * trans_mgr.C: adjust
5249 * paragraph_funcs.C (readParToken): exception safety
5251 * lyxvc.h: store the vcs pointer in a scoped_ptr
5254 * lyxsocket.C (serverCallback): exception safety
5256 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5258 * ispell.C (clone): make it return a auto_ptr
5260 * factory.C (createInset): exception safety
5261 (readInset): exception safety
5263 * bufferlist.C (newBuffer): exception safety
5265 * Thesaurus.C (Thesaurus): use initialization for aik_
5267 * MenuBackend.C (expandToc): exception safety.
5269 2003-11-03 André Pönitz <poenitz@gmx.net>
5273 * bufferview_funcs.C: remove getInsetFromId()
5276 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5282 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5284 * PosIterator.C (distance, advance): new
5285 * bufferview_funcs.[Ch] (put_selection_at): new
5286 * iterators.[Ch] (lockPath): new
5288 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
5290 * iterators.[Ch] (asPosIterator): added
5291 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5292 * PosIterator.[Ch]: added
5294 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5298 * cursor.C (dispatch):
5299 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5301 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5302 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5303 contructor, add a class function dispatched. Remove operator>=
5305 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5307 * debug.C: only use the default constructor for debugstream
5310 * main.C (main): include debug.h and setup the lyxerr streambuf
5313 2003-10-31 José Matos <jamatos@lyx.org>
5315 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5317 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5318 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5319 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5320 * paragraph_pimpl.C (simpleTeXSpecialC):
5321 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5322 add LatexRunParams argument.
5324 * exporter.C (Export): change call accordingly.
5326 * latexrunparams.h: add new member to take care of the other backends.
5327 2003-10-30 José Matos <jamatos@lyx.org>
5329 * buffer.C (makeLinuxDocFile, makeDocBookFile):
5330 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5331 factorise code for paragraph output.
5333 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5336 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5338 * text3.C (dispatch):
5339 * lyxfunc.C (dispatch):
5340 * cursor.C (dispatch):
5341 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5343 * dispatchresult.h: make the dispatch_result_t ctor explicit
5345 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
5348 * buffer.C: small refactoring of docbook stuff
5350 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5352 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5355 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5357 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5358 operator dispatch_result_t, and operators for == != and >=
5360 * cursor.C (dispatch): adjust for operator dispatch_result_t
5361 removal. comment out call to update
5363 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5365 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5373 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5376 * dispatchresult.h: new file, DispatchResult broken out of
5379 * Makefile.am (lyx_SOURCES): add dispatchresult.h
5381 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5383 * text.C (rowBreakPoint): put a hack inside #if 0
5385 2003-10-28 André Pönitz <poenitz@gmx.net>
5389 * paragraph_funcs.C:
5392 * text2.C: general cleanup (lots of small stuff)
5394 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5396 * text2.C (cursorEnd): simple fix to the "end key goes to one
5397 before the end on last row" bug
5399 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5401 * text.C (backspace): fix the "zombie characters"
5403 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5405 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5407 2003-10-27 André Pönitz <poenitz@gmx.net>
5409 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5411 * factory.C: handle new InsetPagebreak, InsetLine
5413 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5414 and move handling into new InsetPagebreak, InsetLine
5416 * BufferView_pimpl.C:
5418 * ParagraphParameters.C:
5419 * ParameterStruct.h:
5424 * paragraph_funcs.C:
5425 * paragraph_pimpl.C:
5431 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5434 * lyxrow_funcs.[Ch]:
5440 * text3.C: remove lastPos uses in favour of Row::endpos
5442 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5444 * undo.C (performUndoOrRedo): fix two crashes by setting a
5445 cursor by hand and reordering some calls. Use bv->lockInset instead
5446 of inset->edit because the latter loses cursor information
5448 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5450 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5452 (rowBreakPoint): fix width. change point to point + 1.
5453 Add a missing check.
5455 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5458 * lyxfunc.C: fix (at least partly) the problems
5459 with the Nav menu and headers inside branch insets
5462 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5464 * paragraph.C (getChar): add strong asserts
5466 * lyxrow_funcs.C (lastPos): remove hideous hack
5468 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5469 (fill): adjust to that (avoid an infinite loop)
5471 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5473 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5475 2003-10-23 André Pönitz <poenitz@gmx.net>
5477 * RowList_fwd.h: change list<> to vector<> to gain speed
5478 after suggestion from Alfredo
5480 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5482 * lyxtext.h: move the bidi stuff from here...
5485 * Bidi.[Ch]: ... to here
5487 2003-10-23 André Pönitz <poenitz@gmx.net>
5490 * text.C (isLastRow, isFirstRow): new functions
5492 * paragraph.h: new width cache member
5494 * rowpainter.C: replace RowList::iterator with Row & where possible
5496 * lyxfunc.C: replace several view()->text with a single call
5498 * toc.C: fix 'unused' warning
5500 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5502 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5503 when woring with stream::pos_type
5504 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5506 2003-10-22 André Pönitz <poenitz@gmx.net>
5509 * text.C: use Row & instead of RowList::iterator
5511 * lyxrow.h: rename end() to endpos()
5517 2003-10-22 Angus Leeming <leeming@lyx.org>
5519 * buffer.[Ch] (fully_loaded): new member function, returning true
5520 only when the file has been loaded fully.
5521 Used to prevent the premature generation of previews and by the
5522 citation inset to prevent computation of the natbib-style label.
5524 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5525 templates are all set up.
5527 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5529 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5531 * text.C: fixed an "oops" in the "is a bit silly"
5534 2003-10-21 André Pönitz <poenitz@gmx.net>
5536 * FuncStatus.[Ch]: small stuff, whitespace
5538 * lyxfont.[Ch]: operator<<() for debug reasons
5542 * lyxtext.h: whitespace, spelling
5544 * paragraph.C: naming of variables
5547 * text2.C: small stuff
5550 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5552 * text.C: (1) finish off the inset display() work;
5553 (2) fix the "is a bit silly" bug (accessing char
5556 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5558 * text.C: re-introduce display() for insets, fixing the
5559 various bugs (stretch of line above, math inset
5562 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5564 * text.C (rightMargin): remove spurious semicolon
5566 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5569 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5571 * text3.C: fix one crash due to wrong cursor def
5573 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5575 * vc-backend.C (scanMaster): make the regex static
5577 * LaTeX.C (scanAuxFile): make the regexs static
5579 * text3.C (doInsertInset, dispatch, dispatch):
5580 * text2.C (cursorUp, cursorDown):
5581 * text.C (selectNextWordToSpellcheck):
5582 * BufferView_pimpl.C (dispatch):
5583 * lyxfunc.C (dispatch): localDispatch -> dispatch
5585 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5587 * lyxsocket.C: include <cerrno>
5589 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5591 * lyxfunc.C (dispatch): remove textcache stuff
5593 * bufferlist.C (release): remove textcache stuff
5596 * TextCache.C: delete file
5597 * TextCache.h: delete file
5599 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5601 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5602 delete of the bv_->text.
5603 (resizeCurrentBuffer): remove texcache stuff
5604 (workAreaResize): ditto
5606 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5608 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5611 2003-10-16 André Pönitz <poenitz@gmx.net>
5618 * text3.C: speed up by storing y positions per paragraph plus per-row
5619 offset instead of having a 'full' y position in the row.
5621 2003-10-15 André Pönitz <poenitz@gmx.net>
5625 * undo.[Ch]: make undo aware of inner insets
5627 2003-10-14 Angus Leeming <leeming@lyx.org>
5629 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5630 static member functions LyX::ref() and LyX::cref.
5631 (lastfiles): new accessor functions for the new lastfiles_ member var.
5632 (addLyXView, views_): add a new LyXView to the list of views_.
5633 (updateInset): loop over all LyXViews to call their own updateInset
5634 member function, returning a pointer to the Buffer owning the inset.
5636 * BufferView_pimpl.C (loadLyXFile):
5637 * MenuBackend.C (expandLastfiles):
5638 * bufferlist.C (MenuWrite, QuitLyX):
5639 lastfiles is no longer a global variable.
5640 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5642 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5643 static function. Access through LyX::cref().emergencyCleanup().
5645 2003-10-14 André Pönitz <poenitz@gmx.net>
5647 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5649 * undo.[Ch]: restoring part of 'undo in insets'
5652 * undo_funcs.[Ch]: merge with undo.[Ch]
5654 * tabular.C: small cleansing stuff
5656 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5658 * paragraph_funcs.C (readParToken): report unknown insets as error
5659 boxes. Use the outer paragraph as location (also for unknown
5662 * factory.C (readInset): do not abort on reading an unknown inset.
5663 Eat it and return 0.
5665 2003-10-13 Angus Leeming <leeming@lyx.org>
5667 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5669 * lyxrc.C: displayTranslator is now a function,
5670 declared in GraphicsTypes.h.
5672 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5674 * format.C: new placeholder $$a to pass the socket address.
5676 * bufferlist.[Ch]: new function getBufferFromTmp.
5678 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5679 files in the temporary dir.
5681 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5683 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5685 * Makefile.am: add lyxsocket.[Ch].
5687 * lyx_main.C (error_handler): handle SIGPIPE.
5689 2003-10-13 André Pönitz <poenitz@gmx.net>
5691 * BufferView_pimpl.C:
5696 * undo_funcs.[Ch]: use paroffset_type instead of
5697 ParagraphList::iterators to prevent multiple conversion
5698 (and get a more robust interface)
5700 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5702 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5704 * text3.C (dispatch): ditto
5706 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5708 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5709 move the onlyfile, use onlyfile instead of foundfile in a couple
5712 * DepTable.C (update): flush the error stream a bit more
5714 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5716 * lyxserver.C (callback): adjust
5718 * lyxfunc.C (getStatus): add a missing brace in commented code
5719 (ensureBufferClean): reindent
5720 (dispatch): delete version taking a string
5722 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5724 * LaTeX.C (deplog): move found file handlig from here...
5725 (handleFoundFile): .. to new function here.
5726 (deplog): make sure to discover several files mentioned on the
5729 2003-10-10 André Pönitz <poenitz@gmx.net>
5736 * text3.C: fix some of the tabular crashes
5738 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5740 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5742 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5744 2003-10-09 André Pönitz <poenitz@gmx.net>
5746 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5749 * BufferView_pimpl.C:
5750 * bufferview_funcs.C:
5761 * undo_funcs.C: adjust
5763 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5765 * text2.C (incrementItemDepth): new function, use a backtracking
5766 algorithm to discover the correct item depth.
5767 (resetEnumCounterIfNeeded): new function, use a backtracking
5768 algorithm to discover if counter reset is needed.
5769 (setCounter): use them. Simplify a bit. Add different labels for
5770 different item depths for itemize.
5772 * paragraph.C (Paragraph): remove initialization of enumdepth
5775 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5776 enumerate and itemize. Change the type of itemdepth to signed char.
5778 2003-10-08 André Pönitz <poenitz@gmx.net>
5780 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5785 * tabular.[Ch]: fix crash after 'row-insert'
5787 2003-10-08 Angus Leeming <leeming@lyx.org>
5789 Fix doxygen warnings.
5791 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5792 Remove CutAndPaste:: prefix from header file declaration.
5794 * LColor.h (fill): remove LColor:: prefix from declaration.
5796 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5797 use lyx::depth_type rather than Paragraph::depth_type so that
5798 header file and .C file match.
5800 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5802 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5803 * aspell.C: \file aspell_local.C -> \file aspell.C
5804 * gettext.C: \file gettext.C -> \file src/gettext.C
5805 * gettext.h: \file gettext.h -> \file src/gettext.h
5806 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5807 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5808 * text.C: \file text.C -> \file src/text.C
5810 * toc.C: move comment so that doxygen is not confused.
5812 2003-10-07 Angus Leeming <leeming@lyx.org>
5814 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5816 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5819 * aspell_local.h: add forgotten std::string's.
5821 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5828 * text3.C: The Box patch. Fancybox support, minipage, parbox
5830 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5836 * ParagraphParameters.h:
5846 * lyxtextclasslist.h:
5849 * paragraph_pimpl.C:
5850 * textcursor.h: add <string> and other small fixes to make Lars'
5851 std::string patch compile with STLport.
5853 2003-10-06 Angus Leeming <leeming@lyx.org>
5855 * LColor.h: Add missing #include <string>.
5857 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5859 * All most all file in all subdirs: Make <string> be the prefered
5860 way of getting to std::string, add using declarations.
5862 2003-10-06 André Pönitz <poenitz@gmx.net>
5864 * metricsinfo.C: initialize LyXFont before changing attribute.
5865 (fixes the 'math in \emph is upright' bug)
5867 2003-10-06 André Pönitz <poenitz@gmx.net>
5869 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5871 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5874 * paragraph_pimpl.C: Small fixes to build using STLport
5876 2003-10-02 André Pönitz <poenitz@gmx.net>
5879 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5881 2003-10-01 André Pönitz <poenitz@gmx.net>
5883 * factory.C: assert early
5885 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5887 * lyx_main.C: remove the global debug object
5889 * debug.h: adjust for new debugstream
5891 * debug.C: adjust for new debugstream and keep the global debug
5894 2003-09-22 Angus Leeming <leeming@lyx.org>
5896 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5897 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5898 an incomplete class LyXFont.
5900 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5902 * factory.C: bug fix in branches
5904 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5906 * lyxfunc.C (processKeySym): adjust
5908 (dispatch): change arg name from ev to func, adjust
5909 (sendDispatchMessage): ditto
5911 * lyx_main.C (defaultKeyBindings): adjust keybindings
5912 (deadKeyBindings): ditto
5914 * kbsequence.C (addkey): return a FuncRequest
5916 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5918 * kbmap.C (bind): take a FuncRequest as arg, adjust
5921 (defkey): change to take a FuncRequest as arg, adjust
5922 (findbinding): take a FuncRequest as arg, adjust.
5924 * funcrequest.h (operator=): added
5926 * funcrequest.C (FuncRequest): default kb_action changed from
5927 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5929 * buffer.C (dispatch): simplify
5930 (dispatch): adjust to take a FuncRequest as arg, adjust
5932 * boost.C (assertion_failed): change assertion message slightly
5934 * ToolbarBackend.C (read): simplify
5936 * MenuBackend.C (binding): adjust call to findbinding, add a
5937 message if no binding is found.
5939 (expandToc): correct by adding a empty FuncRequest
5941 * LyXAction.C: include <boost/assert.hpp>
5942 (isPseudoAction): delete function
5943 (LookupFunc): change name to...
5944 (lookupFunc): this. change return type to FuncRequest.
5945 (getActionName): take kb_action as arg, simplify
5946 (funcHasFlag): add an assert, simplify.
5948 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5950 * toc.C (action): return a FuncRequest, simplify
5952 * lyxfunc.C (processKeySym): adjust
5953 (getStatus): delete version that takes an int.
5955 (dispatch): delete version that takes action as int
5957 (sendDispatchMessage): simplify and adjust
5959 * funcrequest.C (getArg): take unsigned int as arg
5961 * ToolbarBackend.C (read): adjust
5962 (add): delete version that takes func as a string.
5963 (getIton): take a FuncRequest as arg
5965 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5968 * MenuBackend.C (MenuItem): add a new construct that only takes a
5969 Kind, simplify the constructor use for submenus.
5971 (expandLastfiles): adjust
5972 (expandDocuments): adjust
5973 (expandFormats): adjust
5974 (expandFloatListInsert): adjust
5975 (expandFloatInsert): adjust
5976 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5978 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5979 Remove class variables lyx_pseudo_map and lyx_arg_map
5981 * LyXAction.C (searchActionArg): delete function
5982 (getPseudoAction): delete function
5983 (retrieveActionArg): delete function
5984 (LookupFunc): make it return kb_action, simplify.
5985 (getActionName): simplify
5987 * factory.C (createInset): fix new bug
5989 2003-09-19 Angus Leeming <leeming@lyx.org>
5991 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5992 masterFilename_ parameter in the include inset.
5994 * factory.C (createInset): changes due to the changes to InsetInclude.
5996 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5998 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
6000 2003-09-18 Angus Leeming <leeming@lyx.org>
6003 * BufferView.C: pass the buffer when calling Inset::getLabelList,
6004 Inset::fillWithBibKeys.
6005 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
6007 2003-09-18 Angus Leeming <leeming@lyx.org>
6009 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
6011 (ctor): pass and store a 'Buffer const &'
6012 (buffer): new member function.
6014 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
6015 '*this' to the LaTeXFeatures ctor.
6017 2003-09-18 Angus Leeming <leeming@lyx.org>
6023 * text.C: rename EnumLColor as LColor_color.
6025 2003-09-18 Angus Leeming <leeming@lyx.org>
6027 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
6028 remove #include "insets/insetbase.h" from cursor.h.
6030 2003-09-18 Angus Leeming <leeming@lyx.org>
6032 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
6033 InsetOld_code to remove #include "inset.h".
6035 * iterators.C: add #include "insets/inset.h"
6037 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
6039 * BufferView.C: remove more locking stuff that apparently doesn't
6040 do anything sensible.
6042 2003-09-16 André Pönitz <poenitz@gmx.net>
6045 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
6048 2003-09-16 Angus Leeming <leeming@lyx.org>
6050 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
6052 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
6055 * paragraph.h: remove #include "lyxfont.h". Forward declare
6058 2003-09-16 Angus Leeming <leeming@lyx.org>
6060 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
6061 of support/textutils.h.
6062 (isWord): move the contents of support/textutils.h's IsWordChar here.
6068 * text2.C: add #include "paragraph.h".
6071 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
6073 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6079 * LaTeX.C: use namespace alias for lyx::support::os
6081 2003-09-16 Angus Leeming <leeming@lyx.org>
6084 * bufferview_funcs.C:
6087 * paragraph_pimpl.C:
6089 * text.C: add #include "LColor.h".
6091 2003-09-16 Angus Leeming <leeming@lyx.org>
6093 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
6094 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
6096 Store the FontBits::color variable as an int rather than as an
6097 LColor::colorso that we can move LColor.h out of the lyxfont.h header
6100 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
6101 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
6102 string calls together.
6104 * lyxrc.C: add #include "LColor.h".
6106 2003-09-15 Angus Leeming <leeming@lyx.org>
6108 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
6111 2003-09-15 Angus Leeming <leeming@lyx.org>
6113 * LColor.h: add an EnumLColor wrapper for LColor::color.
6115 * lyxfont.[Ch] (color, setColor, realColor):
6116 * lyxtext.h, text.C (backgroundColor):
6117 pass EnumLColor args to/from the functions, rather than LColor::color
6121 * lyxtext.h: forward declare EnumLColor.
6123 * lyx_main.C: add #include "LColor.h".
6125 2003-09-15 Angus Leeming <leeming@lyx.org>
6127 * .cvsignore: add lyx-gtk.
6129 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6134 * ParagraphParameters.C
6138 * bufferview_funcs.C
6148 * vc-backend.C: remove usage of STRCONV
6150 2003-09-15 Angus Leeming <leeming@lyx.org>
6152 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
6153 explicitly define the color passed to the painter.
6155 2003-09-15 Angus Leeming <leeming@lyx.org>
6157 * bufferparams.C (BufferParams): reorder member initializers to avoid
6160 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
6162 * CutAndPaste.C (pasteSelection): remove an outdated #warning
6163 * text.C (updateRowPositions): remove an unusual nop
6165 2003-09-12 André Pönitz <poenitz@gmx.net>
6167 * BufferView_pimpl.C:
6176 * Counters.[Ch]: finish the 'automatic counters' job
6178 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6180 * aspell.C: include <boost/assert.cpp> (compile fix)
6182 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
6184 * boost.C (assertion_failed): use lyx::support::abort instead of
6187 2003-09-10 Angus Leeming <leeming@lyx.org>
6189 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6190 with their _fwd progeny.
6192 2003-09-09 Angus Leeming <leeming@lyx.org>
6194 134 files throughtout the source tree: replace 'using namespace abc;'
6195 directives with the appropriate 'using abc::xyz;' declarations.
6197 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
6199 * boost.C (emergencyCleanup): moved here from LAssert.c
6200 (assertion_failed): new function, called by BOOST_ASSERT
6202 * several files: change Assert to BOOST_ASSERT
6204 2003-09-09 Angus Leeming <leeming@lyx.org>
6206 * buffer.[Ch]: Add an Impl class and move Buffer's member
6207 variables into it. As a result move several header files out of
6210 Add header files to lots of .C files all over the tree as a result.
6212 2003-09-09 Angus Leeming <leeming@lyx.org>
6214 * buffer.[Ch]: make Buffer's member variables private. Add
6217 Lots of changes all over the tree as a result.
6219 2003-09-08 Angus Leeming <leeming@lyx.org>
6221 * graph.C: #include <config.h>.
6223 2003-09-08 Angus Leeming <leeming@lyx.org>
6227 * BufferView_pimpl.C:
6256 * toc.C: remove redundant using directives.
6258 2003-09-07 Angus Leeming <leeming@lyx.org>
6260 * LaTeXFeatures.h: remove #include "support/types.h".
6261 * ToolbarBackend.h: remove #include <algorithm>.
6262 * changes.h: remove #include <ctime>.
6263 * debug.h: remove #include <iosfwd>.
6264 * graph.h: remove #include "support/std_string.h".
6265 * lyx_main.h: remove #include <csignal>.
6266 * lyxlex_pimpl.h: remove #include <fstream>.
6267 * sgml.h: remove #include <algorithm>, <utility>.
6268 * toc.h: remove #include "support/std_ostream.h".
6269 Add #include <iosfwd>.
6271 2003-09-07 Angus Leeming <leeming@lyx.org>
6273 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6275 * converter.h: forward declare LatexRunParams.
6276 * encoding.h: remove #include "lyxrc.h".
6277 * lyxtext.h: remove #include "LColor.h".
6278 * lyxtextclass.h: remove #include "support/types.h".
6279 * trans.h: remove #include "tex-accent.h".
6280 * trans_mgr.h: remove #include "tex-accent.h".
6281 * insets/inset.h: remove #include "support/types.h", <vector>.
6282 * insets/insetcollapsable.h: remove #include "LColor.h".
6283 * insets/insetinclude.h: remove #include "dimension.h".
6284 * insets/insetlatexaccent.h: remove #include "dimension.h".
6285 * insets/insetoptarg.h:: remove #include "insettext.h".
6286 * insets/insettext.h: remove #include "dimension.h",
6287 <boost/shared_ptr.hpp>
6289 * insets/renderers.h: add #include "dimension.h".
6290 * insets/updatableinset.h: add #include "support/types.h".
6292 * many .C files: Associated changes.
6294 2003-09-06 Angus Leeming <leeming@lyx.org>
6296 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6297 one, inside testInvariant.
6299 * PrinterParams.C: new file.
6300 * PrinterParams.[Ch]: move the function bodies out of line.
6302 2003-09-06 Angus Leeming <leeming@lyx.org>
6304 * ParagraphParameters.h: forward declare ParameterStruct rather than
6305 including its header file.
6306 (depth): moved out-of-line.
6308 2003-09-06 Angus Leeming <leeming@lyx.org>
6310 * BufferView_pimpl.h:
6313 * lyxfunc.h: forward declare LyXKeySym rather than
6314 #include "frontends/LyXKeySym.h".
6316 * BufferView_pimpl.C:
6319 * lyxfunc.C: associated changes.
6321 2003-09-06 Angus Leeming <leeming@lyx.org>
6323 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6324 As a result, can remove the #include "insets/inset.h" from BufferView.h
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>
6337 * bufferview_funcs.C:
6338 * BufferView_pimpl.C:
6343 * ParagraphParameters.C:
6348 * frontends/controllers/ControlDocument.C:
6349 * insets/insetcaption.C: rearrange the #includes into some sort of
6352 * buffer.h: remove #includes ErrorList.h, undo.h
6354 2003-09-06 Angus Leeming <leeming@lyx.org>
6356 * support/types.h: add a 'depth_type' typedef, used to store the
6357 nesting depth of a paragraph.
6360 * ParameterStruct.h: use this lyx::depth_type typedef rather than
6361 defining explicitly.
6364 * paragraph_funcs.h:
6365 * ParagraphParameters.h:
6366 * sgml.h: use lyx::depth_type rather than Paragraph or
6367 ParameterStruct's depth_type.
6370 * paragraph_funcs.h: no need to #include paragraph.h anymore.
6373 * BufferView_pimpl.C:
6375 * ParagraphParameters.C:
6378 * bufferview_funcs.C:
6385 * frontends/LyXView.C:
6386 * frontends/controllers/ControlDocument.C:
6387 * frontends/controllers/ControlErrorList.C:
6388 * insets/insetbibitem.C:
6389 * insets/insetbranch.C:
6390 * insets/insetcaption.C:
6391 * insets/insetcollapsable.C:
6392 * insets/insetenv.C:
6393 * insets/insetert.C:
6394 * insets/insetfloat.C:
6395 * insets/insetfoot.C:
6396 * insets/insetfootlike.C:
6397 * insets/insetnewline.C:
6398 * insets/insetquotes.C:
6399 * insets/insettabular.C:
6400 * insets/insettext.C:
6401 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6403 * frontends/controllers/ControlChanges.C: #include "changes.h".
6405 2003-09-06 Angus Leeming <leeming@lyx.org>
6407 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6408 than #including paragraph.h.
6411 * RowList.h: deleted. Superfluous.
6421 * insets/insettext.h: use ParagraphList_fwd.h rather than
6424 * paragraph.h: don't forward declare ParagraphList.
6427 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6428 rather than ParagraphList.h. paragraph.h is still needed for the
6429 Paragraph::depth_type parameters.
6431 * textcursor.h: enable it to compile stand-alone in light of the
6434 * bufferview_funcs.C:
6446 * frontends/controllers/ControlParagraph.C:
6447 * frontends/controllers/ControlTabular.C:
6448 * insets/insetmarginal.C:
6449 * insets/insetminipage.C:
6450 * insets/insetnote.C:
6451 * insets/insetoptarg.C: add header files needed to compile again.
6453 2003-09-06 Angus Leeming <leeming@lyx.org>
6455 * RowList_fwd.h: new file, forward-declaring Row rather than
6456 #including lyxrow.h.
6461 * insets/insettext.h: use it instead of RowList.h
6463 * bufferview_funcs.C:
6470 * text3.C: #include "RowList.h".
6472 2003-09-05 Angus Leeming <leeming@lyx.org>
6474 * factory.C (createInset):
6475 * vspace.C (c-tor): replace sscanf call with an istringstream.
6476 * ispell.C: re-add missing HP/UX headers.
6477 * lyxserver.C: re-add missing os2 headers.
6479 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6488 * text3.C: re-add missing system headers, needed for 2.95.2.
6490 2003-09-05 Angus Leeming <leeming@lyx.org>
6492 Changes most place everywhere due to the removal of using directives
6493 from support/std_sstream.h.
6495 2003-09-05 Angus Leeming <leeming@lyx.org>
6497 Replace LString.h with support/std_string.h,
6498 Lsstream.h with support/std_sstream.h,
6499 support/LIstream.h with support/std_istream.h,
6500 support/LOstream.h with support/std_ostream.h.
6502 Changes resulting throughout the tree.
6504 2003-09-05 Angus Leeming <leeming@lyx.org>
6506 * sgml.h: ensure that the header file can be compiled stand-alone.
6507 * *.C: strip out redundant #includes. (320 in total.)
6509 2003-09-04 Angus Leeming <leeming@lyx.org>
6511 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6512 here (from getPackages).
6514 * debug.[Ch]: add a new EXTERNAL tag.
6516 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6518 * text2.C (cursorEnd): simplify
6520 (getColumnNearX): adjust
6522 * text.C (computeBidiTables): adjust
6525 * rowpainter.C (paintChars): adjust
6526 (paintSelection): adjust
6527 (paintChangeBar): adjust
6530 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6532 (numberOfSeparators): adjust
6534 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6540 * text3.C: Restricts the mouse click functionality
6541 of insets like bibtex, include, toc and floatlist to the visible
6542 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6543 up the dialogs. Cursor has to be in front of the inset (i.e.
6544 start of row) for this to function.
6546 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6548 * bufferview_funcs.C (currentState): output row information
6550 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6552 * bufferview_funcs.C (currentState): output paragraph position
6554 2003-09-04 Angus Leeming <leeming@lyx.org>
6556 * FloatList.h: move out #include "Floating.h".
6557 * LaTeX.h: move out #include "DepTable.h".
6558 * LyXAction.h: move out #include "funcrequest.h".
6559 * buffer.h: move out #include "author.h", "iterators.h".
6560 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6561 * lyx_main.h: move out #include "errorlist.h".
6562 * lyxfunc.h: move out #include "FuncStatus.h".
6563 * lyxtext: move out #include "lyxcursor.h".
6564 * paragraph_pimpl.h: move out #include "counters.h".
6566 2003-09-03 Angus Leeming <leeming@lyx.org>
6568 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6569 preamble_snippets list, enabling us to add snippets to the preamble
6570 only if the snippet was not there already.
6572 2003-09-04 Angus Leeming <leeming@lyx.org>
6574 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6576 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6578 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6581 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6583 * BranchList.C: point fix, earlier forgotten
6585 2003-09-02 Angus Leeming <leeming@lyx.org>
6587 * box.C (contains): renamed from 'contained' after a fantastic
6590 2003-09-02 John Levon <levon@movementarian.org>
6596 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6598 2003-09-02 John Levon <levon@movementarian.org>
6600 * text2.C: simplification of cursorEnd(), including partial
6603 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6605 * buffer.C (readFile): add a space
6607 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6609 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6611 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6613 * buffer.C (readFile): new function, take a filename and a
6614 ParagraphList::iterator
6616 (readFile): adjust, make it private. don't use setStream, make
6617 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6618 always contain the filename.
6620 * BufferView.C (insertLyXFile): simplify and make it work for
6623 2003-08-30 John Levon <levon@movementarian.org>
6625 * Makefile.am: fix dist (from Kayvan)
6627 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6629 * most files: change to use const Buffer refs
6631 2003-08-27 André Pönitz <poenitz@gmx.net>
6633 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6634 on top of ownerPar().
6636 2003-08-27 John Levon <levon@movementarian.org>
6638 * funcrequest.C: properly initialise POD members
6640 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6642 * lyxtext.h (top_y): move top_y from here
6647 * BufferView_pimpl.[Ch]: to here
6648 * frontends/screen.C:
6649 * insets/insettabular.C:
6650 * insets/insettext.C: adjust
6651 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6653 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6656 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6658 2003-08-26 André Pönitz <poenitz@gmx.net>
6660 * paragraph_func.[Ch] (outerPar): new function
6663 * paragraph_funcs.C:
6664 * paragraph_funcs.h:
6665 * paragraph_pimpl.C:
6666 * text2.C: remove Inset::par_owner
6668 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6673 * text2.C: eliminates the needFullRow/display() stuff
6674 altogether, putting the logic in metrics/draw in the insets.
6676 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6678 * text2.C (redoParagraphInternal, redoParagraphs):
6679 * text.C (redoParagraph): add a call to updateRowPositions at the
6680 end of each 'metrics-like' call. Remove all others.
6681 (getRow): remove the 'y-computing' version.
6682 (getRowNearY): do not compute nor return the real y. Solve the
6683 'y < 0' problem and simplify.
6685 2003-08-22 Angus Leeming <leeming@lyx.org>
6687 * *.[Ch]: clean-up of licence and author blurbs.
6688 Also move config.h out of a few .h files and into a few .C files.
6690 2003-08-22 André Pönitz <poenitz@gmx.net>
6692 * lyxrow.[Ch]: add x_ and *fill_ members
6697 * text2.C: adjust/remove prepareToPrint() calls
6699 2003-08-22 André Pönitz <poenitz@gmx.net>
6701 * lyxrow.[Ch]: add end_ member
6703 * lyxrow_funcs.C: use LyXRow::end_
6705 * lyxtext.h (singleWidth): add LyXFont parameter
6708 * text2.C: adjust LyXText::singleWidth() calls
6710 * text.C (redoParagraph): simplify row breaking logic
6713 2003-08-19 André Pönitz <poenitz@gmx.net>
6715 * funcrequest.C: initialize button_ member
6718 * rowpainter.[Ch]: interface consolidation
6720 2003-08-18 André Pönitz <poenitz@gmx.net>
6723 * BufferView_pimpl.C:
6725 * paragraph_funcs.C:
6727 * text3.C: remove LyXScreen::draw() and fitCursor calls
6729 * BranchList.h: remove spurious semicolons
6731 * MenuBackend.C: fix branchlist related crash
6733 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6741 * bufferparams.[Ch]:
6745 * text3.C: implements the 'branch inset'
6746 idea. This allows the output of various versions of a document
6747 from a single source version, selectively outputing or suppressing
6748 output of parts of the text.
6749 This implementation contains a 'branch list editor' in a separate
6750 tab of the document settings dialog. Branches are user definable
6751 and have a "display colour" to distinguish them on-screen.
6753 ColorHandler was somewhat cleaned up.
6754 (1) make possible a dynamically growing LColor list by allowing
6755 the graphic context cache to grow along (vector);
6756 (2) eliminate an IMHO unnecessary step in colour allocation.
6758 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6760 * BufferView_pimpl.C: compile fix
6762 2003-08-15 André Pönitz <poenitz@gmx.net>
6764 * rowpainter.C: remove extra metrics calls
6766 * lyxtext.h: merge the two constructors into a single one,
6767 pass reference to owner's par list
6769 * BufferView_pimpl.C:
6773 2003-08-15 André Pönitz <poenitz@gmx.net>
6775 * lyxrow_funcs.[Ch]:
6778 * paragraph_funcs.C:
6783 * text_funcs.C: split LyXText::rowlist_ into individual
6784 Paragraph::rows_ chunks
6787 * BufferView_pimpl.[Ch]:
6790 * text3.C: remove toggleSelection()
6792 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6794 * bufferlist.C: beautify two alerts (shorter text of buttons)
6795 * buffer.C: Remove redundant ' ' from message
6797 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6798 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6799 rename VALIGN_CENTER to VALIGN_MIDDLE
6801 2003-08-11 André Pönitz <poenitz@gmx.net>
6803 * lyxtext.h (getPar):
6804 * text.C: new function
6806 2003-08-11 André Pönitz <poenitz@gmx.net>
6809 * tracer.[Ch]: remove unneeded files
6811 * InsetList.[Ch]: remove resizeInsetsLyXText()
6816 * text3.C: merge insertParagraphs() and appendParagraph()
6817 remove breakAgain(), update()
6819 * BufferView_pimpl.[Ch]:
6820 * bufferview_funcs.[Ch]:
6824 * tabular.C: adjust after text & InsetList changes.
6826 2003-08-08 André Pönitz <poenitz@gmx.net>
6828 * text.C (insertChar, backspace): replace rowlist fiddling
6829 with rebreak of full par
6832 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6833 checkParagraph, updateInset): removed
6835 2003-08-07 André Pönitz <poenitz@gmx.net>
6838 * text3.C: merge some LFUN handlers, remove dead code
6840 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6842 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6844 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6846 * text2.C (DEPM): fix part of bug 1255 and 1256
6848 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6850 * BufferView_pimpl.C (workAreaDispatch): change to use
6851 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6852 that are no mouse related.
6854 2003-08-05 André Pönitz <poenitz@gmx.net>
6857 * BufferView_pimpl.[Ch]:
6858 * bufferview_funcs.C:
6860 * text3.C: rip out "deep update"
6862 * textcursor.[Ch] (last_sel_cursor): remove unused member
6864 2003-08-04 André Pönitz <poenitz@gmx.net>
6867 * BufferView_pimpl.[Ch]:
6868 * ParagraphParameters.C:
6869 * bufferview_funcs.C:
6875 * text3.C: replace "complicated" BufferView::update(...) calls with
6878 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6880 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6882 * Makefile.am (lyx_SOURCES): add paper.h
6884 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6886 * Makefile.am: move things around so that both lyx-qt and
6887 lyx-xforms can be built (according to --with-frontend). Then lyx
6888 is a symbolic link to lyx-[firstfrontend]
6890 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6892 * Always use std::endl with lyxerr
6894 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6896 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6898 2003-08-01 André Pönitz <poenitz@gmx.net>
6901 * BufferView_pimpl.[Ch]:
6903 * text3.C: merge BufferView::repaint() and BufferView::update()
6905 2003-08-01 José Matos <jamatos@lyx.org>
6907 * buffer.[Ch]: file_format is no longer a buffer data element.
6909 2003-08-01 André Pönitz <poenitz@gmx.net>
6914 * text2.C: make redoParagraph more independent of current cursor
6916 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6918 * text2.C: remove unneeded members
6920 2003-07-30 André Pönitz <poenitz@gmx.net>
6922 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6924 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6925 create a single function...
6927 * paragraph_funcs.C (moveItem): ... here.
6930 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6932 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6934 * LColor.[Ch]: Add comment and greyedout logical colors.
6936 2003-07-30 André Pönitz <poenitz@gmx.net>
6938 * tabular.C: don't use Assert too heavily. This crashes where it
6941 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6943 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6944 is disabled (bug 1232)
6946 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6948 * factory.C: limited 'arg' scope
6950 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6952 * factory.C: fixed Note submenu issues
6954 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6956 * factory.C: submenu for Note/Comment/Greyedout
6958 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6961 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6963 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6966 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6967 greyedout. Patch provided by Jürgen Spitzmüller.
6969 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6971 * kbmap.C (read): fix error message when reading bind files
6973 2003-07-29 Angus Leeming <leeming@lyx.org>
6975 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6976 certainly does not do what it purports to do. I am doing it, and
6977 us, a favour by killing it.
6979 2003-07-28 José Matos <jamatos@lyx.org>
6981 * buffer.C (readBody, do_writeFile):
6982 * paragraph.C(readParagraph): \end_document replaces \the_end.
6984 2003-07-29 André Pönitz <poenitz@gmx.net>
6987 * BufferView_pimpl.[Ch]:
6991 * textcursor.[Ch]: remove toggleToggle & Co
6993 2003-07-28 José Matos <jamatos@fep.up.pt>
6995 * buffer.C (readParagraph):
6996 * params_func (readParToken, readParagraph):
6997 * paragraph.C (write): \layout -> \begin_layout.
6999 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7001 * lyxlex_pimpl.C (setFile): clean up slightly.
7003 * bufferparams.h: add compressed var
7005 * buffer_funcs.C (readFile): adjust for LyXLex change
7006 (newFile): ditto + simplify
7008 * buffer.C (writeFile): handle writing of compressed files
7010 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
7011 Check if the file is compressed and set a bufferparm if so.
7013 * Makefile.am (lyx_LDADD): remove explicit -lz
7015 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7017 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
7018 makeDocBookFile): put the real LyX version in the first line of
7022 * version.C.in: remove lyx_docversion
7024 * tabular.C (write_attribute): add a template-based version to
7025 write enums properly
7027 2003-07-28 André Pönitz <poenitz@gmx.net>
7032 * text3.C: use doubles again for x-coordinates. They are needed.
7034 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7036 * messages.C (getLocaleDir): use lyx_localedir()
7038 * lyxlex_pimpl.C (setFile): compress stuff
7040 * buffer.C (writeFile): add some compression stuff
7041 (do_writeFile): new func, dont call expliti close... will this
7044 * Makefile.am (lyx_LDADD): add -lz
7046 2003-07-28 José Matos <jamatos@fep.up.pt>
7048 * buffer.C: increment file format.
7049 * paragraph_funcs (readParagraph, readParToken):
7050 * paragraph.C (readParagraph): add \end_layout.
7052 2003-07-27 Angus Leeming <leeming@lyx.org>
7054 * Makefile.am: remove special casing for configure-time setting of
7055 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
7057 * lyx_main.C (init): remove all Jean-Marc's magic setting of
7058 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
7060 2003-07-26 André Pönitz <poenitz@gmx.net>
7062 * paragraph_func.[Ch]:
7063 * paragraph.C (realizeFont): inline it whereever it is used
7068 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
7071 2003-07-26 André Pönitz <poenitz@gmx.net>
7075 * text2.C: get rid of LyXText::need_break_row
7077 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7079 * toc.[Ch]: put namespace toc inside namespace lyx
7081 * MenuBackend.C (expandToc2): adjust for lyx::toc
7084 * lyxfunc.C (dispatch): adjust for lyx::find
7086 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
7087 lyx::find instead. Reorganize a bit.
7088 (LyXReplace): rename to replace
7089 (LyXFind): rename to find
7091 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
7094 2003-07-26 André Pönitz <poenitz@gmx.net>
7096 * text.C (setHeightOfRow): restrict scope of temporary variable
7098 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
7099 code (never has been used?)
7101 2003-07-27 Asger Alstrup <alstrup@local>
7103 * text.C (fill): Optimise algorithm to exploit that we can reuse
7104 the LyXFont for many characters.
7105 (setHeightOfRow): Same thing.
7106 (rowBreakPoint): Same thing.
7108 2003-07-26 Asger Alstrup <alstrup@local>
7110 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
7112 * text.C (singleWidth): Spurious font copying in hot-spot
7113 singleWidth avoided. Reorder tests for arabic for efficiency.
7115 * text.C (fill): handle empty paragraphs better.
7117 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7120 * encoding.h: add includes
7122 * lyxrc.C: remove reading of bind files
7124 * lyx_main.C (init): setup bindings and menus only if we have a
7127 * kbmap.C (read): new method. Do the actual reading of bind
7130 * converter.C (dvipdfm_options):
7133 (output): adapt PAPER_* enums.
7135 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
7137 * bufferparams.h: remove paper-related enums from there
7139 * paper.h: New file. A trivial header file to hold paper-related
7140 enums. It should later expand to contain many paper-related
7143 * lyxrc.C: declare extern displayTranslator
7145 2003-07-27 José Matos <jamatos@fep.up.pt>
7147 * tabular.[Ch] (linuxdoc): add support for tables and figures
7150 2003-07-27 José Matos <jamatos@fep.up.pt>
7152 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
7153 consistency in both functions.
7154 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
7156 2003-07-26 Asger Alstrup <alstrup@local>
7158 * rowpainter.C (paintRows): Change algorithm to work directly on
7159 the insets rather than asking every character in the document
7160 whether its an inset.
7162 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
7164 * buffer.C (openFileWrite): factorize some code
7166 2003-07-26 Angus Leeming <leeming@lyx.org>
7169 * lyx_main.[Ch]: replace occurances of system_tempdir with
7172 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7174 * rename Inset to InsetOld
7176 2003-07-25 Asger Alstrup <alstrup@diku.dk>
7178 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
7179 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
7180 which I think is a bit clearer. EDIT is gone, since it was
7181 premature optimisation, and broken for mathed anyway.
7182 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7183 with cursor positioning in insets as well (math insets still do not
7184 work, but that's a different story anyway.) It mysteriously
7185 crashes sometimes with undo in the first paragraph, but I'm fairly
7186 confident that this is a compiler bug.
7188 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7190 * paragraph.C (Paragraph): adjust for new clone return type
7192 (copyIntoMinibuffer): ditto
7194 2003-07-25 Asger Alstrup <alstrup@lyx.org>
7196 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7197 by not having a special case, and always doing a full rebreak of
7198 the document after undo.
7200 2003-07-23 Angus Leeming <leeming@lyx.org>
7202 * factory.C (createInset): InsetExternal::setParams now takes a
7205 2003-07-23 Angus Leeming <leeming@lyx.org>
7207 * factory.C (createInset): changed interface to the external and
7208 graphics mailers' string2params functions.
7210 2003-07-23 Angus Leeming <leeming@lyx.org>
7212 * factory.C (createInset): pass a
7213 Buffer const * parameter to InsetExternalMailer's string2params.
7215 2003-07-22 John Levon <levon@movementarian.org>
7217 * Thesaurus.h: include the right aiksaurus header
7219 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7221 * MenuBackend.C (expand): check menu shortcuts unconditionally
7223 2003-07-21 Angus Leeming <leeming@lyx.org>
7225 * factory.C (createInset): pass a
7226 buffer_path parameter to InsetGraphicsMailer's string2params.
7228 2003-07-21 Angus Leeming <leeming@lyx.org>
7230 * BufferView_pimpl.C (buffer):
7233 * lyxfunc.C (dispatch):
7234 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7235 rather than the grfx shortcut.
7237 2003-07-21 André Pönitz <poenitz@gmx.net>
7239 * rowpainter.C: remove unused variables
7242 * tabular_funcs.h: move to tabular.C
7243 * Makefile.am: adjust
7245 * tabular.[Ch]: basic optical cleaning
7247 * author.h: pass references, not values
7249 2003-07-18 André Pönitz <poenitz@gmx.net>
7257 * text3.C: two-phase drawing for InsetText and InsetTabular
7258 some float -> int changes.
7260 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7262 * lyx_main.C: fix the fix
7264 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7266 * lyx_main.C: fix a crash in batch mode if no files specified
7269 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
7271 * format.[Ch] (papersize): moved to BufferParams
7272 * converter.[Ch] (dvips_options): moved to BufferParams
7273 (dvipdfm_options): moved to anon namespace
7274 * bufferparams.[Ch]: added above functions.
7276 2003-07-17 André Pönitz <poenitz@gmx.net>
7280 * text2.C: don't call inset->update() anymore
7282 * metricsinfo.[Ch]: add convenience constructor
7284 2003-07-16 André Pönitz <poenitz@gmx.net>
7289 * text2.C: replace the LyXCursor::irow_ member with
7290 on-demand computation of the value
7292 2003-07-16 John Levon <levon@movementarian.org>
7294 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7296 2003-07-15 André Pönitz <poenitz@gmx.net>
7299 * text2.C: remove no more needed refresh_row
7301 2003-07-15 André Pönitz <poenitz@gmx.net>
7306 * text3.C: refresh_status tristate -> need_update bool
7308 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
7310 * lyxtext.h (init): remove reinit argument (act as if always true)
7311 * text2.C: adjust to that
7313 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7315 * bufferview_funcs.[Ch]: introduce function replaceSelection()
7316 * text3.C: use it to delete selections in some cases
7317 (bugs 441, 673, 702, 954).
7319 2003-07-14 André Pönitz <poenitz@gmx.net>
7321 * rowpainter.[Ch]: reduce interface
7323 2003-07-14 André Pönitz <poenitz@gmx.net>
7325 * BufferView_pimpl.C:
7326 * text2.C: adjust after removing unused BufferView * argument
7328 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
7330 * text2.C (init): fix a crash fired on resize
7332 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
7334 * buffer.[Ch]: added new closing signal
7335 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7336 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7337 BufferView::Pimpl via the closing the signal
7339 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
7341 * buffer.[Ch]: take out all bv-related from buffer
7343 * BufferView_pimpl.[Ch]: connect to new signals
7344 * CutAndPaste.C: removed useless asserts
7345 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7348 * lyxfunc.C: moved view-related funciontality from vc here
7349 * paragraph.C: removed outdated comments
7352 2003-07-10 André Pönitz <poenitz@gmx.net>
7354 * BufferView_pimpl.C:
7358 * text2.C: remove InsetText::InnerCache, clean up consequences
7360 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7362 * ispell.C: fix two typos in error messages
7364 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
7366 * Extend Note inset to other forms of annotation like Comment
7367 and Greyedout. Right button click gives dialog.
7369 Files modified or added (+):
7373 * ControlNote.[Ch] +
7375 * Makefile.am in frontends/xforms, frontends/xforms/forms,
7376 frontends/controllers
7380 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7382 * aspell.C: add missing namespace lyx::support
7384 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
7386 * BufferView.[Ch] (newFile): Add
7387 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7388 * LaTeX.[Ch] (message): added this signal and use it
7389 * buffer.[Ch] (busy, message): added these signals and use them
7390 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7394 * importer.C: use buffer signals instead of direct bv calling
7395 * lyx_cb.[Ch] (ShowMessage): removed
7398 * paragraph_funcs.C:
7399 * text2.C: use buffer signals
7401 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7403 * introduce namespace lyx::graphics
7405 2003-07-02 André Pönitz <poenitz@gmx.net>
7407 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7409 2003-07-01 André Pönitz <poenitz@gmx.net>
7416 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7417 text*.C to text_func.C
7419 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7421 * introduce namespace lyx::support
7423 2003-06-30 André Pönitz <poenitz@gmx.net>
7428 * text.C: re-enable --with-included-string
7430 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7432 * textcursor.C: add <config.h>
7434 * text.C (getWord): remove const from word_location arg
7436 * lyxvc.C (getLogFile): fix const type order
7438 * lyxtext.h: remove const from word_location arg, add arg name
7440 * lyxlayout.h: currect type on labeltype.
7442 * importer.C: correct \file
7444 * converter.C (intToFormat): use std:: on ret val, ws changes
7446 * bufferlist.h: correct \file
7448 * buffer.C (makeLinuxDocFile): fix const type order
7449 (makeDocBookFile): ditto
7450 (fillWithBibKeys): use std:: on stdlib args.
7452 * CutAndPaste.C: fix authors.
7453 (availableSelections): use std:: on return vector
7455 2003-06-27 André Pönitz <poenitz@gmx.net>
7457 * BufferView_pimpl.C:
7458 * bufferview_funcs.C:
7466 * text3.C: remove LyXCursor::row_ member
7469 * text.C: rename fullRebreak() to partialRebreak() and implement
7470 a fullRebreak() that really bereks fully
7472 * textcursor.h: new struct for cursor-related data
7474 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7476 * lyx_main.C (LyX): get full path of document loaded on the
7479 2003-06-26 André Pönitz <poenitz@gmx.net>
7481 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7482 remove unused/broken operator>,<,>=.
7484 * text.C: remove only use of broken operator<= in an Assert().
7486 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7488 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7489 moved errorlist_.clear to showErrorList
7491 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7493 * converter.C (scanLog, runLaTeX):
7494 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7495 move the bv->showErrorList call to the callers
7496 * lyxfunc.C: i.e. here...
7498 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7499 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7500 namespace, the second to...
7501 * buffer_funcs (BufferFormat, parseErrors): added
7502 * errorlist.C (ErrorList(TeXErrors const &)): removed
7504 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7506 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7508 2003-06-24 "Garst R. Reese" <reese@isn.net>
7512 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7514 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7516 * version.C.in: change docversion to 1.4
7518 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7520 * buffer.C: fix a bug just introduced
7522 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7524 * buffer.[Ch]: added the parseError signal and use it, removed
7526 * BufferView.[Ch] (addError): moved to ...
7527 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7528 to the Buffer::parseError signal to catch (guess what) parse errors
7529 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7531 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7533 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7534 ability to create a buffer and to return an existing one from
7535 the list. Moved these functions to...
7536 * buffer_funcs.[Ch]: added
7537 * BufferView.[Ch] (loadLyXFile): added
7538 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7539 job removed from bufferlist::loadLyXFile.
7540 * buffer.C (setReadOnly): make it work without view
7541 (i.e added an if (users))
7543 2003-06-19 Angus Leeming <leeming@lyx.org>
7546 * LyXAction.C (init):
7547 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7548 with LFUN_DIALOG_SHOW <name> <data>.
7550 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7552 * CutAndPaste.C (availableSelections): small compilation fix for
7553 ancient (gcc 2.9x) compilers
7555 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7557 * text3.C (cursorNext): add tmp var
7559 * text2.C (updateCounters): for function calling out of for clause
7560 (replaceSelectionWithString): ditto
7561 (insertStringAsParagraphs): ditto
7562 (getColumnNearX): add tmp var
7563 (setCursorFromCoordinates): add tmp var
7564 (cursorDownParagraph): add tmp var
7565 (deleteEmptyParagraphMechanism): add tmp var
7567 * text.C (insertChar): add tmp var
7569 * rowpainter.C (paintDepthBar): add tmp var
7571 * CutAndPaste.C (availableSelections): potentially check all
7572 paragraphs in a cut to fill the shown strings.
7574 2003-06-18 André Pönitz <poenitz@gmx.net>
7576 * kbmap.[Ch]: use vector<> instead of list<>
7578 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7580 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7581 pasteSelection with index
7583 * text2.C (pasteSelection): modify, call pasteSelection with index
7585 * paragraph.C (asString): reimplement version with no interval to
7586 call the one with interval.
7588 * lyxtext.h: add index arg to pasteSelection
7590 * MenuBackend.C (MenuItem): handle PasteRecent
7591 (Menu::read::Menutags): add md_pasterecent
7593 (expandPasteRecent): new function
7596 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7598 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7600 (availableSelections): new function
7602 2003-06-17 Angus Leeming <leeming@lyx.org>
7604 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7606 2003-06-17 Angus Leeming <leeming@lyx.org>
7609 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7611 * lyxfunc.C (dispatch): invoke it.
7613 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7615 * iterators.C (operator++, ParPosition): reintroduce some
7616 const_cast for the benefit of older compilers.
7618 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7620 * text3.C (dispatch): do not modify clipboard when doing
7621 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7622 LFUN_DELETE_SKIP on a selection selection
7624 2003-06-16 André Pönitz <poenitz@gmx.net>
7630 * tabular.[Ch]: IU of clone() and getLabelList();
7632 2003-06-13 André Pönitz <poenitz@gmx.net>
7634 * tabular.h: compactification
7636 2003-06-12 André Pönitz <poenitz@gmx.net>
7640 * tabular_funcs.h: some renaming plus whitespace
7642 2003-06-12 André Pönitz <poenitz@gmx.net>
7645 * BufferView_pimpl.C:
7651 * toc.C: Return a Paragraph & for ParIterator::operator*()
7653 2003-06-11 John Levon <levon@movementarian.org>
7657 * ToolbarBackend.C: add "Toolbars" section and
7660 2003-06-10 Angus Leeming <leeming@lyx.org>
7663 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7665 * lyxfunc.C (dispatch): invoke it.
7667 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7669 * main.C: protect <ios> with HAVE_IOS
7670 (main): protect sync_with_stdio with HAVE_IOS
7672 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7674 * text2.C (cutSelection): adjust
7675 (pasteSelection): adjust
7677 * messages.C: handle get of empty string
7679 * main.C (main): use sync_with_stdio(false)
7681 * lyxfunc.C (dispatch): adjust
7683 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7684 (WriteAs): remove unneeded BufferView arg.
7686 * bufferparams.h: use correct types on papersize, papersize2 and
7689 * bufferparams.C (readToken): adjust for type
7690 (writeLaTeX): add missing cases to switch.
7692 * bufferlist.C (quitWriteBuffer): adjust
7695 * buffer.C (asciiParagraph): remove some commented code.
7697 * CutAndPaste.C: remove current_view extern variable.
7698 (cutSelection): add BufferParams arg.
7699 (eraseSelection): add BufferParams arg.
7700 (pasteSelection): add Buffer const & arg
7702 2003-06-07 John Levon <levon@movementarian.org>
7705 * paragraph_funcs.C:
7706 * paragraph_pimpl.C:
7710 * paragraph.C: allow InsetERT to freely space lines,
7711 and some consolidation of code
7713 2003-06-06 José Matos <jamatos@fep.up.pt>
7715 * buffer.C (makeDocBookFile): fix bug #821
7717 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7719 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7721 2003-06-04 Angus Leeming <leeming@lyx.org>
7723 * buffer.C: bump format to 224.
7725 2003-06-05 André Pönitz <poenitz@gmx.net>
7727 * text2.C (redoParagraphs): remove two const_cast<>
7729 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7731 * ParagraphList.h: remove last remnants of NO_STD_LIST
7733 2003-06-03 Angus Leeming <leeming@lyx.org>
7735 * factory.C (createInset): small change to the way InsetExternal's params
7738 2003-06-04 André Pönitz <poenitz@gmx.net>
7740 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7742 * paragraph_pimpl.h:
7743 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7745 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7747 * undo_funcs.C: make some simple cases of undo work again
7749 2003-06-03 John Levon <levon@movementarian.org>
7751 * ispell.C: HPUX doesn't have sys/select.h
7754 2003-06-03 John Levon <levon@movementarian.org>
7756 * CutAndPaste.C: update tabular and include inset
7761 * paragraph.C: remove owningBuffer(), don't pass Buffer
7764 * factory.C: insetGraphicsParams changed
7766 2003-06-02 John Levon <levon@movementarian.org>
7772 * text3.C: remove insetparent
7774 2003-06-02 John Levon <levon@movementarian.org>
7777 * buffer.C: fix inset_iterator.end(), move out of line
7780 2003-06-01 John Levon <levon@movementarian.org>
7782 * text3.C: use a proper cut/paste when doing inset
7783 insert (from Jürgen Spitzmüller)
7785 2003-06-01 John Levon <levon@movementarian.org>
7787 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7789 2003-05-30 André Pönitz <poenitz@gmx.net>
7791 * rowpainter.C: unify second drawing phase
7793 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7795 * trans_mgr.C: remove one case of current_view
7797 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7799 * paragraph_funcs.h: remove paragraph.h include
7801 * paragraph.h: delete NO_STD_LIST stuff
7803 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7805 * buffer.h: remove paragraph.h include
7807 * ParagraphList.C: delete file
7809 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7811 * toc.C (getTocList): adjust
7813 * paragraph_pimpl.C (validate): adjust
7815 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7817 * paragraph.C (Paragraph): adjust
7818 (getPositionOfInset): use const_iterator, adjust
7819 (bibitem): use const_iterator, adjust
7820 (setInsetOwner): adjust
7822 * iterators.C (operator++): adjust
7824 * InsetList.[Ch]: Replace selfmade iterator with standard
7825 vector::iterator also introduce const_iterator. Remove getPos,
7826 getInset and setInset from InsetTable. Adjust accordingly.
7828 * BufferView.C (lockInset): adjust
7829 (ChangeInsets): adjust
7831 * tabular.[Ch]: delete commented same_id functions
7833 2003-05-28 John Levon <levon@movementarian.org>
7835 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7837 2003-05-28 André Pönitz <poenitz@gmx.net>
7839 * metricsinfo.[Ch]: remove 'fullredraw' member
7841 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7843 * lyxtextclass.C (operator): remove caching.
7845 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7849 * text2.C (cursorBottom): adjust
7850 (setCounter): use ParagraphList::find, adjust
7852 * text.C (workWidth): use ParagraphList::find, adjust
7854 * lyxcursor.C (LyXCursor): adjust
7856 * buffer.C (inset_iterator): adjust
7858 * ParagraphList.h: make iterator(value_type) private, make
7859 ParagraphList a friend of iterator.
7861 * ParagraphList.C (find): new function
7863 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7865 2003-05-27 André Pönitz <poenitz@gmx.net>
7867 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7869 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7871 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7873 2003-05-26 John Levon <levon@movementarian.org>
7875 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7877 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7879 * remove same_id from function signatures, adjust.
7881 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7883 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7885 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7887 * paragraph.C (Paragraph): get rid of same_ids parameter
7889 * ParagraphList.C (insert): adjust
7892 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7894 * paragraph_funcs.C (breakParagraph): adjust
7895 (breakParagraphConservative): adjust
7897 * buffer.C (readParagraph): adjust
7899 * ParagraphList.C (insert): take a reference instead of a pointer
7902 * paragraph.[Ch] (id): new function
7904 * bufferlist.C (newFile): adjust
7906 * ParagraphList.C (ParagraphList): adjust
7908 (push_back): take a reference instead of a pointer.
7910 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7912 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7915 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7916 set else use old code.
7918 * ParagraphList.C: remove all NO_NEXT code and only compile this
7919 code of NO_STD_LIST is set.
7921 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7923 * BufferView_pimpl.C:
7933 * graphics/GraphicsConverter.C:
7934 * graphics/PreviewLoader.C: header adjustment
7936 2003-05-23 Angus Leeming <leeming@lyx.org>
7938 * LaTeXFeatures.[Ch] (useBabel): new method.
7939 * bufferparams.C (writeLaTeX): use it.
7941 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7943 * ParagraphList.h (set): remove unused function.
7945 2003-05-23 André Pönitz <poenitz@gmx.net>
7948 * BufferView_pimpl.C:
7952 * undo_funcs.C: setUndo reworked
7954 * iterators.[Ch]: add access to topmost ParagraphList
7956 * lyxtext.[Ch] (workWidth): add a const
7958 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7960 * texrow.[Ch] (increasePos): remove function
7961 * exporter.C (export): removed unused var and outdated comment
7963 2003-05-23 Angus Leeming <leeming@lyx.org>
7965 * latexrunparams.h: rename fragile as moving_arg.
7966 * paragraph.C (simpleTeXOnePar): ditto.
7967 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7969 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7971 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7973 (textUndoOrRedo): comment out a currently unused var.
7975 * paragraph.h (NO_NEXT): enable NO_NEXT
7977 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7979 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7981 * exporter.C (Export): adjust for removeAutoInsets removal.
7983 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7985 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7987 * BufferView.[Ch] (removeAutoInsets): delete function
7989 2003-05-22 Angus Leeming <leeming@lyx.org>
7991 * latexrunparams.h: add a free_spacing variable.
7993 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7994 to pass moving_arg, as the data is stored in runparams.fragile.
7996 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7997 to Inset::latexOptional or to simpleTeXOnePar.
7999 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
8000 free_spacing arg to Inset::latexOptional.
8002 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
8005 2003-05-22 Angus Leeming <leeming@lyx.org>
8007 * latexrunparams.h: add fragile and use_babel variables.
8009 * bufferparams.[Ch] (writeLaTeX): return use_babel.
8010 * buffer.C (makeLaTeXFile): store this returned value in
8011 runparams.use_babel, thus passing it to the inset::latex methods.
8013 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
8014 simpleTeXSpecialChars as it is now stored in runparams.fragile.
8016 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
8017 longer has a fragile arg, as it is stored in runparams.fragile.
8019 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
8020 moving_arg parameter as the data is stored in runparams.fragile.
8022 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
8023 a fragile parameter as the data is stored in runparams.fragile.
8025 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8027 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
8029 2003-05-22 Angus Leeming <leeming@lyx.org>
8031 * latexrunparams.h: add a 'bool nice' which defaults to false.
8033 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
8034 now encapsulated within runparams.
8036 * bufferlist.C (updateIncludedTeXfiles):
8037 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
8039 2003-05-22 Angus Leeming <leeming@lyx.org>
8041 * latexrunparams.h: new file containing struct LatexRunParams.
8042 * Makefile.am: add new file.
8044 * LaTeX.[Ch] (c-tor, run):
8045 * buffer.[Ch] (makeLaTeXFile):
8046 * bufferlist.[Ch] (updateIncludedTeXfiles):
8047 * converter.C (convert, scanLog):
8048 * converter.[Ch] (runLaTeX):
8049 * exporter.C (Export):
8050 * paragraph.[Ch] (simpleTeXOnePar):
8051 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
8052 * paragraph_funcs.[Ch] (latexParagraphs):
8053 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
8054 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
8055 pass around a LatexRunParams parameter.
8057 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8059 * paragraph.[Ch]: remove unused constructor
8061 * ParagraphList.C (erase): new function, taking two iterators
8063 2003-05-22 André Pönitz <poenitz@gmx.net>
8065 * undo_funcs.C: remove duplicated code
8067 * iterator.[Ch]: operator=
8069 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8071 * tabular.C (SetMultiColumn): ws changes
8073 * rowpainter.C (paintFirst): get rid of a ->previous
8075 * lyx_cb.C (getPossibleLabel): parlist simplification
8077 * BufferView.C (ChangeInsets): simplify slightly.
8079 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8081 * LyXAction.C: new lfun space-insert, kill protected-space-insert
8082 * lfuns.h: new LFUN_SPACE
8083 * lyxfunc.C: protected space has a new lfun
8084 * paragraph_funcs.C: read new space insets
8086 * factory.C: handle new space insets
8088 2003-05-22 André Pönitz <poenitz@gmx.net>
8091 * BufferView_pimpl.C:
8094 * undo_funcs.C: return a ParIterator from getParFromID.
8096 * iterators.[Ch]: add two const's
8098 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8100 * toc.C (getTocList): adjust
8102 * iterators.[Ch]: rework for parlist
8104 * buffer.C (par_iterator_begin): adjust
8105 (par_iterator_end): adjust
8107 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
8109 * BufferView.C (removeAutoInsets): adjust
8110 (ChangeInsets): adjust
8112 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
8114 * text.C (top_y): fix bug 1110
8116 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
8118 * errorlist.[Ch]: added
8121 * BufferView_pimpl.C:
8122 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
8125 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8127 * Makefile.am: ensure that lyx is relinked upon changes to the
8128 various "convenience" libs.
8130 2003-05-20 Angus Leeming <leeming@lyx.org>
8132 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
8133 files are compiled in alphabetical order again.
8135 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
8137 2003-05-19 Angus Leeming <leeming@lyx.org>
8139 * gettext.[Ch]: remove "char const * _(char const *)".
8141 2003-05-19 André Pönitz <poenitz@gmx.net>
8143 * dimension.[Ch]: promote from mathed/dimension.[Ch]
8152 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
8154 2003-05-19 André Pönitz <poenitz@gmx.net>
8158 * lyxtextclass.[Ch]:
8160 * paragraph_funcs.[Ch]:
8162 * text3.C: more insetenv work
8164 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
8166 * ParagraphParameters.C (params2string): small bug fixed
8168 2003-05-16 André Pönitz <poenitz@gmx.net>
8171 * bufferview_funcs.C: patch from Kornel Benko to prevent
8172 crash when _(...) is called twice in a statement
8174 2003-05-16 André Pönitz <poenitz@gmx.net>
8181 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8183 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
8185 * lyx_main.C (init): remove spurious static_cast
8187 2003-05-14 André Pönitz <poenitz@gmx.net>
8189 * BufferView.C: fix format string
8191 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
8193 * BufferView.[Ch] (insertErrors): removed
8194 * BufferView.[Ch] (showErrorList): added
8195 * buffer.C (runChkTeX):
8196 * converter.C (scanLog): call showErrorList instead of inserterrors
8198 2003-05-13 André Pönitz <poenitz@gmx.net>
8200 * BufferView_pimpl.C:
8202 * bufferview_func.C:
8209 * tabular_funcs.h: tostr() from its own header
8211 * ParagraphParameters.C:
8216 * text3.C: STRCONV()
8218 2003-05-12 André Pönitz <poenitz@gmx.net>
8221 * BufferView_pimpl.C:
8225 * ParagraphParameters.C:
8229 * bufferview_funcs.C:
8242 * paragraph_funcs.C:
8246 * text3.C: boost::format -> bformat all over the place
8249 2003-05-09 André Pönitz <poenitz@gmx.net>
8251 * LColor.[Ch]: Pimpl the #include <map> away
8253 2003-05-09 John Levon <levon@movementarian.org>
8255 * bufferlist.C: never remove emergency saves
8257 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8259 * Makefile.am: better lib building
8261 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
8263 * texrow.[Ch]: remove dependency on Paragraph and just store a id
8265 * paragraph_pimpl.C (simpleTeXBlanks): adjust
8266 (simpleTeXSpecialChars): adjust
8267 (simpleTeXSpecialChars): adjust
8268 * paragraph.C (simpleTeXOnePar): adjust
8269 * buffer.C (makeLaTeXFile): adjust
8271 * Makefile.am (BOOST_LIBS): allow boost as system lib.
8273 * text2.C (changeDepth): parlist cleanup
8274 (getColumnNearX): ditto
8276 * rowpainter.C (getLabelFont): parlist cleanup
8278 * bufferlist.C (newFile): parlist cleanup
8280 * CutAndPaste.C (eraseSelection): parlist cleanup
8282 * BufferView_pimpl.C (trackChanges): parlist cleanup
8285 * BufferView.C (lockInset): parlist cleanup.
8286 (ChangeInsets): ditto
8288 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8290 * CutAndPaste.h: Update file header.
8292 * CutAndPaste.C: Update file header.
8293 Store the parts cut out of the Document in a limited_stack.
8294 (copySelection): adjust
8295 (pasteSelection): new function, takes the index in the limited stack.
8296 (nrOfParagraphs): adjust
8297 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8298 simplify error inset insertion.
8299 (checkPastePossible): adjust
8301 2003-05-06 John Levon <levon@movementarian.org>
8303 * text2.C: don't cast wrap inset to float
8305 2003-05-05 André Pönitz <poenitz@gmx.net>
8308 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8310 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8311 few naked Paragraph *.
8313 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
8315 * bufferparams.C: Output warning if a document with missing
8316 TeX document class is loaded
8317 * exporter.C: Disable TeX exports if the document class is missing
8320 * lyxtextclasslist.C: Handle new textclass.lst format; new method
8321 isTeXClassAvailable()
8323 2003-05-03 John Levon <levon@movementarian.org>
8326 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8327 explicit cursor show/hide
8329 * BufferView_pimpl.h:
8330 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8331 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8333 * lyxfunc.C: hide cursor before dispatching.
8338 * text3.C: remove explicit cursor hides
8340 2003-05-02 André Pönitz <poenitz@gmx.net>
8342 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8345 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8348 * text2.C: tiny whitespace
8350 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8352 * undo_funcs.C: almost only ws changes.
8354 * ParagraphList.C (splice): just return if pl is empty.
8356 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8358 * ParagraphList.C (splice): new function.
8360 * CutAndPaste.C (pasteSelection): use it
8362 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8364 * CutAndPaste.C (pasteSelection): remove the last next and
8365 previous from this file.
8367 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8369 * CutAndPaste.C (pasteSelection): more clean up, user proper
8370 ParagraphList functions for pasteing.
8372 * ParagraphList.C (insert): new function, three arg insert
8374 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8376 * ParagraphList.C (insert): new function, three arg insert
8378 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8381 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8383 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8385 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8387 * CutAndPaste.C (pasteSelection): remove some unneeded code.
8389 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8391 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8392 (copySelection): clean up a bit.
8393 (pasteSelection): use make_pair
8395 * ParagraphList.C (ParagraphList): implement copy constructor
8396 (operator=): implement, base on copy constructor.
8399 * paragraph.C (erase): return a bool
8401 * paragraph_pimpl.C (erasePos): remove function, move contents...
8402 (erase): ... here. Return a bool.
8403 (erase): call erase instead of erasePos.
8405 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
8407 * ParagraphList.h: define PitPosPair
8408 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8409 ParagraphList, fix a bug on pasting multiple pars
8410 * text2.C: change interface to C&P
8412 2003-04-30 André Pönitz <poenitz@gmx.net>
8414 * undo_func.C: revert part of yesterday's patch 2
8416 2003-04-30 John Levon <levon@movementarian.org>
8418 * LColor.C: s/tabular/table/
8420 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8422 * text3.C (dispatch): do not convert iterator -> pointer
8423 * undo_funcs.C (setCursorParUndo): ditto
8424 * text_funcs.C (transposeChars): ditto
8426 * text2.C (setLayout): ws changes only
8428 * text.C (breakParagraph): do not convert iterator -> pointer
8430 (acceptChange): ditto
8431 (rejectChange): ditto
8436 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8439 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8441 * text3.C (gotoInset): YABG (yet another bad getChar)
8443 2003-04-29 André Pönitz <poenitz@gmx.net>
8445 * paragraph.h: make operator= private unimplemented as long as
8448 * ParagraphList.C: whitespace
8451 * paragraph_pimpl.[Ch]:
8452 * paragraph_funcs.C:
8454 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8457 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8459 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8461 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8462 * paragraph.[Ch] (erase):
8463 * paragraph_pimpl.[Ch] (erase): change return type and value
8464 * text2.C (cutSelection): some rework
8466 2003-04-28 John Levon <levon@movementarian.org>
8468 * bufferlist.C: changes for unsaved changes dialog
8470 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8472 * bufferlist.C (newFile): set language (messages_) for new
8475 * buffer.C (readFile): ws changes only.
8477 2003-04-28 André Pönitz <poenitz@gmx.net>
8482 * BufferView_pimpl.C:
8483 * BufferView.C: getParFromID related ParagraphList::iterator changes
8485 2003-04-28 André Pönitz <poenitz@gmx.net>
8487 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8490 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8492 * messages.C: remove one more localedir class variable.
8494 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8496 * messages.C (getLocaleDir): singleton generation function
8498 (Messages): add a default constructor.
8500 * main.C (main): do not setup localedir here, do not call
8503 * gettext.C (_): use it.
8504 (gettext_init): delete funciton
8506 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8508 * gettext.C (getLyXMessages): new singleton generating function.
8510 * buffer.C (updateDocLang): adjust
8512 * Makefile.am (messages.o): add target
8513 (main.o): remove target
8515 2003-04-27 John Levon <levon@movementarian.org>
8520 * lyxvc.C: specify cancel button in Alert::prompt
8522 2003-04-26 John Levon <levon@movementarian.org>
8527 * LyXAction.C: add LFUN_INSET_SETTINGS
8529 * lyxfunc.C: don't enable tabular-feature when there's
8530 just any locking inset
8532 2003-04-26 John Levon <levon@movementarian.org>
8534 * bufferlist.C: re-add Cancel to buffer close question
8536 * lyxfunc.C: fix import UI a bit
8538 2003-04-25 John Levon <levon@movementarian.org>
8540 * gettext.C: remove the broken asserts for now
8542 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8544 * messages.C: make case where setlocale cannot comply work better.
8546 * buffer.C (updateDocLang): new function
8547 (changeLanguage): use it
8550 * text2.C (setCounter): use B_ a bit.
8552 * lyxlayout.C (Read): be sure to trim the label strings.
8554 * messages.C (Messages): fix typo in comment
8556 * buffer.C (readFile): set message_ after file is loaded.
8557 (makeDocBookFile): remove double return
8558 (changeLanguage): reset message_ upon language change.
8559 (B_): new func, use this to get translated buffer strings.
8561 * main.C: add myself and Jean Marc as authors.
8563 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8565 * messages.[hC]: pimplify Messages, and three different pimpls to be
8566 used in different circumstances.
8568 * gettext.[Ch]: change for use with new message code.
8570 2003-04-24 André Pönitz <poenitz@gmx.net>
8572 * factory.C: support for eqref
8574 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8576 * messages.[Ch]: add missing char
8578 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8580 * messages.[Ch]: New files
8582 2003-04-18 John Levon <levon@movementarian.org>
8586 * BufferView_pimpl.C:
8590 * text2.C: remove layout-copy/paste (bug 778)
8592 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8594 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8596 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8598 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8599 if they succeed. Act accordingly.
8601 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8603 * text2.C (setCharFont): adjust
8604 (setCounter): adjust
8605 (insertStringAsLines): adjust
8607 * text.C (leftMargin): adjust
8608 (setHeightOfRow): adjust
8610 * rowpainter.C (paintFirst): adjust
8613 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8615 (isFirstInSequence): ditto
8616 (getEndLabel): ditto
8619 * paragraph.C (getParLanguage): comment out some hard stuff.
8621 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8623 (simpleDocBookOnePar): ditto
8624 (makeDocBookFile): use ParagraphList::iterator
8626 * CutAndPaste.C (pasteSelection): adjust
8628 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8630 * text2.C (getFont): adjust
8631 (getLayoutFont): adjust
8632 (getLabelFont): adjust
8634 * paragraph_funcs.C (TeXOnePar): adjust
8636 * buffer.C (simpleLinuxDocOnePar): adjust
8637 (simpleDocBookOnePar): adjust
8639 * CutAndPaste.C (pasteSelection): adjust
8641 * BufferView.C (getEncoding): adjust
8643 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8645 2003-04-16 John Levon <levon@movementarian.org>
8647 * lyxfind.C: use parlist stuff for search/changes
8649 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8651 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8653 * text2.C (deleteEmptyParagraphMechanism): adjust
8655 * text2.[Ch] (ownerParagraph): delete func (both of them
8657 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8659 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8661 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8663 * ParagraphList.C: prepare for NO_NEXT
8665 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8667 * text2.C (getFont): adjust
8668 (getLayoutFont): adjust
8669 (getLabelFont): adjust
8671 * paragraph.C (getFont): adjust
8672 (getLabelFont): adjust
8673 (getLayoutFont): adjust
8675 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8677 2003-04-15 John Levon <levon@movementarian.org>
8681 * lyx_main.C: handle Include in .ui files
8683 2003-04-15 John Levon <levon@movementarian.org>
8685 * MenuBackend.C: make the doc files length shorter
8688 * ToolbarBackend.C: handle toolbar placement flags,
8691 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8693 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8696 * paragraph_funcs.C (TeXOnePar): adjust
8698 * paragraph.C (getLabelFont): add outerfont arg, adjust
8699 (getLayoutFont): ditto
8700 (simpleTeXOnePar): adjust
8702 * paragraph_pimpl.C (realizeFont): delete func
8704 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8706 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8707 row argument, constify cur argument.
8709 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8711 * text2.C (getFont): adjust
8712 (getLayoutFont): adjust
8713 (getLabelFont): adjust
8715 * paragraph_funcs.C (TeXOnePar): adjust
8716 (outerFont): new func...
8717 (realizeFont): ...moved out from here, changed this to facilitate
8720 * paragraph.C (getFont): take outerfont as arg, adjust
8721 (simpleTeXOnePar): add outerfont arg, adjust
8723 * buffer.C (simpleLinuxDocOnePar): adjust
8724 (simpleDocBookOnePar): adjust
8726 * CutAndPaste.C (pasteSelection): adjust
8728 * BufferView.C (getEncoding): adjust
8730 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8732 * text2.C (setCharFont): adjust
8733 (setCounter): adjust
8735 * text.C (leftMargin): adjust
8736 (setHeightOfRow): adjust
8738 * rowpainter.C (paintFirst): adjust
8741 * paragraph_pimpl.C (realizeFont): adjust
8743 * paragraph.C (isFirstInSequence): move from here...
8744 * paragraph_funcs.C (isFirstInSequence): ...to here
8746 * paragraph.C (outerHook): move from here...
8747 * paragraph_funcs.C (outerHook): ...to here
8749 * paragraph.C (depthHook): move from here...
8750 * paragraph_funcs.C (depthHook): ...to here
8752 * paragraph.C (getEndLabel): move from here...
8753 * paragraph_funcs.C (getEndLabel): ...to here
8755 * text2.C (realizeFont): move from here...
8756 * paragraph_funcs.C (realizeFont): ...to here
8758 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8760 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8762 2003-04-14 Angus Leeming <leeming@lyx.org>
8764 * LColor.[Ch]: scrap LColor mathcursor.
8766 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8768 * lyxlex.[Ch] (text): delete function
8769 * trans.C (Load): adjust
8770 * paragraph_funcs.C (readParToken): adjust
8772 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8774 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8775 vector<char> instead of a char[].
8777 * lyxlex_pimpl.C (getString): adjust
8779 (lex): use getString
8783 * lyxlex.C (text): use pimpl_->getString()
8787 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8789 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8790 (makeFontEntriesLayoutSpecific): temp var for par.size()
8791 (setLayout): temp var for ownerParagraphs().end()
8792 (fullRebreak): temp var for rows().end()
8793 (selectionAsString): temp var for boost::next(startpit), realize
8794 that the while really is a regular for loop.
8795 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8796 setCursor in one place.
8797 (setParagraph): temp vr for ownerParagraphs().end()
8798 (updateCounters): make the while loop a for loop
8799 (cutSelection): temp var for ownerParagraphs().end()
8800 (updateInset): make the do {} while() a regular for loop
8801 (getCursorX): use temp vars
8802 (setCurrentFont): use temp vars
8803 (getColumnNearX): use temp vars
8805 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8807 * text.C (transformChar): use temp var for getChar
8808 (computeBidiTables): use temp var for row->par()
8809 (fill): move temp vars for row->par() and pit->layout() earlier in
8811 (labelFill): use temp var for row->par()
8812 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8813 asc and desc, realize that pit never changes and that firstpit is
8814 just a duplicate and not needed. Exchange rit->par() with pit in a
8816 (breakAgain): use a temp var for boost::next(rit)
8817 (breakAgainOneRow): ditto
8818 (breakParagraph): use a temp var for rows().begin()
8819 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8820 (cursorRightOneWord): use temp var for cursor.par() and
8821 cursor.pos(), remove usage of tmpcursor.
8822 (cursorLeftOneWord): use temp var for cursor.par() and
8823 cursor.pos() only set cur at end of function.
8825 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8827 * text.C, text2.C: exchange all usage of Paragraph::next with
8828 boost::next(ParagraphList::iterator)
8830 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8832 * text2.C (cursorTop): simplify implementation
8833 (cursorBottom): ditto
8834 (setParagraph): use ParagraphList::iterator
8835 (setCurrentFont): adjust
8836 (getColumnNearX): adjust
8837 (cursorRight): adjust
8838 (cursorLeft): remove usage of Paragraph::previous
8839 (cursorUpParagraph): ditto
8840 (deleteEmptyParagraphMechanism): slight cleanup
8842 * text.C (isBoundary): take a Paragraph const & instead of a
8844 (addressBreakPoint): ditto
8845 (leftMargin): remove usage of Paragraph::previous.
8846 (setHeightOfRow): ditto
8847 (cursorLeftOneWord): ditto
8848 (selectNextWordToSpellcheck): ditto
8851 (breakParagraph): remove one usage of Paragraph::next
8852 (redoParagraph): ditto
8853 (acceptChange): ditto
8854 (insertChar): adjust
8855 (rowBreakPoint): adjust
8857 * bufferview_funcs.C (toggleAndShow): adjust
8859 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8861 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8862 methods to access it.
8864 * text.C: Added updateRowPositions to compute all row positions.
8865 Make top_y and getRowNearY() to use the cached y position
8867 2003-04-11 John Levon <levon@movementarian.org>
8869 * text.C (rowBreakPoint): reintroduce the labelEnd
8870 checks, code copied from the row fill stuff. Deep voodoo.
8872 * text.C (fill): add a comment and debugging for the
8875 2003-04-11 John Levon <levon@movementarian.org>
8877 * text.C: make sure fullrow insets get wrapped to the next line,
8878 even when they're in a manual label
8880 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8882 * text2.C (insertParagraph): make it take ParagraphList::iterator
8884 (setLayout): make it return ParagraphList::iterator
8885 (redoParagraphs): ditto
8887 (checkParagraph): ditto
8889 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8891 * text2.C: adjust several funcs.
8892 (realizeFont): take a ParagraphList::iterator as arg.
8893 (getLayoutFont): ditto
8894 (getLabelFont): ditto
8895 (setCharFont): ditto
8897 * text.C: adjust several funcs.
8899 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8901 * text.C (selectNextWordToSpellcheck): don't accidentally
8904 2003-04-10 John Levon <levon@movementarian.org>
8906 * ToolbarBackend.C (getIcon): special handling for
8909 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8911 * text2.C (cursorRight): a getChar assert fixed
8913 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8915 * text2.C (getFont): change to take a ParagraphList::iterator
8916 instead of Paragraph*
8917 Adjust several functions.
8919 * text.C (transformChar): change to take a ParagraphList::iterator
8920 instead of Paragraph*
8921 (singleWidth): ditto
8922 Adjust several functions.
8924 * rowpainter.C: adjust several functions
8925 * rowpainter.h:store a ParagraphList::iterator and not a
8929 2003-04-09 John Levon <levon@movementarian.org>
8934 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8935 and the "help" bits as well
8937 2003-04-09 John Levon <levon@movementarian.org>
8940 * ToolbarBackend.C: allow multiple toolbars
8942 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8944 * undo_funcs.C (setCursorParUndo): adjust
8946 * text_funcs.C (transposeChars): adjust
8948 * text3.C (gotoNextInset): adjust
8951 * text2.C (setLayout): adjust
8952 (changeDepth): adjust
8954 (redoParagraphs): adjust
8955 (selectionAsString): adjust
8956 (setParagraph): adjust
8957 (insertInset): adjust
8958 (cutSelection): adjust
8959 (copySelection): adjust
8960 (pasteSelection): adjust
8961 (insertStringAsLines): adjust
8962 (updateInset): adjust
8963 (setCursor): change to take a ParagraphList::iterator parameter
8964 (setCursorIntern): change to take a ParagraphList::iterator parameter
8965 (setCurrentFont): adjust
8966 (cursorLeft): adjust
8967 (cursorRight): adjust
8968 (deleteEmptyParagraphMechanism): adjust
8970 * text.C (breakParagraph): adjust
8971 (insertChar): adjust
8972 (acceptChange): adjust
8973 (rejectChange): adjust
8974 (selectNextWordToSpellcheck): adjust
8975 (changeCase): adjust
8979 * lyxfind.C (SearchForward): adjust
8980 (SearchBackward): adjust
8981 (nextChange): adjust
8983 * lyxcursor.C (par): adjust
8985 * lyxcursor.h: store a ParagraphList::iterator instead of a
8988 * lyx_cb.C (getPossibleLabel): adjust
8990 * bufferview_funcs.C (toggleAndShow): adjust
8992 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8995 * BufferView.C (removeAutoInsets): adjust
8996 (lockedInsetStoreUndo): adjust
8998 2003-04-09 John Levon <levon@movementarian.org>
9000 * ToolbarBackend.C: try icon without argument
9001 if with argument fails
9003 2003-04-08 John Levon <levon@movementarian.org>
9006 * ToolbarBackend.C: add getIcon(), handle tooltip,
9007 and change from "Icon" to "Item".
9009 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
9011 * BufferView.C (lockInset): another bad getchar crunched
9013 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
9015 * text2.C (changeDepth): do not setUndo on test_only (make undo work
9018 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
9020 * lyxfind.C (searchForward, searchBackwards): bug 782
9022 2003-04-07 John Levon <levon@movementarian.org>
9024 * paragraph.C: remove dead comment
9026 * text.C: remove troublesome depth-fiddling code
9027 in leftMargin() and rightMargin() (bug 1017)
9029 * text.C: fix breaking of rows in nested lists
9032 * text2.C (updateCounters): fix up depth values
9035 2003-04-07 John Levon <levon@movementarian.org>
9037 * BufferView_pimpl.C: clear message when doc finishes resizing,
9038 and after a mouse event
9040 * lyxfunc.C: clear message after exiting inset
9042 2003-04-07 John Levon <levon@movementarian.org>
9044 * bufferview_funcs.C: show math status not outside
9045 status in the statusbar
9047 2003-04-07 John Levon <levon@movementarian.org>
9049 * lyxfunc.C: note status changed after a depth change
9051 2003-04-04 Angus Leeming <leeming@lyx.org>
9053 * LaTeX.h: move AuxInfo operator==, != out of line.
9054 Remove LaTeX virtual destructor; nothing derives from it.
9055 Move operator()() out of public area and rename it startscript().
9056 Change protected for private.
9058 2003-04-04 Angus Leeming <leeming@lyx.org>
9061 * text2.C: remove unneeded #includes.
9063 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
9065 * text2.C (dEPM): fix the heigth of the next row
9067 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
9069 * text.C: squashed an invalid getChar requester + some ws changes
9071 2003-04-03 John Levon <levon@movementarian.org>
9073 * bufferview_funcs.h:
9074 * bufferview_funcs.C:
9077 * text2.C: make getStatus work for the env depth lfuns
9079 2003-04-03 John Levon <levon@movementarian.org>
9081 * bufferview_funcs.h:
9082 * bufferview_funcs.C:
9085 * text2.C: parlistize decDepth(), by merging it with incDepth()
9087 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9089 * lyxrow.h: store a ParagraphList::iterator instead of a
9090 Paragraph* and adjust other class functions to suit.
9092 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
9095 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
9097 * text2.C (setCursor): do not anchor to cursor row for the time being
9099 2003-04-02 John Levon <levon@movementarian.org>
9106 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
9108 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9110 * paragraph.h: make ParagraphList and ParagraphList::iterator
9111 friends of Paragraph.
9113 * buffer.C (makeLinuxDocFile): move towards ParagraphList
9115 * ParagraphList.C: Use the private next_ and previous_ from
9118 2003-04-01 John Levon <levon@movementarian.org>
9122 * Makefile.am: rename, remove defaults gunk
9125 * MenuBackend.C: remove defaults gunk
9128 * Languages.C: remove defaults gunk
9131 * lyx_main.C: error out if files couldn't be found.
9133 2003-04-02 John Levon <levon@movementarian.org>
9135 * text2.C: make incDepth() use parlist
9137 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9139 * undo_funcs.C (firstUndoParagraph): adjust
9141 * text3.C (gotoInset): adjust
9142 (dispatch): adjust, and rewrite loop.
9144 * text2.C (init): adjust, and rewrite loop.
9145 (redoParagraphs): adjust
9146 (updateInset): adjust, and rewrite loop.
9147 (deleteEmptyParagraphMechanism): adjust
9149 * tabular.C (LyXTabular): adjust
9150 (SetMultiColumn): adjust
9153 * lyxtext.[Ch] (ownerParagraph): delete function
9154 (ownerParagraphs): new function returns a ParagraphList.
9156 * BufferView.C (removeAutoInsets): adjust
9157 (insertErrors): adjust
9158 (setCursorFromRow): adjust
9160 2003-04-01 Angus Leeming <leeming@lyx.org>
9162 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
9165 2003-04-02 John Levon <levon@movementarian.org>
9171 * text_funcs.C: make transposeChars a free function
9173 * lyxrow_funcs.C: remove wrong comment
9175 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9178 * rowpainter.C: adjust
9183 * lyxrow_funcs. [Ch]: new files
9185 * lyxrow.[Ch]: remove next and previous pointers
9186 (next,previous): remove accessor functions
9187 (isParEnd): move to lyxrow_funcs
9188 (lastPos): move to lyxrow_funcs
9189 (nextRowIsAllInset): move to lyxrow_funcs
9190 (lastPrintablePos): move to lyxrow_funcs
9191 (numberOfSeparators): move to lyxrow_funcs
9192 (numberOfHfills): move to lyxrow_funcs
9193 (numberOfLabelHfills): move to lyxrow_funcs
9194 (hfillExpansion): move to lyxrow_funcs
9198 * bufferview_funcs.C (toggleAndShow): adjust
9200 * RowList.h: Remove class RowList from file leave just a
9203 * RowList.C: delete file
9205 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9208 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9210 * text3.C (cursorPrevious): adjust
9211 (cursorNext): adjust
9214 * text2.C (redoHeightOfParagraph): adjust
9215 (redoDrawingOfParagraph): adjust
9218 * text.C (breakParagraph): adjust
9219 (insertChar): adjust
9222 * rowpainter.C (RowPainter): adjust
9223 (leftMargin): simplify and adjust
9224 (most rowpainter functions): adjust.
9226 * rowpainter.h: store the row as RowList::iterator not as Row*
9228 * lyxcursor.C (row): taka RowList::iterator as arg
9231 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9234 2003-04-01 Angus Leeming <leeming@lyx.org>
9236 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9237 stuff like bool Bool.
9239 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
9241 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9244 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9246 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9249 * lyxtext.h (rows): drop one version and leve a const variant that
9250 returns a RowList::iterator.
9252 2003-03-31 Angus Leeming <leeming@lyx.org>
9254 * text.C (fill): ensure that the signature is the same as that in the
9257 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
9259 * text2.C (redoParagraphs): adjust
9260 (updateCounters): adjust
9261 (checkParagraph): adjust
9262 (getColumnNearX): adjust and reformat a bit.
9264 * text.C (top_y): adjust
9266 (leftMargin): adjust
9267 (prepareToPrint): adjust
9269 (getRowNearY): adjust
9271 * lyxtext.h: make rowlist_ mutable.
9273 * RowList.h: add const_iterator
9274 * RowList.C: adjust for RowList::const_iterator.
9276 * text2.C (getCursorX): make it take a RowList::iterator as arg,
9279 2003-03-31 John Levon <levon@movementarian.org>
9282 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9284 * lyx_main.C: set default fonts from using lyx_gui funcs
9286 * exporter.C: pdf_mode moved from lyxrc
9289 * lyxfunc.C: changes from above
9291 2003-03-31 John Levon <levon@movementarian.org>
9293 * lyx_main.C: fix to the last fix
9295 2003-03-31 John Levon <levon@movementarian.org>
9297 * bufferlist.C: "Load original" -> "Load Original"
9303 * format.C: more Alert cleanups
9305 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9307 * text2.C (removeParagraph): make it take a RowList::iterator as
9309 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9310 (postRowPaint): make it take a RowList::iterator as arg, adjust.
9312 * text.C (anchor_row): make it take a RowList::iterator as arg,
9314 (computeBidiTables): make it take a const reference to Row instead
9315 of Row pointer, adjust.
9316 (leftMargin): make it take a RowList::iterator as arg, adjust.
9317 (rowBreakPoint): adjust
9318 (breakAgainOneRow): make it take a RowList::iterator as arg,
9320 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9322 * bufferview_funcs.C (toggleAndShow): adjust
9324 2003-03-30 John Levon <levon@movementarian.org>
9328 * boost-inst.C: moved to support
9330 * several files: changes as a result
9332 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9334 * text2.C (LyXText): adjust.
9336 (removeRow): make it take a RowList::iterator as arg, adjust.
9337 (fullRebreak): adjust
9338 (deleteEmptyParagraphMechanism): adjust
9339 (clearPaint): adjust
9342 * text.C (top_y): adjust
9343 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9344 (breakAgain): make it take a RowList::iterator as arg, adjust.
9345 (breakParagraph): adjust
9346 (insertChar): adjust
9349 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9350 need_break_row, and refresh_row.
9352 * text3.C (dispatch): adjust
9354 * text2.C (checkParagraph): adjust
9356 (setCursorFromCoordinates): adjust
9358 * text.C (top_y): adjust
9360 (getRow): make it return a RowList::iterator, adjust
9361 (getRowNearY): make it return a RowList::iterator, adjust
9363 * text2.C (init): adjust
9364 (insertRow): remove function
9365 (insertParagraph): adjust
9366 (redoParagraphs): adjust
9367 (fullRebreak): adjust
9368 (updateCounters): adjust
9370 * text.C (top_y): rewrite to use RowList iterators.
9372 (setHeightOfRow): rewrite to sue RowList iterators.
9373 (appendParagraph): adjust
9374 (breakAgain): adjust
9375 (breakAgainOneRow): adjust
9376 (breakParagraph): adjust
9378 (getRowNearY): adjust, and remove commented code.
9380 * lyxtext.h (firstRow): delete function
9381 (lastRow): delete function
9382 (rows): new function (const and non-const versions.)
9383 (insertRow): delete function
9385 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9387 2003-03-29 John Levon <levon@movementarian.org>
9389 * BufferView_pimpl.C: always update scrollbar top
9390 because pasting text when we're anchored could mean we
9391 miss an update altogether
9393 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9395 * text2.C (init): use rowlist_.end() and not 0.
9396 (insertRow): change to take a RowList::iterator as arg, adjust
9398 (insertParagraph): change to take a RowList::iterator as arg,
9400 (redoParagraphs): remove some debug msgs.
9402 * text.C (appendParagraph): change to take a RowList::iterator
9403 arg, adjust for this.
9404 (breakAgain): add an assert
9405 (breakAgainOneRow): ditto
9407 2003-03-29 John Levon <levon@movementarian.org>
9409 * text2.C: do not clear selection after inc/decDepth
9412 2003-03-29 John Levon <levon@movementarian.org>
9415 * buffer.C: fix broken strerrors according to Lars
9417 2003-03-29 John Levon <levon@movementarian.org>
9419 * converters.C: more Alert cleanups
9421 2003-03-29 John Levon <levon@movementarian.org>
9423 * bufferview_funcs.C: remove pointless Alert
9425 * buffer.C: fix confusing error message when
9426 a template is chmoded 000
9428 2003-03-29 John Levon <levon@movementarian.org>
9432 * BufferView_pimpl.C: Alert fixes
9436 * tabular-old.C: remove unused table compat reading
9438 2003-03-29 John Levon <levon@movementarian.org>
9443 * lyx_cb.C: more Alert cleanups
9445 * lyxfunc.C: don't allow chktex if not latex document
9447 2003-03-29 John Levon <levon@movementarian.org>
9451 * buffer.C: warnings pushed down from support/,
9454 2003-03-29 John Levon <levon@movementarian.org>
9456 * lyxfunc.C: safety check for C-r (revert)
9458 2003-03-29 John Levon <levon@movementarian.org>
9461 * bufferlist.C: several UI fixes using Alert::prompt.
9462 Fix the pointless looping quit code. Fix stupid revert
9467 * lyx_cb.C: use Alert::prompt
9469 * lyx_main.C: remove a silly question
9471 * lyxfunc.C: remove a couple of silly questions,
9474 2003-03-28 John Levon <levon@movementarian.org>
9476 * text2.C: fix bug 974 (End on empty par)
9478 2003-03-28 John Levon <levon@movementarian.org>
9480 * BufferView_pimpl.C:
9482 * lfuns.h: remove do-nothing math greek lfuns
9484 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9486 * lyxgluelength.h (isValidGlueLength): add default arg on
9487 parameter 2. Remove default arg from friend in class.
9489 * lyxlength.h (isValidLength): add default arg on parameter 2.
9490 Remove default arg from friend in class.
9492 * text2.C (LyXText): adjust, initialize refresh_row.
9496 (insertParagraph): adjst
9497 (redoParagraphs): adjust
9498 (fullRebreak): adjust
9499 (updateCounters): adjust
9500 (deleteEmptyParagraphMechanism): first attempt at fixing a
9503 * text.C (top_y): adjust
9504 (setHeightOfRow): adjust
9506 (getRowNearY): adjust
9508 * lyxtext.h: include RowList.h
9509 (~LyXText): not needed anymore, deleted.
9510 (firstRow): modify for RowList
9511 (lastRow): new function
9512 Delete firstrow and lastrow class variables, add a Rowlist
9513 rowlist_ class variable.
9515 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9518 * RowList.C (insert): fix case where it == begin().
9520 2003-03-26 Angus Leeming <leeming@lyx.org>
9522 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9523 the thesaurus dialog.
9525 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9527 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9529 * RowList.[Ch]: new files
9531 * ParagraphList.C (erase): handle the case where it == begin
9534 2003-03-25 John Levon <levon@movementarian.org>
9538 * aspell.C: add new aspell support
9541 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9544 2003-03-25 Angus Leeming <leeming@lyx.org>
9547 * LyXAction.C (init): new LFUN_INSET_INSERT.
9549 * BufferView_pimpl.C (dispatch): split out part of the
9550 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9552 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9555 2003-03-25 Angus Leeming <leeming@lyx.org>
9557 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9559 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9562 * text3.C: remove useless row->height(0)
9564 2003-03-25 John Levon <levon@movementarian.org>
9568 * text3.C: rename the refreshing stuff to better names
9570 2003-03-24 John Levon <levon@movementarian.org>
9572 * BufferView_pimpl.h:
9573 * BufferView_pimpl.C: update layout choice on a mouse
9576 2003-03-23 John Levon <levon@movementarian.org>
9578 * Makefile.am: fix commandtags.h reference
9580 2003-03-22 John Levon <levon@movementarian.org>
9582 * BufferView_pimpl.C:
9587 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9589 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9592 * text.C: take the rtl methods out of line
9594 2003-03-21 André Pönitz <poenitz@gmx.net>
9596 * metricsinfo.[Ch]: new files containing structures to be passed around
9597 during the two-phase-drawing...
9599 2003-03-21 André Pönitz <poenitz@gmx.net>
9601 * lyxtextclass.C: read 'environment' tag.
9603 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9605 * text2.C (removeRow): fix bug 964
9607 2003-03-20 John Levon <levon@movementarian.org>
9611 * text2.C: paint cleanups. Inset::update() dropped font
9614 2003-03-19 John Levon <levon@movementarian.org>
9616 * lyxfunc.C: only fitcursor/markDirty if available()
9618 2003-03-19 John Levon <levon@movementarian.org>
9620 * commandtags.h: rename to ...
9622 * lfuns.h: ... this, and renumber / cleanup
9624 2003-03-19 John Levon <levon@movementarian.org>
9626 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9627 fit the cursor after an lfun
9631 * BufferView_pimpl.h:
9632 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9634 * LyXAction.C: layout-character should have ReadOnly
9636 * ParagraphParameters.C:
9638 * bufferview_funcs.C:
9645 * undo_funcs.C: changes from above
9647 2003-03-18 John Levon <levon@movementarian.org>
9649 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9650 remove it from update()
9652 * lyxfunc.C: update layout choice after an lfun
9654 * text3.C: remove extra updateLayoutChoice()s
9656 2003-03-18 John Levon <levon@movementarian.org>
9658 * text.C: top_y change means full repaint, fix
9659 a drawing bug with cursor movement
9661 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9665 * text2.C: anchor row on setCursor
9667 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9669 * lyxtext.h: remove almost all mutable keywords
9672 * text3.C: remove const keywords accordingly
9674 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9676 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9678 (TeXEnvironment): ditto
9681 2003-03-17 John Levon <levon@movementarian.org>
9683 * text.C (rowBreakPoint): remove attempt to fix displayed
9684 math insets inside a manual label
9686 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9688 * lyxtext.h: remove BufferView* as first arg from almost all class
9690 * other files: adjust.
9692 2003-03-17 John Levon <levon@movementarian.org>
9696 * text2.C: more paint cleanups
9698 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9701 * rowpainter.C: remove "smart" background painting code
9703 2003-03-16 John Levon <levon@movementarian.org>
9708 * text3.C: add helper functions for setting refresh_row/y
9710 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9712 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9713 newline inset which *can* get inserted in the pass_thru layouts.
9714 This is primarily for literate documents.
9716 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9718 * buffer.C: increment LYX_FORMAT to 223
9720 2003-03-14 André Pönitz <poenitz@gmx.net>
9722 * textclass.h: prepare for environment handling, ws changes
9723 * lyxlayout.C: read latexheader and latexfooter tags
9725 2003-03-14 John Levon <levon@movementarian.org>
9727 * text2.C: rewrite ::status() a bit
9729 2003-03-13 John Levon <levon@movementarian.org>
9731 * lyxtext.h: add some docs
9733 2003-03-13 John Levon <levon@movementarian.org>
9738 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9740 2003-03-13 John Levon <levon@movementarian.org>
9742 * text3.C: fix appendix redrawing
9744 2003-03-13 John Levon <levon@movementarian.org>
9746 * text.C (setHeightOfRow):
9748 * rowpainter.C: make appendix mark have the text
9749 "Appendix" so the user knows what it is
9752 * LColor.C: s/appendixline/appendix/ from above
9754 2003-03-13 John Levon <levon@movementarian.org>
9756 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9758 * text.C: fix a getChar(pos) bug properly
9760 2003-03-13 Angus Leeming <leeming@lyx.org>
9763 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9764 Probably only temporary. Let's see how things pan out.
9766 * BufferView.C (unlockInset):
9767 * BufferView_pimpl.C (fitCursor):
9768 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9770 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9771 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9773 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9774 new functions that convert ParagraphParameters to and from a string.
9776 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9777 BufferView::Pimpl's dispatch.
9778 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9780 2003-03-13 André Pönitz <poenitz@gmx.net>
9784 * factory.C: make it aware of InsetEnv
9786 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9788 * text2.C (setCursor): never ask for one past last
9789 (setCursor): add some debugging messages.
9791 * text.C (singleWidth): never ask for one past last
9792 (singleWidth): ditto
9794 (rightMargin): ditto
9795 (rowBreakPoint): ditto
9796 (setHeightOfRow): ditto
9797 (prepareToPrint): ditto
9799 * rowpainter.C (paintBackground): never ask for one past last
9800 (paintText): never ask for one past last
9802 * paragraph_pimpl.C (getChar): make the assert stricter, never
9803 allow the one past last pos to be taken
9805 * paragraph.C (getChar): ws changes only
9807 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9808 (numberOfSeparators): ditto
9809 (numberOfHfills): ditto
9811 2003-03-12 John Levon <levon@movementarian.org>
9817 * paragraph_funcs.C: fix per-buffer authorlists
9819 2003-03-12 John Levon <levon@movementarian.org>
9821 * text.C: fix newline in right address
9823 2003-03-12 Angus Leeming <leeming@lyx.org>
9825 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9826 duplicate those in LyXFunc::dispatch.
9830 * ToolbarDefaults.C:
9831 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9832 Add LFUN_FONTFREE_UPDATE.
9834 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9835 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9837 * bufferview_func.[Ch]: several new functions to facilliate
9838 transfer of data to and from the character dialog.
9840 2003-03-12 John Levon <levon@movementarian.org>
9845 * paragraph_funcs.C:
9846 * paragraph_pimpl.C:
9850 * text3.C: remove META_NEWLINE in favour of an inset
9853 * rowpainter.C: remove paintNewline (done by inset)
9855 2003-03-12 John Levon <levon@movementarian.org>
9857 * paragraph_pimpl.C: complain about bad getChar()s
9858 for a while at least
9860 2003-03-12 John Levon <levon@movementarian.org>
9863 * buffer.C: move paragraph read into a separate function,
9864 a little renaming to reflect that.
9867 * bufferparams.C: remove the author_ids map, not necessary now
9870 * factory.C: moved Buffer::readInset to here
9872 * paragraph_funcs.h:
9873 * paragraph_funcs.C: readParagraph free function moved from
9876 * tabular.C: name change
9878 2003-03-12 John Levon <levon@movementarian.org>
9881 * ParagraphParameters.C: move par params input to
9884 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9885 behave like a normal read from the stream wrt reading
9886 a line vs. a \\token
9888 2003-03-12 John Levon <levon@movementarian.org>
9891 * ParagraphParameters.h:
9892 * ParagraphParameters.C: move output code to a
9895 2003-03-12 John Levon <levon@movementarian.org>
9897 * BufferView.C (insertLyXFile):
9900 * tabular.C: use a parlist iterator for creating the
9903 2003-03-12 John Levon <levon@movementarian.org>
9905 * buffer.C: make current_change static local not
9908 2003-03-12 John Levon <levon@movementarian.org>
9910 * buffer.C: fix insertStringAsLines for change tracking
9912 2003-03-12 John Levon <levon@movementarian.org>
9919 * bufferparams.C: move author list into params. Rename some
9920 functions. Move the header reading into a separate token
9921 loop. Move the header token reading into BufferParams.
9923 2003-03-12 John Levon <levon@movementarian.org>
9925 * changes.C: put debug inside lyxerr.debugging() checks
9927 2003-03-11 André Pönitz <poenitz@gmx.net>
9929 * factory.C: make it aware of InsetHFill
9931 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9933 * buffer.C (latexParagraphs): move function from here...
9934 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9937 2003-03-10 Angus Leeming <leeming@lyx.org>
9939 * LyXAction.C (init): fix bug in poplating array with multiple entries
9940 with the same LFUN (spotted by JMarc).
9942 2003-03-10 John Levon <levon@movementarian.org>
9945 * text2.C: move getColumnNearX() near its
9948 2003-03-10 John Levon <levon@movementarian.org>
9950 * text.C: fix break before a minipage
9952 2003-03-10 John Levon <levon@movementarian.org>
9954 * text.C: fix the last commit
9956 2003-03-09 John Levon <levon@movementarian.org>
9960 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9961 bug 365 (don't break before insets unless needed). Don't
9962 return a value > last under any circumstances.
9964 2003-03-09 Angus Leeming <leeming@lyx.org>
9966 * BufferView_pimpl.C (trackChanges, dispatch): call
9967 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9969 2003-03-09 Angus Leeming <leeming@lyx.org>
9971 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9972 than Dialogs::showAboutlyx().
9974 2003-03-09 Angus Leeming <leeming@lyx.org>
9976 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9977 than Dialogs::showTabularCreate().
9979 2003-03-09 John Levon <levon@movementarian.org>
9983 * text2.C: 3rd arg to nextBreakPoint was always the same.
9986 2003-03-08 John Levon <levon@movementarian.org>
9993 * text2.C: Remove the "main" bit from the "main body"
9996 2003-03-08 John Levon <levon@movementarian.org>
9998 * text.C (leftMargin): The left margin of an empty
9999 manual label paragraph should not include the label width
10002 * text.C (prepareToPrint): don't attempt to measure hfills
10003 for empty manual label paragraphs - the answer should be 0
10005 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10007 * CutAndPaste.C: remove commented code and reindent.
10009 2003-03-08 John Levon <levon@movementarian.org>
10012 * lyxfunc.C: move reloadBuffer()
10015 * BufferView.C: to here
10017 * lyxvc.C: add comment
10020 * vc-backend.C: call bv->reload() to avoid
10021 getStatus() check on MENURELOAD
10023 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
10025 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
10026 to an old format .dep file.
10028 2003-03-07 Angus Leeming <leeming@lyx.org>
10030 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
10031 when the LFUN_MOUSE_RELEASE should have been handled by
10032 inset->localDispatch.
10034 2003-03-07 Angus Leeming <leeming@lyx.org>
10036 * BufferView_pimpl.C (dispatch):
10037 * LyXAction.C (init):
10038 * ToolbarDefaults.C (init):
10040 * lyxfunc.C (getStatus):
10041 remove LFUN_INSET_GRAPHICS.
10043 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
10045 2003-03-07 Angus Leeming <leeming@lyx.org>
10048 * LyXAction.C (init):
10049 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
10051 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
10054 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
10056 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
10057 localDispatch method LFUN_INSET_DIALOG_UPDATE.
10059 2003-03-07 Angus Leeming <leeming@lyx.org>
10061 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
10064 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10066 * ParagraphList.C (front): new function
10069 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
10071 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
10072 and top_row_offset_. removed var first_y.
10074 * text2.C (LyXText, removeRow):
10076 * BufferView_pimpl.C:
10077 use these methods instead of using first_y
10079 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10081 * text2.C (pasteSelection): adjust for checkPastePossible
10083 * CutAndPaste.C: remove Paragraph * buf and replace with
10084 ParagraphList paragraphs.
10085 (DeleteBuffer): delete
10086 (cutSelection): change the tc type to textclass_type
10087 (copySelection): change the tc type to textclass_type
10088 (copySelection): adjust for ParagraphList
10089 (pasteSelection): change the tc type to textclass_type
10090 (pasteSelection): adjust for Paragraphlist
10091 (nrOfParagraphs): simplify for ParagraphList
10092 (checkPastePossible): simplify for ParagraphList
10093 (checkPastePossible): remove unused arg
10095 * ParagraphList.C (insert): handle the case where there are no
10098 * CutAndPaste.h: make CutAndPaste a namespace.
10100 * text3.C (dispatch): adjust
10102 * text.C (breakParagraph): add a ParagraphList as arg
10104 * paragraph_funcs.C (breakParagraph): change to take a
10105 BufferParams and a ParagraphList as args.
10106 (breakParagraphConservative): ditto
10107 (mergeParagraph): ditto
10108 (TeXDeeper): add a ParagraphList arg
10109 (TeXEnvironment): ditto
10112 * buffer.C (readLyXformat2): adjust
10113 (insertStringAsLines): adjust
10114 (latexParagraphs): adjust
10116 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
10117 (cutSelection): adjust
10118 (pasteSelection): adjust
10120 * BufferView_pimpl.C (insertInset): adjust
10122 2003-03-05 Angus Leeming <leeming@lyx.org>
10125 * LyXAction.C (init):
10126 * BufferView_pimpl.C (dispatch):
10127 * lyxfunc.C (getStatus):
10128 remove LFUN_CHILD_INSERT.
10130 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
10132 2003-03-05 Angus Leeming <leeming@lyx.org>
10135 * LyXAction.C (init):
10136 * src/factory.C (createInset):
10137 * lyxfunc.C (getStatus):
10138 * text3.C (dispatch):
10139 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
10141 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
10143 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10145 * ParagraphList.C (insert): handle insert right before end()
10146 (erase): fix cases where it can be first or last paragraph.
10148 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10150 * paragraph_funcs.C (TeXEnvironment): remove all usage of
10151 Paragraph::next and Paragraph::previous
10154 * text.C (breakParagraph): adjust
10156 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
10157 BufferParams& as arg.
10158 (breakParagraph): use ParagraphList::insert
10159 (breakParagraphConservative): take a Buffer* instead of a
10160 BufferParams& as arg.
10161 (breakParagraphConservative): use ParagraphList::insert.
10163 * buffer.C (insertStringAsLines): un-const it
10164 (insertStringAsLines): adjust
10166 * ParagraphList.C (insert): new function
10168 * CutAndPaste.C (pasteSelection): adjust
10170 * text.C (backspace): adjust
10172 * tabular.C (SetMultiColumn): adjust
10174 * CutAndPaste.C (cutSelection): adjust
10175 (pasteSelection): adjust
10177 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
10178 Buffer const * as arg
10180 * ParagraphList.C (erase): new function
10181 * paragraph_funcs.C (mergeParagraph): use it
10182 (mergeParagraph): make it take a Buffer* instead of a
10183 BufferParams* as arg
10185 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10187 (breakParagraphConservative): ditto
10189 * paragraph.h: remove the breakParagraph friend
10191 * paragraph.C (eraseIntern): new function
10192 (setChange): new function
10194 * paragraph_funcs.C (mergeParagraph): make it take a
10195 ParagraphList::iterator instead of a Paragraph *, adjust
10198 * paragraph.h: move an #endif so that the change tracking stuff
10199 also works in the NO_NEXT case.
10201 2003-03-04 Angus Leeming <leeming@lyx.org>
10204 * LyXAction.C: new LFUN_INSET_MODIFY.
10206 * BufferView_pimpl.C (dispatch): if an inset is found to be open
10207 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10209 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10211 * several files: ws changes only
10213 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10214 (TeXEnvironment): ditto
10217 * buffer.C (makeLaTeXFile): adjust
10218 (latexParagraphs): make it take ParagraphList::iterator as args
10220 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
10222 * buffer.C (latexParagraphs): adjust
10224 * paragraph.C (TeXOnePar): move function...
10225 (optArgInset): move function...
10226 (TeXEnvironment): move function...
10227 * paragraph_pimpl.C (TeXDeeper): move function...
10228 * paragraph_funcs.C: ...here
10230 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10232 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10234 * buffer.C (readInset): remove compability code for old Figure and
10237 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10239 * buffer.C: ws changes
10242 * BufferView_pimpl.C: ditto
10245 * bufferlist.h: ditto
10249 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
10251 * converter.[Ch]: split into itself +
10254 * Makefile.am: += graph.[Ch] + format.[Ch]
10261 * lyxrc.C: added #include "format.h"
10263 2003-02-27 Angus Leeming <leeming@lyx.org>
10265 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10268 * factory.C (createInset): add "label" to the factory.
10270 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10271 string and do no more.
10273 2003-02-27 Angus Leeming <leeming@lyx.org>
10276 * LyXAction.C (init):
10277 * factory.C (createInset):
10278 * BufferView_pimpl.C (dispatch):
10279 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10281 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10283 * lyxfunc.C (dispatch):
10284 * text3.C (dispatch): pass name to params2string.
10286 2003-02-26 Angus Leeming <leeming@lyx.org>
10288 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10290 Rearrange the ~includes. Strip out the unnecessary ones.
10292 * factory.C (createInset): reformat.
10293 create new insets for the various LFUN_XYZ_APPLY lfuns.
10295 2003-02-26 John Levon <levon@movementarian.org>
10298 * lyxrow.C: add isParStart,isParEnd helpers
10300 * paragraph.h: make isInserted/DeletedText take refs
10302 * paragraph_funcs.h:
10303 * paragraph_funcs.C: remove #if 0'd code
10308 * text.C: use lyxrow helpers above.
10309 Move draw and paint routines to RowPainter.
10310 Make several methods use refs not pointers.
10311 Make backgroundColor() const.
10312 Add markChangeInDraw(), isInInset().
10313 Merge changeRegionCase into changeCase.
10314 Make workWidth() shouldn't-happen code into an Assert.
10317 * rowpainter.C: new class for painting a row.
10320 * vspace.C: make inPixels take a ref
10322 2003-02-26 Angus Leeming <leeming@lyx.org>
10324 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10327 2003-02-25 John Levon <levon@movementarian.org>
10329 * ispell.C: give the forked command a more accurate name
10331 2003-02-22 John Levon <levon@movementarian.org>
10334 * toc.C: make TocItem store an id not a Paragraph *
10337 2003-02-21 Angus Leeming <leeming@lyx.org>
10339 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10340 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10341 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10342 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10343 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10344 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10346 * BufferView_pimpl.C (dispatch):
10347 * LyXAction.C (init):
10348 * factory.C (createInset):
10349 * lyxfunc.C (getStatus, dispatch):
10350 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10352 2003-02-21 Angus Leeming <leeming@lyx.org>
10354 * BufferView_pimpl.C (MenuInsertLyXFile):
10355 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10356 * lyxfunc.C (menuNew, open, doImport):
10357 no longer pass a LyXView & to fileDlg.
10359 2003-02-21 Angus Leeming <leeming@lyx.org>
10361 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10362 * LyXAction.C: change, BIBKEY to BIBITEM.
10363 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10364 Change InsetBibKey to InsetBibitem.
10365 Change BIBKEY_CODE to BIBITEM_CODE.
10366 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10367 * factory.C: replace insetbib.h with insetbibitem.h.
10368 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10369 * paragraph.C: replace insetbib.h with insetbibitem.h.
10370 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10371 Change bibkey() to bibitem().
10372 * text.C: remove insetbib.h.
10373 * text2.C: replace insetbib.h with insetbibitem.h.
10374 change bibkey() to bibitem().
10375 * text3.C: remove insetbib.h.
10376 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10378 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10380 * lyxrc.C (output): enclose user email in quotes (in case there are
10383 2003-02-18 John Levon <levon@movementarian.org>
10385 * buffer.h: add std::
10387 2003-02-17 John Levon <levon@movementarian.org>
10393 * pspell.C: reworking. Especially in ispell, a large
10394 number of clean ups and bug fixes.
10396 * lyxfunc.C: fix revert to behave sensibly
10398 2003-02-17 André Pönitz <poenitz@gmx.net>
10401 * commandtags.h: new LFUN_INSERT_BIBKEY
10411 * paragraph_func.C: remove special bibkey handling
10413 2003-02-17 John Levon <levon@movementarian.org>
10415 * text.C (Delete): fix case where delete at the end of
10416 the very first paragraph would not merge the pars
10418 2003-02-17 John Levon <levon@movementarian.org>
10420 * lyxrow.C: fix lastPrintablePos()
10422 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10424 * bufferparams.C (writeLaTeX): add a std:here
10426 * buffer.C: and remove a using directive there
10428 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10430 * buffer.C (makeLaTeXFile): move the code that generates the
10433 * bufferparams.C (writeLaTeX): ... in this new method
10435 * LaTeXFeatures.C (getEncodingSet): make const
10436 (getLanguages): make const
10438 * MenuBackend.C (binding): returns the binding associated to this
10440 (add): sets the status of each item by calling getStatus. Adds
10442 (read): add support for OptSubMenu
10443 (expand): remove extra separator at the end of expanded menu
10445 2003-02-15 John Levon <levon@movementarian.org>
10448 * BufferView_pimpl.C:
10450 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10451 inset code that had no actual effect. Remove unneeded status
10454 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10456 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10459 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10461 * text.C (drawLengthMarker): also draw an arrow marker for
10462 symbolic lengths (medskip...)
10464 2003-02-14 John Levon <levon@movementarian.org>
10467 * tabular.C: better method names
10469 2003-02-14 John Levon <levon@movementarian.org>
10471 * BufferView_pimpl.C:
10476 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10477 it's a more accurate name. Remove some pointless uses.
10479 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10481 * text2.C (LyXText): change order of initilizers to shut off
10484 2003-02-14 John Levon <levon@movementarian.org>
10486 * buffer.C: use ParIterator for getParFromID()
10490 * paragraph_pimpl.h:
10491 * paragraph_pimpl.C: remove unused getParFromID()
10493 2003-02-14 John Levon <levon@movementarian.org>
10495 * buffer.C: remove some very old #if 0'd parse code
10497 2003-02-13 John Levon <levon@movementarian.org>
10501 * text2.C: move hfillExpansion(), numberOfSeparators(),
10502 rowLast(), rowLastPrintable(), numberofHfills(),
10503 numberOfLabelHfills() ...
10506 * lyxrow.C: ... to member functions here.
10511 * text.C: remove LyXText::beginningOfMainBody(), and call
10512 p->beginningOfMainBody() directly. Move the check for
10513 LABEL_MANUAL into the latter.
10520 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10526 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10527 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10529 2003-02-13 John Levon <levon@movementarian.org>
10531 * CutAndPaste.C: remove debug
10533 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10535 * paragraph.C (asString): remove two unused variables
10537 * lyxtextclass.C (readTitleType):
10539 (LyXTextClass): handle new members titletype_ and titlename_
10541 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10543 2003-02-09 John Levon <levon@movementarian.org>
10546 * buffer.C: replace hand-coded list with a map for the dep clean
10548 2003-02-08 John Levon <levon@movementarian.org>
10550 * LaTeX.C: consolidate code into showRunMessage() helper
10552 2003-02-08 John Levon <levon@movementarian.org>
10557 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10558 and pass the size in explicitly
10560 * BufferView_pimpl.h:
10561 * BufferView_pimpl.C:
10563 * BufferView.C: add getCurrentChange()
10565 * BufferView_pimpl.h:
10566 * BufferView_pimpl.C: handle change lfuns
10568 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10569 for changes. Mark pasted paragraphs as new.
10571 * support/lyxtime.h:
10572 * support/lyxtime.C:
10573 * DepTable.C: abstract time_t as lyx::time_type
10576 * LColor.C: add colours for new text, deleted text, changebars
10578 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10579 package use "usenames" option.
10583 * LyXAction.C: add change lfuns
10587 * author.C: author handling
10590 * buffer.C: add a per-buffer author list, with first entry as
10591 current author. Handle new .lyx tokens for change tracking. Output
10592 author list to .lyx file. Output dvipost stuff to .tex preamble.
10593 Bump lyx format to 222.
10596 * bufferlist.C: add setCurrentAuthor() to reset current author details
10600 * bufferparams.C: add param for tracking
10602 * bufferview_funcs.C: output change info in minibuffer
10606 * changes.C: add change-tracking structure
10609 * debug.C: add CHANGES debug flag
10612 * lyxfind.C: add code for finding the next change piece
10615 * lyxrc.C: add user_name and user_email
10618 * lyxrow.C: add a metric for the top of the text line
10621 * text.C: implement accept/rejectChange()
10624 * text.C: paint changebars. Paint new/deleted text in the chosen
10625 colours. Strike through deleted text.
10629 * paragraph_pimpl.h:
10630 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10631 in the current change to the insert functions. Rework erase to
10632 mark text as deleted, adding an eraseIntern() and a range-based
10633 erase(). Implement per-paragraph change lookup and
10636 * paragraph_funcs.C: Fixup paste for change tracking.
10638 * tabular.C: mark added row/columns as new.
10640 * text.C: fix rowLast() to never return -1. Don't allow
10641 spellchecking of deleted text. Track transpose changes. Don't
10642 allow paragraph break or merge where appropriate.
10644 * text2.C: leave cursor at end of selection after a cut.
10646 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10648 * text.C (getLengthMarkerHeight):
10649 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10650 visible on screen too.
10652 2003-02-07 John Levon <levon@movementarian.org>
10654 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10656 2003-02-05 Angus Leeming <leeming@lyx.org>
10658 * lyxserver.C (read_ready): revert my patch of 11 September last year
10659 as it sends PC cpu through the roof. Presumably this means that
10660 the lyxserver will no longer run on an Alpha...
10662 2003-01-30 Angus Leeming <leeming@lyx.org>
10664 * factory.C (createInset): create an InsetCommandParam of type "index"
10665 and use it to 'do the right thing'.
10667 * text2.C (getStringToIndex): ensure that cursor position is always
10668 reset to the reset_cursor position.
10670 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10672 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10675 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10679 * lyxfunc.C: Output messages with identical spelling, punctuation,
10682 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10684 * MenuBackend.C (expandFormats): List only viewable export formats
10687 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10690 * lyxfunc.C (getStatus): Make sure that formats other than
10691 "fax" can also be disabled
10693 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10695 * text3.C (dispatch): put the lfuns that insert insets in 3
10696 groups, and call doInsertInset with appropriate arguments.
10697 (doInsertInset): new function, that creates an inset and inserts
10698 it according to some boolean parameters.
10700 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10702 * buffer.C (readFile): remember to pass on 'par' when calling
10703 readFile recursively.
10705 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10707 * MenuBackend.C (expandFormats): add "..." to import formats.
10709 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10711 * paragraph.C (asString): Remove XForms RTL hacks.
10713 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10714 * buffer.C: fix typo
10716 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10718 * Makefile.am (LIBS): delete var
10719 (lyx_LDADD): add @LIBS@ here instead.
10721 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10723 * Clarify the meaning of "wheel mouse jump"
10725 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10727 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10730 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10732 * importer.C (Loaders): do not preallocate 3 elements in the
10733 vector, since one ends up with 6 elements otherwise
10735 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10737 * DepTable.C (write): write the file name as last element of the
10738 .dep file (because it may contain spaces)
10739 (read): read info in the right order
10741 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10743 * paragraph_pimpl.C (simpleTeXBlanks):
10744 (simpleTeXSpecialChars):
10745 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10747 * tabular.C (latex): add some missing case statements. Reindent.
10749 * MenuBackend.C (expandToc): remove unused variable.
10751 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10760 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10763 2003-01-05 John Levon <levon@movementarian.org>
10766 * BufferView.C: add getEncoding()
10769 * kbsequence.C: do not store last keypress
10772 * lyxfunc.C: store last keypress here instead. Pass encoding
10775 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10777 * lyx_main.C (init): remove annoying error message when following
10778 symbolic links (bug #780)
10780 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10782 * text.C (insertChar):
10783 * lyxrc.C (getDescription): remove extra spaces
10785 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10787 * lyxrc.C (getDescription): remove extra spaces
10789 2002-12-20 John Levon <levon@movementarian.org>
10791 * text3.C: hack fix for page up/down across tall rows
10793 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10795 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10798 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10800 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10801 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10802 thesaurus is not compiled in
10804 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10806 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10808 2002-12-16 Angus Leeming <leeming@lyx.org>
10811 * lyx_main.C (init): remove override_x_deadkeys stuff.
10813 2002-12-12 John Levon <levon@movementarian.org>
10815 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10816 insert. Only remove shift modifier under strict
10819 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10821 * MenuBackend.C (expandToc): fix crash.
10823 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10825 * MenuBackend.C (expandToc): gettext on float names.
10827 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10829 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10830 implement bool empty() [bug 490]
10832 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10834 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10836 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10838 * several files: ws changes
10840 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10842 * text2.C (setCounter): clean up a bit, use boost.format.
10843 (updateCounters): initialize par upon declaration.
10845 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10846 if the layout exists. We do not just store the layout any more.
10847 (SwitchLayoutsBetweenClasses): use boost.format
10849 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10851 * converter.C (convert): if from and to files are the same, use a
10852 temporary files as intermediary
10854 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10857 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10859 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10861 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10863 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10865 * tabular.C (asciiPrintCell): use string(size, char) instead of
10868 * sgml.C (openTag): fix order of arguments to string constructor
10871 * lyxfunc.C (dispatch): use boost.format
10873 * lots of files: change "c" -> 'c'
10875 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10877 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10879 2002-11-25 Angus Leeming <leeming@lyx.org>
10881 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10883 * lyx_main.C (init): compile fix.
10885 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10887 * lyx_cb.C (start): boost.formatify
10888 do not include <iostream>
10890 * lengthcommon.C: ws only
10892 * boost-inst.C,BoostFormat.h: add more explict instantations
10894 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10896 * lots of files: handle USE_BOOST_FORMAT
10898 2002-11-21 John Levon <levon@movementarian.org>
10900 * pspell.C: fix compile
10902 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10904 * lyxfunc.C (dispatch): use boost::format
10908 * lyxfont.C (stateText): use boost::format
10910 * lyx_main.C (LyX): use boost::format
10912 (queryUserLyXDir): ditto
10913 (readRcFile): ditto
10915 (typedef boost::function): use the recommened syntax.
10917 * importer.C (Import): use boost::format
10919 * debug.C (showLevel): use boost::format
10921 * converter.C (view): use boost::format
10926 * bufferview_funcs.C (currentState): use boost::format
10928 * bufferlist.C (emergencyWrite): use boost::format
10930 * buffer.C (readLyXformat2): use boost::format
10931 (parseSingleLyXformat2Token): ditto
10933 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10935 * LaTeX.C (run): use boost::format
10937 * Chktex.C (scanLogFile): use boost::format
10939 * BufferView_pimpl.C (savePosition): use boost::format
10940 (restorePosition): ditto
10941 (MenuInsertLyXFile): ditto
10943 * BoostFormat.h: help file for explicit instation.
10945 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10947 * tabular.C (latex): Support for block alignment in fixed width
10950 2002-11-17 John Levon <levon@movementarian.org>
10952 * BufferView_pimpl.C:
10954 * lyxfunc.C: split filedialog into open/save
10956 2002-11-08 Juergen Vigna <jug@sad.it>
10958 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10959 by my last patch (hopefully).
10961 2002-11-08 John Levon <levon@movementarian.org>
10970 * toc.C: ParConstIterator, and use it (from Lars)
10972 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10974 * lyxtextclass.[Ch]: revise and add doxygen comments
10976 2002-11-07 John Levon <levon@movementarian.org>
10978 * text.C: fix progress value for spellchecker
10980 * toc.C: fix navigate menu for insetwrap inside minipage
10982 * paragraph_funcs.C: added FIXME for suspect code
10984 2002-11-07 John Levon <levon@movementarian.org>
10986 * BufferView_pimpl.C: fix redrawing of insets
10989 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10991 * text2.C (updateCounters): fix bug 668
10993 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10995 * text3.C (dispatch): Do not make the buffer dirty when moving the
10998 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
11000 * vc-backend.C: STRCONV
11001 (scanMaster): ditto
11003 * text2.C (setCounter): STRCONV
11005 * paragraph.C (asString): STRCONV
11007 * lyxlength.C (asString): STRCONV
11008 (asLatexString): ditto
11010 * lyxgluelength.C (asString): STRCONV
11011 (asLatexString): ditto
11013 * lyxfunc.C (dispatch): STRCONV
11016 * lyxfont.C (stateText): STRCONV
11018 * importer.C (Import): STRCONV
11020 * counters.C (labelItem): STRCONV
11021 (numberLabel): ditto
11022 (numberLabel): remove unused ostringstream o
11027 * bufferview_funcs.C (currentState): STRCONV
11029 * buffer.C (readFile): STRCONV
11030 (asciiParagraph): ditto
11031 (makeLaTeXFile): ditto
11033 * Spacing.C (writeEnvirBegin): STRCONV
11035 * LaTeXFeatures.C (getLanguages): STRCONV
11036 (getPackages): ditto
11038 (getBabelOptions): ditto
11039 (getTClassPreamble): ditto
11040 (getLyXSGMLEntities): ditto
11041 (getIncludedFiles): ditto
11045 (scanAuxFile): ditto
11048 * LString.h: add the STRCONV macros
11050 * BufferView_pimpl.C (savePosition): STRCONV
11051 (restorePosition): ditto
11052 (MenuInsertLyXFile): ditto
11054 * vc-backend.C (scanMaster): change from submatch[...] to
11057 * funcrequest.C: include config.h
11059 * factory.C: include config.h
11061 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
11063 * box.C: include config.h
11065 * LaTeX.C (scanAuxFile): change from submatch[...] to
11069 2002-10-25 Angus Leeming <leeming@lyx.org>
11071 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
11073 * ispell.[Ch] (setError): new method.
11074 * ispell.C (c-tor): move out child process into new class LaunchIspell.
11075 Use setError() insetead of goto END.
11077 * lyx_cb.C (AutoSave): move out child process into new class
11080 2002-10-30 John Levon <levon@movementarian.org>
11082 * text3.C: make start appendix undoable
11084 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
11086 * lyxlength.C (inPixels): Fix returned value.
11088 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
11091 2002-10-24 Angus Leeming <leeming@lyx.org>
11093 * lyxgluelength.h: no need to forward declare BufferParams
11094 or BufferView, so don't.
11096 2002-10-21 John Levon <levon@movementarian.org>
11098 * BufferView.C: menuUndo ->undo, redo
11100 * BufferView.h: document, remove dead, make some methods private
11102 * paragraph_funcs.h:
11103 * paragraph_funcs.C:
11104 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
11109 * sgml.C: move sgml open/close tag into sgml.C
11111 * bufferview_funcs.h: unused prototype
11114 * lyxfunc.C: remove unused
11117 * text.C: remove unused
11119 2002-10-21 John Levon <levon@movementarian.org>
11123 * BufferView_pimpl.h:
11124 * BufferView_pimpl.C: fix mouse wheel handling based on
11125 patch from Darren Freeman
11127 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
11129 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
11131 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
11133 * lyxlength.C (inPixels): Fix hanfling of negative length.
11134 Fix LyXLength::MU case.
11136 2002-10-16 John Levon <levon@movementarian.org>
11138 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
11140 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11142 * converter.C (view): add support for $$i (file name) and $$p
11143 (file path) for the viewer command. If $$i is not specified, then
11144 it is appended to the command (for compatibility with old syntax)
11146 2002-10-14 Juergen Vigna <jug@sad.it>
11148 * undo_funcs.C (textHandleUndo): alter the order in which the
11149 new undopar is added to the LyXText, as we have to set first
11150 the right prev/next and then add it as otherwise the rebuild of
11151 LyXText is not correct. Also reset the cursor to the right paragraph,
11152 with this IMO we could remove the hack in "redoParagraphs()".
11154 2002-10-09 Angus Leeming <leeming@lyx.org>
11156 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
11157 to turn off an optimisation if a new inset is to be inserted.
11159 2002-10-11 André Pönitz <poenitz@gmx.net>
11161 * lyxtext.h: make some functions public to allow access
11162 from inset/lyxtext for handling LFUN_PRIOR/NEXT
11164 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11166 * text3.C (dispatch): when changing layout, avoid an infinite loop
11169 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11171 * lyxrc.C (read): treat a viewer or converter command of "none" as
11174 * MenuBackend.C (expandFormats): for an update, also allow the
11175 formats that are not viewable
11177 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
11178 script if it is newer than the lyxrc.defaults in user directory
11180 2002-10-07 André Pönitz <poenitz@gmx.net>
11182 * text.C: Vitaly Lipatov's small i18n fix
11184 2002-09-25 Angus Leeming <leeming@lyx.org>
11186 * ispell.h: doxygen fix.
11188 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
11190 * buffer.h (readFile): Add a new argument to the method, to allow
11191 reading of old-format templates.
11193 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
11195 * toc.C (getTocList): Get TOC from InsetWrap.
11197 2002-09-16 John Levon <levon@movementarian.org>
11199 * lyxfunc.C: check tabular for cut/copy too
11201 2002-09-12 John Levon <levon@movementarian.org>
11203 * LyXAction.C: tidy
11206 * factory.C: add header
11208 * paragraph_funcs.h:
11209 * paragraph_funcs.C: cleanup
11211 2002-09-11 John Levon <levon@movementarian.org>
11213 * PrinterParams.h: odd/even default to true
11215 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
11217 * PrinterParams.h: update printer parameters for new xforms dialog
11219 2002-09-11 Angus Leeming <leeming@lyx.org>
11221 * lyxserver.C (read_ready): re-write to make it more transparent
11222 and to make it work in coherent fashion under Tru64 Unix.
11224 2002-09-11 André Pönitz <poenitz@gmx.net>
11228 * text3.C: implement LFUN_WORDSEL
11230 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11232 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11233 make floatlist_ a boost::shared_ptr<FloatList>
11235 * lyxtextclass.C: include FloatList.h
11236 (LyXTextClass): initialize floatlist_
11237 (TextClassTags): add TC_NOFLOAT
11238 (Read): match "nofloat" to TC_NOFLOAT and use it.
11239 (readFloat): modify call to floatlist_
11243 * FloatList.[Ch] (FloatList): remove commented out float
11245 (erase): new function
11247 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11249 * MenuBackend.C (expandToc): fix crash when there is no document
11252 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
11254 * many files: Add insetwrap.
11256 2002-09-09 John Levon <levon@movementarian.org>
11258 * text2.C: remove confusing and awkward depth wraparound
11260 2002-09-09 John Levon <levon@movementarian.org>
11262 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11265 * buffer.C: remove getIncludeonlyList()
11268 * lyxfunc.C: remove headers
11270 2002-09-09 Juergen Vigna <jug@sad.it>
11272 * text.C (getColumnNearX): fix form Michael this is most
11273 probably a cut&paste bug.
11275 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
11277 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11279 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11280 references, ws changes.
11282 * text2.C (init): update counters after init
11283 (insertParagraph): no need to set counter on idividual paragraphs.
11284 (setCounter): access the counters object in the textclass object
11285 on in the buffer object.
11286 (updateCounters): ditto
11288 * lyxtextclass.C: include counters.h, add variable ctrs_ as
11289 shared_ptr<Counters> to avoid loading counters.h in all
11291 (LyXTextClass): initialize ctrs_
11292 (TextClassTags): add TC_COUNTER, and ...
11293 (Read): use it here.
11294 (CounterTags): new tags
11295 (readCounter): new function
11296 (counters): new funtion
11297 (defaultLayoutName): return a const reference
11299 * counters.C (Counters): remove contructor
11300 (newCounter): remove a couple of unneeded statements.
11301 (newCounter): simplify a bit.
11302 (numberLabel): some small formatting changes.
11304 * buffer.[Ch]: remove all traces of counters, move the Counters
11305 object to the LyXTextClass.
11307 2002-09-06 Alain Castera <castera@in2p3.fr>
11309 * tabular.C: uses \tabularnewline; uses >{...} construct from array
11310 package to set the horizontal alignment on fixed width columns.
11313 * lyx_sty.h: added tabularnewline macro def.
11315 * LaTeXFeatures.C: added NeedTabularnewline macro feature
11317 2002-09-06 John Levon <levon@movementarian.org>
11319 * LyXAction.C: tooltips for sub/superscript
11321 * MenuBackend.C: a bit more verbose
11323 * lyxfunc.C: tiny clean
11325 * undo_funcs.C: document undo_frozen
11327 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
11329 * counters.C (Counters): add missing algorithm counter.
11331 * text2.C (setCounter): lookup the counter with layouts latexname
11332 instead of by section number.
11333 (setCounter): use a hackish way to lookup the correct enum
11335 a float name->type change
11336 reset enum couners with counter name directly instead of depth value.
11338 * counters.C (Counters): remove the push_backs, change to use the
11339 float type not the float name.
11340 (labelItem): remove unused string, float name->type change
11342 * counters.h: don't include vector, loose the enums and sects vectors
11344 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
11346 * lyxtextclass.C (TextClassTags): add TC_FLOAT
11347 (Read): add float->TC_FLOAT to textclassTags
11348 (Read): and handle it in the switch
11349 (readFloat): new function
11351 * FloatList.C (FloatList): comment out the hardcoded float
11354 * lyxlayout.h: ws change.
11356 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
11358 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11360 2002-09-03 Angus Leeming <leeming@lyx.org>
11362 * BufferView_pimpl.h: qualified name is not allowed in member
11363 declaration: WorkArea & Pimpl::workarea() const;
11365 * factory.C: added using std::endl directive.
11367 * text3.C: added using std::find and std::vector directives.
11369 2002-08-29 André Pönitz <poenitz@gmx.net>
11372 * text2.C: remove unused member number_of_rows
11375 * BufferView2.C: remove file, move contents to...
11376 * BufferView.C: ... here
11378 * BufferView_pimpl.C:
11379 * factory.C: move more inset creation to factory
11381 * vspace.C: avoid direct usage of LyXText, ws changes
11384 don't provide direct access to WorkArea, use two simple
11385 acessors haveSelction() and workHeight() instead
11388 2002-08-29 John Levon <levon@movementarian.org>
11390 * BufferView_pimpl.C (dispatch): do not continue when
11393 2002-08-28 André Pönitz <poenitz@gmx.net>
11395 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11398 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11400 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
11402 * buffer.C: increment LYX_FORMAT to 221
11404 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11405 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11407 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11409 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11411 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11413 * factory.C (createInset): use LyXTextClass::floats
11415 * MenuBackend.C (expandFloatListInsert):
11416 (expandFloatInsert):
11419 * text2.C (setCounter):
11421 * LaTeXFeatures.C (useFloat):
11422 (getFloatDefinitions):
11424 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11426 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11427 floatlist_, with accessor floats().
11429 * FloatList.h: remove global FloatList
11431 2002-08-26 André Pönitz <poenitz@gmx.net>
11433 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11437 * BufferView_pimpl.C:
11438 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11440 2002-08-25 John Levon <levon@movementarian.org>
11442 * LyXAction.C: fix margin note description
11444 2002-08-24 John Levon <levon@movementarian.org>
11448 * bufferview_funcs.C:
11450 * undo_funcs.C: cleanups
11452 * lyxfunc.C: disable CUT/COPY when no selection
11454 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11456 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11457 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11459 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11460 Add backward compatibility to "mono", "gray" and "no".
11462 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11464 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11465 (and file_format >= 200).
11467 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11469 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11471 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11473 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11475 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11477 * BufferView_pimpl.C:
11484 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11485 inset and code to make it work with the paragraph code. The inset
11486 can be anywhere in the paragraph, but will only do the expected
11487 thing in LaTeX if the layout file contains the parameter line
11489 (or more generally, a nonzero value) for that layout.
11491 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11493 * paragraph.h: remove the declaration of undefined counters class
11496 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11498 * text2.C (setCounter): fixed enumeration mis-count as reported by
11499 Dr. Richard Hawkins.
11501 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11503 * paragraph_funcs.h: remove some unneeded includes
11505 * text.C (backspace): pasteParagraph now in global scipe
11507 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11508 (pasteSelection): ditto
11510 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11511 * paragraph_funcs.C (pasteParagraph): ... here
11513 2002-08-20 André Pönitz <poenitz@gmx.net>
11515 * commandtags.h: new LFUNs for swapping/copying table row/colums
11518 * lyxfunc.C: support for new lfuns
11520 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11523 * buffer.[Ch]: remove NO_COMPABILITY stuff
11525 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11527 * boost.C (throw_exception): new file, with helper function for
11528 boost compiled without exceptions.
11533 * ParameterStruct.h:
11534 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11536 * bufferlist.C (emergencyWriteAll): use boost bind
11538 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11540 * text.C: include paragraph_funcs.h
11541 (breakParagraph): breakParagraph is now in global scope
11543 * paragraph_funcs.[Ch]: new files
11545 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11548 * buffer.C: include paragraph_funcs.h
11549 (insertStringAsLines): breakParagraph is now in global scope
11551 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11554 * CutAndPaste.C: include paragraph_funcs.h
11555 (cutSelection): breakParagraphConservative is now in global scope
11556 (pasteSelection): ditto
11558 * buffer.h: declare oprator== and operator!= for
11559 Buffer::inset_iterator
11561 * bufferlist.C (emergencyWrite): don't use fmt(...)
11563 * text3.C: add using std::endl
11565 * BufferView.C (moveCursorUpdate): remove default arg
11567 2002-08-20 André Pönitz <poenitz@gmx.net>
11569 * buffer.[Ch]: move inline functions to .C
11572 * BufferView_pimpl.C:
11574 * buffer.[Ch]: use improved inset_iterator
11577 * paragraph.[Ch]: write one paragraph at a time
11579 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11581 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11582 style if style is not specified.
11584 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11586 * text2.C (setCounter): when searching for right label for a
11587 caption, make sure to recurse to parent insets (so that a caption
11588 in a minipage in a figure float works) (bug #568)
11590 2002-08-20 André Pönitz <poenitz@gmx.net>
11592 * text3.C: new file for LyXText::dispatch() and helpers
11594 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11596 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11598 2002-08-19 André Pönitz <poenitz@gmx.net>
11601 * text.C: new LyXText::dispatch()
11603 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11605 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11607 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11609 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11612 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11614 * Makefile.am: use $(variables) instead of @substitutions@
11616 2002-08-15 André Pönitz <poenitz@gmx.net>
11619 * BufferView_pimpl.C: streamlining mathed <-> outer world
11623 * LyXAction.C: remove unused LFUN_MATH
11625 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11627 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11629 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11631 * paragraph.C (Paragraph): reformat a bit
11632 (cutIntoMinibuffer): use builtin InsetList function instad of
11636 * buffer.C: include boost/bind.hpp, add using std::for_each
11637 (writeFileAscii): use ParagraphList iterators
11638 (validate): use for_each for validate traversal of paragraphs
11639 (getBibkeyList): use ParagraphList iterators
11640 (resizeInsets): use for_each to resizeInsetsLyXText for all
11642 (getParFromID): use ParagraphList iterators
11644 * BufferView2.C (lockInset): use paragraph list and iterators
11646 2002-08-14 John Levon <levon@movementarian.org>
11648 * lyxserver.C: remove spurious xforms include
11650 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11652 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11654 2002-08-13 André Pönitz <poenitz@gmx.net>
11657 * lyxfunc.C: further cleaning
11659 2002-08-13 André Pönitz <poenitz@gmx.net>
11661 * funcrequest.h: new constructor
11663 * funcrequest.C: move stuff here from .h
11666 * BufferView_pimpl.C:
11669 * lyxfunc.C: subsequent changes
11671 * lyxfunc.h: new view() member function
11673 * lyxfunc.C: subsequent changes
11675 2002-08-13 Angus Leeming <leeming@lyx.org>
11678 * BufferView_pimpl.C:
11686 changes due to the changed LyXView interface that now returns references
11687 to member variables not pointers.
11689 2002-08-13 Angus Leeming <leeming@lyx.org>
11691 * WordLangTuple (word, lang_code): return references to strings,
11696 * lyxtext.h: forward-declare WordLangTuple.
11701 * text.C: #include "WordLangTuple.h".
11704 * text.C: (selectNextWordToSpellcheck): constify return type.
11706 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11712 * paragraph_pimpl.h:
11715 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11716 suggested by Angus.
11717 Made updateCounter always count from start of buffer, and removed
11718 second argument (par).
11719 Reverted floats number display to '#'. Perhaps I'll try again when the
11720 code base is sanitized a bit.
11722 2002-08-12 Angus Leeming <leeming@lyx.org>
11724 * buffer.[Ch] (getLabelList): constify.
11726 2002-08-07 André Pönitz <poenitz@gmx.net>
11728 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11730 * funcrequest.h: extension to keep mouse (x,y) position
11732 2002-08-12 Juergen Vigna <jug@sad.it>
11734 * BufferView2.C (insertErrors): forbid undo when inserting error
11737 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11739 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11741 * ParagraphList.[Ch]: new files
11743 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11745 * BufferView2.C (lockInset): ParagraphList changes
11748 * bufferlist.C: ditto
11752 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11754 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11755 unused class variable counter_,
11757 * paragraph.[Ch] (getFirstCounter): delete unused function
11759 * counters.C: include LAssert.h
11760 (reset): add a new function with no arg, change other version to
11761 not have def. arg and to not allow empty arg.
11763 * text2.C (setCounter): remove empty arg from call to Counters::reset
11765 2002-08-11 John Levon <levon@movementarian.org>
11767 * Makefile.am: add WordLangTuple.h
11769 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11771 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11772 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11774 * insets/insettext.C: InsetList changes
11776 * graphics/GraphicsSupport.C (operator()): InsetList changes
11778 * toc.C (getTocList): InsetList changes
11780 * paragraph_pimpl.[Ch]: InsetList changes
11782 * paragraph.[Ch]: InsetList changes
11784 * buffer.C (inset_iterator): InsetList changes
11785 (setParagraph): ditto
11786 * buffer.h (inset_iterator): ditto
11787 * iterators.C (operator++): ditto
11788 * iterators.h: ditto
11790 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11792 * InsetList.[Ch]: new files, most InsetList handling moved out of
11795 * BufferView2.C (removeAutoInsets): InsetList changes
11797 (ChangeInsets): ditto
11799 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11801 * paragraph_pimpl.h (empty): new function
11803 * paragraph.[Ch] (empty): new function
11805 * other files: use the new Paragraph::empty function
11807 2002-08-09 John Levon <levon@movementarian.org>
11809 * lyxtext.h: remove unused refresh_height
11811 2002-08-09 John Levon <levon@movementarian.org>
11818 * paragraph.C: move sgml char escaping out of paragraph
11821 * paragraph.C: remove id setter
11825 * paragraph_pimpl.C: remove dead tex_code_break_column
11827 * bufferview_funcs.C: small cleanup
11829 * lyxfunc.C: remove dead proto
11831 * lyxtext.h: make some stuff private. Remove some dead stuff.
11833 * lyxgluelength.C: make as[LyX]String() readable
11835 2002-08-08 John Levon <levon@movementarian.org>
11840 * ToolbarDefaults.C:
11843 * toc.C: lyxaction cleanup
11845 2002-08-08 John Levon <levon@movementarian.org>
11847 * BufferView2.C: small cleanup
11850 * lyxfind.C: move unnecessary header into the .C
11852 2002-08-08 John Levon <levon@movementarian.org>
11854 * funcrequest.h: just tedious nonsense
11857 * lyx_main.C: cleanups
11860 * vspace.C: remove dead header lyx_main.h
11862 2002-08-07 Angus Leeming <leeming@lyx.org>
11865 * paragraph_pimpl.h:
11866 Forward declare class Counters in paragraph.h by moving the ctrs member
11867 variable into Paragraph::Pimpl.
11868 (counters): new method, returning a reference to pimpl_->ctrs.
11870 * text2.C: ensuing changes.
11872 2002-08-07 John Levon <levon@movementarian.org>
11874 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11876 * BufferView_pimpl.C: announce X selection on double/triple
11879 * lyx_main.C: use correct bool in batch dispatch
11881 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11883 2002-08-07 André Pönitz <poenitz@gmx.net>
11885 * funcrequest.h: new class to wrap a kb_action and its argument
11888 * BufferView_pimpl[Ch]:
11892 * lyxrc.C: subsequent changes
11895 2002-08-07 John Levon <levon@movementarian.org>
11897 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11898 document options change.
11900 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11905 * makefile.am: move counters functionality over from
11906 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11908 2002-08-06 John Levon <levon@movementarian.org>
11910 * WordLangTuple.h: new file for word + language code tuple
11921 * BufferView2.C: use WordLangTuple
11924 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11926 2002-08-06 John Levon <levon@movementarian.org>
11928 * lyx_main.C: fix cmdline batch handling
11930 2002-08-06 André Pönitz <poenitz@gmx.net>
11932 * lyxrc.C: set default for show_banner to true
11934 2002-08-06 John Levon <levon@movementarian.org>
11936 * pspell.C: fix a crash, and allow new aspell to work
11938 2002-08-06 John Levon <levon@movementarian.org>
11941 * kbmap.C: small cleanup
11944 * vspace.C: add const
11946 2002-08-05 John Levon <levon@movementarian.org>
11948 * LyXAction.C: back to tabular-insert
11950 2002-08-04 John Levon <levon@movementarian.org>
11953 * BufferView.C: cosmetic change
11955 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11965 * BufferView2.C: purge all "Lyx" not "LyX" strings
11968 * lyxcursor.C: attempt to add some documentation
11973 * ToolbarDefaults.C:
11974 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11975 merge with LFUN_TABULAR_INSERT
11982 * pspell.C: split up i/pspell implementations into separate
11983 files, many cleanups
11985 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11987 * text2.C: some cleanup
11989 * lyxfunc.C: don't check for isp_command == "none" any more, it
11990 didn't make any sense
11992 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11997 * makefile.am: move counters functionality over
11998 from text2.C/paragraph.[Ch] to counters.[Ch], and
12000 2002-08-02 John Levon <levon@movementarian.org>
12002 * buffer.C: s/lyxconvert/lyx2lyx/
12004 2002-08-02 Angus Leeming <leeming@lyx.org>
12006 * lyxlex.C: revert John's change as it breaks reading of the user
12009 2002-08-02 Angus Leeming <leeming@lyx.org>
12011 * importer.C (Import):
12012 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
12013 changes due to LyXView::view() now returning a boost::shared_ptr.
12015 2002-08-02 John Levon <levon@movementarian.org>
12017 * lyxlex.C: small cleanup
12019 2002-08-02 John Levon <levon@movementarian.org>
12021 * text2.C (status): small cleanup, no logic change
12023 2002-08-01 John Levon <levon@movementarian.org>
12026 * buffer.C (writeFile): don't output alerts, caller
12030 * lyx_cb.C: from above
12032 * lyxfunc.C: allow to open non-existent files
12034 2002-07-31 John Levon <levon@movementarian.org>
12036 * lyxserver.C: don't let incidental errors get
12039 2002-07-30 John Levon <levon@movementarian.org>
12041 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
12043 2002-07-30 John Levon <levon@movementarian.org>
12046 * lyxserver.C: remove I/O callback too
12048 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12050 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
12053 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
12055 * many files: strip,frontStrip -> trim,ltrim,rtrim
12057 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
12059 * PrinterParams.h: remove extern containsOnly, and include
12060 support/lstrings.h instead.
12062 * LaTeX.C (scanAuxFile): modify because of strip changes
12064 * buffer.C (makeLaTeXFile): ditto
12065 * bufferparams.C (writeFile): ditt
12066 * lyxfont.C (stateText): ditto
12067 * lyxserver.C (read_ready): ditto
12068 * vc-backend.C (scanMaster): ditto
12070 * BufferView_pimpl.h: ws changes
12072 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
12074 2002-07-26 André Pönitz <poenitz@gmx.net>
12076 * kb_sequence.C: remove unnedred usings
12078 2002-07-26 Juergen Vigna <jug@sad.it>
12080 * lyxfind.C (LyXReplace): we have to check better if the returned
12081 text is not of theLockingInset()->getLockingInset().
12083 2002-07-25 Juergen Vigna <jug@sad.it>
12085 * lyxfind.C (LyXReplace): don't replace if we don't get the
12088 * undo_funcs.C (createUndo): remove debugging code.
12090 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
12092 * buffer.C (parseSingleLyXformat2Token): Use default placement
12093 when reading old floats.
12095 * FloatList.C (FloatList): Change the default placement of figure
12096 and tables to "tbp".
12098 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
12100 * MenuBackend.C: using std::max
12102 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12104 * MenuBackend.C (expandToc):
12105 (expandToc2): code moved from xforms menu frontend. It is now
12106 generic and TOCs are transparent to menu frontends.
12108 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12110 * toc.C (getTocList): protect against buf=0
12112 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
12113 Menu as first parameter. Now, this calls itself recursively to
12114 expand a whole tree (this will be useful for TOC handling)
12115 (expandFloatInsert): remove 'wide' version of floats
12117 * MenuBackend.h (submenuname): returns the name of the submenu.
12118 (submenu): returns the submenu itself, provided it has been
12119 created by MenuBackend::expand
12121 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12123 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
12124 insets which have noFontChange == true. (bug #172)
12126 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12128 * BufferView_pimpl.C: add connection objects and use them...
12131 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12133 * MenuBackend.C (expandLastfiles):
12136 (expandFloatListInsert):
12137 (expandFloatInsert):
12138 (expand): split expand in parts
12140 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12142 * lyx_gui.C: use lyx_gui::exit()
12144 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12146 * LyXAction.C: show the failing pseudo action
12148 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
12150 * buffer.C (readFile): Run the lyxconvert script in order to read
12153 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12157 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
12159 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12163 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
12165 2002-07-22 Herbert Voss <voss@lyx.org>
12168 * lyxlength.[Ch]: add support for the vertical lengths
12170 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
12172 * toc.[Ch]: std:: fixes
12174 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12176 * lyxrc.C: do not include lyx_main.h
12178 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
12184 * BufferView2.C: include "lyxlex.h"
12187 * bufferparams.h: do not #include "lyxlex.h"
12189 * lyxtextclasslist.C (Add): remove method
12190 (classlist): renamed to classlist_
12192 * paragraph_pimpl.C:
12196 * bufferview_funcs.C:
12201 * toc.C (getTocList): use BufferParams::getLyXTextClass
12203 * toc.C (getTocList): use InsetFloat::addToToc
12205 * toc.[Ch]: new files, containing helper functions to handle table
12208 * lyxfunc.C (dispatch): no need to remove spaces around command
12210 (getStatus): handle LFUN_SEQUENCE by returning the status of the
12211 first command of the sequence; it is not very clever, but I do not
12212 have a better idea, actually
12214 * LyXAction.C (LookupFunc): make sure to remove space at the
12215 beginning and end of the command
12217 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12219 * MenuBackend.C (getMenubar): new method: return the menubar of
12221 (read): treat differently reading of menu and menubar (in
12222 particular, the menubar has no name now)
12223 (Menu::menubar): remove
12225 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12228 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
12230 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12231 a bibitem inset in a RTL paragraph.
12233 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
12235 * paragraph_pimpl.C: constify
12237 * BufferView_pimpl.C:
12239 * lyxfunc.C: fix dispatch in a nicer way
12241 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12243 * lyxfunc.C (dispatch):
12244 * BufferView_pimpl.C:
12245 * BufferView_pimpl.h:
12247 * BufferView.h: rename Dispatch() to dispatch()
12249 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12251 * lyxlayout.C (Read): honor DependsOn tag
12253 * lyxlayout.[Ch] (depends_on): new method
12255 * version.C.in: update lyx_docversion
12257 * LaTeXFeatures.C (getMacros): only define \LyX when needed
12259 * paragraph.C (validate): remove from here...
12260 * paragraph_pimpl.C (validate): ... and move here
12261 (isTextAt): make it const
12263 * buffer.C (getLists): ws cleanup
12265 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
12267 * language.C (read): Use iso8859-1 encoding in latex_lang
12268 (this prevents LyX from crashing when using iso10646-1 encoding).
12270 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12272 * text2.C (toggleInset): if cursor is inside an inset, close the
12273 inset and leave cursor _after_ it
12275 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12277 * lyxfunc.C: move minibuffer completion handling out of here
12279 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12281 * BufferView_pimpl.C:
12282 * LaTeX.C: fix dispatch calls
12284 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
12286 * text.C (drawChars): Fix Arabic text rendering.
12288 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
12292 * lyxfunc.C: remove message-push/pop
12296 * lyxfunc.C: rationalise some code by removing verboseDispatch
12297 in favour of a bool argument to dispatch()
12299 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12301 * lyx_main.C (init): make sure to read symlinks as absolute paths
12303 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12306 * lyxfunc.C: no need for commandshortcut to be a member
12308 2002-07-15 André Pönitz <poenitz@gmx.net>
12310 * converter.C: add support for $$s (scripts from lib/scripts dir)
12311 * lyx_main.C: white space
12313 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12317 * lyxrc.C: remove second exit confirmation
12319 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12324 * BufferView_pimpl.h:
12325 * BufferView_pimpl.C:
12326 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12328 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12330 * MenuBackend.C (expand): add numeric shortcuts to document menu
12332 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12334 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12336 * lyxfont.C (setLyXFamily):
12343 * buffer.C (asciiParagraph): use ascii_lowercase
12345 2002-07-15 Mike Fabian <mfabian@suse.de>
12347 * lyxlex_pimpl.C (search_kw):
12348 * lyxlex.C (getLongString):
12349 * converter.h (operator<):
12350 * converter.C (operator<):
12351 * buffer.C (parseSingleLyXformat2Token):
12353 * ToolbarDefaults.C (read):
12354 * MenuBackend.C (checkShortcuts):
12356 * LColor.C (getFromGUIName):
12357 (getFromLyXName): use the compare_ascii_no_case instead of
12358 compare_no_case, because in turkish, 'i' is not the lowercase
12359 version of 'I', and thus turkish locale breaks parsing of tags.
12361 2002-07-16 Angus Leeming <leeming@lyx.org>
12363 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12364 now takes a Buffer const & argument.
12366 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
12368 * BufferView.C (resize): check there's a buffer to resize
12370 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
12372 * lyxfunc.C: remove dead code
12375 * lyxserver.C: use lyx_guii::set_read_callback
12377 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
12379 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12380 an inset in a RTL paragraph.
12382 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12384 * lyxfunc.C: repaint after a font size update
12386 2002-07-15 André Pönitz <poenitz@gmx.net>
12388 * lyxlength.C: inBP should be able to return negative values
12390 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12392 * lyxfunc.C: use lyx_gui::update_fonts()
12394 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12396 * lyxfunc.C: use lyx_gui::update_color()
12398 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12404 * lyxrc.C: remove file->new asks for name option, and let
12405 buffer-new take an argument
12407 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12409 * BufferView_pimpl.C: remove unneeded extra repaint()
12411 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
12413 * LyXAction.C: allow command-sequence with NoBuffer
12415 * lyxfunc.C: don't insist on trailing ';' for command-sequence
12417 2002-07-10 Angus Leeming <leeming@lyx.org>
12419 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12421 2002-07-09 Angus Leeming <leeming@lyx.org>
12423 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12425 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12427 * lengthcommon.h: whitespace
12429 * lyxfunc.C: update scrollbar after goto paragraph
12431 * lyxtext.h: factor out page break drawing, and fix it so
12432 page break/added space paints as selected nicely
12434 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12436 * BufferView_pimpl.C: add FIXMEs, clean up a little
12438 2002-07-09 André Pönitz <poenitz@gmx.net>
12440 * lyxfont.[Ch]: support for wasy symbols
12442 2002-07-08 André Pönitz <poenitz@gmx.net>
12444 * BufferView_pimpl.C: apply John's patch for #93.
12446 2002-07-05 Angus Leeming <leeming@lyx.org>
12448 * BufferView_pimpl.C (buffer): generate previews if desired.
12450 * LColor.h: add "preview" to the color enum.
12452 * LColor.C (LColor): add a corresponding entry to the items array.
12454 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12457 2002-07-05 Angus Leeming <leeming@lyx.org>
12459 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12460 The body of the code is now in the method that is passed an ostream &
12461 rather than a file name.
12462 Pass an additional only_preamble parameter, useful for the forthcoming
12465 2002-07-03 André Pönitz <poenitz@gmx.net>
12467 * lyxfunc.C: simplify getStatus() a bit for math stuff
12469 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12471 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12473 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12475 * text.C (changeRegionCase): do not change case of all the
12476 document when region ends at paragraph end (bug #461)
12478 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12480 * paragraph.C (startTeXParParams):
12481 (endTeXParParams): add \protect when necessary
12483 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12485 * BufferView_pimpl.C (workAreaExpose): remove warning
12487 2002-06-27 Angus Leeming <leeming@lyx.org>
12489 * Makefile.am: add lyxlayout_ptr_fwd.h.
12491 2002-06-26 André Pönitz <poenitz@gmx.net>
12493 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12495 2002-06-25 Angus Leeming <leeming@lyx.org>
12497 * lyxfunc.C (dispatch): Comment out the call to
12498 grfx::GCache::changeDisplay. The method no longer exists now that the
12499 pixmap generation part of the graphics loader has been moved into
12502 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12504 * text2.C: layout as layout
12506 * text.C: layout as layout
12508 * tabular.C (OldFormatRead): layout as layout
12510 * paragraph_pimpl.C (TeXDeeper): layout as layout
12511 (realizeFont): layout as layout
12513 * paragraph.C (writeFile): layout as layout
12514 (validate): layout as layout
12515 (getFont): layout as layout
12516 (getLabelFont): layout as layout
12517 (getLayoutFont): layout as layout
12518 (breakParagraph): layout as layout
12519 (stripLeadingSpaces): layout as layout
12520 (getEndLabel): layout as layout
12521 (getMaxDepthAfter): layout as layout
12522 (applyLayout): layout as layout
12523 (TeXOnePar): layout as layout
12524 (simpleTeXOnePar): layout as layout
12525 (TeXEnvironment): layout as layout
12526 (layout): layout as layout
12527 (layout): layout as layout
12529 * lyxtextclass.C (compare_name): new functor to work with
12530 shared_ptr, layout as layout
12531 (Read): layout as layout
12532 (hasLayout): layout as layout
12533 (operator): layout as layout
12534 (delete_layout): layout as layout
12535 (defaultLayout): layout as layout
12537 * lyxlayout_ptr_fwd.h: new file
12539 * lyxlayout.C (Read): layout as layout
12541 * lyx_cb.C (MenuInsertLabel): layout as layout
12543 * bufferlist.C (newFile): layout as layout
12545 * buffer.C (readLyXformat2): layout as layout
12546 (parseSingleLyXformat2Token): layout as layout
12547 (insertStringAsLines): layout as layout
12548 (asciiParagraph): layout as layout
12549 (latexParagraphs): layout as layout
12550 (makeLinuxDocFile): layout as layout
12551 (simpleLinuxDocOnePar): layout as layout
12552 (makeDocBookFile): layout as layout
12553 (simpleDocBookOnePar): layout as layout
12554 (getLists): layout as layout
12556 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12558 * CutAndPaste.C (cutSelection): layout as layout
12559 (pasteSelection): layout as layout
12560 (SwitchLayoutsBetweenClasses): layout as layout
12562 * BufferView_pimpl.C (Dispatch): layout as layout
12563 (smartQuote): layout as layout
12565 * BufferView2.C (unlockInset): layout as layout
12567 2002-06-24 André Pönitz <poenitz@gmx.net>
12569 * lyxfunc.C: fix #487
12571 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12575 * lyxfunc.C: remove display_shortcuts, show_banner
12577 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12579 * Buffer_pimpl.C: oops, update on resize
12581 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12588 * BufferView.C: use repaint()
12590 * BufferView_pimpl.h:
12591 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12592 as it's a clearer description. Remove superfluous
12595 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12597 * text.C: fix bug 488. Not ideal, but getting
12598 getWord() to work properly for the insets that
12599 matter is more difficult ...
12601 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12603 * BufferView_pimpl.C:
12606 * lyxfunc.C: remove the six million index lyxfuncs to just
12607 one, and DTRT (bug 458)
12609 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12613 * BufferView_pimpl.h:
12614 * BufferView_pimpl.C: clean up resize() stuff,
12615 and unnecessary updateScreen()s
12617 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12621 * BufferView_pimpl.h:
12622 * BufferView_pimpl.C:
12625 * minibuffer.C: remove focus management of workarea,
12626 not needed. Use screen's greyOut()
12628 2002-06-17 Herbert Voss <voss@lyx.org>
12630 * converter.C: (convert) do not post a message, when converting
12631 fails, let the calling function decide what to do in this case
12633 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12635 * lyxfunc.C: tidy up a little
12637 2002-06-16 <alstrup@diku.dk>
12639 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12640 Got rid of FORMS_H_LOCATION include. Now we are
12643 2002-06-15 LyX Development team <lyx@rilke>
12645 * buffer.[Ch] (sgmlOpenTag):
12646 (sgmlCloseTag): Added support for avoiding pernicious mixed
12647 content. Return number of lines written.
12649 (makeLinuxDocFile):
12650 (makeDocBookFile): Fixed calls to sgml*Tag.
12651 Simple white space clean.
12653 (simpleDocBookOnePar): Simple white space clean.
12655 * tabular.[Ch] (docBook): Renamed to docbook and got another
12656 argument to related with the pernicious mixed content.
12658 (docbookRow): Fixed calls for docbook inset method.
12660 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12662 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12663 so it's X11 independent.
12667 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12669 2002-06-15 Lyx Development team <lyx@electronia>
12671 * intl.h: Renamed getTrans to getTransManager.
12673 2002-06-14 Angus Leeming <leeming@lyx.org>
12675 * Makefile.am: nuke forgotten stl_string_fwd.h.
12677 2002-06-12 Angus Leeming <leeming@lyx.org>
12679 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12681 2002-06-13 Angus Leeming <leeming@lyx.org>
12684 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12686 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12688 * kbmap.C (getiso): add support for cyrillic and greek
12690 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12694 * BufferView_pimpl.h:
12695 * BufferView_pimpl.C: move bogus scrolling logic
12698 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12701 * BufferView_pimpl.C: view->resize() change
12703 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12705 * BufferView_pimpl.C: topCursorVisible
12708 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12712 * lyx_gui.C: move to frontends/
12716 * lyx_main.C: changes from above
12718 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12725 * lyx_main.C: minor tidy
12727 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12729 * BufferView_pimpl.h:
12730 * BufferView_pimpl.C:
12732 * BufferView.C: make painter() const,
12735 * BufferView2.C: use screen() accessor
12738 * lyx_main.C: some minor cleanup
12740 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12742 * BufferView_pimpl.h:
12743 * BufferView_pimpl.C: remove enter/leaveView,
12746 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12751 * BufferView_pimpl.h:
12752 * BufferView_pimpl.C: only construct screen once,
12755 * lyxrc.C: remove pointless comment
12757 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12760 * BufferView.C: remove active() and belowMouse()
12762 * BufferView_pimpl.h:
12763 * BufferView_pimpl.C: use workarea() not workarea_,
12764 and make it use a scoped_ptr instead
12766 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12768 * lyx_gui.C: add debug message on BadWindow
12770 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12772 * sp_spell.C: fdopen is not part of the C++ standard.
12774 * paragraph.C (InsetIterator): use >= instead of ==
12776 2002-06-07 Angus Leeming <leeming@lyx.org>
12778 Fixes needed to compile with Compaq cxx 6.5.
12779 * BufferView_pimpl.C:
12786 * lyxtextclasslist.C:
12791 all c-library variables have been moved into namespace std. Wrap
12792 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12797 Add a using std::abs declaration.
12799 * kbmap.h (modifier_pair):
12800 * paragraph.h (InsetTable, InsetList):
12801 * lyxfont.h (FontBits):
12802 type definition made public.
12804 * bufferlist.C (emergencyWriteAll): the compiler complains that
12805 there is more than one possible lyx::class_fun template to choose from.
12806 I re-named the void specialisation as lyx::void_class_fun.
12808 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12810 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12811 the compiler is is unable to find tostr in write_attribute.
12813 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12815 * buffer.C (sgmlError): hide #warning
12817 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12819 * xtl/*: get rid of xtl, which is not in use anyway
12821 * LyXAction.C (init):
12822 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12823 were unimplemented xtl experimentation
12825 2002-06-04 André Pönitz <poenitz@gmx.net>
12827 * lyxfunc.C: disable array operation on simple formulae
12829 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12831 * converter.C: constify a bit
12833 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12835 * lyx_gui.C: check xforms version correctly
12837 2002-04-30 Herbert Voss <voss@lyx.org>
12839 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12842 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12844 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12845 attempt to register it with a VCS)
12847 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12849 * lyx_main.C (init): honor variables LYX_DIR_13x and
12852 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12856 * lyx_main.C: fix a crash on bad command line,
12857 and give a useful exit status on error
12859 * lyxfunc.C (doImport): allow -i lyx to work
12861 2002-03-30 André Pönitz <poenitz@gmx.net>
12863 * lyxfunc.C: mathed font changes
12865 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12880 * trans_mgr.h: srcdocs, and some minor cleanups
12882 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12884 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12885 call getFont all the time)
12887 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12889 * switch from SigC signals to boost::signals
12891 2002-05-29 André Pönitz <poenitz@gmx.net>
12893 * paragraph_pimpl.C (getChar): don't call size() too often...
12895 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12897 * paragraph_pimpl.C (insertChar): do not try to update tables when
12898 appending (pos == size())
12900 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12901 in order to reduce drastically the number of comparisons needed to
12902 parse a large document
12904 2002-05-29 André Pönitz <poenitz@gmx.net>
12910 * textclasslist.[Ch]:
12911 * sp_ispell.h: whitespace change
12913 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12915 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12916 lyxaction directly now.
12918 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12922 * lyxvc.C: remove unused headers
12924 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12931 * undo_funcs.C: some cleanups. Use shared_ptr
12932 and a template for the undo stacks.
12934 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12936 * BufferView_pimpl.h:
12937 * BufferView_pimpl.C:
12944 * text2.C: use key_state/mouse_state
12946 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12948 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12951 * chset.C: change include order
12952 (loadFile): use boost regex and get rid of LRegex and LSubstring
12954 * Makefile.am (BOOST_LIBS): new variable
12955 (lyx_LDADD): use it
12957 * LaTeX.C: change include order.
12958 (scanAuxFile): use boost regex and get rid of LRegex and
12962 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12967 * FontInfo.C: moved to frontends/xforms/
12970 * FontLoader.C: moved into frontends for GUIIzation
12975 * lyxfunc.C: changes from above
12977 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12979 * LColor.C: remove spurious X include
12981 * BufferView_pimpl.C:
12986 * text2.C: move font metrics to frontends/
12988 2002-05-24 Juergen Vigna <jug@sad.it>
12990 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12991 setting the undo_cursor.
12993 * ParagraphParameters.h: include local includes first.
12995 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12997 * BufferView_pimpl.C:
12998 * BufferView_pimpl.h:
13002 * screen.C: move WorkArea into frontends/
13008 * BufferView2.C: move LyXScreen into frontends/
13012 * lyx_gui.C: move lyxlookup into frontends/xforms/
13014 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
13017 * BufferView_pimpl.C:
13027 * bufferview_funcs.C:
13040 * vc-backend.C: move LyX/XFormsView into frontends/
13042 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
13054 * text2.C: move Painter to frontends/
13056 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
13058 * buffer.C: comment out some some code that depend upon lyx_format
13061 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
13062 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
13064 * buffer.h (NO_COMPABILITY): turn off compability
13066 * ColorHandler.C: include scoped_array.hpp
13068 * font.C: Use more specific smart_ptr header.
13071 * ShareContainer.h: ditto
13072 * lyx_main.h: ditto
13074 * FontInfo.h: ditto
13075 * BufferView_pimpl.h: ditto
13076 * ColorHandler.h: ditto
13078 * kbmap.C (defkey): change call to shared_ptr::reset
13080 2002-05-21 Juergen Vigna <jug@sad.it>
13082 * buffer.C (insertErtContents): fix to insert ert asis if it is
13083 non empty. Skip it completely if it contains only whitespaces.
13085 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
13087 * BufferView_pimpl.C:
13088 * BufferView2.C: clear selection on paste (bug 393)
13090 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13092 * DepTable.C: include ctime
13094 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
13096 * buffer.C (latexParagraphs): Add new argument (moving_arg).
13098 2002-05-14 Juergen Vigna <jug@sad.it>
13100 * text.C (breakParagraph): fixed function to honor the keepempty
13101 layout in the right maner and also to permit the right breaking
13102 algorithm on empty or non empyt keepempty paragraphs.
13104 * paragraph.C (breakParagraph): we have to check also if the par
13105 is really empty (!size()) for isempty otherwise we do the wrong
13108 2002-05-10 Juergen Vigna <jug@sad.it>
13110 * buffer.[Ch] : The following are only changes to the ert
13111 compatibility read reading old LaTeX layout and font stuff and
13112 convert it to ERTInsets.
13114 * buffer.h: added isErtInset().
13116 * buffer.C (struct ErtComp): add a fromlayout bool to check
13117 if we're inside a LaTeX layout.
13118 (isErtInset): new helper function.
13119 (insertErtContents): look for other ert insets before this one
13120 and insert the contents there, so that we don't have subsequent
13121 ERT insets with nothing between them. This way we create only one
13122 inset with multiple paragraphs. Also check if we don't insert only
13123 spaces ' ' as they are ignored anyway afterwards in the .tex file
13124 so if we have only spaces we will ignore this latex part in the
13126 (parseSingleLyXformat2Token \\layout): better compatibility when
13127 reading layout-latex stuff.
13128 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
13130 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
13131 stuff after reading the inset only get the information back from
13134 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
13136 * buffer.C (makeLaTeXFile): Put language options after loading babel.
13138 * LaTeXFeatures.C (getBabelOptions): New method.
13140 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13142 * BufferView_pimpl.C (Dispatch): work around missing argument for
13145 2002-05-08 Juergen Vigna <jug@sad.it>
13147 * text.C (leftMargin): handle paragraph leftindent.
13149 * paragraph.C (writeFile): write the new \\leftindent tag.
13150 (validate): handle leftindent code.
13151 (TeXEnvironment): handle paragraphleftindent code again.
13153 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
13155 * buffer.C (parseSingleLyXformat2Token): added compatibility code
13156 for paragrap_extra indent code and new token \\leftindent.
13157 (latexParagraphs): handle the leftindent as environment.
13159 * ParameterStruct.h: added leftindent support.
13161 * ParagraphParameters.C (leftIndent): added support functions for
13162 the paragraph left indent.
13164 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
13167 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
13169 * paragraph.C (isRightToLeftPar): Return false for a paragraph
13172 * text.C (computeBidiTables): No bidi in insetERT.
13174 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
13177 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13179 * version.C.in: pre 5
13181 2002-05-02 José Matos <jamatos@fep.up.pt>
13182 * buffer.C (makeDocBookFile): white space changes, add newline to
13184 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13186 * tabular.C (docBook): fix typo.
13188 2002-05-03 Juergen Vigna <jug@sad.it>
13190 * screen.C (drawFromTo): recalculate the rowpointer if we had a
13191 change in LyXText as we can not be sure it was not freed.
13192 (drawOneRow): remove unused code.
13194 * text.C (drawInset): redo the calculation of the need_break_row as
13195 it could have a row which was already freed.
13196 (draw): look at the return value of drawInset and return false if
13197 it also returned false.
13198 (paintRowText): look at the return value of draw and return false if
13199 it also returned false.
13201 * lyxtext.h: added bool return type to drawInset() and draw() so that
13202 if we have a change in the row so that the rowbreak has to be redone
13203 we abort drawing as it will be called again.
13205 2002-05-02 Juergen Vigna <jug@sad.it>
13207 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13208 a change in the maintext also if we're inside an inset.
13209 (Dispatch): set the cursor again after a break line and after the
13210 screen has been updated as it could be we're in a different row.
13212 * text2.C (fixCursorAfterDelete): check to make sure we don't request
13213 to set the cursor behind the pargraph with > size().
13214 (setCursor): check also for the same paragraph when checking where
13215 to put the cursor if we have a NFR inset.
13217 * buffer.C (parseSingleLyXformat2Token): move the compatibility
13218 parts of layout read further up as it still was in the wrong
13221 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13223 * screen.C (drawFromTo): change sine fullRebreak always return
13226 * buffer.C (parseSingleLyXformat2Token): reindent some
13228 * BufferView_pimpl.C (update): change since fullRebreak always
13230 (Dispatch): git rid of the last hardcoded "Standard"s.
13232 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13234 * text2.[Ch] (fullRebreak): make it return void now that we always
13237 2002-04-30 Juergen Vigna <jug@sad.it>
13239 * buffer.C (parseSingleLyXformat2Token): reset the font before the
13240 ert compatibility check for "latex" layout.
13242 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
13244 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13245 minipages: use col% instead of p%, and also use the current font.
13246 (makeLaTeXFile): Fix use babel condition.
13247 (parseSingleLyXformat2Token): Correct font when reading old floats.
13249 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
13251 * BufferView_pimpl.C (Dispatch): Check that float type exists when
13252 inserting list of floats.
13254 2002-04-25 Herbert Voss <voss@lyx.org>
13256 * MenuBackend.C (expand): don't add the graphics extensions to the
13259 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13261 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13262 non-existing layout, do not complain if it was the default layout
13263 of the original class (bug #342)
13265 2002-04-24 Juergen Vigna <jug@sad.it>
13267 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13268 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13270 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
13272 * buffer.C (getBibkeyList): If using \bibliography, return the
13273 option field with the reference itself. Enables us to provide natbib
13274 support when using \bibliography.
13276 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
13278 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13280 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13281 natbib is provided by the LaTeX class.
13283 2002-04-23 Juergen Vigna <jug@sad.it>
13285 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13288 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13290 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13292 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13294 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13295 ensuremath around textordmasculine, textordfeminine and
13298 2002-04-19 Juergen Vigna <jug@sad.it>
13300 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13301 reinitializing the buffer otherwise row-dimensions may be wrong.
13302 (update): reset also the selection cursors if they do exits otherwise
13303 their x/y positions may be wrong.
13305 * text2.C (cursorDown): don't enter the inset if we came from a row
13306 above and are one row over the inset.
13308 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13309 really leaving an inset.
13311 2002-04-18 Juergen Vigna <jug@sad.it>
13313 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13314 of the selected paragraph does not have the selected layout also if
13317 * text2.C (setLayout): fixed bug which did not change last selected
13320 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13321 changed the read and substituted \\end_float with \\end_inset!
13323 * BufferView_pimpl.C (cursorPrevious):
13324 (cursorNext): fixed to make it work with rows heigher than the work
13325 area without moving the cursor only the draw of the row.
13326 (workAreaMotionNotify): fix jumping over high rows.
13328 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13330 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13333 2002-04-16 Juergen Vigna <jug@sad.it>
13335 * text2.C (setCursor): set also the irow().
13336 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13338 (cursorDown): support for locking an inset if the x_fix value goes
13339 inside it. That way I can transverse insets too with cursor up/down.
13341 * lyxrow.h: added irow helper function same as other (i) functions.
13343 * BufferView_pimpl.C (cursorPrevious):
13344 (cursorNext): fixed for insets!
13346 2002-04-15 Juergen Vigna <jug@sad.it>
13348 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13349 position otherwise it is wrong in some cases.
13351 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13352 inside the inset before the call.
13354 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
13356 * buffer.[Ch] (getBibkeyList): make it const.
13358 2002-04-12 Juergen Vigna <jug@sad.it>
13360 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13362 * text2.C (getCursorX): new helper function
13363 (setCursor): compute also ix_
13364 (setCursorFromCoordinates): set also ix.
13366 * lyxcursor.h: added ix_ and helper functions.
13368 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13370 * buffer.C (insertStringAsLines): dont break paragraph if the this
13371 paragraph is inside an inset which does not permit it!
13373 * text.C (breakParagraph): honor keepempty flag and break the paragraph
13374 also with no chars on this paragraph.
13375 (paintRowText): only paint stuff if it's inside the workarea!
13377 * paragraph.C (breakParagraph): honor keepempty flag and break the
13378 paragraph always below not above.
13380 * BufferView2.C (unlockInset): update the paragraph layout on inset
13381 unlock as we changed paragraph in such a case.
13383 * lyxfind.C (LyXFind): clear the former selection if not found!
13385 * text2.C (insertInset): freeze Undo after setUndo so that it is not
13386 again called in insertChar().
13388 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13389 an inset which uses the whole row!
13390 (rightMargin): ditto.
13391 (insertChar): force a rebreak if we inserted an inset!
13393 2002-03-28 Herbert Voss <voss@lyx.org>
13395 * lyxlength.[Ch]: add inBP() to get the right PS-point
13396 units (BigPoint). With inPixels we have rounding errors
13398 2002-04-11 Juergen Vigna <jug@sad.it>
13400 * text2.C (setCursorFromCoordinates): set iy to the right value.
13401 (setCursor): add check if row->previous exists!
13403 * buffer.C (parseSingleLyXformat2Token): reset font after read of
13404 an old float_type as this was the case in the old code!
13406 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13408 * BufferView2.C (showLockedInsetCursor): use iy
13409 (fitLockedInsetCursor): ditto
13411 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13412 locked insets as there we have the right value now.
13414 * lyxcursor.C: added iy_ variable and iy functions to set to the
13415 baseline of cursor-y of the locked inset.
13417 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13418 (setCursor): fixed for insets which need a full row.
13420 * text.C (rowLastPrintable): don't ignore the last space when before
13421 an inset which needs a full row.
13422 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13423 as last character of a row when before a inset which needs a full row.
13425 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13427 * version.C.in: update date
13429 * text2.C (fullRebreak): try to always return true and see what
13432 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13434 * MenuBackend.C (expand): use Floating::listName
13436 * FloatList.C (FloatList): add listName argument to the built-in
13439 * Floating.[Ch]: add listName member, which is the 'List of XXX'
13440 text associated with the float.
13442 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13444 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13446 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13448 * ShareContainer.h: add a couple of missing typenames.
13450 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13452 * lyxrc.C (getDescription): use _() correctly rather than N_().
13454 2002-03-28 Herbert Voss <voss@lyx.org>
13456 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13457 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13459 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13461 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13462 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13464 2002-03-29 Juergen Vigna <jug@sad.it>
13466 * lyxfunc.C (dispatch): add a missing fitCursor call.
13468 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13469 it was scrolled by a cursor move, so return the bool status.
13471 * BufferView.C (fitCursor): return the bool flag also to the outside
13472 world as this is needed.
13474 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13476 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13477 call the edit() as it is not needed (and wrong) IMO.
13478 (workAreaButtonPress): set the screen_first variable before evt.
13479 unlock the inset as this may change screen_first and then we have
13480 a wrong y position for the click!
13482 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13484 * MenuBackend.C (expand): another translation that I missed
13486 2002-03-28 Juergen Vigna <jug@sad.it>
13488 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13490 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13492 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13494 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13496 * MenuBackend.C (expand): fix export/view/update when there is no
13499 2002-03-27 Herbert Voss <voss@lyx.org>
13501 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13504 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13506 * bufferview_funcs.C (currentState): only show paragraph number
13507 for is DEVEL_VERSION is set.
13509 * lyxfunc.C (dispatch): put warning in INFO channel
13511 * MenuBackend.C (expand): translate the name of floats
13513 * FloatList.C (FloatList): mark the float names for translation
13515 * converter.C (convert): use LibScriptSearch
13517 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13519 * MenuBackend.C (defaults): fix default menu (we might as well get
13522 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13524 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13527 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13529 * lyxvc.C: reorder includes.
13531 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13533 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13536 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13538 * CutAndPaste.C: change layouts earlier on paste
13539 to avoid crashing when calling getFont()
13541 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13543 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13546 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13548 * WorkArea.C: remove 'Pending' debug message.
13550 * most files: ws cleanup
13552 * buffer.[Ch]: ws changes
13554 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13556 2002-03-21 Juergen Vigna <jug@sad.it>
13558 * tabular.C (SetMultiColumn): collapse also the contents of the
13559 cells and set the last border right. Added a Buffer const * param.
13561 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13563 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13566 2002-03-19 Juergen Vigna <jug@sad.it>
13568 * text2.C (clearSelection): reset also xsel_cache.
13570 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13571 where it needs to be called (John tells us to do so too :)
13572 (selectionLost): reset sel_cache.
13574 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13576 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13578 * text2.C (setCursorIntern): put debuging code in INSETS channel
13580 2002-03-19 André Pönitz <poenitz@gmx.net>
13582 * lyxfunc.C: tiny whitespace change
13584 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13586 * ToolbarDefaults.C (init):
13587 * LyXAction.C (init):
13589 * BufferView_pimpl.C (Dispatch):
13590 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13592 2002-03-19 Allan Rae <rae@lyx.org>
13594 * exporter.C (Export): removeAutoInsets before doing anything else.
13595 While I've just introduced a dependency on BufferView this really is
13596 the best place to clean the buffer otherwise you need to cleanup in
13597 a dozen places before calling export or cleanup in a dozen functions
13600 * converter.C (runLaTeX):
13601 (scanLog): Better handling of removeAutoInsets and screen updates.
13603 * lyxfunc.C (dispatch): small whitespace changes
13605 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13607 * WorkArea.C (C_WorkAreaEvent): return a value.
13608 (event_cb): return 1 if we handled the event, 0 otherwise.
13610 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13612 2002-03-18 Juergen Vigna <jug@sad.it>
13614 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13615 (GetAdditionalWidth): ditto.
13616 (RightLine): ditto.
13619 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13620 inset if we're there actually (probably not used right now but this
13621 is the direction to go for unifying code).
13622 (paste): disable code to clear the selection.
13624 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13625 inside an InsetText and move the check further up as it is in the
13628 * text2.C (pasteSelection): set a selection over the pasted text.
13630 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13632 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13633 and libgraphics to build on Cygwin.
13635 2002-03-15 Juergen Vigna <jug@sad.it>
13637 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13638 inserting an Inset into the paragraph. I know this is not the best
13639 fix but we already use current_view in CutAndPaste so we will remove
13640 all of it's using at the same time.
13642 * buffer.C (sgmlError): deactivated function till it is rewritten in
13643 the right mode, now it can create problems.
13645 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13646 before accessing it.
13648 2002-03-14 Juergen Vigna <jug@sad.it>
13650 * undo_funcs.C (textHandleUndo): do the right thing when updating
13651 the inset after the undo/redo.
13653 * text2.C (setCursor): just some testcode for #44 not ready yet.
13655 * undo_funcs.C (textHandleUndo): set the next() and previous()
13656 pointers of the paragraph to 0 before deleting otherwise we have
13657 problems with the Paragraph::[destructor].
13659 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13660 on a paragraph insertion.
13662 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13664 * buffer.C (asciiParagraph): use += operator for char append to
13667 * paragraph.C (getFontSettings): compare >= not just >
13668 (highestFontInRange): ditto
13671 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13673 * paragraph.C: change several algorithm to be more appripriate for
13674 the problem domain. This is lookip in FontList and in the InsetList.
13676 2002-03-13 André Pönitz <poenitz@gmx.net>
13679 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13681 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13686 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13688 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13690 * Painter.C (display): anon helper function, adjust code for this
13692 (pixmap): remove function.
13694 * Painter.h: remove private display variable.
13696 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13698 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13700 * WorkArea.[Ch]: remove figinset_canvas cruft.
13702 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13704 * lyxtextclass.C (operator): add one item cache optimization.
13706 * bufferlist.h: doxy changes
13708 * bufferlist.C: ws changes
13710 * DepTable.[Ch] (ext_exist): place const in the right spot.
13712 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13714 (workAreaExpose): call resizeInsets when the with BufferView changes.
13715 (Dispatch): adjust for protectedBlank removal
13716 (specialChar): call updateInset if the insert went ok.
13718 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13719 specialChar instead.
13721 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13723 * BufferView.h: doxy change
13725 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13727 * lyxtextclass.C (operator[]): remove non-const version
13728 (defaultLayout): remove non-const version
13730 2002-03-12 Juergen Vigna <jug@sad.it>
13732 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13733 did resize the LyXText too.
13735 * buffer.C (readLyXformat2): set layout information on newly allocated
13738 * tabular.C (OldFormatRead): set layout information on the paragraph.
13740 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13742 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13744 2002-03-11 Juergen Vigna <jug@sad.it>
13746 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13748 (resizeCurrentBuffer): force also the insets to resize themselfes.
13749 (moveCursorUpdate): fixed up for InsetText.
13751 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13754 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13755 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13756 value of Dialogs::tooltipsEnabled().
13757 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13759 2002-03-08 Juergen Vigna <jug@sad.it>
13761 * BufferView_pimpl.C (updateInset): update inset inside inset also
13762 if it isn't inside theLockingInset().
13764 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13766 * buffer.C (asciiParagraph): redo some of the word and line length
13768 (getLists): look for Caption instead of caption.
13770 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13772 * buffer.C (Buffer): initialize niceFile to true
13774 (makeLinuxDocFile):
13775 (makeDocBookFile): make sure niceFile is true on exit
13777 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13779 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13781 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13783 * LyXSendto.C: remove.
13784 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13785 * lyx_gui.C: remove now-redundant comment.
13786 * ColorHandler.h: remove forward declaration of class WorkArea.
13787 * lyxfunc.C: remove #include "WorkArea.h".
13789 2002-03-07 Juergen Vigna <jug@sad.it>
13791 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13792 got moved away with the DEPM and also set the inset_owner always
13793 right which before could have been omitted.
13795 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13797 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13798 wanted layout is not found.
13800 2002-03-07 Juergen Vigna <jug@sad.it>
13802 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13804 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13806 * paragraph.C (breakParagraph): use default layout not layout of
13808 (Paragraph): clear ParagraphParameters.
13810 2002-03-06 Juergen Vigna <jug@sad.it>
13812 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13813 otherwise it would not be a valid lenght. Fixed a special case in
13814 the minipage compatibility read where we end the document with a
13817 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13818 was set as it could be 0 for InsetTexts first entry.
13820 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13822 * paragraph.C (writeFile): if layout is empty write out
13823 defaultLayoutName().
13825 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13826 file without named layout we set layout to defaultLayoutName().
13828 2002-03-06 Juergen Vigna <jug@sad.it>
13830 * CutAndPaste.C (copySelection): set layout for new paragraph.
13832 * text.C (prepareToPrint): leave ERT inset left aligned
13833 (leftMargin): don't indent paragraphs inside ERT insets
13835 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13837 * paragraph.C (breakParagraph): dont call clear do the work manually
13839 * paragraph.[Ch] (clear): remove function
13841 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13843 * paragraph.C (Paragraph): dont call clear, the work has already
13846 * lyxtextclass.C (operator): assert if n is empty
13848 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13849 work manually instead.
13851 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13853 * BufferView_pimpl.C: protect selectionLost against text == 0
13855 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13857 * text.C (breakParagraph): fix a setting layout to '0' problem.
13859 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13861 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13862 final location of file, for the included files, and graphics.
13864 2002-03-05 Juergen Vigna <jug@sad.it>
13866 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13868 2002-03-04 Juergen Vigna <jug@sad.it>
13870 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13872 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13873 last column of multicolumn cells.
13874 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13876 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13878 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13879 file if it doesn't go to a temporary file.
13881 * buffer.C (sgmlOpenTag):
13882 (sgmlCloseTag): remove extra newline insertion.
13884 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13886 * text.C (getRowNearY): comment out debug msg
13888 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13890 * text2.C: first -> first_y
13892 * text.C (getRowNearY): add some attemts at a possible
13893 optimization, not working.
13895 * tabular.[Ch]: add BufferParams to several function so that newly
13896 created paragraph can be initialized to he default layotu for the
13899 * tabular-old.C (ReadOld): add buf->params to call of Init
13901 * screen.C: rename text->first to text->first_y
13903 * paragraph.C (breakParagraph): always set layout in the broken
13906 * lyxtextclass.C (Read): remove lowercase
13909 (delete_layout): ditto
13911 * lyxtext.h: rename first -> first_y
13913 * lyxlayout.C (Read): remove lowercase
13916 (obsoleted_by): ditto
13918 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13920 * buffer.C (insertErtContents): add params are to InsetERT
13921 (parseSingleLyXformat2Token): add code to check if a paragraphs
13922 layout really exist.
13923 (parseSingleLyXformat2Token): add params to several inset
13925 (asciiParagraph): remove lowercase, do the layout comparisons with
13928 * BufferView_pimpl.C (cursorNext): first -> first_y
13929 (resizeCurrentBuffer): first -> first_y
13930 (updateScrollbar): first -> first_y
13931 (scrollCB): first -> first_y
13932 (workAreaMotionNotify): first -> first_y
13933 (workAreaButtonPress): first -> first_y
13934 (checkInsetHit): first -> first_y
13935 (cursorPrevious): first -> first_y
13936 (cursorNext): first -> first_y
13937 (Dispatch): add buffer_->params to severl inset contructors
13939 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13941 * lyxlayout.C (Read): remove some debug info that I forgot.
13943 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13944 clean up the code slightly.
13945 (makeLinuxDocFile): ditto
13946 (makeDocBookFile): ditto
13948 * text2.C: layout as string
13950 * text.C: layout as string
13952 * paragraph_pimpl.C: layout as string
13954 * paragraph.[Ch]: layout as string
13956 * lyxtextclasslist.[Ch]: layout as string
13958 * lyxtextclass.[Ch]: layout as string
13960 * lyxtext.h: layout as string
13962 * lyxlayout.[Ch]: layout as string
13964 * lyx_cb.C: layout as string
13966 * bufferview_funcs.C: layout as string
13968 * bufferparams.C: layout as string
13970 * buffer.C: layout as string
13972 * LyXView.[Ch]: layout as string
13974 * LaTeXFeatures.[Ch]: layout as string
13976 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13978 * BufferView_pimpl.C: change current_layout to string, remove
13983 (workAreaButtonRelease): layout as string
13985 * BufferView2.C (unlockInset): adjust
13987 * vspace.C (asLatexCommand): use an explict temp variable.
13989 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13991 * Makefile.am: use FRONTEND_*
13993 2002-03-01 Juergen Vigna <jug@sad.it>
13995 * tabular.C (SetWidthOfMulticolCell): changed to something better
13996 I hope but still work in progress.
13997 (recalculateMulticolumnsOfColumn): renamed function from
13998 recalculateMulticolCells as it is more appropriate now.
13999 (SetWidthOfCell): calculate multicols better.
14001 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14003 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
14005 * lyxfunc.C (processKeySym): print sequence also if it is
14006 `deleted' (complete)
14008 * kbsequence.C (print): print sequence even if it is deleted
14009 (complete would be a better word, actually).
14011 * lyxfunc.C (dispatch): print complete options after a prefix key
14013 * vspace.C (asLatexCommand): rewrite in a slightly different form.
14015 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
14017 * text2.C (setCharFont): eliminate setCharFont code duplication.
14019 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14021 * BufferView_pimpl.C (Dispatch): remove bogus handling of
14022 LFUN_TABULAR_FEATURE (bug #177)
14024 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
14026 * Makefile.am: remove figure.h
14028 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
14030 * Bufferview_pimpl.C:
14042 * text2.C: remove #include "lyx_gui_misc.h".
14044 * LaTeX.C: added #include <cstdio>
14046 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14048 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
14049 that the paragraph following this one can have.
14051 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
14053 * vspace.C (asLatexCommand): fix bogus gcc warning
14055 * Makefile.am (lyx_SOURCES): remove vms_defines.h
14057 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
14059 * text2.C (setLayout): get rid of redundant code
14061 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
14063 * text2.C (incDepth): make sure depth cannot be increased beyond
14066 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
14068 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
14069 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
14071 * PainterBase.h (image):
14072 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
14073 a LyXImage const *.
14075 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
14079 * BufferView_pimpl.C:
14080 * BufferView_pimpl.h:
14100 * sp_spell.C: remove fig inset, and the crap house of
14101 cards that follows it
14103 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
14108 * os2_errortable.h:
14109 * nt_defines.h: move .h into support/
14111 * vms_defines.h: remove
14113 * WorkArea.C: add space in debug output
14117 * buffer.C: add WITH_WARNINGS
14121 * bufferlist.C: s/retrive/retrieve/, add docs
14130 * chset.C: add docs
14132 * lyxgui.C: add ID to X error handler
14134 * lyxtestclass.c: fix typo
14136 2002-02-26 Juergen Vigna <jug@sad.it>
14138 * tabular_funcs.C (write_attribute): changed so that some default
14139 attributes are not written at all.
14140 (getTokenValue): set default values before trying to read the
14141 value so we have the return value always set as default if we don't
14142 find the token we search for.
14144 * tabular.C (Write): write bools as bools not as strings!
14146 2002-02-22 Juergen Vigna <jug@sad.it>
14148 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
14149 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
14151 * text.C (leftMargin): don't add an indent for paragraphs inside
14152 tabular cells (fix #208).
14154 2002-02-21 José Matos <jamatos@fep.up.pt>
14156 * tabular.C (docBook): fixed support for long tables.
14158 2002-02-20 Juergen Vigna <jug@sad.it>
14160 * text2.C (getFont): get the drawing font of the Inset if this
14161 paragraph is inside an inset (only important for InsetERT for now).
14163 * buffer.C (insertErtContents): use new lanugage params in ERT
14166 * CutAndPaste.C: commenting out seemingly uneeded code.
14168 2002-02-19 Allan Rae <rae@lyx.org>
14170 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
14171 Iterators might be simple to use but they also get invalidated.
14172 (removeAutoInsets): renamed saved cursor tracking variables and added
14173 some comments to clarify what everything does.
14175 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
14182 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14183 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14186 * vc-backend.h: remove #include "support/syscall.h"
14190 * converter.C: rearrange #includes in Lars' approved fashion.
14192 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14193 forward declare class Timeout in the header file.
14195 * XFormsView.C: changes due to the above.
14197 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14198 similar to LyXView.
14200 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14201 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14203 2002-02-18 José Matos <jamatos@fep.up.pt>
14205 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14208 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14210 * a lot of small ws changes
14211 * add a lot of using std::XXX
14212 * use std construcs some places where approp.
14213 * use some exisint stuff from lyxfunctional where approp.
14214 * Make file changes to use partial linking (lets test this now...)
14216 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
14220 remove #include "support/syscontr.h" as it's redundant. Always has been.
14228 change Systemcalls::System to Systemcalls::Wait and
14229 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14230 No change of functionality, just reflects the stripped down Systemcalls
14233 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
14235 * debug.[Ch]: add a GRAPHICS type to the enum.
14237 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14239 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14241 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14244 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14246 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14247 match the changes below.
14249 * text2.C (toggleInset): if there is not editable inset at cursor
14250 position, try to see if cursor is _inside_ a collapsable inset
14253 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14255 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14256 document menu has a nice checkbox
14258 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14260 * lyxlength.C (asLatexString): change PW to output as percent of
14263 * lengthcommon.C: change '%' to 't%'
14265 * lyxfunc.C (dispatch): a few comments from Martin
14267 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
14271 * BufferView_pimpl.h:
14272 * BufferView_pimpl.C: clear our selection when X tells us we've lost
14275 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14277 * vspace.C (inPixels): fix compiler warning
14279 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14281 * lyxfunc.C (getStatus): fix status message for disabled commands.
14283 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
14285 * BufferView_pimpl.C: fix crash on close buffer
14286 during selection (#227)
14288 2002-01-27 Herbert Voss <voss@lyx.org>
14290 * buffer.C: link old Figure to new graphic inset
14292 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
14294 * FontLoader.C (getFontinfo): Change the latex font names in order
14295 to match the names of type1inst.
14297 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
14299 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14301 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14302 (extchanged): ditto
14304 (remove_files_with_extension): ditto
14305 (remove_file): ditto
14308 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14309 document is smaller than the work area height. Do not initialize
14310 static variables to 0.
14312 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14314 * lyx_gui.C (init): give the toolbar tooltips a normal font.
14316 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14317 LFUN_LAYOUT_PARAGRAPHS.
14319 * tabular.C (GetCellFromInset): new method. Finds an inset in a
14320 tabular. It is possible to provide a possible cell, which will
14321 typically be the actcell from the corresponding insettabular
14323 * lyxfunc.C (getStatus): small cleanup; disable
14324 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14327 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14329 * tabular.C (Validate): remove broken optimization (fixes bug #201)
14331 * paragraph.C (startTeXParParams):
14332 (endTeXParParams): new methods. The LaTeX code to
14333 start/end paragraph formatting
14334 (simpleTeXOnePar): call startTeXParParams also when paragraph is
14335 empty (fixes bug #200)
14337 * vspace.C (inPixels): adapt to the change below
14338 (inPixels): [later] more cleanups (remove unused variables)
14340 * lyxlength.C (inPixels): change to use a width and a height as
14343 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14345 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14346 Replaced with \paperwidth
14348 * DepTable.C (insert): add std:: qualifier
14350 2002-01-18 Allan Rae <rae@lyx.org>
14352 * text2.C (removeRow): add comment. Should other refresh_?? vars be
14355 * text.C (drawInset): Turned out I didn't know enough about how
14356 rebreaking worked. This fixes most of the redraw problems. I see
14357 an occasional cursor trail when a line is broken now and the cursor
14358 placement can seem out by a few pixels also after a rebreak.
14360 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14362 * buffer.C (parseSingleLyXformat2Token): update because minipage
14363 width is now a LyXLength
14365 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14367 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14370 2002-01-17 Juergen Vigna <jug@sad.it>
14372 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14374 * BufferView2.C (lockInset): call edit() so that theLockingInset()
14375 is set correctly and the inset is updated correctly.
14377 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14379 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14380 the beginning of the loop.
14382 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
14384 * lyxrc.C: improve help for use_scalable_fonts
14386 2002-01-17 Allan Rae <rae@lyx.org>
14388 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14390 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14392 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14393 make sure to set their inset_owner to the right value (bug #171)
14395 2001-12-12 Ben Stanley <bds02@uow.edu.au>
14398 * DepTable.C: Implement mtime checking to reduce time spent doing
14401 2002-01-16 Juergen Vigna <jug@sad.it>
14403 * tabular.C (GetAdditionalHeight): one of error fixed.
14405 * lyxrc.C (output): small fix in writing use_pspell.
14407 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
14409 * sp_base.h: #include LString.h
14411 2002-01-16 Allan Rae <rae@lyx.org>
14413 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
14414 Can someone check this please?
14416 * text.C (drawInset): It was possible that p.row would be removed by
14417 breakAgainOneRow upsetting a few other settings. There may be another
14418 small tweak possible by setting need_break_row = 0 when p.row has been
14419 removed but I don't know enough about the logic here.
14421 2002-01-15 Allan Rae <rae@lyx.org>
14423 * text.C (insertChar): removed conditional truism.
14425 * BufferView2.C (removeAutoInsets): More tweaks.
14426 cur_par_prev could be a stray pointer. Check for trailing empty line
14427 in case last line was cur_par and only had an error inset on it.
14429 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14431 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14434 * vc-backend.C (most methods):
14435 * exporter.C (Export):
14436 * converter.C (convert):
14438 * LyXSendto.C (SendtoApplyCB):
14439 * lyxfunc.C (dispatch):
14443 * lyx_cb.C (AutoSave):
14445 * BufferView_pimpl.C (MenuInsertLyXFile):
14446 * buffer.C (runChktex): use Buffer::filePath().
14448 * buffer.h: rename filename to filename_; rename filepath to
14449 filepath_ and make it private
14450 (filePath): new method
14452 * buffer.C (writeFile): use fileName()
14455 * lyx_main.C (init): fix starting of LyX when the binary is a
14456 link from so,ewhere else.
14458 * minibuffer.C: include <cctype> for isprint
14460 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14462 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14463 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14464 name clash with InsetCollapsable's width function.
14466 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14468 * lastfiles.C: include <iterator>
14470 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14472 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14475 * buffer.C (makeLaTeXFile): ditto.
14476 Also make loop operation more transparent.
14478 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14480 * ToolbarDefaults.C: remove trailing comma closing namespace.
14482 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14484 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14487 * trans.C (Load): comment out unused variable, allowed.
14489 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14491 * minibuffer.[Ch] (append_char): new method to recieve input from the
14492 drop-down completion browser. If a key was pressed, then recieve this
14493 char and append it to the existing string.
14494 (peek_event): modify the positioning data passed to the completion
14495 browser so that it can be placed above the minibuffer rather than below.
14496 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14498 * LyXAction.C (init): alloe error-next for readonly documents.
14500 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14503 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14505 * bufferlist.C (readFile): create the buffer _after_ checking that
14508 * lyxfunc.C (verboseDispatch): fix handling of arguments
14510 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14512 * lyxrc.C: use string::erase() instead of initializing to "".
14515 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14517 * BufferView_pimpl.h:
14518 * BufferView_pimpl.C:
14521 * text2.C: tell X when we have made a selection for copying
14523 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14525 * BufferView_pimpl.C (MenuInsertLyXFile):
14526 * lyxfunc.C (menuNew):
14528 (doImport): add shortcuts to directory buttons
14530 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14533 * lyxfunc.C (setStatusMessage):
14534 (getStatusMessage): new methods
14535 (getStatus):use setStatusMessage instead of setErrorMessage
14536 (dispatch): when function is disabled, set error message here
14537 [instead of in getStatus previously]
14539 * BufferView_pimpl.C (workAreaButtonRelease): update
14540 toolbar/menubar here too.
14542 2002-01-13 Allan Rae <rae@lyx.org>
14544 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14545 Now seems indestructible. Remaining task is to audit all other
14546 code affected by deleteEmptyParagraphMechanism. One small quirk
14547 left is that an empty document with an error in the preamble can
14548 be made to report an error but no error box appears. I don't know
14550 (removeAutoInsets): Improved comments.
14552 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14555 * Thesaurus.C: update for Aiksaurus 0.14
14557 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14559 * text2.C (firstParagraph): removed member function, all uses
14560 replaces with ownerParagraph
14561 (redoParagraphs): here
14562 (updateInset): here
14563 (toggleAppendix): here
14564 * BufferView2.C (insertErrors): here
14565 (setCursorFromRow): here
14567 2002-01-13 Allan Rae <rae@lyx.org>
14569 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14570 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14571 There is still a way to segfault this although you may have to do this
14572 multiple times: Have an InsetERT with an unknown command in it.
14573 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14574 <down-arrow>, <Enter> again, View->DVI, BANG!
14576 * text2.C (setCursor):
14577 (deleteEmptyParagraphMechanism):
14578 * lyxtext.h (setCursor):
14579 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14580 Making use of the return value may help fix other bugs.
14582 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14584 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14586 * LyXView.C (updateMenubar): call MenuBar::update here
14587 (updateToolbar): but not here
14588 (showState): do not update toolbar/menubar
14590 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14591 should need to care about that.
14593 * lyxfunc.C (verboseDispatch): simplify a bit
14594 (getStatus): have a version which takes a pseudoaction, and
14595 another which requires a (kb_action,string).
14597 * LyXAction.C (retrieveActionArg): make it work also when action
14598 is not a pseudo-action.
14599 (getActionName): simplify a bit
14602 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14604 * lyxfunc.C (verboseDispatch): new families of methods with
14605 several ways to specify a command and a bool to indicate whether
14606 the command name and shortcut should be displayed in minibuffer
14607 (eventually, we could extend that to a finer bitmask like
14608 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14609 (dispatch): the pristine dispatch command which just, well,
14610 dispatchs! Note it still sets its result to minibuffer; I'm not
14613 * lyxfunc.h: remove setHintMessage
14615 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14617 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14619 * BufferView_pimpl.C (specialChar): delete new inset if we have
14620 not been able to insert it.
14622 * kbmap.C: revert to using int instead of kb_action, since all we
14623 are dealing with is pseudo-actions.
14625 * LyXAction.C (searchActionArg): change to return int instead of
14626 kb_action, since the result is a pseudoaction.
14628 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14630 * buffer.C (insertErtContents): Fix (partially) the font bug.
14632 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14634 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14635 as the other one is broken on my machine!
14637 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14640 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14642 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14644 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14645 reflect their actual use. Provide compatibility code for older lyxrc
14648 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14650 change names of popup font variables in line with the changes to lyxrc.C
14652 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14654 * buffer.C (asciiParagraph): avoid outputing a word twice after
14657 * lyxrc.C (getDescription): document that document_path and
14658 template_path can be empty.
14660 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14662 * LaTeXFeatures.C (getMacros):
14663 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14665 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14667 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14669 (getPackages): rename feature "floats" to "float". Use an array to
14670 iterate over 'simple' features (i.e. just a \usepackage). Add
14671 handling of "amsmath" (renamed from "amsstyle").
14673 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14675 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14678 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14680 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14681 FuncStaus::FuncStatus & FuncStaus::some_method().
14683 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14685 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14686 of the func_satus stuff. Edited and massaged in various ways by
14689 * lyxfunc.C (getStatus): use FuncStatus
14691 2002-01-08 Juergen Vigna <jug@sad.it>
14693 * text.C (nextBreakPoint): use function Inset::isChar().
14695 * paragraph.C (TeXOnePar): use function
14696 Inset::forceDefaultParagraphs.
14698 * buffer.C (latexParagraphs): use function
14699 Inset::forceDefaultParagraphs.
14701 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14703 * lyx_gui.C (init): set the style of the menu popups to
14704 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14706 2002-01-07 Juergen Vigna <jug@sad.it>
14708 * text.C (setHeightOfRow): small fix
14709 (prepareToPrint): don't look at alignment if we don't have the place
14712 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14714 * box.C: New file. Move the Box methods and functions out of box.h,
14715 following Lars' suggestion.
14717 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14719 * box.h: #include "support/LOstream.h", needed for inlined function.
14722 * lyxtextclasslist.C: added some using std declarations.
14724 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14726 * box.h: make signed dimensions to allow insets wider than
14727 the screen (bug #162)
14729 * BufferView_pimpl.C: add some insetHit debug
14731 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14733 * vc-backend.C: add FIXME
14735 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14737 * lyxfunc.C (getStatus): enable code for showing math font status
14740 2002-01-07 Juergen Vigna <jug@sad.it>
14742 * text.C (nextBreakPoint): removed debug output not needed anymore.
14744 2002-01-06 Juergen Vigna <jug@sad.it>
14746 * text.C (nextBreakPoint): fixed up this function we had this bug
14747 since ever but now hopefully we break row better.
14748 (insertChar): we have to check if an inset is the next char as it
14749 could now happen that a large inset is causing a break.
14751 2002-01-05 Juergen Vigna <jug@sad.it>
14753 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14754 if it doesn't like to be drawed.
14756 2002-01-04 Juergen Vigna <jug@sad.it>
14758 * BufferView2.C (lockInset): forgot to set a cursor.
14760 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14762 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14764 * FormMathsPanel.C:
14767 * form_maths_panel.C:
14768 * form_maths_panel.h:
14769 * form_maths_panel.fd: implemented sub- and super- buttons in math
14772 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14773 (or ^ space) to be used as in TeX (req'd by Andr�.
14775 * lyxfunc.C: Allow ^ and _ again to be used both as
14776 super/subscript (mathed) and as themselves (in text).
14778 2002-01-03 Allan Rae <rae@lyx.org>
14780 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14781 "LyX" or the filename of the current buffer if it has one. This is a
14782 modified form of John Levon's patch.
14784 * XFormsView.C (setWindowTitle): also set icon title.
14786 * LyXView.h (setWindowTitle): signature changed.
14787 * XFormsView.h (setWindowTitle): ditto.
14789 2002-01-02 Juergen Vigna <jug@sad.it>
14791 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14793 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14795 * screen.C (topCursorVisible): introduce a temp var for
14796 text->cursor.row(), handle the case where this row is null. (kindo
14799 * text2.C (setCursor): add a couple of asserts.
14801 * paragraph.h (inset_iterator): add -> operator
14803 * paragraph.[Ch] (autoDeleteInsets): remove member function
14805 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14806 cursor pos correctly and handle inset deletion by itself.
14807 (insertErrors): move iterator declaration out of for expression
14809 * lyxtextclass.C: add <algorithm>
14811 * Makefile.am: added the new files to sources, removed layout.C
14813 * layout.C: removed file
14815 * layout.h: remove LYX_DUMMY_LAYOUT
14817 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14821 * lyxtextclass.[Ch]:
14822 * lyxtextclasslist.[Ch]: new files
14824 * include order changes to a lot of files, also changes because of
14827 2001-12-27 Juergen Vigna <jug@sad.it>
14829 * buffer.C (asciiParagraph): more fixes.
14831 * tabular.C (ascii): make ascii export support export of only the
14832 data separated by a column-delimiter.
14833 (ascii): better support for ascii export.
14835 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14837 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14839 * tabular_funcs.C: use a "using std::getline" instead of the
14840 previous fix from Angus (necessary for cxx + lyxstring)
14842 2001-12-24 Juergen Vigna <jug@sad.it>
14844 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14846 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14847 problems. First check a minipage also if we have some ert-contents
14848 (not only on par->size(), second set the right depth of the paragraph
14849 on the relink to the root-paragraph-list!
14851 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14852 which then did not anymore update the main paragraphs on undo/redo!
14854 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14856 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14857 code. Support all font-changing funcs (even those which are not in
14858 menu currently). Support for reporting font settings in
14859 mathed (disabled until Andre provides a function on mathed's side).
14861 * func_status.h (toggle): small helper function to set toggle
14864 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14866 * tabular_funcs.C: getline -> std::getline
14868 2001-12-21 Juergen Vigna <jug@sad.it>
14870 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14871 accessed and could be 0 (I couldn't generate this but it seems
14874 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14876 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14877 * tabular_funcs.h: here and include iosfwd
14879 2001-12-20 Juergen Vigna <jug@sad.it>
14881 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14882 inside inset but undo_par was.
14884 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14886 * Thesaurus.C: always include <config.h> in sources.
14890 * box.h: do not include <config.h> in header files
14892 * text.C (paintLastRow): remove unused variable
14894 * text.C (transformChar):
14896 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14898 * Painter.C (text):
14899 * font.C (width): rewrite to use uppercase() instead of
14902 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14904 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14906 * lyxfind.C: clean up of find failure position change
14908 2001-12-20 Juergen Vigna <jug@sad.it>
14910 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14912 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14913 (TeXRow): added to LaTeX a single tabular row.
14914 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14915 (Latex): simplified and finally good LT-h/f support.
14916 (various_functions): just small adaptions for LT-h/f support.
14918 * tabular_funcs.[hC]: added and moved here all not classfunctions
14921 2001-12-19 Juergen Vigna <jug@sad.it>
14923 * tabular.[Ch]: better support for longtabular options (not finished
14926 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14928 * text.C (paintLastRow): use the label font instead of the font of
14929 the last character to compute the size of *_BOX. This makes more
14930 sense and avoids a crash with empty paragraphs.
14931 Use Painter::rectangle to draw EMPTY_BOX.
14933 2001-12-19 Juergen Vigna <jug@sad.it>
14935 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14936 the paragraphs if the replaced paragraph is not the first one!
14937 Tried to delete not used paragraphs but does not work yet so for
14938 now it's inside #ifdef's and by default off!
14940 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14942 * MenuBackend.C: include "lyx_main.h" instead of declaring
14943 lastfiles (actually was declared as LastFiles* instead of a
14946 2001-12-17 Juergen Vigna <jug@sad.it>
14948 * tabular.C (AppendColumn): applied John's fix
14950 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14954 * BufferView_pimpl.h:
14955 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14958 * box.h: new start of class for above
14960 * lyxfunc.C: ignore space-only minibuffer dispatches.
14961 Show the command name when it doesn't exist
14963 * minibuffer.C: don't add empty lines to the history
14965 * minibuffer.C: add a space on dropdown completion
14967 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14969 * text.C: fix line above/below drawing in insets
14971 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14973 * lyxlength.C (LyXLength): Initialize private variables.
14975 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14977 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14978 when inserting error insets.
14980 2001-12-13 Juergen Vigna <jug@sad.it>
14982 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14983 actually sometimes the before-paragraph.
14984 (setUndo): don't clear the redostack if we're not actually undoing!
14986 2001-12-06 Juergen Vigna <jug@sad.it>
14988 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14989 and fixed redoing of main paragraph, so we can use it now ;)
14991 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14993 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14995 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14998 2001-12-13 André Pönitz <poenitz@gmx.net>
15001 * undo_func.C: minor cleanup
15003 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15005 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
15006 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
15007 font in urw-fonts package which is marked as -urw-fontspecific and
15008 does not work (incidentally, changing the encoding in the
15009 fonts.dir of this package to -adobe-fontspecific fixes the
15012 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
15013 is a crash when undoing first paragraph (Juergen, please take a
15014 look). THis does not mean the undo fix is wrong, just that it
15017 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
15018 the (Paragraph*) version when needed instead of duplicating the
15021 * text.C (workWidth): use Inset::parOwner to find out where the
15022 inset has been inserted. This is a huge performance gain for large
15023 documents with lots of insets. If Inset::parOwner is not set, fall
15024 back on the brute force method
15026 * paragraph_pimpl.C (insertInset):
15027 * paragraph.C (Paragraph):
15028 (cutIntoMinibuffer): set parOwner of insets when
15029 inserting/removing them
15031 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
15033 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
15039 * mathed/formulabase.C:
15040 * mathed/math_cursor.[Ch]:
15041 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
15044 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15046 * lyxlength.[Ch] (operator!=): new function
15048 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15050 * text.C (workWidth): use Inset::parOwner to find out where the
15051 inset has been inserted. This is a huge performance gain for large
15052 documents with lots of insets. If Inset::parOwner is not set, fall
15053 back on the brute force method
15055 * paragraph_pimpl.C (insertInset):
15056 * paragraph.C (Paragraph):
15057 (cutIntoMinibuffer): set parOwner of insets when
15058 inserting/removing them
15060 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
15062 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15064 * tabular-old.C (getTokenValue):
15065 * tabular.C (getTokenValue):
15066 (write_attribute): new versions for LyXLength
15067 (everywhere): adjust the use of widths
15069 * tabular.h: change the type of widths from string to LyXLength
15071 2001-12-11 Ben Stanley <bds02@uow.edu.au>
15073 * paragraph.C: fixed missing line number count when exporting
15074 Environments to LaTeX file
15076 * buffer.C: added informational message for checking line numbers.
15078 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15080 * text2.C (deleteEmptyParagraphMechanism): if there is only one
15081 paragraph, do the 'double space' part, but not the 'empty
15084 * text.C (workWidth): small optimization
15085 (getLengthMarkerHeight): use minimal size for negative lengths.
15087 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
15089 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
15091 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
15093 2001-12-11 André Pönitz <poenitz@gmx.net>
15096 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
15098 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
15100 * text2.C: keep selection on a setFont()
15102 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
15104 * lyx_cb.C: another bv->text misuse, from insert label
15106 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
15109 * kbsequence.C: re-instate nmodifier mask
15111 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
15113 * lyx_main.h: make lyxGUI private.
15115 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
15117 * lyxfind.C: place the cursor correctly on failed search
15119 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15121 * text.C (getLengthMarkerHeight): for small heights, the arrows
15122 are not always on top/bottom of the text
15123 (drawLengthMarker): smaller arrows; take the left margin in
15124 account; draw also vfills.
15126 (paintLastRow): remove special code for vfill and standard spaces,
15127 since everything is handled in drawLengthMarker now.
15129 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15131 * buffer.C (insertErtContents): try to handle font and language
15132 interaction a bit better.g
15134 * ColorHandler.C (updateColor): change the hash to cover the whole
15135 LColor enum, ws cleanup
15136 (getGCLinepars): ditto
15137 (getGCLinepars): only lookup in the linecache once.
15139 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
15141 * iterators.C (operator++): Make the iterator more robust
15143 * BufferView2.C (removeAutoInsets): Use paragraph iterators
15145 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
15147 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15150 * text.C: better added space drawing
15152 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15155 * BufferView2.C: fix layout combo update on inset unlock
15157 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15159 * Makefile.am: don't compile unused files
15161 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15165 * LyXAction.C: remove old LFUN_LAYOUTNO
15167 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15169 * paragraph_pimpl.h:
15170 * paragraph_pimpl.C: isTextAt() doesn't need font param
15172 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15175 * lyxlex.C: little cleanup
15177 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15179 * BufferView_pimpl.C: fix insertAscii for insets
15181 2001-12-05 Juergen Vigna <jug@sad.it>
15183 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15184 set the right font on the "multi" paragraph paste!
15186 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15192 * lyxlength.C: remove out-commented code.
15194 * BufferView_pimpl:
15208 * vc-backend.C: change "while(" to "while ("
15210 * lyxlength.[Ch]: add zero function to check if length is zero or
15212 * lyxgluelength.C: use it
15214 2001-12-05 Allan Rae <rae@lyx.org>
15216 * lyxlength.C: Attempted a fix for the abs(int) header selection.
15217 Works for 2.95.3, from what I understand of Garst's reports this should
15218 work for other g++ versions. We're screwed if the abs(int) definition
15219 changed between bugfix releases of gcc.
15221 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
15223 * text.C: fix chapter label offset !
15225 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
15228 * text.C: fix hfill at end of line, clean up
15230 2001-12-04 Juergen Vigna <jug@sad.it>
15232 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15233 that we force an update of the inset and it's owners if neccessary.
15235 2001-12-03 Juergen Vigna <jug@sad.it>
15237 * text.C (rowLast): simplified code
15239 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
15241 * lyxfunc.C: fix show options on timeout
15243 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15245 * screen.C (topCursorVisible): scroll half a page when the cursor
15246 reached top of bottom of screen
15248 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
15250 * minibuffer.C: deactivate on loss of focus
15252 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15254 * vspace.[Ch] (operator!=): add operator.
15256 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
15258 * BufferView_pimpl.C: refuse to open an inset when
15259 there's a selection.
15261 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
15263 * BufferView_pimpl.C: allow to click on RHS of full row insets
15265 2001-11-30 Juergen Vigna <jug@sad.it>
15267 * tabular.C (LyXTabular): add a same_id to set the same id's in the
15268 insets for undo reasons.
15270 2001-11-28 André Pönitz <poenitz@gmx.net>
15272 * vspace.[Ch]: cosmetical changes
15274 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15284 * kbsequence.C: part re-write of old kb code
15287 * WorkArea.C: remove Lgb_bug_find_hack
15289 2001-11-30 José Matos <jamatos@fep.up.pt>
15291 * buffer.C (makeDocBookFile): add a comment to point a hack.
15292 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15293 Fixed a double write of labels.
15295 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15298 * LaTeX.h Fixed bug in LaTeX class where it would not
15299 re-run latex if no depfiles were changed, but the .dvi was removed.
15301 2001-11-28 André Pönitz <poenitz@gmx.net>
15303 * all the files from the change on 2001/11/26:
15304 use lyx::layout_type instead of LyXTextClass::size_type
15305 use lyx::textclass_type instead of LyXTextClassList::size_type
15307 2001-11-29 Juergen Vigna <jug@sad.it>
15309 * text.C: added support for paragraph::isFreeSpacing()
15311 * buffer.C: same as above
15313 * paragraph.h: inserted isFreeSpacing() function to enable
15314 FreeSpacing inside InsetERT.
15316 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15317 of the paragraph's in the cut/copy buffer to 0!
15319 * text2.C (removeRow): remove the assert as it can!
15321 * lyxtext.h: added helper function firstRow returning firstrow and
15322 made firstrow private again.
15324 * BufferView2.C (lockInset): don't relock if we're already locked!
15326 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15327 the only paragraph.
15328 (removeRow): added Assert::(firstrow)
15330 * debug.C: forgot to add INSETTEXT here.
15332 2001-11-28 Juergen Vigna <jug@sad.it>
15334 * sp_spell.C (initialize): changed error text to more general
15335 spellchecker command use (not only ispell!)
15337 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15339 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15341 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15343 * vspace.C: initialise lyxgluelength on failure
15345 2001-11-28 Allan Rae <rae@lyx.org>
15347 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15348 declaration & definition that looks like a function declaration.
15350 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15352 * BufferView2.C (copy):
15353 (copyEnvironment): do not clear the selection when doing a copy.
15355 * text.C (paintFirstRow): compilation fix
15357 2001-11-27 Ben Stanley <bds02@uow.edu.au>
15359 * tabular.C (Latex): correct line count when writing latex.
15361 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
15363 * paragraph_pimpl.h:
15364 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15367 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15371 * LColor.C: change vfillline->added_space
15373 * text.C: add markers and text for added space
15375 * vspace.C: fix comment
15377 2001-11-28 André Pönitz <poenitz@gmx.net>
15379 * paragraph.C: whitespace changes
15380 * all the other files from the change on 2001/11/26:
15381 change *::pos_type into lyx::pos_type
15383 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
15385 * buffer.C (parseSingleLyXformat2Token): Set the language to the
15386 language of the document when inserting error insets.
15388 2001-11-26 André Pönitz <poenitz@gmx.net>
15390 * BufferView_pimpl.[Ch]:
15398 * paragraph_pimpl.[Ch]:
15401 * text2.C: reduce header dependencies, introduce type for positions
15403 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15405 * <various>: change to use Alert.h
15407 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
15409 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15410 when encountering an unknown token.
15411 (readLyXformat2): Show an error message if there were unknown tokens.
15413 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
15416 * BufferView_pimpl.C:
15420 * text2.C: use par->isInset()
15422 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15424 * paragraph_pimpl.h:
15425 * paragraph_pimpl.C: cleanup
15427 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15429 * text2.C (removeRow):
15430 * text.C (setHeightOfRow): remove useless (and costly) call to
15433 2001-11-20 Allan Rae <rae@lyx.org>
15435 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15436 Now need Inset*::checkInsertChar() to return true for appropriate
15437 cases so that the characters in the minibuffer will actually be
15440 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
15442 * text.C: change the order of the includes.
15443 (workWidth): initialize it at once.
15444 (workWidth): make maxw unsigned
15445 (setHeightOfRow): remove unused variable (inset)
15446 (selectSelectedWord): remove unused variable (inset)
15447 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15449 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15451 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15452 server is not running.
15454 (closeConnection): add debug info when server is disabled.
15456 * ColorHandler.C (getGCForeground): send debug message to GUI
15459 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15461 * kbmap.C (bind): modify because return conventions of
15462 kb_sequence::parse have changed.
15464 * kbsequence.C (parse): only ignore spaces and not any stupid
15465 control character. This avoids tests like s[i] <= ' ', which are
15466 guaranteed to fail with 8bit characters and signed chars.
15467 Change return code to string::npos when there have been no error
15468 (0 was a bad idea when error is at first character)
15470 2001-11-14 José Matos <jamatos@fep.up.pt>
15473 * buffer.C (simpleDocBookOnePar): removed unused argument.
15475 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15477 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15478 insets which are part of a word. Paragraph::isLetter takes care of
15479 that now. Use Paragraph::isInset to identify insets.
15480 (selectSelectedWord): do not test for hyphenation break.
15482 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15483 that protected spaces are considered as spaces.
15485 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15488 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15491 * lyxserver.C: fix it. and small cleanup.
15493 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15495 * BufferView_pimpl.C: use inline helpers
15498 * LaTeXFeatures.C: fix typos
15501 * Spacing.C: move spacing_string into class
15503 * ToolbarDefaults.C: move stuff into namespace anon
15505 * layout.h: update enum
15507 * lyxfunc.C: use better debug
15509 * minibuffer.h: fix typo
15513 * WorkArea.C: add and use Debug::WORKAREA
15517 * text2.C: code re-organisation, inline helpers
15519 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15521 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15522 std::vector.empty().
15524 2001-11-09 Allan Rae <rae@lyx.org>
15526 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15527 '\n's after tables. Tabular and ERT inset work now makes this no
15530 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15533 * minibuffer.C: fix crash, improve drop-down completion
15535 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15538 * lyxserver.C: invalidate fd's when doing endPipe()
15540 2001-11-08 José Matos <jamatos@fep.up.pt>
15542 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15543 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15546 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15548 2001-11-07 José Matos <jamatos@fep.up.pt>
15551 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15554 * buffer.C (sgmlOpenTag):
15555 * buffer.C (sgmlCloseTag): removed debug info.
15557 * buffer.h (sgmlOpenTag):
15558 * buffer.h (sgmlCloseTag): made public.
15560 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15562 * buffer.C (saveParamsAsDefaults):
15563 * lyx_cb.C (MenuLayoutSave): remove
15565 * LyXAction.C (init):
15567 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15569 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15571 * buffer.C (setPaperStuff): removed from here...
15573 * bufferparams.C (setPaperStuff): ... and moved there.
15575 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15579 * XFormsView.C: add support for drop-down completion
15581 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15583 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15586 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15588 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15591 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15593 * lyx_main.C: change ref to known bugs
15595 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15597 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15598 to work around older babel problems.
15600 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15602 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15604 2001-10-24 Juergen Vigna <jug@sad.it>
15606 * tabular-old.C (ReadOld): below variable changes reflected.
15608 * tabular.[Ch]: added ltType struct for longtable header/footer
15609 defines and changed all instances where they are used. Added
15610 future support for double top/bottom rows.
15612 2001-10-24 José Matos <jamatos@fep.up.pt>
15614 * buffer.h (docbookHandleCaption):
15615 * buffer.C (docbookHandleCaption): removed unused function.
15616 (makeDocBookFile): moved docbook supported version to v4.1.
15618 2001-10-24 José Matos <jamatos@fep.up.pt>
15621 * tabular.C (docbookRow): new function to export docbook code of a row.
15622 (DocBook): now honors the longtable flags.
15624 2001-10-23 José Matos <jamatos@fep.up.pt>
15627 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15628 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15630 * buffer.C (makeLinuxDocFile):
15631 (makeDocBookFile): reworked the preamble, more clean, and with
15632 support for lyx defined entities. Changed the document declaration
15633 to be more XML friendly.
15635 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15636 if we need to output XML that should be done with a filter.
15638 2001-10-22 Juergen Vigna <jug@sad.it>
15640 * sp_pspell.h (class PSpell): add alive function needed in the
15641 controller to see if the spellchecker could be started.
15643 2001-10-22 Juergen Vigna <jug@sad.it>
15645 * buffer.C (insertStringAsLines): modify the font for inserting
15646 chars in certain conditions by calling checkInsertChar(font).
15648 2001-10-19 Juergen Vigna <jug@sad.it>
15650 * text.C (workWidth): use getRow instead of wrong algorithm.
15651 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15653 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15658 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15660 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15662 * text.C (workWidth): do not search for the exact row when
15663 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15664 optimization for big documents.
15666 2001-10-18 Juergen Vigna <jug@sad.it>
15668 * text.C (workWidth): new function with added Inset * parameter.
15670 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15672 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15674 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15675 change return type of getColumnNearX.
15678 * text.C (changeRegionCase): use uppercase/lowercase instead of
15681 (rightMargin): simplify code by factoring out the uses of
15686 (appendParagraph): use Paragraph::size_type
15688 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15690 * vspace.C (asLatexString): add a missing break
15692 2001-10-15 Herbert Voss <voss@perce.de>
15694 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15696 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15698 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15701 2001-10-10 André Pönitz <poenitz@gmx.net>
15703 * lyxfunc.C: removed greek_kb_flag.
15705 2001-10-10 Herbert Voss <voss@perce.de>
15707 * lyx_main.C: delete global string help_lyxdir.
15709 2001-10-09 Herbert Voss <voss@perce.de>
15711 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15713 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15715 * lyx_main.C: added global string help_lyxdir.
15717 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15719 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15721 * lyxrc.C (set_font_norm_type): support iso8859-4
15723 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15725 * LaTeX.C (deplog): add another regex for MikTeX
15727 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15729 * lyxrc.C (set_font_norm_type): support iso8859-3
15731 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15733 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15735 * LaTeXFeatures.C: remove special case of french and index
15737 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15738 before \begin{document}). This solves several incompatibilities.
15740 2001-10-03 Garst Reese <reese@isn.net>
15742 * lyx_cb.C: change CheckTex error msg.
15744 2001-10-03 José Matos <jamatos@fep.up.pt>
15746 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15748 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15750 * .cvsignore: update
15752 * lyx_main.C (commandLineVersionInfo): use new style version info.
15754 * buffer.C (writeFile):
15756 (makeLinuxDocFile):
15757 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15759 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15761 * version.h: update to use stuff in version.C
15763 * version.C.in: new file. Contains version information determined
15764 at compile time. This is a merging of version.h and
15767 2001-10-03 Juergen Vigna <jug@sad.it>
15769 * BufferView_pimpl.C (update): don't change "dirty" status in
15772 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15774 * WorkArea.C (c-tor): re-position version string slightly.
15776 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15778 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15779 revert to previous code.
15781 WorkArea.[Ch]: (show, destroySplash): methods removed.
15783 WorkArea.C: rework code so that it's an amalgam of the codes before and
15784 after the splash screen was moved to WorkArea.
15786 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15789 * vspace.C (inPixels):
15792 * buffer.C (insertStringAsLines):
15793 (asciiParagraph): fix types to be large enough
15795 * lyxlex_pimpl.h: change member status from short to int
15797 * layout.h: fix type of endlabeltype
15800 * kbsequence.C (parse): change return type to string::size_type
15802 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15805 * Bullet.C (bulletSize):
15806 (bulletEntry): do not use short ints as parameters
15808 * BufferView2.C (insertLyXFile): change a char to an int.
15810 * WorkArea.C (WorkArea): remove unneeded floats in computation
15812 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15814 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15816 * paragraph.C (asString): Do not ignore newline/hfill chars when
15817 copying to the clipboard.
15819 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15821 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15822 after a multi-line inset.
15824 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15826 * paragraph.C (validate): Set NeedLyXFootnoteCode
15828 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15830 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15831 and decrease-error to decrease.
15833 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15835 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15836 it more readable (should be equivalent)
15838 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15840 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15842 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15844 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15845 of a cursor (row, etc.) after a character has been deleted
15846 (deleteEmptyParagraphMechanism): call the method above on _all_
15847 cursors held by the LyXText when a double space has been
15850 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15852 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15854 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15856 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15857 background. Use greyOut() and the new show() methods to toggle between
15858 the foreground and background. Add code to remove the splash after
15859 its initial showing.
15861 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15862 (create_forms): no longer call Dialogs::showSplash.
15864 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15866 * .cvsignore: add version_info.h
15868 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15870 * version_info.h.in: new file
15872 * Makefile.am: add version_info.h.in
15874 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15875 version_info.h instead of VERSION_INFO
15877 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15879 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15880 The ERT inset now returns string().
15882 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15884 * lyxtext.h, text.C (selectNextWord): renamed as
15885 selectNextWordToSpellcheck.
15887 * text.C (selectNextWordToSpellcheck): Modified to not select
15888 words inside an ERT inset.
15890 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15892 * lyx_cb.C (MenuLayoutSave): change a bit the question
15894 * sp_base.h: include <sys/types.h>
15896 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15898 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15900 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15902 * several files: fix typos in user-visible strings
15904 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15906 * text2.C (pasteSelection): do not set the selection, since it
15907 will be cleared later. Actually, the intent was to fix the way the
15908 selection was set, but I figured rmoving the code was just as good.
15910 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15912 * FontLoader.C (available): Check if font is available without
15915 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15917 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15919 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15921 * lyxrc.[Ch]: added display_graphics variable and associated code.
15923 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15925 * bufferparams.C (hasClassDefaults): new method. Returns true if
15926 the buffer parameters correspond to known class defaults
15928 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15930 * XFormsView.C (show): set minimum size to the main window.
15932 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15934 * text2.C (copySelection):
15936 * lyxfind.C (LyXReplace):
15937 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15938 LyXText::selectionAsString.
15940 * paragraph.C (asString): add "label" argument to the second form
15942 * text2.C (selectionAsString): add "label" argument and pass it to
15943 Paragraph::asString.
15945 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15947 * lyx_main.C (commandLineHelp): remove version information
15949 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15951 * lyx_main.C: add -version commandline option
15953 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15955 * paragraph.h: make the optional constructor arg required instead.
15956 some modifications to other files because of this.
15958 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15960 * lyxserver.C (C_LyXComm_callback): make it static
15962 * lyx_main.C (error_handler): make it static
15964 * lyx_gui.C (LyX_XErrHandler): make it static
15966 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15968 * WorkArea.C: make the extern "C" methods static.
15970 * Makefile.am (lyx_LDADD): simplify
15972 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15974 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15975 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15977 * LyXAction.C (init):
15978 * lyxfunc.C (dispatch): associated code removal.
15980 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15982 * lyxfont.h (isSymbolFont): shut off warning
15984 * text.C (setHeightOfRow):
15985 (getVisibleRow): fix crash with empty paragraphs which have a
15988 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15990 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15993 2001-09-04 José Matos <jamatos@fep.up.pt>
15996 * tabular.C (docbook): rename docBook method to docbook.
15998 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
16000 * Makefile.am: add dependencies to main.o.
16002 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
16004 * FontLoader.C (available): Return false if !lyxrc.use_gui
16006 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
16008 * FontInfo.C (query):
16009 * converter.C (view):
16010 * importer.C (Import):
16011 * exporter.C (Export): Can not -> cannot.
16013 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
16015 * BufferView_pimpl.C: allow to create index inset even if
16018 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
16020 * buffer.C (getLists): replace boost::tie code with an explicit pair
16021 as boost::tie can break some compilers.
16023 * iterators.h: Added a std:: declaration to the return type of
16026 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
16028 * lyxrc.C: add help for view_dvi_paper_option, default to safe
16031 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
16033 * iterators.[Ch]: New files. Provide paragraph iterators.
16035 * buffer.C (changeLanguage): Use paragraph iterators.
16036 (isMultiLingual): ditto
16038 * BufferView2.C (ChangeInsets): Use paragraph iterators.
16040 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
16042 * FontLoader.C: Support for cmr font.
16044 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
16046 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
16047 (available): New method.
16049 * FontInfo.C (getFontname): Use scalable fonts even when
16050 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
16053 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
16055 * converter.C (Formats::view): reverted! Incorrect fix.
16057 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
16059 * converter.C (Formats::view): only output the -paper option
16060 if the dvi viewer is xdvi, thereby fixing bug #233429.
16062 2001-08-23 Herbert Voss <voss@perce>
16064 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
16066 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
16068 * Spacing.h (Spacing): Set space to Default on in the default
16071 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
16073 * vc-backend.h (RCS::versionString): add RCS to version
16074 (CVS::versionString): add CVS to version
16076 * vc-backend.C (scanMaster): do not add CVS to version.
16077 (scanMaster): do not add RCS to version
16079 * lyxvc.C (versionString): new method
16081 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
16083 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16085 * Spacing.C (set): initialize fval
16087 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
16089 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
16092 2001-08-16 Juergen Vigna <jug@sad.it>
16094 * lyxfunc.C (dispatch): implemented the new FINISHED states.
16096 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
16098 * BufferView_pimpl.C:
16101 * text2.C: setParagraph takes linespacing now
16103 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
16105 * LyxAction.C: add internal LFUN_CITATION_INSERT
16107 * LyXView.C: actually apply fix
16109 * bufferlist.C: fix open non-existent file
16111 * lyxfind.C: fix indentation
16113 * lyxfunc.C: remove unneeded assert, fix typo
16115 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
16117 * MenuBackend.C: use "Floatname List"
16119 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
16121 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
16122 when converting LaTeX layout to insetERT.
16123 Generate a non-collapsed float when reading old float
16125 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
16127 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
16130 2001-08-13 Juergen Vigna <jug@sad.it>
16132 * text.C (fill): return 0 instead of 20 as this seems to be the more
16135 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
16137 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
16140 2001-08-13 Juergen Vigna <jug@sad.it>
16142 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
16144 (SearchBackward): comment out the unlocking of the inset_owner this
16145 should not be needed!
16147 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
16149 * Many files: Remove inherit_language, and add latex_language
16151 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
16152 collapsible insets.
16154 2001-08-10 Juergen Vigna <jug@sad.it>
16156 * text.C (prepareToPrint): fixed hfill-width in draw!
16158 * BufferView2.C (selectLastWord): save the selection cursor as this
16159 now is cleared in the function LyXText::clearSelection!
16161 2001-08-08 Juergen Vigna <jug@sad.it>
16163 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
16164 BACKSPACE type functions.
16166 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
16167 is only cutted from the document but not put in the cut-buffer, where
16168 still the old stuff should be.
16170 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
16172 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
16174 * tabular.C (SetWidthOfCell): fixed special case where the width
16176 (LeftLine): handle '|' in align_special.
16178 (LeftAlreadyDrawed): ditto
16179 (SetWidthOfCell): ditto
16181 2001-08-07 Juergen Vigna <jug@sad.it>
16183 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16185 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16187 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16188 * lyxlex.[hC]: ditto
16190 2001-08-06 Juergen Vigna <jug@sad.it>
16192 * text.C (getVisibleRow): fix up row clearing a bit.
16194 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16196 * minibuffer.C: make sure the X server sees the changes in the input.
16198 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16200 * paragraph.C (getFont): split into...
16201 (getLabelFont): this
16202 (getLayoutFont): and this
16203 * paragraph_pimpl.C (realizeFont): calling this
16205 * text2.C (getFont): split into...
16206 (getLayoutFont): this
16207 (getLabelFont): and this
16208 (realizeFont): all three calling this
16210 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16213 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16215 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16217 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
16219 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16220 layouts from the Quote inset insertion.
16222 2001-08-03 Juergen Vigna <jug@sad.it>
16224 * BufferView_pimpl.C (update): do the fitCursor only at the end!
16226 * screen.C (drawFromTo): don't call fitcursor here and do the loop
16227 only if status not is already CHANGED_IN_DRAW (second level).
16229 * text.C (draw): don't set the need_break_row when inside an
16232 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
16234 * buffer.C (parseSingleLyXformat2Token): handle more latex
16237 * bufferview_funcs.[hC]: change function names to
16238 begin with small char, adjust other files.
16240 2001-08-02 André Pönitz <poenitz@gmx.net>
16243 BufferView_pimpl.C: remove broken special code for math-greek
16245 2001-08-02 Juergen Vigna <jug@sad.it>
16247 * BufferView_pimpl.C (update): redone this function so that we
16248 update the text again if there was a CHANGE_IN_DRAW.
16250 * screen.C (cursorToggle): removed LyXText parameter and recoded.
16251 (drawFromTo): added a new internal bool which is used by draw() and
16253 (general): some cursor drawing problems fixed.
16255 2001-08-01 Juergen Vigna <jug@sad.it>
16257 * lyxfind.C (LyXFind): fixed
16258 (SearchForward): ditto
16259 (SearchBackward): ditto
16261 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16262 spurius drawing of the cursor in the main area.
16264 * text2.C (status): small fix which could lead to a segfault!
16265 (clearSelection): remove unneeded BufferView param.
16267 2001-08-01 André Pönitz <poenitz@gmx.net>
16269 * lyxfunc.C: small change due to changed mathed interface
16271 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16273 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16275 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
16277 * lyxfunc.c: fail gracefully if file doesn't exist
16282 * BufferView_pimpl.C: IsDirWriteable() proto changed
16284 * LyXView.C: fix updateWindowTitle() to store the last title
16286 2001-07-31 Juergen Vigna <jug@sad.it>
16288 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16289 the font (wrong since using of Paragraph::highestFontInRange).
16291 * paragraph.C (highestFontInRange): added a default_size parameter.
16293 * text.C (getVisibleRow): minor clear row changes (still not perfect).
16294 (setHeightOfRow): reformat
16296 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16298 * converter.[hC] + affected files: move to (inital-char)lowercase
16301 * ParagraphParameters.C (ParagraphParameters): remove commented code
16303 * PainterBase.[Ch]: remove commented code
16305 * LaTeXFeatures.h: add "bool floats" for float.sty
16307 * LaTeXFeatures.C (LaTeXFeatures): init floats
16308 (require): handle float
16309 (getPackages): do it with floats
16311 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16313 * BufferView_pimpl.C (Dispatch): improve handling of
16314 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16316 * commandtags.h: #include lyxfont.h here temporarily to avoid
16319 * bufferlist.h: include LString.h here.
16321 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16323 * text2.C (getStringToIndex): new method.
16325 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
16327 * *: Reduced header file dependencies all over.
16329 2001-07-30 Baruch Even <baruch@lyx.org>
16331 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16333 2001-07-29 Baruch Even <baruch@lyx.org>
16335 * buffer.C (readInset): Changed GRAPHICS to Graphics.
16337 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16339 * ParameterStruct.h (endif): add a default constructor to make
16340 sure that all variables is initialized.
16342 * ParagraphParameters.C (ParagraphParameters): adjust
16344 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16346 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16347 index; also, check that there is something to index, and that it
16348 does not span over several paragraphs.
16349 (doubleClick): use WHOLE_WORD_STRICT for double click.
16351 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16353 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16356 2001-07-26 Baruch Even <baruch@lyx.org>
16358 * buffer.C (readInset): Changed to call up InsetGraphics when reading
16359 an InsetFig figure, backwards compatible reading of old figure code.
16361 2001-07-27 Juergen Vigna <jug@sad.it>
16363 * text2.C: font.realize function adaption.
16365 * text.C (draw): add a warnings lyxerr text if needed.
16367 * layout.C: font.realize function adaption.
16369 * language.C: add inherit_language and implement it's handlings
16371 * bufferview_funcs.C (StyleReset): remove language parameter from
16372 font creation (should be language_inherit now).
16374 * bufferparams.C (writeFile): handle ignore_language.
16376 * paragraph.C (getFontSettings): the language has to be resolved
16377 otherwise we have problems in LyXFont!
16379 * lyxfont.C (lyxWriteChanges): added document_language parameter
16380 (update): removed unneeded language parameter
16382 * paragraph.C (validate): fixed wrong output of color-package when
16383 using interface colors for certain fonts in certain environments,
16384 which should not seen as that on the final output.
16386 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
16388 * BufferView_pimpl.C:
16393 * LyXAction.C: add thesaurus support
16396 * lyxfind.C: add "once" parameter, for thesaurus, to not
16397 move to the next match
16399 2001-07-26 Juergen Vigna <jug@sad.it>
16401 * lyxfont.C (realize): honor ignore_language too!
16404 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16406 * text.C (draw): one place more for ignore_language to not draw
16409 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
16411 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16413 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16415 * buffer.C (parseSingleLyXformat2Token): a more general fix for
16416 the minipage conversion problem.
16418 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16420 * buffer.C (parseSingleLyXformat2Token): check minipage if we
16423 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16425 * BufferView.h: don't forward declare WorkArea
16427 * BufferView.C: don't include WorkArea.h
16429 2001-07-25 André Pönitz <poenitz@gmx.net>
16433 * lyxfunc.C: new LFUN 'math-space'
16435 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16437 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16439 * text2.C (toggleInset): call open/close
16441 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16443 * lyxfunc.C (dispatch): add debug for the disabled case
16445 * font.C (buttonText): make similar to rectText
16447 * buffer.C (readInset): comment out parsing of insetlist and
16450 * PainterBase.C (rectText): small correction
16452 * BufferView_pimpl.C: comment out insettheorem and insetlist
16453 * LyXAction.C: ditto
16454 * commandtags.h: ditto
16456 2001-07-24 Juergen Vigna <jug@sad.it>
16458 * text.C (draw): honor the ignore_language.
16460 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16462 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16464 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16467 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16469 * lyxtext.h: remove unused (and unimplemented) methods
16471 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16473 * text.C (getVisibleRow): honor background color
16476 * Painter.h: remove default color argument for fillRectangle
16478 * text.C (backgroundColor): new method
16480 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16482 * text.C (getVisibleRow): adjust
16484 * font.[Ch] (rectText): new method, metrics
16485 (buttonText): new method, metrics
16487 * PainterBase.[hC]: make rectText and buttonText always draw and take
16490 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16492 * ToolbarDefaults.C (read):
16493 * MenuBackend.C (read): allow escaping in all strings
16495 * BufferView_pimpl.C (insertAndEditInset): new method.
16496 (Dispatch): use insertAndEditInset whenever appropriate.
16498 * BufferView_pimpl.C (insertNote): removed
16500 * BufferView_pimpl.C (smartQuote): new method, moved from
16501 BufferView; if an insetquote cannot be inserted, insert a '"'
16504 * BufferView2.C: remove insertCorrectQuote();
16506 * lyxfunc.C (getStatus): Add support for all remaingin
16507 inset-insert lfuns.
16509 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16511 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16512 command (necessary to pass " as parameter of self-insert.
16514 * text.C (selectWordWhenUnderCursor):
16515 (selectWord): add word_location parameter
16516 (selectWordWhenUnderCursor): same + remove special code for word
16518 (selectNextWord): use kind() to guess type of insetspecialchar,
16521 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16522 (insertErtContents): create ert insets as collapsed.
16523 (readInset): better compatibility code for Info inset.
16525 2001-07-20 Juergen Vigna <jug@sad.it>
16527 * lyxfunc.C (dispatch): use always LyXFind now!
16529 * text2.C (init): add a reinit flag so that the LyXText can be
16530 reinited instead of deleted and reallocated (used in InsetText).
16532 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16538 2001-07-18 Juergen Vigna <jug@sad.it>
16540 * text.C (selectNextWord): handle insets inside inset by calling
16541 always the bv->text functions so that we can go up the_locking_inset!
16543 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16544 in strange locations when inside an inset!
16546 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16547 handling to include insets.
16549 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16551 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16553 * LyXAction.C (init):
16555 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16556 LIGATURE_BREAK, since the name is so stupid.
16558 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16560 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16563 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16565 * sp_form.[Ch]: remove.
16567 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16569 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16572 * src/buffer.C (readInset): ditto.
16574 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16576 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16577 menuSeparator(), endOfSentenceDot(), ldots() and
16578 hyphenationPoint(), which are therefore removed.
16579 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16581 * LyXAction.C (init):
16582 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16584 * paragraph.C (getWord): removed.
16586 * BufferView_pimpl.C (Dispatch): use last word or selection for
16587 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16589 * lyx_main.C (queryUserLyXDir): do not ask before creating
16590 user_dir, except if it has been named explicitely.
16592 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16594 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16595 a document of zero size.
16597 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16599 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16600 approriately in the c-tor and in require().
16601 (getPackages): output the appropriate LaTeX for natbib support.
16603 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16604 variables "use_natbib" and "use_numerical_citations" when reading the
16606 (readInset): read the various natbib cite commands.
16607 (validate): white-space change.
16609 * bufferparams.[Ch]: new variables "bool use_natbib" and
16610 "bool use_numerical_citations".
16611 (writeFile): output them in the LyX file.
16613 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16615 * lyxfunc.C (getStatus): add support for all the inset insertion
16618 * text2.C (insertInset):
16619 * paragraph.C (insetAllowed):
16620 * BufferView_pimpl.C (insertInset): update to take in account the
16621 renaming of insertInsetAllowed
16623 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16625 * text2.C (getInset): new method. returns inset at cursor position.
16627 * BufferView_pimpl.C (Dispatch): changes because of this.
16629 * LyXAction.C (init): rename open-stuff to inset-toggle.
16631 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16633 * text2.C (toggleInset): renamed from openStuff; use
16636 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16638 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16640 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16642 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16644 * buffer.C (readLyXformat2): Add filename to the error dialog
16646 2001-07-18 Juergen Vigna <jug@sad.it>
16648 * tabular.C (GetCellNumber): put an assert here instead of the check!
16650 2001-07-17 Juergen Vigna <jug@sad.it>
16652 * BufferView_pimpl.C (toggleSelection): adapted too.
16654 * text.C (selectNextWord): adapted for use with insets.
16655 (selectSelectedWord): ditto
16657 2001-07-17 Juergen Vigna <jug@sad.it>
16659 * sp_spell.C (PSpell): fix initialitation order.
16661 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16663 * paragraph.C: spacing
16665 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16667 * sp_spell.C: repair language selection for pspell
16669 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16671 * lyxfunc.h: change more methods to begin with lower char.
16673 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16675 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16676 for unknown layouts.
16678 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16680 * buffer.C (readLyXformat2): Generate an error dialog if there are
16683 2001-07-16 Juergen Vigna <jug@sad.it>
16685 * sp_spell.C: always compile ISpell part.
16687 * lyxrc.C: added use_pspell entry and it's handling.
16689 2001-07-13 Juergen Vigna <jug@sad.it>
16691 * sp_spell.C: removed double includes.
16693 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16695 Consistent use of Lsstream.h:
16696 * Lsstream.h: added using std::stringstream for consistencies sake.
16698 * buffer.C: removed using std::stringstream
16700 * lyxfont.C (stateText):
16701 * paragraph.C (asString):
16702 * text.C (selectNextWord, selectSelectedWord):
16703 * text2.C (setCounter):
16704 * vspace.C (asString, asLatexString):
16705 std::ostringstream -> ostringstream.
16707 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16709 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16710 * commandtags.h: add LFUN_HELP_ABOUTLYX
16711 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16713 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16715 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16717 * lyx_gui_misc.C: remove spellchecker
16718 * lyxfunc.C: showSpellchecker
16720 * sp_ispell.h: added
16721 * sp_pspell.h: added
16722 * sp_spell.C: added
16723 * sp_form.[Ch]: removed
16724 * spellchecker.[Ch]: removed
16726 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16728 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16730 (simpleTeXSpecialChars): Simply print the input character without
16731 any special translation if pass_thru is set.
16733 * layout.h: Added bool pass_thru to layout class for being able to
16734 implement pass through of a paragraph for Literate Programming.
16736 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16737 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16738 * layout.C (Read): add "passthru" to list of layout tags and add
16739 code to set the pass_thru boolean when it is read.
16741 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16743 * trans_decl.h: remove allowed from KmodInfo
16745 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16746 remove allowed code
16749 * paragraph_pimpl.C (erase): use boost::prior
16751 * Painter.C (text): use data() instead of c_str() when length is
16753 * WorkArea.C (putClipboard): ditto
16754 * font.h (width): ditto
16756 * BufferView2.C: use it-> instead of (*it). for iterators
16758 * paragraph_pimpl.C: ditto
16759 * paragraph.C: ditto
16760 * minibuffer.C: ditto
16761 * language.C: ditto
16763 * encoding.C: ditto
16764 * counters.C: ditto
16765 * converter.C: ditto
16767 * Variables.C: ditto
16768 * TextCache.C: ditto
16769 * MenuBackend.C: ditto
16770 * LyXAction.C: ditto
16772 * FloatList.C: ditto
16773 * DepTable.C: ditto
16774 * ColorHandler.C (LyXColorHandler): ditto
16776 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16778 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16780 * text2.C (openStuff): reintroduce this method (which had been
16781 nuked in NEW_INSETS frenzy).
16783 * lyxfunc.C (Dispatch): when an action has not been handled, use
16784 its name in the error message, not its number.
16786 * paragraph.C (inInset): change method name to begin with lowercase.
16789 * text2.C: updates because of this.
16791 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16793 * ToolbarDefaults.C (add): add spaces in error message
16795 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16797 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16798 (readLyXformat2): rename return_par to first_par, use lyxlex's
16799 pushToken and remove the manual push handling.
16800 (parseSingleLyXformat2Token): add another ert comp. variable:
16801 in_tabular, rename return_par to first_par. handle newlines better
16803 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16805 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16807 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16809 * text2.C (getParFromID): removed
16811 * buffer.C (getParFromID): new method moved form lyxtext.
16812 * BufferView2.C (insertErrors): adjust
16813 (setCursorFromRow): adjust
16814 * BufferView_pimpl.C (restorePosition): adjust
16815 * lyxfunc.C (Dispatch): adjust
16816 * undo_funcs.C (textUndo): adjust
16818 (textHandleUndo): adjust
16819 (textHandleUndo): adjust
16821 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16823 * buffer.C: up' the LYX_FORMAT
16825 * lyxfont.h: turn NO_LATEX on as default
16827 * buffer.C (insertErtContents): new methods of tex style compability.
16828 (parseSingleLyXformat2Token): use it several places.
16829 * tabular.C (OldFormatRead): and here
16831 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16833 * text2.C: remove some commented code.
16836 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16837 * trans.C: changes because of the above.
16839 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16841 * text2.C (setCounter): Fix counters bug with bibliography layout.
16843 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16845 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16846 own member functions
16847 (simpleTeXSpecialChars): ditto
16849 2001-07-06 Juergen Vigna <jug@sad.it>
16851 * a lot of files: changed the access to LyXText::status and the
16852 call of undo-functions.
16854 * undo.[Ch]: added a inset_id to the undo informations.
16856 * undo_funcs.[Ch]: added and moved here all undo functions.
16858 * lyxtext.h: give the status enum a weight, made status_ a private
16859 variable and made accessor functions for it, removed the whole bunch
16860 of undo-functions as they are now in their own file, make some
16861 functions publically available. Added function ownerParagraph with
16864 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16865 made InInset() a const function, added getParFromID() function.
16867 * buffer.[Ch]: added const version for inset_iterator functions,
16868 added getInsetFromID() function.
16870 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16871 changed undo functions for new version.
16873 2001-07-05 Juergen Vigna <jug@sad.it>
16875 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16876 unknow mechanism does not call the proper constructor but only this
16877 one also if I request the other!?
16879 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16881 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16883 * text2.C (LyXText): use initialization lists.
16885 * lyxtext.h (Selection): initialize set_ and mark_
16886 (init): remove method
16888 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16890 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16892 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16894 * screen.[Ch]: change method names to begin with lowercase
16896 * BufferView_pimpl.C (updateScrollbar): simplify further and
16897 hopefully make it a bit faster.
16899 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16901 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16902 calling directly xforms functions.
16904 * Painter.C (Painter):
16905 * lyx_cb.C (MenuWrite):
16906 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16909 * lyx_gui.C: remove bogus guiruntime extern declaration.
16911 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16913 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16915 (redoDrawingOfParagraph): ditto
16916 (redoParagraphs): ditto
16917 (cutSelection): don't create a object for CutAndPaste use the
16918 static method directly
16919 (pasteSelection): ditto
16921 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16924 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16926 * modifications to some other files because of this.
16928 * Makefile.am (lyx_SOURCES): add XFormsView
16930 * XFormsView.[Ch]: new files
16932 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16933 the main window. Move the gui dependent stuff to XFormsView
16935 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16937 * tabular.C (GetCellInset): update cur_cell also in the row/col
16938 version of this function.
16940 * lyxfunc.C: no need to include figure_form.h here.
16946 * lyxvc.C: no need to include forms.h here.
16948 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16950 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16952 * lyxfunc.C (Dispatch):
16954 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16955 constructor argument.
16957 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16959 * paragraph.C (Paragraph): dont't clear, and just set layout.
16960 (makeSameLayout): use params's copy contructor.
16962 * ParagraphParameters.[Ch] (makeSame): delete method
16964 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16966 * Variables.[Ch]: fix indentation, rename set to isSet
16968 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16970 * lyxfunc.C (Dispatch): fix typo
16972 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16974 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16977 * bufferlist.C: include assert.h for emergencyWrite().
16979 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16981 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16982 give up at last (bug #425202) !
16984 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16990 * spellchecker.C: strip spellchecker options and bring up
16991 preferences tab instead
16993 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16995 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16996 the istringstream constructor
16998 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17000 * paragraph.C (getLayout): fix return value
17002 * paragraph.h: do not declare getLayout as inline.
17004 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
17006 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17008 * lyxcursor.h (operator<): new func
17009 (operator>): new func
17010 (operator>=): new func
17011 (operator<=): new func
17013 * text.C (changeCase): use selection.start and selection.end
17014 (changeRegionCase): require from to be <= to. Require par to be a
17017 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
17019 2001-06-27 Juergen Vigna <jug@sad.it>
17021 * text.C (cursorLeftOneWord): changed to return the cursor and added
17022 overlay with BufferView * parameter which calls this one.
17024 (selectWord): use new getWord function.
17025 (changeCase): renamed from changeWordCase as and extended to work
17026 also on selections.
17028 * lyxtext.h: added enum word_location
17030 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
17031 changeCase as this operates now also on selections.
17033 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
17035 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
17037 * many files: send debug output to Debug::INFO instead of
17040 * converter.C (View):
17042 (Move): send debug output to Debug::FILES instead of console.
17044 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
17046 * lyxfunc.C (getStatus): use func_status
17048 * func_status.h: new header, describing the results of
17049 LyXFunc::getStatus;
17051 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
17054 2001-06-25 The LyX Project <jug@sad.it>
17056 * buffer.C (sgmlOpenTag):
17058 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
17060 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17062 * text2.C: remove some dead code
17064 * tabular.C (GetCellInset): store the last cell checked (gotten)
17066 * tabular.h: add the helper for the speedup
17068 * lyxtext.h: remove some dead code
17070 2001-06-26 The LyX Project <Asger>
17072 * paragraph.C: Change export to LaTeX of alignment to
17073 \begin{center} and family for better roundtrip work with reLyX.
17075 * Tune the math drawing a bit.
17077 2001-06-25 The LyX Project <Asger>
17079 * LColor.C (LColor): New color for math background. New color
17082 2001-06-25 The LyX Project <jug@sad.it>
17084 * lyxfunc.C (MenuNew): remove extra check for .lyx file
17086 * lyxfunc.C (Open):
17087 * bufferlist.C (newFile): do not restrict to files ending with
17090 * BufferView_pimpl.C (MenuInsertLyXFile):
17092 2001-06-24 The LyX Project <jug@sad.it>
17094 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
17097 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17099 * lyxtext.h: rename most methods to begin with a small char.
17100 Lots of changes because of this.
17102 * paragraph.C (Paragraph): do not call fitToSize
17103 (erase): call Pimpl::erase
17104 (insertChar): call Pimpl::insertChar
17105 (insertInset): call Pipl::insertInset
17106 (breakParagraph): do not call fitToSize
17107 (breakParagraphConservative): do not call fitToSize
17108 (fitToSize): remove method
17110 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
17112 2001-06-24 The LyX Project <Asger>
17114 * Fix Qt compilation^2
17116 2001-06-24 The LyX Project <jug@sad.it>
17118 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
17119 depthHook(getDepth()-1).
17122 * ParagraphParameters.h:
17123 * ParameterStruct.h: change type of depth to unsigned int ==
17124 depth_type. Many adaptations to other files before of that.
17126 2001-06-24 The LyX Project <Asger>
17128 * Fix Qt compilation.
17130 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17132 * paragraph.h: renamed several methods to begin with small letter.
17133 several changes to many parts of the code because of this.
17135 2001-06-23 The LyX Project <jug@sad.it>
17137 * text2.C (InsertStringAsLines): renamed from InsertStringA;
17138 rewritten to discard all double spaces when KeepEmpty is off
17139 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
17140 to only handle newlines but not fiddle with spaces and friends.
17142 * lyxfunc.C (MenuNew): when doing 'new from template', use
17143 template_path as default directory
17145 2001-06-23 The LyX Project <Asger>
17147 * Clean-up of header file includes all over
17148 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
17150 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17152 * paragraph.h: renamed from lyxparagraph.h
17154 2001-06-23 Asger <lyx@violet.home.sad.it>
17156 * Buffer.h: Removed Buffer::resize
17157 * BufferList.h: Removed BufferList::resize
17158 * LyXView.h: Added LyXView::resize. This way, we will only reflow
17159 the document lazily when we change the width, or the font settings.
17161 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17163 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
17165 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17167 * buffer.h: remove out of date comment
17169 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17172 * screen.C: fix "theoretical" GC leak
17174 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17176 * LaTeX.C (scanAuxFile):
17177 (deplog): remove trailing \r when reading stream (useful under
17180 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
17182 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17183 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17184 and BufferView::theLockingInset(Inset*), so should use them and not
17185 access bv_->text->the_locking_inset directly.
17187 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17189 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
17192 * tex-defs.h: remove old unused file
17194 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
17196 * BufferView_pimpl.C: fix typo, remove minibuffer message
17197 when buffer has loaded
17199 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
17201 * lyxfunc.C (Dispatch): use stringstream
17202 (MenuNew): use stringstream
17203 (Open): use stringstream
17205 * importer.C (Import): use stringstream
17207 * bufferview_funcs.C (CurrentState): use stringstream
17209 * LaTeX.C (run): use stringstream
17211 * BufferView_pimpl.C (savePosition): use stringstream
17212 (restorePosition): use stringstream
17213 (MenuInsertLyXFile): use stringstream
17215 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
17228 * vspace.C: removed // -*- C++ -*- as first line.
17231 * version.h: added // -*- C++ -*- as first line.
17233 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17235 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17237 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17240 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
17242 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17245 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17247 * gettext.C: include LString.h even when --disable-nls is on.
17249 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
17251 * converter.h (Get): changed argument type from int to
17252 FormatList::size_type to avoid unnecessary conversion.
17254 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17257 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17259 * gettext.h: include LString.h even when --disable-nls is on.
17261 2001-06-07 Juergen Vigna <jug@sad.it>
17263 * text.C (BreakAgain): subst spaces with tabs.
17265 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17266 (resizeInsetsLyXText): set force on resizeLyXText.
17268 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17270 * gettext.h (gettext_init):
17271 (locale_init): use a real definition instead of a macro
17273 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
17275 * Bufferview_pimpl.C:
17277 * LColor.C: further lcolor tidies
17279 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
17281 * BufferView_pimpl.C (updateScrollbar): simplify.
17283 * BufferView2.C: don't include insets/insetinfo.h, change
17284 prototype for insertInset and call the Pimpl version. let
17285 updateInset call Pimpl version.
17287 * BufferView.h: move inset_slept to BufferView::Pimpl, move
17288 gotoInset to BufferView::Pimpl
17290 2001-06-01 Juergen Vigna <jug@sad.it>
17292 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17293 inside a LockingInset (is the update needed at all?).
17295 2001-05-31 Juergen Vigna <jug@sad.it>
17297 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17298 here not the old one otherwise how should we compare it afterwards
17301 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17306 * FontInfo.C: bring C functions into global namespace when
17309 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17311 * LString.h: make sure config.h has been loaded before LString.h.
17313 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17314 (one for each char read by EatLine!).
17316 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17319 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
17321 * paragraph.C (BreakParagraph): set the inset_owner in the new par
17322 to the same as the par we break from
17324 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
17326 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17328 * MenuBackend.C (expand): also create menu entries for wide
17329 versions of the floats.
17331 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17333 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17335 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17336 frontends/Makefile.am
17342 * tabular.C (getTokenValue): add std::
17344 * tabular-old.C (getTokenValue): add std::
17345 (getTokenValue): ditto
17346 (getTokenValue): ditto
17348 * screen.C (ToggleSelection): adjust
17350 * lyxtext.h: put selection cursors inside a Selection struct.
17352 * lyxfunc.C (moveCursorUpdate): adjust
17354 * lyxfont.C (latexWriteStartChanges): add std::
17356 * lyxfind.C: adjust
17358 * font.h: delete with(char const *, LyXFont const &)
17360 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17362 * FontInfo.C (getFontname): add std::
17364 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17365 (workAreaButtonPress): adjust
17366 (tripleClick): adjust
17368 (moveCursorUpdate): adjust
17371 * BufferView2.C (gotoInset): adjust
17373 2001-05-30 Juergen Vigna <jug@sad.it>
17375 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17376 to check pspell I add this as default as I now have new pspell
17377 libraries and they seem to use this.
17379 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
17381 * text2.C (CutSelection): make the cursor valid before the call to
17384 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17386 * kbsequence.C (parse): de-uglify a bit the parsing code, which
17387 relied on 0 terminated strings and other horrors. Bug found due to
17388 the new assert in lyxstring!
17390 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17393 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
17395 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17398 * lyxfunc.C (processKeySym): change method of getting to the
17401 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17402 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17403 * BufferView_pimpl.[Ch]: here as private methods.
17405 2001-05-28 Juergen Vigna <jug@sad.it>
17407 * text.C (SetHeightOfRow): added the update() call again as it is
17408 needed to initialize inset dimensions!
17410 2001-05-16 Juergen Vigna <jug@sad.it>
17412 * text2.C (SetCharFont): Add new function with BufferView * and
17413 bool toggleall parameters for setting insets internal fonts.
17414 (SetFont): Freeze the undo as we may change fonts in Insets and
17415 all this change should be inside only one Undo!
17417 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17418 setting font's in insets as for them we have the SetFont function!
17420 2001-05-15 Juergen Vigna <jug@sad.it>
17422 * text2.C (ClearSelection): to be sure we REALLY don't have any
17425 * tabular.C (TeXCellPreamble): fixed the left border problem for
17428 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
17430 * LaTeX.C (deplog): Make sure that the main .tex file is in the
17433 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17435 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17436 LFUN_BREAKPARAGRAPH.
17438 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17439 help test to "internal only", similar for LFUN_INSERT_URL
17441 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17442 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17443 auto_region_delete and deadkeys.
17445 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17448 * LColor.C: remove some dead entries, tidy a little
17450 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17452 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17454 (Dispatch): implement LFUN_ESCAPE
17456 * commandtags.h: add LFUN_ESCAPE
17458 * LyXAction.C (init): add entry for LFUN_ESCAPE
17460 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17461 Remove commented code.
17462 (insertNote): moved here
17463 (open_new_inset): moved here
17465 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17468 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17470 * kbmap.C (findbinding): clean it up and make it work correctly.
17472 * lyx_main.C (init): do not pass argc and argv as parameters
17474 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17476 * buffer.C: fix path for OS/2 & Win32
17480 * lyx_main.C: Added os:: class.
17482 * os2_defines.h: update
17484 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17486 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17487 better by trying again with reduced state.
17489 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17491 * lyxrc.C (read): print error about invalid key sequence only when
17492 debugging (because not all latinX keysyms are known to some X
17495 * kbsequence.C (getiso): add a few std:: qualifiers
17496 (getiso): comment out extra return statement.
17498 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17500 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17502 (Dispatch): enhance the accent inset a bit. (not perfect)
17504 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17506 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17508 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17510 * bufferlist.C (emergencyWrite): fix assert() call
17512 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17514 * text.C (InsertChar): Added trivial patch to only send the "you
17515 can not do multiple spaces this way" message once during a
17518 2001-05-08 Baruch Even <baruch@lyx.org>
17520 * Makefile.am: Changed order of libraries to get LyX to link properly
17521 with the gnome frontend.
17523 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17525 * LaTeXFeatures.h: add a std:: qualifier
17527 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17529 * paragraph.C (String): use stringstream
17531 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17533 * paragraph.C (writeFile): remove footflag arg
17535 * buffer.C (makeLaTeXFile): use stringstream
17536 (latexParagraphs): remove footnot gurba
17538 * LaTeXFeatures.C (getPackages): use stringstream
17539 (getMacros): likewise
17540 (getTClassPreamble): likewise
17541 (getFloatDefinitions): new method
17543 * paragraph.C (writeFile): reindent
17546 * WorkArea.h: revert the xpos + etc changes.
17548 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17550 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17552 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17553 (pasteSelection): likewise
17554 * text2.C (CreateUndo): likewise
17556 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17558 * minibuffer.C (peek_event): temporarily reduce the functionality
17559 of the minibuffer (to allow args on lfuns)
17561 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17562 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17564 * buffer.C (readInset): add compability reading of old float
17565 lists, add reading of new style float list.
17566 (readInset): avoid reevaluation of inscmd.getCmdName()
17567 (getLists): reindent
17569 * MenuBackend.C (MenuItem): implement parsing of
17570 md_floatlistinsert and md_floatinsert.
17571 (expand::LastFiles): move initalizaton of iterators out of loop,
17572 avoid reevaluation.
17573 (expand::Documents): introduce typdedef vector<string> Strings,
17575 (expand::ExportFormats): introduce typedef vector<Format const *>
17576 Formats, and use it.
17577 (expand): implement FloatListInsert and FloatInsert.
17579 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17580 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17581 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17583 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17585 (Dispatch::LFUN_FLOAT_LIST): implement
17587 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17589 * LaTeX.C (run): Fix problem with --export code.
17591 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17593 * BufferView.[Ch] (workarea): removed.
17594 (getClipboard) new method; wrapper for workarea()->getClipboard()
17596 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17599 * WorkArea.h (width, height, xpos, ypos): These methods all
17600 returned the dimensions of the work_area sub-area of WorkArea,
17601 resulting in a position error if the WorkArea were resized. Now
17602 return the dimensions of the entire WorkArea.
17604 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17606 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17608 * LaTeX.C (deplog): correct the syntax of regex reg1
17610 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17612 * undo.C: remove !NEW_INSETS cruft
17614 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17616 * text2.C: remove !NEW_INSETS cruft
17618 * text.C: remove !NEW_INSETS cruft
17620 * tabular.C: remove !NEW_INSETS cruft
17622 * spellchecker.C: remove !NEW_INSETS cruft
17624 * lyxtext.h: remove !NEW_INSETS cruft
17626 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17628 * lyxfunc.C: remove !NEW_INSETS cruft
17630 * lyxfind.C: remove !NEW_INSETS cruft
17632 * lyx_cb.C: remove !NEW_INSETS cruft
17634 * figureForm.C: remove !NEW_INSETS cruft
17636 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17638 * buffer.[Ch]: remove !NEW_INSETS cruft
17640 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17642 * CutAndPaste.C: remove !NEW_INSETS cruft
17644 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17646 * BufferView2.C: remove !NEW_INSETS cruft
17648 * BufferView.h: remove !NEW_INSETS cruft
17650 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17652 * Lsstream.h: include LString.h before the sstream headers to
17653 fix problem with gcc 2.95.3 and lyxstring
17655 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17657 * lyx_main.C: add using directives when needed for C functions
17658 declared in std:: namespace.
17660 2001-04-27 Juergen Vigna <jug@sad.it>
17662 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17663 (SetHeightOfRow): comment out the update call should not be needed!
17665 2001-04-13 Juergen Vigna <jug@sad.it>
17667 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17668 (LyXTabular): tried to minimize operator= operations (and realized
17669 hopfully Lars wish).
17671 2001-04-27 Juergen Vigna <jug@sad.it>
17673 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17675 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17677 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17679 * buffer.C (readInset): hack to make listof algorithm work
17681 * BufferView_pimpl.C: hack to make listof algorithm work
17683 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17685 * LyXAction.C: removed all !NEW_INSETS cruft
17686 (init): moved lfun_item in method
17688 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17690 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17692 * BufferView2.C (theLockingInset): white space.
17694 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17696 * minibuffer.C: include <iostream>
17698 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17700 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17702 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17704 * text.[Ch] (TransposeChars): new method
17706 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17708 * call message directly through LyXView instead of through LyXFunc
17709 * BufferView2.C: adjust
17710 * BufferView_pimpl.C: adjust
17711 * FontLoader.C: adjust
17713 * bufferview_funcs.C: adjust
17714 * converter.C: adjust
17715 * figureForm.C: adjust
17716 * importer.C: adjust
17718 * lyx_gui_misc.C: adjust
17719 * lyxfunc.C: adjust
17722 + more files in subdirs
17724 * lyxparagraph.h (size): move up int file
17727 * adjust all uses of Assert to lyx::Assert.
17729 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17730 lyxfunctional in namespace lyx
17731 * layout.C (hasLayout): ditto
17734 (delete_layout): ditto
17735 (NumberOfClass): ditto
17736 * converter.C (GetFormat): ditto
17741 * bufferlist.C (getFileNames): ditto
17742 (emergencyWriteAll): ditto
17745 * MenuBackend.C (hasSubmenu): ditto
17748 * BufferView_pimpl.C (getInsetByCode): ditto
17750 2001-04-18 Juergen Vigna <jug@sad.it>
17752 * vspace.C (asLatexString): fixed the 100% problem.
17754 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17756 * lyxfunc.C (Dispatch):
17758 * minibuffer.h: add a few std:: qualifiers
17760 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17762 * minibuffer.[Ch]: reimplement so that commands is initiated and
17763 run from lyxfunc, simplified som handling, and made the completion
17764 and history code for complete. wip.
17766 * lyxfunc.C (processKeySym): call message
17767 (miniDispatch): new temporary method
17768 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17769 (LFUN_MESSAGE): implement
17770 (LFUN_MESSAGE_PUSH): implement
17771 (LFUN_MESSAGE_POP): implement
17772 (initMiniBuffer): the initial/defualt minibuffer message.
17774 * lyxfont.[Ch]: inline some more getters
17776 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17778 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17780 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17781 (AutoSave): use LFUN_MESSAGE
17782 (Reconfigure): ditto
17784 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17786 * figureForm.C: use LFUN_MESSAGE
17788 * converter.C (runLaTeX): use LFUN_MESSAGE
17790 * bufferview_funcs.C: use LFUN_MESSAGE
17792 (changeDepth): ditto
17794 * bufferparams.h: use boost::
17796 * bufferlist.h: inherit privately from noncopyable
17798 * bufferlist.C (loadLyXFile): remove some commented code.
17800 * buffer.C (runChktex): use LFUN_MESSAGE
17802 * ShareContainer.h: inherit privately from noncopyable
17804 * ParagraphParameters.[hC] (depth): inline it.
17806 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17808 (message): new method
17809 (messagePush): ditto
17810 (messagePop): ditto
17811 (show): init minibuffer
17812 (showState): direct call
17814 * LaTeX.[Ch]: inherit privately from noncopyable
17815 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17816 instead of WriteStatus.
17818 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17820 * BufferView_pimpl.C (buffer): don't init minibuffer
17821 (workAreaButtonPress): use LFUN_MESSAGE
17822 (workAreaButtonRelease): ditto
17823 (savePosition): ditto
17824 (restorePosition): ditto
17825 (MenuInsertLyXFile): ditto
17826 (workAreaExpose): don't init minibuffer
17827 (update): remove commented code, simplify
17829 * BufferView2.C (openStuff): use LFUN_MESSAGE
17830 (toggleFloat): ditto
17833 (copyEnvironment): ditto
17834 (pasteEnvironment): ditto
17839 (updateInset): remove some commented code
17841 * lastfiles.h: inherit privately from noncopyable
17844 * lyx_main.h: ditto
17846 * lyxlex_pimpl.h: ditto
17848 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17849 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17850 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17852 * LyXAction.h: inherit privately from noncopyable, add methods
17853 func_begin, func_end, returning iterators to the func map.
17855 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17856 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17857 (func_begin): new method
17858 (func_end): new method
17860 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17862 (copySelection): ditto
17863 (pasteSelection): ditto
17865 * BufferView.C: whitespace change
17866 * BufferView.h: inherit privately from noncopyable
17868 2001-04-16 Allan Rae <rae@lyx.org>
17870 * tabular-old.C (l_getline):
17871 * spellchecker.C (sc_check_word):
17872 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17873 an unrecognised preprocessor directive. So ensure they're wrapped.
17875 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17877 * src/exporter.C (Export): Give an error message when path to file
17880 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17882 * LaTeX.C (deplog): Always check that foundfile exists.
17884 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17887 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17889 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17891 * tabular.[Ch] (getLabelList): implement new method
17893 * minibuffer.h: comment ouf setTiimer
17895 * minibuffer.C (ExecutingCB): constify res
17896 (peek_event): constify s
17897 (Set): constify ntext
17898 (Init): constify nicename
17900 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17902 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17903 (savePosition): use two params to Minibuffer::Set
17904 (restorePosition): ditto
17906 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17908 * lyx_main.C: include language.h
17910 * Makefile.am (lyx_main.o): add language.h
17912 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17918 * CutAndPaste.C: include gettext.h
17920 * lyxfont.h: remove old hack with ON and OFF.
17923 * lyxfont.h: do not include language.h...
17928 * bufferview_funcs.C:
17934 * paragraph.C: ... but do it here instead
17936 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17938 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17940 * tabular.C: small reformat
17942 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17945 (BreakParagraph): ditto
17946 (SetOnlyLayout): ditto
17949 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17952 * lastfiles.C: removed most using decl, add std:: where needed
17954 * buffer.C: ws changes
17956 * MenuBackend.C (class compare_format): put into anon namespace
17957 (expand): constify label, names, action, action2
17960 * text.C (SingleWidth): constify font
17961 (IsBoundary): constify rtl2
17962 (GetVisibleRow): constify ww
17964 * LaTeX.C (deplog): constify logfile
17966 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17968 (workAreaExpose): constify widthChange, heightChange
17970 * lyxrow.C (par): moved
17973 * lyxrow.h: as inlines here
17975 * lyxfont.h (shape): moved from lyxfont.C
17976 (emph): moved from lyxfont.C
17978 * lyxfont.C (LyXFont): use initialization list for all
17980 (shape): move to lyxfont.h as inline
17981 (emph): move to lyxfont.h as inline
17984 2001-04-04 Juergen Vigna <jug@sad.it>
17986 * vspace.C: had to include stdio.h for use of sscanf
17988 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17991 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17992 independent of xforms.
17994 2001-04-02 Juergen Vigna <jug@sad.it>
17996 * spellchecker.C: fixed namespace placing!
17998 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
18000 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
18001 the LyXParagraph * is 0.
18003 2001-03-29 Juergen Vigna <jug@sad.it>
18005 * vspace.C: added support for %, c%, p%, l%.
18006 (stringFromUnit): added helper function.
18007 (asLatexString): changed to give right results for the %-values.
18009 * buffer.C: convert the widthp in a width%.
18011 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
18013 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
18016 * figureForm.[Ch]: stripped the FD_from_figure manipulation
18017 code out of lux_cb.[Ch], ready for its (imminent?) removal.
18019 * lyx_cb.[Ch]: see above.
18021 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
18025 * lyx.[Ch]: replaced by figure_form.[Ch].
18029 * lyxfunc.C: changed headers associated with above changes.
18031 2001-03-27 Juergen Vigna <jug@sad.it>
18033 * BufferView_pimpl.C: set the temporary cursor right!
18035 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
18037 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
18039 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
18041 * LString.h: removed "using std::getline"!
18043 * BufferView_pimpl.C (Dispatch): changes due to changes in
18044 InsetInclude::Params.
18046 * buffer.C (tag_name): removed redundant break statements as they were
18047 producing lots of warnings with my compiler.
18049 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18051 * LString.h: add "using std::getline" when using the real <string>.
18053 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
18055 * buffer.C: removed bitset usage.
18056 PAR_TAG moved to an anonymous name space.
18057 (tag_name): new funtion, also in the anonymous namespace.
18058 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
18059 (makeDocBookFile): clean code. Completed transition from string arrays
18061 (SimpleDocBookOnePar): code clean.
18063 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18065 * tabular.C: add some comments.
18067 2001-03-22 Juergen Vigna <jug@sad.it>
18069 * buffer.C (parseSingleLyXformat2Token): redone the minipage
18070 compatibility read a bit and fixed bug with minipage in different
18073 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
18075 * buffer.C (pop_tag): removed.
18076 (push_tag): removed.
18077 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
18078 array replaced with vector. Added support for CDATA sections.
18079 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
18081 (makeDocBookFile): XML conformant declaration of CDATA section,
18082 fixed bug related to <emphasis> in the first paragraph char.
18083 (sgmlOpenTag): exclude empty tags.
18084 (sgmlCloseTag): ditto.
18086 * buffer.h (pop_tag): removed.
18087 (push_tag): removed.
18089 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
18091 * language.h (Languages): added size_type and size().
18093 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18095 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
18096 response on compability reading of minipages. One probliem is that
18097 the old usage of minipages was flertydig
18099 * several files here and in subdirs: don't use static at file
18100 scope use anon namespaces instead.
18102 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
18104 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
18105 LaTeX output. This is necessary for Literate document
18108 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18110 * buffer.C: insert hfill when needed.
18112 * tabular.C (l_getline): use string::erase, small whitespace change.
18114 * BufferView_pimpl.C: try the anon namespace.
18115 * WorkArea.C: ditto
18117 2001-03-16 Juergen Vigna <jug@sad.it>
18119 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
18120 otherwise it won't open options-dialogs.
18122 * buffer.C: honor pextraWidth(p) on converting minipages.
18124 * tabular.C (l_getline): changed the functions to strip trailing \r.
18126 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
18128 * BufferView_pimpl.C:
18129 * minibuffer..C: added "using SigC::slot" declaration.
18131 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18133 * lyxlex_pimpl.h: noncopyable is in namespace boost.
18139 * paragraph.C: ditto
18141 * lyxtext.h: NO_PEXTRA
18143 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
18145 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
18146 * ParameterStruct.h: ditto
18147 * ParagraphParameters.h: ditto
18148 * lyxparagraph.h: ditto
18150 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18152 * buffer.C: add compability for minipage alignment.
18153 (latexParagraphs): remove unwanted pextra check.
18155 * several files: remove CXX_WORKING_NAMESPACES
18157 * buffer.C (pop_tag): tie is in namespace boost
18159 * BufferView.h: noncopyable is in namespace boost
18161 * lyx_main.h: ditto
18164 * lastfiles.h: ditto
18165 * bufferlist.h: ditto
18166 * ShareContainer.h: ditto
18168 * LyXAction.h: ditto
18171 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
18173 * Merging changes from BRANCH_MVC back into HEAD.
18175 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
18177 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
18179 * BufferView_pimpl.C: change from intl.C
18183 * Makefile.am: move combox.*
18189 * intl.C: remove dialog (covered by prefs)
18191 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
18193 * lyxfunc.C (Dispatch): removed redundant break statement.
18195 2001-03-14 Juergen Vigna <jug@sad.it>
18197 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18199 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18201 * buffer.C: add hack to fix compability reading of minipages.
18203 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
18205 * buffer.C (getLists): Cleanup.
18207 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18209 * lyxfont.C (update): don't honor toggleall on font size.
18211 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
18215 * Makefile.am: moved to frontends/xforms/
18219 * BufferView_pimpl.C: changes for moved mathpanel
18221 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18223 * gettext.h: fix gettext_init() in --disable-nls
18225 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18227 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18229 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
18232 * lyx.h: strip external form
18234 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18236 * BufferView_pimpl.C: add comment, destroySplash()
18238 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18240 * BufferView_pimpl.C:
18244 * lyxfunc.C: use re-worked insetinclude
18246 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18248 * buffer.C: add using std::stringstream.
18250 * lyx_cb.C: readd using std::ios.
18252 * buffer.C: add using std::map.
18254 * BufferView_pimpl.C: add using std::vector.
18256 * ShareContainer.h: add std:: to swap.
18258 * buffer.h: add some typedefs
18259 * buffer.C (getLists): use them
18260 (getLists): renamed from getTocList.
18261 add a counter for the different float types and use it in the
18263 (getLists): use the same counter for the NEW_INSETS and the "non"
18266 * lyx_cb.h: remove unused items, includes, using etc.
18268 * ShareContainer.h: remove some commented code, add more comments
18269 and "documentation".
18271 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18273 * buffer.C (getTocList): make the list also when NEW_INSETS is
18276 * buffer.h: remove TocType
18278 * buffer.C (getTocList): change to return a map<string,
18279 vector<TocItem> >, implement for dynamic number of list.
18281 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18282 * text2.C (PasteSelection): adjust
18283 * CutAndPaste.C (pasteSelection): adjust
18285 * FloatList.C (FloatList): update from the new_insets branch.
18286 * Floating.[Ch]: ditto
18287 * LaTeXFeatures.C: ditto
18289 * lyxlex_pimpl.C: ditto
18291 * paragraph.C (Last): remove when NEW_INSETS is defined.
18293 * other file: changes because of the above.
18295 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18297 * lyxparagraph.h: rename next to next_, previous to previous_,
18298 make them private for NEW_INSETS. Rename Next() to next(),
18299 Previous() to previous().
18301 * other files: changes because of the above.
18303 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
18306 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18309 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18311 * main.C (main): pass lyx_localedir to gettext_init().
18313 * gettext.h: remove locale_init and gettext_init macros
18315 * gettext.C (locale_init): new function
18316 (gettext_init): new function
18318 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18321 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
18323 * Moved credits to frontends:
18324 * credits.[Ch]: removed
18325 * credits_form.[Ch]: removed
18326 * lyx_gui_misc.C: remove credits stuff
18329 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18331 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18333 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18334 unneeded destructor.
18336 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18337 a standalone pointer again.
18339 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18341 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
18347 * ToolbarDefaults.C:
18356 * BufferView_pimpl.C: use new file dialog in GUII
18359 * lyx_cb.C: remove LayoutsCB to Toolbar
18361 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18363 * ShareContainer.h (get): add std:: qualifier
18365 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18367 * ShareContainer.h: define a proper ShareContainer::value_type
18368 type (and use typename to please compaq cxx)
18370 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18372 * lyxparagraph.h: move serveral local vars to
18373 ParameterStruct/ParagraphParameters., use ShareContainer in
18374 FontTable., make vars in FontTable private and add getter and
18377 * paragraph.C: changes because of the above.
18379 * lyxfont.h: remove copy constructor and copy assignment. (the
18380 default ones is ok), move number inside FontBits. move inlines to
18383 * lyxfont.C: add number to initializaton of statics, move several
18384 inlines here. constify several local vars. some whitespace
18385 cleanup. Dont hide outerscope variables.
18387 * Spacing.h: add two new constructors to match the set methods.
18389 * ShareContainer.h: new file, will perhaps be moved to support
18391 * ParameterStruct.h: new file
18393 * ParagraphParameters.h: new file
18395 * ParagraphParameters.C: new file
18397 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18398 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18400 * BufferView_pimpl.C: ParagraphParameter changes.
18401 * buffer.C: Likewise.
18402 * bufferview_funcs.C: Likewise.
18403 * text.C: Likewise.
18404 * text2.C: Likewise.
18406 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18408 * lyxfind.C (LyXReplace): do not redefine default argument in
18410 (IsStringInText): ditto
18411 (SearchForward): ditto
18412 (SearchBackward): ditto
18414 2001-03-06 Juergen Vigna <jug@sad.it>
18416 * lyxfind.C (IsStringInText): put parentes around expressions.
18418 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
18420 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18422 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
18424 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18426 * stl_string_fwd.h: add comment
18428 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18431 * tabular.C: remove unused DocBook methods
18437 killed DO_USE_DEFAULT_LANGUAGE
18439 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18441 * lyx_gui.C: do not include language.h.
18443 * bufferview_funcs.C (ToggleAndShow): do not provide optional
18444 arguments in function implementation.
18446 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18448 * BufferView_pimpl.C: add <ctime>
18450 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18452 * BufferView_pimpl.C: add using std::find_if
18454 2001-02-27 José Matos <jamatos@fep.up.pt>
18456 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18459 2001-02-11 José Matos <jamatos@fep.up.pt>
18461 * buffer.C (makeDocBookFile): command styles now have a parameter as
18462 "title" by default.
18464 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18466 * layout_forms.[Ch]: removed
18467 * lyx_cb.[Ch]: out character
18468 * lyx_gui.C: out character
18469 * lyx_gui_misc.C: out character
18470 * bufferview_funcs.C: : out character,
18471 added toggleall as parameter in ToggleAndShow
18473 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18475 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18477 * text2.C (SetCurrentFont): Disable number property at boundary.
18479 2001-02-26 Juergen Vigna <jug@sad.it>
18481 * lyxfunc.C (getStatus): added a string argument override function so
18482 that this is correctly called from LyXFunc::Dispatch if it contains a
18483 do_not_use_argument which is used!
18484 (Dispatch): added check for "custom" export and call appropriate func.
18486 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18488 * lyxrc.C: Add language_command_local, language_use_babel and
18489 language_global_options.
18491 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18493 * buffer.C (makeLaTeXFile): Use language_use_babel and
18494 language_global_options.
18496 2001-02-23 Juergen Vigna <jug@sad.it>
18498 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18499 which works with LyXText and putted it inside BufferView. Here now we
18500 only call for that part the BufferView::Dispatch() function.
18502 * BufferView.C (Dispatch): added.
18504 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18505 functions which needs to use a LyXText over from LyXFunc.
18506 (MenuInsertLyXFile): added
18507 (getInsetByCode): added
18508 (moveCursorUpdate): added
18509 (static TEXT): added
18511 2001-02-22 Juergen Vigna <jug@sad.it>
18513 * BufferView_pimpl.C (update): call a status update to see if LyXText
18516 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18518 * vc-backend.C (revert): implement for CVS
18519 (getLog): implement for CVS
18521 2001-02-20 Juergen Vigna <jug@sad.it>
18523 * text2.C (ClearSelection): added BufferView param for inset_owner call
18525 * lyxfunc.C (TEXT): added this function and use it instead of
18526 directly owner->view()-text of getLyXText().
18528 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18530 * src/layout_forms.C: out preamble
18531 * src/layout_forms.h: out preamble
18532 * src/lyx_cb.C: out preamble
18533 * src/lyx_cb.h: out preamble
18534 * src/lyx_gui.C: out preamble
18535 * src/lyx_gui_misc.C: out preamble
18536 * src/lyxfunc.C: connect with guii preamble
18538 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18540 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18542 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18544 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18545 whether to run bibtex.
18547 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18549 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18551 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18553 * Makefile.am (lyx_SOURCES): removed bibforms.h
18555 * vspace.h: doxygen
18557 * text.C (GetVisibleRow): make several local vars const
18559 * tabular.C: small cleanup.
18561 * lyxserver.C (callback): use compare instead of strncmp
18563 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18564 inlines to after class or to paragraph.C
18566 * lyxfont.h: remove friend operator!=
18568 * converter.h: move friend bool operator< to non friend and after
18571 * combox.h: small cleanup
18573 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18574 to inlines after class def.
18576 * buffer.C (pop_tag): use string operations instead of strcmp
18578 * bmtable.c: doxygen, small cleanup
18580 * LaTeX.h: remove friend operator==
18582 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18594 * BufferView_pimpl.C:
18595 * BufferView.[Ch]: remove cruft
18597 2001-02-14 Juergen Vigna <jug@sad.it>
18599 * lyxfunc.C: removed #if 0 unused code
18601 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18603 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18605 * text2.C (SetSelection): added a BufferView * parameter
18607 2001-02-13 Juergen Vigna <jug@sad.it>
18609 * lyxfunc.C (Dispatch): fixed protected blank problem.
18610 * BufferView2.C (protectedBlank): added LyxText * parameter.
18612 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18613 (AppendColumn): same as above for column_info.
18615 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18616 (moveCursorUpdate): use a LyXText param for support of InsetText.
18618 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18619 (tripleClick): ditto
18621 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18623 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18625 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18627 * text2.C (SetSelection): set correct update status if inset_owner
18628 (ToggleFree): ditto
18630 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18632 * tabular.C: remove some commented code.
18634 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18636 * BufferView_pimpl.C: call hideSplash()
18638 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18641 * bibforms.h: remove
18644 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18645 add LFUN_CHILD_CREATE
18647 * counters.h: fix tiny typo
18652 * lyx.C: move splash to frontends/xforms/
18654 * lyx_gui_misc.C: move Include and Bibform to frontends
18656 * lyxvc.h: clarify comment
18658 * vspace.C: tiny housekeeping
18660 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18662 * text.C (PrepareToPrint): RTL Fix.
18664 * paragraph.C (GetUChar): New method.
18665 (String): Use GetUChar.
18667 * buffer.C (asciiParagraph): Use GetUChar.
18669 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18671 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18673 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18676 * buffer.C: rename to getLogName(), handle
18677 build log / latex log nicely
18679 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18682 * MenuBackend.h: remove support for reference menuitem type.
18684 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18686 * BufferView_pimpl.C: housekeeping
18687 * BufferView_pimpl.h:
18692 * minibuffer.h: move Timeout GUI-I
18694 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18696 * lyxrc.C (read): Update converters data-structures.
18698 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18700 * LaTeX.h (operator!=): add operator != for Aux_Info
18702 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18704 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18706 * LaTeXLog.C: deleted, useful code moved to Buffer
18709 * buffer.C: new function getLatexLogName()
18715 * lyxfunc.C: use frontends for LaTeX and VC logs
18717 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18719 * LaTeX.h: yet another std:: that Allan forgot.
18721 * Variables.C (set): renamed from isset(), because this clashes
18722 with some HP-UX macros (grr).
18724 2001-02-06 Allan Rae <rae@lyx.org>
18726 * LaTeX.h: Another bug fix. Missing std:: this time.
18728 2001-02-04 Allan Rae <rae@lyx.org>
18730 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18731 floats problem. I've left it commented out because it's not quite
18732 correct. It should also test that the current object is a table or
18733 figure inset. But I haven't gotten around to figuring out how to do
18734 that. I *think* it'll be something like: "table" == inset.type()
18736 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18739 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18741 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18742 all the citation/databases/styles in the auxilary file.
18743 (run): Rerun latex if there was a babel language error.
18745 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18747 * text.C (Backspace): Preserve the font when changing newline char
18749 (BreakParagraph): If the cursor is before a space, delete the space.
18751 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18753 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18755 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18756 new argument (code).
18757 (ChangeCitationsIfUnique): New method.
18759 * paragraph.C (GetPositionOfInset): Handle bibkey.
18761 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18763 * BufferView_pimpl.h: change type of Position::par_pos to
18764 LyXParagraph::size_type.
18766 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18768 * BufferView_pimpl.C (savePosition, restorePosition): Write
18769 messages to minibuffer.
18771 2001-01-28 José Matos <jamatos@fep.up.pt>
18773 * buffer.C (makeDocBookFile): adds support for document language.
18774 A silly restriction on the name of LatexCommand types where removed.
18775 Added support for CDATA sections, allows to chars unescaped, used
18776 among others in code, to avoid escape < and >.
18778 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18780 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18781 saved positions instrad of a stack. Furthermore, a position is
18782 stored using paragraph id/paragraph position.
18784 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18785 Remove LFUN_REF_BACK.
18787 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18789 * converter.C (dvipdfm_options): New method.
18791 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18793 * vspace.C (isValidLength): Fix for empty input string.
18795 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18797 * LyXAction.C (init): change description of LFUN_FIGURE to
18800 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18802 * LaTeX.C: add using directive
18804 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18806 * MenuBackend.C (expand): Fix the sorting of the formats.
18808 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18810 * lyx_main.C: tiny error message fix
18812 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18814 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18815 calling fl_initialize(). This fixes the problem with ',' as
18816 decimal separator in text files.
18818 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18820 * trans.C (process): Fix the keymap bug.
18822 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18824 * LaTeX.C (scanAuxFiles): New method. Provides support for
18825 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18826 (scanLogFile) Scan for "run BibTeX" messages.
18828 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18829 OT1 font encoding. Also, load the aecompl package if the ae
18832 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18834 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18836 * texrow.C (increasePos): turn two error messages into debug
18839 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18841 * LaTeX.C (scanAux): Handle the \@input macro.
18842 (runBibTeX): Use scanAux().
18844 * language.C (latex_options_): New field.
18846 * LaTeXFeatures.C (getMacros): Add language macros.
18848 * buffer.C (makeLaTeXFile): Small fix.
18850 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18852 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18854 * text2.C: add a using directive.
18856 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18861 * lyxfunc.C: kill LyXBell.
18863 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18865 * text.C (IsBoundary): Remove the error message
18867 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18869 * lyxrc.C (setDefaults): Correct initialization value for
18872 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18874 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18877 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18878 and GotoNextNote().
18880 * src/LyXAction.C: Added reference-next.
18882 * text.C (InsertChar): Use contains instead of strchr.
18884 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18886 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18888 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18889 alignment commands (when needed).
18891 * text.C (InsertChar): Add ':' to number separator chars.